aboutsummaryrefslogtreecommitdiff
path: root/lang/erlang14
diff options
context:
space:
mode:
Diffstat (limited to 'lang/erlang14')
-rw-r--r--lang/erlang14/Makefile184
-rw-r--r--lang/erlang14/Makefile.lib55
-rw-r--r--lang/erlang14/Makefile.man376
-rw-r--r--lang/erlang14/distinfo9
-rw-r--r--lang/erlang14/files/epmd.sh.in26
-rw-r--r--lang/erlang14/files/patch-erts-emulator-Makefile.in14
-rw-r--r--lang/erlang14/files/patch-erts_configure14
-rw-r--r--lang/erlang14/files/patch-erts_emulator_beam_erl__process__dump.c27
-rw-r--r--lang/erlang14/files/patch-erts_emulator_beam_erl__time__sup.c15
-rw-r--r--lang/erlang14/files/patch-erts_emulator_drivers_common_inet__drv.c40
-rw-r--r--lang/erlang14/files/patch-erts_etc_unix_Install.src11
-rw-r--r--lang/erlang14/files/patch-lib_crypto_c__src_Makefile.in14
-rw-r--r--lang/erlang14/files/patch-lib_erl__interface_src_connect_ei__resolve.c15
-rw-r--r--lang/erlang14/files/patch-lib_et_src_et__contents__viewer.erl13
-rw-r--r--lang/erlang14/files/patch-lib_et_src_et__viewer.erl15
-rw-r--r--lang/erlang14/files/patch-lib_gs_src_tool__utils.erl87
-rw-r--r--lang/erlang14/files/patch-lib_odbc_c_src_odbcserver.c10
-rw-r--r--lang/erlang14/files/patch-lib_sasl_src_rb.erl14
-rw-r--r--lang/erlang14/files/patch-lib_snmp_src_misc_snmp__config.erl14
-rw-r--r--lang/erlang14/files/patch-lib_stdlib_src_calendar.erl29
-rw-r--r--lang/erlang14/files/pkg-message.in15
-rw-r--r--lang/erlang14/pkg-descr5
-rw-r--r--lang/erlang14/pkg-plist19
23 files changed, 0 insertions, 1021 deletions
diff --git a/lang/erlang14/Makefile b/lang/erlang14/Makefile
deleted file mode 100644
index 110d9b183cd1..000000000000
--- a/lang/erlang14/Makefile
+++ /dev/null
@@ -1,184 +0,0 @@
-# New ports collection makefile for: erlang
-# Date created: 11 Dec 1998
-# Whom: ruslan@shevchenko.kiev.ua
-#
-# $FreeBSD$
-#
-
-PORTNAME= erlang
-PORTVERSION= r12b5
-PORTREVISION= 3
-PORTEPOCH= 1
-CATEGORIES= lang parallel java
-MASTER_SITES= http://www.erlang.org/download/ \
- ftp://ftp.erlang.org/pub/download/ \
- http://www.erlang.org/download/ \
- http://erlang.stacken.kth.se/download/ \
- http://www.csd.uu.se/ftp/mirror/erlang/download/
-DISTNAME= otp_src_R12B-5
-DISTFILES= ${DISTNAME}${EXTRACT_SUFX} ${ERLANG_MAN} ${ERLANG_DOCS}
-DIST_SUBDIR= erlang
-EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX}
-
-PATCH_SITES= http://www.erlang.org/download/
-
-MAINTAINER= olgeni@FreeBSD.org
-COMMENT= A functional programming language from Ericsson
-
-CONFLICTS?= erlang-lite-r[0-9]*
-
-SUB_FILES= pkg-message
-SUB_LIST= TOOLS_VSN=${TOOLS_VSN}
-
-# The Java applications that are part of the Erlang distribution are
-# not strictly necessary - it is included for completeness sake. A
-# problem with the Erlang build procedure is that it only checks if
-# javac is in the regular path - and then assumes that all of the jdk
-# utilities is in the path as well. The only way to make sure that
-# this is the case (that I could think of at least) was to make sure
-# ${JAVA_HOME}/bin is added to the PATH, using the *_ENV macros.
-
-.if !defined(WITHOUT_JAVA)
-USE_JAVA= yes
-JAVA_VERSION= 1.4+
-# Make sure ${JAVA_HOME}/bin is in the path
-CONFIGURE_ENV+= PATH=${PATH}:${JAVA_HOME}/bin
-MAKE_ENV+= PATH=${PATH}:${JAVA_HOME}/bin
-SCRIPT_ENV+= PATH=${PATH}:${JAVA_HOME}/bin
-.endif
-
-.if !defined(WITHOUT_X11)
-USE_TK_RUN= yes
-.endif
-
-USE_GMAKE= yes
-USE_PERL5= yes
-USE_RC_SUBR= epmd.sh
-GNU_CONFIGURE= yes
-ONLY_FOR_ARCHS= i386 amd64 sparc64
-REINPLACE_ARGS= -i
-
-.include <bsd.port.pre.mk>
-
-.if !defined(WITHOUT_ODBC)
-DRIVER_MANAGER?= iodbc
-.if ${DRIVER_MANAGER} == "unixodbc"
-LIB_DEPENDS+= odbc.1:${PORTSDIR}/databases/unixODBC
-.else # assume we're using iodbc
-LIB_DEPENDS+= iodbc.3:${PORTSDIR}/databases/libiodbc
-.endif
-.endif
-
-ERLANG_MAN= otp_doc_man_R12B-5.tar.gz
-.if !defined(NOPORTDOCS)
-ERLANG_DOCS= otp_doc_html_R12B-5.tar.gz
-.endif
-ERLANG_PLIST= ${WRKDIR}/pkg-plist
-
-CONFIGURE_ARGS+= --enable-threads --enable-dynamic-ssl-lib --enable-sctp
-NOPRECIOUSMAKEVARS= yes # Prevent exporting of "ARCH"
-
-CFLAGS+= -I${LOCALBASE}/include
-LDFLAGS+= -L${LOCALBASE}/lib
-CONFIGURE_ENV= CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}"
-PLIST_SUB+= ERTS_VSN=${ERTS_VSN} TOOLS_VSN=${TOOLS_VSN}
-
-# The man-pages are put (in spite of FreeBSD's port convention) in a private
-# subdir. This is to avoid cluttering up the man page name space. Also the
-# Erlang man pages are more of internal documentation using the man format than
-# actual system man pages. (erl.1 and epmd.1 perhaps being the exception).
-
-NOMANCOMPRESS= yes
-
-MAN1PREFIX= ${PREFIX}/lib/erlang
-MAN3PREFIX= ${PREFIX}/lib/erlang
-MAN4PREFIX= ${PREFIX}/lib/erlang
-MAN6PREFIX= ${PREFIX}/lib/erlang
-
-pre-configure:
-# Check if ${JAVAC} exists.
-.if !defined(WITHOUT_JAVA)
- @if [ ! -x ${JAVAC} ]; then \
- ${ECHO_MSG} ">> Error: cannot find ${JAVAC}."; \
- exit 1; \
- fi
-.endif
-
-# If X11 is not used, skip the gs application.
-.if defined(WITHOUT_X11)
- @${ECHO_CMD} "WITHOUT_X11 defined" > ${WRKSRC}/lib/gs/SKIP
-.endif
-
-# If ODBC is not used, skip the odbc application.
-.if defined(WITHOUT_ODBC)
- @${ECHO_CMD} "WITHOUT_ODBC defined" > ${WRKSRC}/lib/odbc/SKIP
-.endif
-
-# Install documentation. (HTML docs need to be in same dir as the
-# rest, not in share/doc/erlang as it should, because of relative
-# links in the documentation.
-post-install:
- @${LN} -sf ${LOCALBASE}/lib/erlang/lib/erl_interface-*/bin/erl_call ${LOCALBASE}/bin/erl_call
- @${TAR} --unlink -xzpf ${DISTDIR}/${DIST_SUBDIR}/${ERLANG_MAN} \
- -C ${PREFIX}/lib/erlang
- @${RM} -rf ${PREFIX}/lib/erlang/man/cat?
-.if !defined(NOPORTDOCS)
- @${TAR} --unlink -xzpf ${DISTDIR}/${DIST_SUBDIR}/${ERLANG_DOCS} \
- -C ${PREFIX}/lib/erlang
- @${INSTALL_DATA} ${WRKSRC}/lib/dialyzer/doc/*.txt \
- ${LOCALBASE}/lib/erlang/lib/dialyzer-*/doc/
-.endif
- @${CHOWN} -R ${SHAREOWN}:${SHAREGRP} ${PREFIX}/lib/erlang
- @${CHMOD} -R o+rX-w,g+rX-w ${PREFIX}/lib/erlang
-
-# All non-library files.
-
- @cd ${PREFIX} ; ${FIND} lib/erlang/* -type d -empty \
- | ${GREP} -v "^lib/erlang/lib" \
- | ${SORT} \
- | ${SED} -e 's#^#@exec ${MKDIR} %D/#g' \
- > ${ERLANG_PLIST}
-
- @cd ${PREFIX} ; ${FIND} lib/erlang/* -type f -o -type l \
- | ${GREP} -v "^lib/erlang/man" \
- | ${GREP} -v "^lib/erlang/lib" \
- | ${SORT} \
- >> ${ERLANG_PLIST}
-
-# Stock OTP libraries.
-
- @for LIBRARY in ${OTP_LIBS}; do \
- cd ${PREFIX} ; ${FIND} lib/erlang/lib/$${LIBRARY} -type f -o -type l; \
- done | ${SORT} >> ${ERLANG_PLIST}
-
-# Stock OTP library directories.
-
- @for LIBRARY in ${OTP_LIBS}; do \
- cd ${PREFIX} ; ${FIND} lib/erlang/lib/$${LIBRARY} -type d -empty \
- | ${SED} -e 's#^#@exec ${MKDIR} %D/#g'; \
- done | ${SORT} >> ${ERLANG_PLIST}
-
- @for LIBRARY in ${OTP_LIBS}; do \
- cd ${PREFIX} ; ${FIND} lib/erlang/lib/$${LIBRARY} -type d \
- | ${SED} -e 's/^/@dirrm /g'; \
- done | ${SORT} -r >> ${ERLANG_PLIST}
-
-# Other directories.
-
- @cd ${PREFIX} ; ${FIND} lib/erlang/* -type d | ${SORT} -r \
- | ${GREP} -v "^lib/erlang/man" \
- | ${GREP} -v "^lib/erlang/lib" \
- | ${SED} -e 's/^/@dirrm /g' \
- >> ${ERLANG_PLIST}
-
- @${ECHO_CMD} "r ${TMPPLIST}" > ${WRKDIR}/ex.script
- @${ECHO_CMD} "/Insert PLIST here" >> ${WRKDIR}/ex.script
- @${ECHO_CMD} "d" >> ${WRKDIR}/ex.script
- @${ECHO_CMD} "r ${ERLANG_PLIST}" >> ${WRKDIR}/ex.script
- @${ECHO_CMD} "x!" >> ${WRKDIR}/ex.script
- @cd ${WRKDIR} ; ex < ex.script
-
-.include "Makefile.lib"
-.include "Makefile.man"
-
-.include <bsd.port.post.mk>
diff --git a/lang/erlang14/Makefile.lib b/lang/erlang14/Makefile.lib
deleted file mode 100644
index 98331bc4c3eb..000000000000
--- a/lang/erlang14/Makefile.lib
+++ /dev/null
@@ -1,55 +0,0 @@
-# $FreeBSD$
-
-ERTS_VSN= 5.6.5
-TOOLS_VSN= 2.6.2
-OTP_LIBS= appmon-2.1.9 \
- asn1-1.6.2 \
- common_test-1.3.4 \
- compiler-4.5.5 \
- cosEvent-2.1.4 \
- cosEventDomain-1.1.4 \
- cosFileTransfer-1.1.6 \
- cosNotification-1.1.9 \
- cosProperty-1.1.7 \
- cosTime-1.1.4 \
- cosTransactions-1.2.5 \
- crypto-1.5.3 \
- debugger-3.1.1.4 \
- dialyzer-1.8.3 \
- docbuilder-0.9.8.4 \
- edoc-0.7.6.2 \
- erl_interface-3.5.9 \
- et-1.3 \
- eunit-2.0 \
- gs-1.5.9 \
- hipe-3.6.9 \
- ic-4.2.19 \
- inets-5.0.12 \
- inviso-0.6 \
- jinterface-1.4.2 \
- kernel-2.12.5 \
- megaco-3.9.1.1 \
- mnesia-4.4.7 \
- observer-0.9.7.4 \
- odbc-2.10.3 \
- orber-3.6.10 \
- os_mon-2.1.8 \
- otp_mibs-1.0.4.1 \
- parsetools-1.4.5 \
- percept-0.7.3 \
- pman-2.6 \
- public_key-0.1 \
- runtime_tools-1.7.3 \
- sasl-2.1.5.4 \
- snmp-4.12 \
- ssh-1.0.2 \
- ssl-3.10 \
- stdlib-1.15.5 \
- syntax_tools-1.5.6 \
- test_server-3.2.4 \
- toolbar-1.3.0.1 \
- tools-2.6.2 \
- tv-2.1.4.2 \
- typer-0.1.5 \
- webtool-0.8.3.2 \
- xmerl-1.1.10
diff --git a/lang/erlang14/Makefile.man b/lang/erlang14/Makefile.man
deleted file mode 100644
index 09dfb47c25f9..000000000000
--- a/lang/erlang14/Makefile.man
+++ /dev/null
@@ -1,376 +0,0 @@
-# $FreeBSD$
-
-MAN1= epmd.1 \
- erl.1 \
- erl_call.1 \
- erlc.1 \
- erlsrv.1 \
- escript.1 \
- run_erl.1 \
- start.1 \
- start_erl.1 \
- start_webtool.1 \
- werl.1
-
-MAN3= CosEventChannelAdmin.3 \
- CosEventChannelAdmin_ConsumerAdmin.3 \
- CosEventChannelAdmin_EventChannel.3 \
- CosEventChannelAdmin_ProxyPullConsumer.3 \
- CosEventChannelAdmin_ProxyPullSupplier.3 \
- CosEventChannelAdmin_ProxyPushConsumer.3 \
- CosEventChannelAdmin_ProxyPushSupplier.3 \
- CosEventChannelAdmin_SupplierAdmin.3 \
- CosEventDomainAdmin.3 \
- CosEventDomainAdmin_EventDomain.3 \
- CosEventDomainAdmin_EventDomainFactory.3 \
- CosFileTransfer_Directory.3 \
- CosFileTransfer_File.3 \
- CosFileTransfer_FileIterator.3 \
- CosFileTransfer_FileTransferSession.3 \
- CosFileTransfer_VirtualFileSystem.3 \
- CosNaming.3 \
- CosNaming_BindingIterator.3 \
- CosNaming_NamingContext.3 \
- CosNaming_NamingContextExt.3 \
- CosNotification.3 \
- CosNotification_AdminPropertiesAdmin.3 \
- CosNotification_QoSAdmin.3 \
- CosNotifyChannelAdmin_ConsumerAdmin.3 \
- CosNotifyChannelAdmin_EventChannel.3 \
- CosNotifyChannelAdmin_EventChannelFactory.3 \
- CosNotifyChannelAdmin_ProxyConsumer.3 \
- CosNotifyChannelAdmin_ProxyPullConsumer.3 \
- CosNotifyChannelAdmin_ProxyPullSupplier.3 \
- CosNotifyChannelAdmin_ProxyPushConsumer.3 \
- CosNotifyChannelAdmin_ProxyPushSupplier.3 \
- CosNotifyChannelAdmin_ProxySupplier.3 \
- CosNotifyChannelAdmin_SequenceProxyPullConsumer.3 \
- CosNotifyChannelAdmin_SequenceProxyPullSupplier.3 \
- CosNotifyChannelAdmin_SequenceProxyPushConsumer.3 \
- CosNotifyChannelAdmin_SequenceProxyPushSupplier.3 \
- CosNotifyChannelAdmin_StructuredProxyPullConsumer.3 \
- CosNotifyChannelAdmin_StructuredProxyPullSupplier.3 \
- CosNotifyChannelAdmin_StructuredProxyPushConsumer.3 \
- CosNotifyChannelAdmin_StructuredProxyPushSupplier.3 \
- CosNotifyChannelAdmin_SupplierAdmin.3 \
- CosNotifyComm_NotifyPublish.3 \
- CosNotifyComm_NotifySubscribe.3 \
- CosNotifyFilter_Filter.3 \
- CosNotifyFilter_FilterAdmin.3 \
- CosNotifyFilter_FilterFactory.3 \
- CosNotifyFilter_MappingFilter.3 \
- CosPropertyService_PropertiesIterator.3 \
- CosPropertyService_PropertyNamesIterator.3 \
- CosPropertyService_PropertySet.3 \
- CosPropertyService_PropertySetDef.3 \
- CosPropertyService_PropertySetDefFactory.3 \
- CosPropertyService_PropertySetFactory.3 \
- CosTime_TIO.3 \
- CosTime_TimeService.3 \
- CosTime_UTO.3 \
- CosTimerEvent_TimerEventHandler.3 \
- CosTimerEvent_TimerEventService.3 \
- CosTransactions_Control.3 \
- CosTransactions_Coordinator.3 \
- CosTransactions_RecoveryCoordinator.3 \
- CosTransactions_Resource.3 \
- CosTransactions_SubtransactionAwareResource.3 \
- CosTransactions_Terminator.3 \
- CosTransactions_TransactionFactory.3 \
- Module_Interface.3 \
- alarm_handler.3 \
- any.3 \
- application.3 \
- appmon.3 \
- array.3 \
- asn1ct.3 \
- asn1rt.3 \
- auth.3 \
- base64.3 \
- beam_lib.3 \
- c.3 \
- calendar.3 \
- code.3 \
- compile.3 \
- corba.3 \
- corba_object.3 \
- cosEventApp.3 \
- cosEventDomainApp.3 \
- cosFileTransferApp.3 \
- cosNotificationApp.3 \
- cosProperty.3 \
- cosTime.3 \
- cosTransactions.3 \
- cover.3 \
- cprof.3 \
- cpu_sup.3 \
- crashdump.3 \
- crypto.3 \
- ct.3 \
- ct_cover.3 \
- ct_ftp.3 \
- ct_master.3 \
- ct_rpc.3 \
- ct_snmp.3 \
- ct_telnet.3 \
- dbg.3 \
- debugger.3 \
- dets.3 \
- dialyzer.3 \
- dict.3 \
- digraph.3 \
- digraph_utils.3 \
- disk_log.3 \
- disksup.3 \
- docb_gen.3 \
- docb_transform.3 \
- docb_xml_check.3 \
- driver_entry.3 \
- edoc.3 \
- edoc_doclet.3 \
- edoc_extract.3 \
- edoc_layout.3 \
- edoc_lib.3 \
- edoc_run.3 \
- egd.3 \
- ei.3 \
- ei_connect.3 \
- epp.3 \
- epp_dodger.3 \
- eprof.3 \
- erl_boot_server.3 \
- erl_comment_scan.3 \
- erl_connect.3 \
- erl_ddll.3 \
- erl_driver.3 \
- erl_error.3 \
- erl_eterm.3 \
- erl_eval.3 \
- erl_expand_records.3 \
- erl_format.3 \
- erl_global.3 \
- erl_id_trans.3 \
- erl_internal.3 \
- erl_lint.3 \
- erl_malloc.3 \
- erl_marshal.3 \
- erl_parse.3 \
- erl_pp.3 \
- erl_prettypr.3 \
- erl_prim_loader.3 \
- erl_recomment.3 \
- erl_scan.3 \
- erl_set_memory_block.3 \
- erl_syntax.3 \
- erl_syntax_lib.3 \
- erl_tar.3 \
- erl_tidy.3 \
- erlang.3 \
- erlang_mode.3 \
- error_handler.3 \
- error_logger.3 \
- erts_alloc.3 \
- erts_alloc_config.3 \
- et.3 \
- et_collector.3 \
- et_selector.3 \
- et_viewer.3 \
- etop.3 \
- ets.3 \
- eunit.3 \
- file.3 \
- file_sorter.3 \
- filelib.3 \
- filename.3 \
- fixed.3 \
- fprof.3 \
- ftp.3 \
- gb_sets.3 \
- gb_trees.3 \
- gen_event.3 \
- gen_fsm.3 \
- gen_sctp.3 \
- gen_server.3 \
- gen_tcp.3 \
- gen_udp.3 \
- global.3 \
- global_group.3 \
- gs.3 \
- heart.3 \
- http.3 \
- httpd.3 \
- httpd_conf.3 \
- httpd_socket.3 \
- httpd_util.3 \
- i.3 \
- ic.3 \
- ic_c_protocol.3 \
- ic_clib.3 \
- igor.3 \
- inet.3 \
- inets.3 \
- init.3 \
- instrument.3 \
- int.3 \
- interceptors.3 \
- inviso.3 \
- inviso_as_lib.3 \
- inviso_lfm.3 \
- inviso_lfm_tpfreader.3 \
- inviso_rt.3 \
- inviso_rt_meta.3 \
- io.3 \
- io_lib.3 \
- lib.3 \
- lists.3 \
- lname.3 \
- lname_component.3 \
- log_mf_h.3 \
- make.3 \
- math.3 \
- megaco.3 \
- megaco_codec_meas.3 \
- megaco_codec_transform.3 \
- megaco_edist_compress.3 \
- megaco_encoder.3 \
- megaco_flex_scanner.3 \
- megaco_tcp.3 \
- megaco_transport.3 \
- megaco_udp.3 \
- megaco_user.3 \
- memsup.3 \
- mnesia.3 \
- mnesia_frag_hash.3 \
- mnesia_registry.3 \
- mod_alias.3 \
- mod_auth.3 \
- mod_esi.3 \
- mod_security.3 \
- ms_transform.3 \
- net_adm.3 \
- net_kernel.3 \
- new_ssl.3 \
- nteventlog.3 \
- odbc.3 \
- orber.3 \
- orber_acl.3 \
- orber_diagnostics.3 \
- orber_ifr.3 \
- orber_tc.3 \
- orddict.3 \
- ordsets.3 \
- os.3 \
- os_mon.3 \
- os_mon_mib.3 \
- os_sup.3 \
- otp_mib.3 \
- overload.3 \
- packages.3 \
- percept.3 \
- percept_profile.3 \
- pg.3 \
- pg2.3 \
- pman.3 \
- pool.3 \
- prettypr.3 \
- proc_lib.3 \
- proplists.3 \
- public_key.3 \
- qlc.3 \
- queue.3 \
- random.3 \
- rb.3 \
- re.3 \
- regexp.3 \
- registry.3 \
- release_handler.3 \
- rpc.3 \
- seq_trace.3 \
- sets.3 \
- shell.3 \
- shell_default.3 \
- slave.3 \
- snmp.3 \
- snmp_community_mib.3 \
- snmp_framework_mib.3 \
- snmp_generic.3 \
- snmp_index.3 \
- snmp_notification_mib.3 \
- snmp_pdus.3 \
- snmp_standard_mib.3 \
- snmp_target_mib.3 \
- snmp_user_based_sm_mib.3 \
- snmp_view_based_acm_mib.3 \
- snmpa.3 \
- snmpa_conf.3 \
- snmpa_error.3 \
- snmpa_error_io.3 \
- snmpa_error_logger.3 \
- snmpa_error_report.3 \
- snmpa_local_db.3 \
- snmpa_mpd.3 \
- snmpa_network_interface.3 \
- snmpa_network_interface_filter.3 \
- snmpa_notification_delivery_info_receiver.3 \
- snmpa_notification_filter.3 \
- snmpa_supervisor.3 \
- snmpc.3 \
- snmpm.3 \
- snmpm_conf.3 \
- snmpm_mpd.3 \
- snmpm_network_interface.3 \
- snmpm_user.3 \
- sofs.3 \
- ssh.3 \
- ssh_connection.3 \
- ssh_sftp.3 \
- ssh_sftpd.3 \
- ssl.3 \
- ssl_pkix.3 \
- string.3 \
- supervisor.3 \
- supervisor_bridge.3 \
- sys.3 \
- systools.3 \
- tags.3 \
- test_server.3 \
- test_server_ctrl.3 \
- tftp.3 \
- timer.3 \
- toolbar.3 \
- ttb.3 \
- tv.3 \
- unix_telnet.3 \
- user.3 \
- webtool.3 \
- win32reg.3 \
- wrap_log_reader.3 \
- xmerl.3 \
- xmerl_eventp.3 \
- xmerl_scan.3 \
- xmerl_xpath.3 \
- xmerl_xs.3 \
- xmerl_xsd.3 \
- xref.3 \
- yecc.3 \
- zip.3 \
- zlib.3
-
-MAN4= app.4 \
- appup.4 \
- config.4 \
- rel.4 \
- relup.4 \
- script.4
-
-MAN6= common_test.6 \
- crypto.6 \
- docbuilder.6 \
- kernel.6 \
- observer.6 \
- runtime_tools.6 \
- sasl.6 \
- snmp.6 \
- ssl.6 \
- stdlib.6 \
- test_server.6
diff --git a/lang/erlang14/distinfo b/lang/erlang14/distinfo
deleted file mode 100644
index 4f449c47d8ad..000000000000
--- a/lang/erlang14/distinfo
+++ /dev/null
@@ -1,9 +0,0 @@
-MD5 (erlang/otp_src_R12B-5.tar.gz) = 3751ea3fea669d2b25c67eeb883734bb
-SHA256 (erlang/otp_src_R12B-5.tar.gz) = 6ec3f344dd626bd83494fcad66db98a03f930a039b2a1499313d1a5a57aadda7
-SIZE (erlang/otp_src_R12B-5.tar.gz) = 47470402
-MD5 (erlang/otp_doc_man_R12B-5.tar.gz) = 6231cb172847040395cc34b20781aa3b
-SHA256 (erlang/otp_doc_man_R12B-5.tar.gz) = f7acb458b72ffa8f9b1f45501bed85d3d9fb691c601f3f6997856c501e2f0659
-SIZE (erlang/otp_doc_man_R12B-5.tar.gz) = 822321
-MD5 (erlang/otp_doc_html_R12B-5.tar.gz) = fb0c5454bbd865e881b6712295f6d41f
-SHA256 (erlang/otp_doc_html_R12B-5.tar.gz) = db131a347217ab434ca4c483abb61dc01989e0db43e1fe6982c3067f60cf91d7
-SIZE (erlang/otp_doc_html_R12B-5.tar.gz) = 5713089
diff --git a/lang/erlang14/files/epmd.sh.in b/lang/erlang14/files/epmd.sh.in
deleted file mode 100644
index ea57aa23cdc0..000000000000
--- a/lang/erlang14/files/epmd.sh.in
+++ /dev/null
@@ -1,26 +0,0 @@
-#!/bin/sh
-#
-# $FreeBSD$
-#
-# PROVIDE: epmd
-# REQUIRE: LOGIN
-#
-# Add the following line to /etc/rc.conf to enable epmd:
-#
-# epmd_enable="YES"
-#
-
-epmd_enable=${epmd_enable:-"NO"}
-
-. %%RC_SUBR%%
-
-name=epmd
-rcvar=`set_rcvar`
-
-prefix=%%PREFIX%%
-procname=${prefix}/bin/epmd
-start_cmd="${prefix}/bin/epmd -daemon"
-stop_cmd="${prefix}/bin/epmd -kill >/dev/null"
-
-load_rc_config ${name}
-run_rc_command "$1"
diff --git a/lang/erlang14/files/patch-erts-emulator-Makefile.in b/lang/erlang14/files/patch-erts-emulator-Makefile.in
deleted file mode 100644
index 02371ab44deb..000000000000
--- a/lang/erlang14/files/patch-erts-emulator-Makefile.in
+++ /dev/null
@@ -1,14 +0,0 @@
-
-$FreeBSD$
-
---- erts/emulator/Makefile.in.orig
-+++ erts/emulator/Makefile.in
-@@ -544,7 +546,7 @@
- endif
-
- $(OBJDIR)/%.o: beam/%.c
-- $(CC) $(subst -O2, $(GEN_OPT_FLGS), $(CFLAGS)) $(INCLUDES) -c $< -o $@
-+ $(CC) $(INCLUDES) $(subst -O2, $(GEN_OPT_FLGS), $(CFLAGS)) -c $< -o $@
-
- else
-
diff --git a/lang/erlang14/files/patch-erts_configure b/lang/erlang14/files/patch-erts_configure
deleted file mode 100644
index 6197cc8876ac..000000000000
--- a/lang/erlang14/files/patch-erts_configure
+++ /dev/null
@@ -1,14 +0,0 @@
-
-$FreeBSD$
-
---- erts/configure.orig
-+++ erts/configure
-@@ -10620,7 +10620,7 @@
-
-
-
--if test "x$enable_sctp" == "xyes" ; then
-+if test "x$enable_sctp" = "xyes" ; then
- echo "$as_me:$LINENO: checking for netinet/sctp.h" >&5
- echo $ECHO_N "checking for netinet/sctp.h... $ECHO_C" >&6
- if test "${ac_cv_header_netinet_sctp_h+set}" = set; then
diff --git a/lang/erlang14/files/patch-erts_emulator_beam_erl__process__dump.c b/lang/erlang14/files/patch-erts_emulator_beam_erl__process__dump.c
deleted file mode 100644
index cdccf8671ff6..000000000000
--- a/lang/erlang14/files/patch-erts_emulator_beam_erl__process__dump.c
+++ /dev/null
@@ -1,27 +0,0 @@
-
-$FreeBSD$
-
---- erts/emulator/beam/erl_process_dump.c.orig
-+++ erts/emulator/beam/erl_process_dump.c
-@@ -399,9 +399,11 @@
- static void
- dump_externally(int to, void *to_arg, Eterm term)
- {
-- byte sbuf[1024]; /* encode and hope for the best ... */
-- byte* s;
-- byte* p;
-+ byte *sbuf, *s, *p;
-+ unsigned size;
-+
-+ size = encode_size_struct(term, TERM_TO_BINARY_DFLAGS);
-+ sbuf = (byte *) erts_alloc(ERTS_ALC_T_TMP, size);
-
- s = p = sbuf;
- erts_to_external_format(NULL, term, &p, NULL, NULL);
-@@ -409,4 +411,6 @@
- while (s < p) {
- erts_print(to, to_arg, "%02X", *s++);
- }
-+
-+ erts_free(ERTS_ALC_T_TMP, (void *) sbuf);
- }
diff --git a/lang/erlang14/files/patch-erts_emulator_beam_erl__time__sup.c b/lang/erlang14/files/patch-erts_emulator_beam_erl__time__sup.c
deleted file mode 100644
index 1e84d40d27ec..000000000000
--- a/lang/erlang14/files/patch-erts_emulator_beam_erl__time__sup.c
+++ /dev/null
@@ -1,15 +0,0 @@
-
-$FreeBSD$
-
---- erts/emulator/beam/erl_time_sup.c.orig
-+++ erts/emulator/beam/erl_time_sup.c
-@@ -648,6 +648,9 @@
- t.tm_sec = *second;
- t.tm_isdst = isdst;
- the_clock = mktime(&t);
-+ if (the_clock == -1) {
-+ return 0;
-+ }
- #ifdef HAVE_GMTIME_R
- gmtime_r(&the_clock, (tm = &tmbuf));
- #else
diff --git a/lang/erlang14/files/patch-erts_emulator_drivers_common_inet__drv.c b/lang/erlang14/files/patch-erts_emulator_drivers_common_inet__drv.c
deleted file mode 100644
index 006a6ea66121..000000000000
--- a/lang/erlang14/files/patch-erts_emulator_drivers_common_inet__drv.c
+++ /dev/null
@@ -1,40 +0,0 @@
-
-$FreeBSD$
-
---- erts/emulator/drivers/common/inet_drv.c.orig
-+++ erts/emulator/drivers/common/inet_drv.c
-@@ -3460,9 +3460,14 @@
- /* Check the size of SCTP AssocID -- currently both this driver and the
- Erlang part require 32 bit: */
- ASSERT(sizeof(sctp_assoc_t)==ASSOC_ID_LEN);
--# ifndef LIBSCTP
--# error LIBSCTP not defined
--# endif
-+# if defined (__FreeBSD__)
-+ /* In FreeBSD, sctp_bindx belongs to libc - see sctp_bindx(3) */
-+ inet_init_sctp();
-+ add_driver_entry(&sctp_inet_driver_entry);
-+# else
-+# ifndef LIBSCTP
-+# error LIBSCTP not defined
-+# endif
- if (erts_sys_ddll_open_noext(STRINGIFY(LIBSCTP), &h_libsctp) == 0) {
- void *ptr;
- if (erts_sys_ddll_sym(h_libsctp, "sctp_bindx", &ptr) == 0) {
-@@ -3471,6 +3476,7 @@
- add_driver_entry(&sctp_inet_driver_entry);
- }
- }
-+# endif
- # endif
- #endif /* _OSE_ */
- /* remove the dummy inet driver */
-@@ -8997,7 +9003,7 @@
- rflag = add_flag ? SCTP_BINDX_ADD_ADDR : SCTP_BINDX_REM_ADDR;
-
- /* Invoke the call: */
-- if (p_sctp_bindx(desc->s, addrs, n, rflag) < 0)
-+ if (sctp_bindx(desc->s, addrs, n, rflag) < 0)
- return ctl_error(sock_errno(), rbuf, rsize);
-
- desc->state = INET_STATE_BOUND;
diff --git a/lang/erlang14/files/patch-erts_etc_unix_Install.src b/lang/erlang14/files/patch-erts_etc_unix_Install.src
deleted file mode 100644
index 68cbe91a4bdc..000000000000
--- a/lang/erlang14/files/patch-erts_etc_unix_Install.src
+++ /dev/null
@@ -1,11 +0,0 @@
-
-$FreeBSD$
-
---- erts/etc/unix/Install.src.orig
-+++ erts/etc/unix/Install.src
-@@ -148,4 +148,4 @@
- ./misc/format_man_pages $ERL_ROOT
- fi
-
--
-+exit 0
diff --git a/lang/erlang14/files/patch-lib_crypto_c__src_Makefile.in b/lang/erlang14/files/patch-lib_crypto_c__src_Makefile.in
deleted file mode 100644
index 81e0ce9e83b3..000000000000
--- a/lang/erlang14/files/patch-lib_crypto_c__src_Makefile.in
+++ /dev/null
@@ -1,14 +0,0 @@
-
-$FreeBSD$
-
---- lib/crypto/c_src/Makefile.in.orig Thu Oct 7 12:11:06 2004
-+++ lib/crypto/c_src/Makefile.in Thu Oct 7 12:11:07 2004
-@@ -121,7 +121,7 @@
- release_spec: opt
- $(INSTALL_DIR) $(RELSYSDIR)/priv/obj
- $(INSTALL_DIR) $(RELSYSDIR)/priv/lib
-- $(INSTALL_PROGRAM) $(DRV_MAKEFILE) $(RELSYSDIR)/priv/obj
-+ $(INSTALL_DATA) $(DRV_MAKEFILE) $(RELSYSDIR)/priv/obj
- $(INSTALL_PROGRAM) $(OBJS) $(RELSYSDIR)/priv/obj
- $(INSTALL_PROGRAM) $(DYN_DRIVER) $(RELSYSDIR)/priv/lib
-
diff --git a/lang/erlang14/files/patch-lib_erl__interface_src_connect_ei__resolve.c b/lang/erlang14/files/patch-lib_erl__interface_src_connect_ei__resolve.c
deleted file mode 100644
index d8454c710f69..000000000000
--- a/lang/erlang14/files/patch-lib_erl__interface_src_connect_ei__resolve.c
+++ /dev/null
@@ -1,15 +0,0 @@
-
-$FreeBSD$
-
---- lib/erl_interface/src/connect/ei_resolve.c.orig
-+++ lib/erl_interface/src/connect/ei_resolve.c
-@@ -621,7 +621,8 @@
-
- return result;
- #else
-- return gethostbyname_r(name,hostp,buffer,buflen,h_errnop);
-+ struct hostent *dummy;
-+ return gethostbyname_r(name,hostp,buffer,buflen,&dummy,h_errnop);
- #endif
- #endif
- #endif
diff --git a/lang/erlang14/files/patch-lib_et_src_et__contents__viewer.erl b/lang/erlang14/files/patch-lib_et_src_et__contents__viewer.erl
deleted file mode 100644
index 683358dbf6da..000000000000
--- a/lang/erlang14/files/patch-lib_et_src_et__contents__viewer.erl
+++ /dev/null
@@ -1,13 +0,0 @@
-
-$FreeBSD$
-
---- lib/et/src/et_contents_viewer.erl.orig Sat Jul 24 15:04:01 2004
-+++ lib/et/src/et_contents_viewer.erl Sat Jul 24 15:04:31 2004
-@@ -346,7 +346,6 @@
- 'Caps_Lock' ->
- {noreply, S};
- _ ->
-- io:format("~p: ignored: ~p~n", [?MODULE, KeySym]),
- {noreply, S}
- end;
- handle_info({gs, _Obj, configure, [], [W, H | _]}, S) ->
diff --git a/lang/erlang14/files/patch-lib_et_src_et__viewer.erl b/lang/erlang14/files/patch-lib_et_src_et__viewer.erl
deleted file mode 100644
index 8cc3212e49e2..000000000000
--- a/lang/erlang14/files/patch-lib_et_src_et__viewer.erl
+++ /dev/null
@@ -1,15 +0,0 @@
-
-$FreeBSD$
-
---- lib/et/src/et_viewer.erl.orig Sat Jul 24 15:02:18 2004
-+++ lib/et/src/et_viewer.erl Sat Jul 24 15:04:38 2004
-@@ -982,8 +982,7 @@
- noreply(S).
-
- click_error(Click, S) ->
-- gs:config(S#state.canvas, beep),
-- io:format("~p: ignored: ~p~n", [?MODULE, Click]).
-+ gs:config(S#state.canvas, beep).
-
- %%%----------------------------------------------------------------------
- %%% Clone viewer
diff --git a/lang/erlang14/files/patch-lib_gs_src_tool__utils.erl b/lang/erlang14/files/patch-lib_gs_src_tool__utils.erl
deleted file mode 100644
index 1a44ce423f9d..000000000000
--- a/lang/erlang14/files/patch-lib_gs_src_tool__utils.erl
+++ /dev/null
@@ -1,87 +0,0 @@
-
-$FreeBSD$
-
---- lib/gs/src/tool_utils.erl.orig
-+++ lib/gs/src/tool_utils.erl
-@@ -27,6 +27,9 @@
- -export([file_dialog/1]).
- -export([notify/2, confirm/2, confirm_yesno/2, request/2]).
-
-+%% Browser executable list (openURL command line protocol required)
-+-define(BROWSERS, ["netscape", "mozilla", "MozillaFirebird", "opera", "firefox", "seamonkey"]).
-+
- %%----------------------------------------------------------------------
- %% open_help(GS, File)
- %% GS = gsobj() (GS root object returned by gs:start/0,1)
-@@ -67,7 +70,7 @@
- {unix,Type} ->
- case Type of
- darwin -> "open " ++ File;
-- _Else -> "netscape -remote \"openURL(file:" ++ File ++ ")\""
-+ _Else -> unix_url_command("file:" ++ File)
- end;
- {win32,_AnyType} ->
- "start " ++ filename:nativename(File);
-@@ -82,7 +85,7 @@
- {unix,Type} ->
- case Type of
- darwin -> "open " ++ File;
-- _Else -> "netscape -remote \"openURL(file:" ++ File ++ ")\""
-+ _Else -> unix_url_command("file:" ++ File)
- end;
- {win32,_AnyType} ->
- "netscape.exe -h " ++ regexp:gsub(File,"\\\\","/");
-@@ -342,3 +345,53 @@
- [Last];
- insert_newlines(Other) ->
- Other.
-+
-+%% find_browser(BrowserList) => string() | false
-+%% BrowserList - [string()]
-+%% Given a list of basenames, find the first available executable.
-+
-+find_browser([]) ->
-+ false;
-+
-+find_browser([H | T]) ->
-+ case os:find_executable(H) of
-+ false ->
-+ find_browser(T);
-+ Browser ->
-+ Browser
-+ end.
-+
-+%% unix_url_command(URL) => string()
-+%% URL - string()
-+%% Open an URL, using a browser which supports the openURL command
-+%% line protocol. If no browser is found, the empty string will be
-+%% returned.
-+
-+unix_url_command(URL) ->
-+ Template = "BROWSER -remote \"openURL(" ++ URL ++ ")\" || BROWSER " ++ URL ++ "&",
-+
-+ case os:getenv("BROWSER") of
-+ false ->
-+ %% look for a compatible browser
-+ case find_browser(?BROWSERS) of
-+ false ->
-+ "";
-+ Browser ->
-+ case regexp:gsub(Template, "BROWSER", Browser) of
-+ {ok, Command, 0} ->
-+ %% Template does not contain "BROWSER" placeholder
-+ "";
-+ {ok, Command, _} ->
-+ Command
-+ end
-+ end;
-+
-+ Value ->
-+ case regexp:gsub(Template, "BROWSER", Value) of
-+ {ok, Command2, 0} ->
-+ %% no placeholder
-+ "";
-+ {ok, Command2, _} ->
-+ Command2
-+ end
-+ end.
diff --git a/lang/erlang14/files/patch-lib_odbc_c_src_odbcserver.c b/lang/erlang14/files/patch-lib_odbc_c_src_odbcserver.c
deleted file mode 100644
index 985785bd8e26..000000000000
--- a/lang/erlang14/files/patch-lib_odbc_c_src_odbcserver.c
+++ /dev/null
@@ -1,10 +0,0 @@
---- lib/odbc/c_src/odbcserver.c.orig Sat Jun 25 17:34:20 2005
-+++ lib/odbc/c_src/odbcserver.c Sat Jun 25 17:34:33 2005
-@@ -107,6 +107,7 @@
- #include <sys/socket.h>
- #include <sys/uio.h>
- #include <netdb.h>
-+#include <netinet/in.h>
- #endif
-
- #include "ei.h"
diff --git a/lang/erlang14/files/patch-lib_sasl_src_rb.erl b/lang/erlang14/files/patch-lib_sasl_src_rb.erl
deleted file mode 100644
index 79b3961b0f00..000000000000
--- a/lang/erlang14/files/patch-lib_sasl_src_rb.erl
+++ /dev/null
@@ -1,14 +0,0 @@
-
-$FreeBSD$
-
---- lib/sasl/src/rb.erl.orig
-+++ lib/sasl/src/rb.erl
-@@ -414,7 +414,7 @@
- Ref = make_ref(),
- case (catch {Ref,binary_to_term(Bin)}) of
- {'EXIT',_} ->
-- {error, "Inclomplete erlang term in log"};
-+ {error, "Incomplete erlang term in log"};
- {Ref,Term} ->
- {ok, Term}
- end
diff --git a/lang/erlang14/files/patch-lib_snmp_src_misc_snmp__config.erl b/lang/erlang14/files/patch-lib_snmp_src_misc_snmp__config.erl
deleted file mode 100644
index 732aef70634f..000000000000
--- a/lang/erlang14/files/patch-lib_snmp_src_misc_snmp__config.erl
+++ /dev/null
@@ -1,14 +0,0 @@
-
-$FreeBSD$
-
---- lib/snmp/src/misc/snmp_config.erl.orig
-+++ lib/snmp/src/misc/snmp_config.erl
-@@ -1722,7 +1722,7 @@
- "%% {\"standard inform\", \"std_inform\", inform}.\n"
- "%%\n\n",
- Hdr = header() ++ Comment,
-- Conf = [{"stadard_trap", "std_trap", NotifyType}],
-+ Conf = [{"standard trap", "std_trap", NotifyType}],
- write_agent_notify_config(Dir, Hdr, Conf).
-
- write_agent_notify_config(Dir, Hdr, Conf)
diff --git a/lang/erlang14/files/patch-lib_stdlib_src_calendar.erl b/lang/erlang14/files/patch-lib_stdlib_src_calendar.erl
deleted file mode 100644
index 1ab956512316..000000000000
--- a/lang/erlang14/files/patch-lib_stdlib_src_calendar.erl
+++ /dev/null
@@ -1,29 +0,0 @@
-
-$FreeBSD$
-
---- lib/stdlib/src/calendar.erl.orig
-+++ lib/stdlib/src/calendar.erl
-@@ -215,11 +215,19 @@
-
- -spec local_time_to_universal_time_dst(t_datetime1970()) -> [t_datetime1970()].
- local_time_to_universal_time_dst(DateTime) ->
-- UtDst = erlang:localtime_to_universaltime(DateTime, true),
-- Ut = erlang:localtime_to_universaltime(DateTime, false),
- %% Reverse check the universal times
-- LtDst = erlang:universaltime_to_localtime(UtDst),
-- Lt = erlang:universaltime_to_localtime(Ut),
-+ {UtDst, LtDst} =
-+ try
-+ UtDst0 = erlang:localtime_to_universaltime(DateTime, true),
-+ {UtDst0, erlang:universaltime_to_localtime(UtDst0)}
-+ catch error:badarg -> {error, error}
-+ end,
-+ {Ut, Lt} =
-+ try
-+ Ut0 = erlang:localtime_to_universaltime(DateTime, false),
-+ {Ut0, erlang:universaltime_to_localtime(Ut0)}
-+ catch error:badarg -> {error, error}
-+ end,
- %% Return the valid universal times
- case {LtDst,Lt} of
- {DateTime,DateTime} when UtDst =/= Ut ->
diff --git a/lang/erlang14/files/pkg-message.in b/lang/erlang14/files/pkg-message.in
deleted file mode 100644
index 1b8961341722..000000000000
--- a/lang/erlang14/files/pkg-message.in
+++ /dev/null
@@ -1,15 +0,0 @@
-===========================================================================
-This package requires a properly configured nsswitch.conf on FreeBSD
-5.x, else nameserver queries (and the distribution protocol) will
-not work.
-
-Installation tips:
-
-You can find an emacs mode for Erlang here:
-
- %%LOCALBASE%%/lib/erlang/lib/tools-%%TOOLS_VSN%%/emacs
-
-You may wish to add the following line to /etc/manpath.config:
-
-OPTIONAL_MANPATH %%LOCALBASE%%/lib/erlang/man
-===========================================================================
diff --git a/lang/erlang14/pkg-descr b/lang/erlang14/pkg-descr
deleted file mode 100644
index 2627e5e60209..000000000000
--- a/lang/erlang14/pkg-descr
+++ /dev/null
@@ -1,5 +0,0 @@
-Erlang is a small concurrent functional programming language
-developed by Ericsson. It is being used by Ericsson as a systems
-programming language for large concurrent distributed systems.
-
-WWW: http://www.erlang.org/
diff --git a/lang/erlang14/pkg-plist b/lang/erlang14/pkg-plist
deleted file mode 100644
index a0f7e5f47607..000000000000
--- a/lang/erlang14/pkg-plist
+++ /dev/null
@@ -1,19 +0,0 @@
-bin/dialyzer
-bin/epmd
-bin/erl
-bin/erl_call
-bin/erlc
-bin/escript
-bin/run_erl
-bin/to_erl
-bin/typer
-@comment Insert PLIST here
-@comment -=[ begin PLIST.lib-erlang ]=-
-@comment -=[ end PLIST.lib-erlang ]=-
-@dirrm lib/erlang/man/man6
-@dirrm lib/erlang/man/man4
-@dirrm lib/erlang/man/man3
-@dirrm lib/erlang/man/man1
-@dirrm lib/erlang/man
-@dirrmtry lib/erlang/lib
-@dirrmtry lib/erlang