pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/lang/erlang21 erlang21: Re-import erlang version 21.3.
details: https://anonhg.NetBSD.org/pkgsrc/rev/4f45734e5c18
branches: trunk
changeset: 445692:4f45734e5c18
user: jperkin <jperkin%pkgsrc.org@localhost>
date: Wed Jan 27 16:13:51 2021 +0000
description:
erlang21: Re-import erlang version 21.3.
This is a copy of the previous lang/erlang of that release, with a few bits
tidied up, and configured to live alongside the newer lang/erlang package by
using a versioned library directory.
This version is required for at least databases/couchdb, and may be required
for other software that is incompatible with OTP 23.
diffstat:
lang/erlang21/DESCR | 6 +
lang/erlang21/Makefile | 97 +
lang/erlang21/Makefile.versions | 25 +
lang/erlang21/PLIST | 3665 ++++++++++
lang/erlang21/PLIST.SunOS | 5 +
lang/erlang21/PLIST.hipe | 209 +
lang/erlang21/PLIST.java | 60 +
lang/erlang21/buildlink3.mk | 25 +
lang/erlang21/distinfo | 20 +
lang/erlang21/files/smf/manifest.xml | 29 +
lang/erlang21/hacks.mk | 30 +
lang/erlang21/options.mk | 75 +
lang/erlang21/patches/patch-Makefile.in | 24 +
lang/erlang21/patches/patch-ab | 15 +
lang/erlang21/patches/patch-ay | 15 +
lang/erlang21/patches/patch-erts_configure.in | 15 +
lang/erlang21/patches/patch-erts_emulator_drivers_common_inet__drv.c | 19 +
lang/erlang21/patches/patch-erts_emulator_sys_unix_sys__uds.c | 18 +
lang/erlang21/patches/patch-erts_etc_unix_run__erl.c | 16 +
lang/erlang21/patches/patch-erts_lib__src_common_erl__printf.c | 21 +
lang/erlang21/patches/patch-lib_configure.in.src | 20 +
lang/erlang21/patches/patch-lib_crypto_c__src_Makefile.in | 15 +
lang/erlang21/patches/patch-lib_megaco_configure.in | 20 +
lang/erlang21/patches/patch-lib_odbc_configure.in | 20 +
lang/erlang21/patches/patch-lib_snmp_configure.in | 20 +
lang/erlang21/patches/patch-make_output.mk.in | 15 +
lang/erlang21/versions.mk | 4 +
27 files changed, 4503 insertions(+), 0 deletions(-)
diffs (truncated from 4611 to 300 lines):
diff -r 3f8dfee5aa81 -r 4f45734e5c18 lang/erlang21/DESCR
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/lang/erlang21/DESCR Wed Jan 27 16:13:51 2021 +0000
@@ -0,0 +1,6 @@
+Erlang is a programming language which has many features more commonly
+associated with an operating system than with a programming language:
+concurrent processes, scheduling, memory management, distribution,
+networking, etc.
+
+This package contains OTP 21.
diff -r 3f8dfee5aa81 -r 4f45734e5c18 lang/erlang21/Makefile
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/lang/erlang21/Makefile Wed Jan 27 16:13:51 2021 +0000
@@ -0,0 +1,97 @@
+# $NetBSD: Makefile,v 1.1 2021/01/27 16:13:51 jperkin Exp $
+
+DISTNAME= OTP-${DIST_VERSION_MAJOR}.${DIST_VERSION_MINOR}${!empty(DIST_VERSION_PATCH):?.:}${DIST_VERSION_PATCH}
+PKGNAME= ${DISTNAME:S/OTP-/erlang21-/}
+CATEGORIES= lang
+MASTER_SITES= ${MASTER_SITE_GITHUB:=erlang/}
+
+MAINTAINER= pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE= https://www.erlang.org/
+COMMENT= Concurrent functional programming language
+LICENSE= apache-2.0
+
+EXTRACT_USING= bsdtar
+DIST_SUBDIR= erlang
+
+WRKSRC= ${WRKDIR}/otp-${DISTNAME}
+GNU_CONFIGURE= yes
+USE_GNU_CONFIGURE_HOST= ${USE_CROSS_COMPILE}
+OVERRIDE_DIRDEPTH= 4
+USE_TOOLS+= autoconf awk gmake perl:run flex
+
+CONFIGURE_ARGS+= --with-ssl=${BUILDLINK_PREFIX.openssl}
+
+PTHREAD_OPTS+= require native
+CONFIGURE_ARGS+= --enable-threads
+
+.include "../../mk/bsd.prefs.mk"
+
+MAKE_ENV+= DESTDIR=${DESTDIR}
+
+do-configure-post-hook: replace-interpreter
+
+REPLACE_INTERPRETER+= escript
+REPLACE.escript.old= .*escript
+REPLACE.escript.new= ${PREFIX}/lib/erlang21/bin/escript
+REPLACE_FILES.escript= \
+ lib/diameter/bin/diameterc \
+ lib/erl_docgen/priv/bin/codeline_preprocessing.escript \
+ lib/erl_docgen/priv/bin/xml_from_edoc.escript \
+ lib/reltool/examples/display_args \
+ lib/reltool/examples/mnesia_core_dump_viewer \
+ lib/snmp/src/compile/snmpc.src
+
+SUBST_CLASSES+= target
+SUBST_STAGE.target= pre-configure
+SUBST_FILES.target= make/target.mk
+SUBST_SED.target= -e "s|=.*config.guess)|= ${MACHINE_GNU_PLATFORM}|"
+SUBST_MESSAGE.target= Fixing target name.
+
+TEST_TARGET= tests
+TEST_MAKE_FLAGS= ERL_TOP=${WRKSRC}
+
+SMF_NAME= epmd21
+
+CONFIGURE_ARGS.DragonFly+= --disable-sctp
+
+###
+### XXX There may be others here.
+###
+.if ${OPSYS} == "NetBSD" || ${OPSYS} == "OpenBSD" || ${OPSYS} == "Darwin"
+CONFIGURE_ARGS+= --enable-kernel-poll
+.endif
+
+CHECK_RELRO_SKIP+= lib/erlang21/lib/megaco-${VERSION.megaco}/priv/lib/megaco_flex_scanner_drv.so
+CHECK_RELRO_SKIP+= lib/erlang21/lib/megaco-${VERSION.megaco}/priv/lib/megaco_flex_scanner_drv_mt.so
+
+.include "options.mk"
+
+pre-configure:
+ cd ${WRKSRC} && ./otp_build autoconf
+
+###
+### Ensure this gets rebuilt.
+###
+pre-build:
+ ${RUN} ${RM} -f ${WRKSRC}/lib/stdlib/ebin/dets_v9.beam
+
+###
+### Generate a list of module versions.
+###
+.PHONY: versions
+versions: do-extract
+ @${ECHO} "# \$$NetBSD\$$" > ${.CURDIR}/versions.mk
+ @${ECHO} "# Do not edit, regenerate using 'make versions'" >> ${.CURDIR}/versions.mk
+ @${ECHO} "_VERSIONS= \\" >> ${.CURDIR}/versions.mk
+ ${AWK} -F: '/OTP-${PKGVERSION_NOREV} :/{print $$2}' ${WRKSRC}/otp_versions.table |\
+ ${SED} -e 's/# //g' -e 's/-/ /g' >> ${.CURDIR}/versions.mk
+
+post-install:
+ chmod -R go-w ${DESTDIR}${PREFIX}/lib/erlang21/lib
+
+.include "Makefile.versions"
+
+.include "../../security/openssl/buildlink3.mk"
+.include "../../mk/termcap.buildlink3.mk"
+.include "../../mk/pthread.buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r 3f8dfee5aa81 -r 4f45734e5c18 lang/erlang21/Makefile.versions
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/lang/erlang21/Makefile.versions Wed Jan 27 16:13:51 2021 +0000
@@ -0,0 +1,25 @@
+# $NetBSD: Makefile.versions,v 1.1 2021/01/27 16:13:51 jperkin Exp $
+
+DIST_VERSION_MAJOR= 21
+DIST_VERSION_MINOR= 3
+# Only set when sources for patch level releases are published on erlang.org
+DIST_VERSION_PATCH= 6
+
+.include "versions.mk"
+
+PLIST_SUBST+= VERSION=${DIST_VERSION_MAJOR}
+
+.for name version in ${_VERSIONS}
+VERSION.${name}= ${version}
+PLIST_SUBST+= VERSION.${name}=${version}
+.endfor
+
+# Generate PLIST
+.for pkg version in ${_VERSIONS}
+PRINT_PLIST_AWK+= {if ($$0 ~ /\/${pkg}-${version}\//) {sub(/\/${pkg}-${version}\//,"/${pkg}-$${VERSION.${pkg}}/", $$0);}}
+# documentation:
+PRINT_PLIST_AWK+= {gsub(/\/${pkg}-${version}\.pdf/,"/${pkg}-$${VERSION.${pkg}}.pdf", $$0);}
+.endfor
+PRINT_PLIST_AWK+= {if ($$0 ~ /\/releases\/${DIST_VERSION_MAJOR}\//) {sub(/\/releases\/${DIST_VERSION_MAJOR}\//,"/releases/$${VERSION}/", $$0);}}
+# documentation:
+PRINT_PLIST_AWK+= {gsub(/\/otp-system-documentation-${VERSION.erts}\.pdf/,"/otp-system-documentation-$${VERSION.erts}.pdf", $$0);}
diff -r 3f8dfee5aa81 -r 4f45734e5c18 lang/erlang21/PLIST
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/lang/erlang21/PLIST Wed Jan 27 16:13:51 2021 +0000
@@ -0,0 +1,3665 @@
+@comment $NetBSD: PLIST,v 1.1 2021/01/27 16:13:51 jperkin Exp $
+lib/erlang21/Install
+lib/erlang21/bin/ct_run
+lib/erlang21/bin/dialyzer
+lib/erlang21/bin/epmd
+lib/erlang21/bin/erl
+lib/erlang21/bin/erlc
+lib/erlang21/bin/escript
+lib/erlang21/bin/no_dot_erlang.boot
+lib/erlang21/bin/run_erl
+lib/erlang21/bin/start
+lib/erlang21/bin/start.boot
+lib/erlang21/bin/start.script
+lib/erlang21/bin/start_clean.boot
+lib/erlang21/bin/start_erl
+lib/erlang21/bin/start_sasl.boot
+lib/erlang21/bin/to_erl
+lib/erlang21/bin/typer
+lib/erlang21/erts-${VERSION.erts}/bin/beam.smp
+lib/erlang21/erts-${VERSION.erts}/bin/ct_run
+lib/erlang21/erts-${VERSION.erts}/bin/dialyzer
+lib/erlang21/erts-${VERSION.erts}/bin/dyn_erl
+lib/erlang21/erts-${VERSION.erts}/bin/epmd
+lib/erlang21/erts-${VERSION.erts}/bin/erl
+lib/erlang21/erts-${VERSION.erts}/bin/erl.src
+lib/erlang21/erts-${VERSION.erts}/bin/erl_child_setup
+lib/erlang21/erts-${VERSION.erts}/bin/erlc
+lib/erlang21/erts-${VERSION.erts}/bin/erlexec
+lib/erlang21/erts-${VERSION.erts}/bin/escript
+lib/erlang21/erts-${VERSION.erts}/bin/heart
+lib/erlang21/erts-${VERSION.erts}/bin/inet_gethost
+lib/erlang21/erts-${VERSION.erts}/bin/run_erl
+lib/erlang21/erts-${VERSION.erts}/bin/start
+lib/erlang21/erts-${VERSION.erts}/bin/start.src
+lib/erlang21/erts-${VERSION.erts}/bin/start_erl.src
+lib/erlang21/erts-${VERSION.erts}/bin/to_erl
+lib/erlang21/erts-${VERSION.erts}/bin/typer
+lib/erlang21/erts-${VERSION.erts}/include/driver_int.h
+lib/erlang21/erts-${VERSION.erts}/include/erl_driver.h
+lib/erlang21/erts-${VERSION.erts}/include/erl_drv_nif.h
+lib/erlang21/erts-${VERSION.erts}/include/erl_fixed_size_int_types.h
+lib/erlang21/erts-${VERSION.erts}/include/erl_int_sizes_config.h
+lib/erlang21/erts-${VERSION.erts}/include/erl_memory_trace_parser.h
+lib/erlang21/erts-${VERSION.erts}/include/erl_nif.h
+lib/erlang21/erts-${VERSION.erts}/include/erl_nif_api_funcs.h
+lib/erlang21/erts-${VERSION.erts}/include/internal/README
+lib/erlang21/erts-${VERSION.erts}/include/internal/erl_errno.h
+lib/erlang21/erts-${VERSION.erts}/include/internal/erl_memory_trace_protocol.h
+lib/erlang21/erts-${VERSION.erts}/include/internal/erl_misc_utils.h
+lib/erlang21/erts-${VERSION.erts}/include/internal/erl_printf.h
+lib/erlang21/erts-${VERSION.erts}/include/internal/erl_printf_format.h
+lib/erlang21/erts-${VERSION.erts}/include/internal/erts_internal.mk
+lib/erlang21/erts-${VERSION.erts}/include/internal/ethr_atomics.h
+lib/erlang21/erts-${VERSION.erts}/include/internal/ethr_mutex.h
+lib/erlang21/erts-${VERSION.erts}/include/internal/ethr_optimized_fallbacks.h
+lib/erlang21/erts-${VERSION.erts}/include/internal/ethread.h
+lib/erlang21/erts-${VERSION.erts}/include/internal/ethread.mk
+lib/erlang21/erts-${VERSION.erts}/include/internal/ethread_header_config.h
+lib/erlang21/erts-${VERSION.erts}/include/internal/ethread_inline.h
+lib/erlang21/erts-${VERSION.erts}/include/internal/gcc/ethr_atomic.h
+lib/erlang21/erts-${VERSION.erts}/include/internal/gcc/ethr_dw_atomic.h
+lib/erlang21/erts-${VERSION.erts}/include/internal/gcc/ethr_membar.h
+lib/erlang21/erts-${VERSION.erts}/include/internal/gcc/ethread.h
+lib/erlang21/erts-${VERSION.erts}/include/internal/i386/atomic.h
+lib/erlang21/erts-${VERSION.erts}/include/internal/i386/ethr_dw_atomic.h
+lib/erlang21/erts-${VERSION.erts}/include/internal/i386/ethr_membar.h
+lib/erlang21/erts-${VERSION.erts}/include/internal/i386/ethread.h
+lib/erlang21/erts-${VERSION.erts}/include/internal/i386/rwlock.h
+lib/erlang21/erts-${VERSION.erts}/include/internal/i386/spinlock.h
+lib/erlang21/erts-${VERSION.erts}/include/internal/libatomic_ops/ethr_atomic.h
+lib/erlang21/erts-${VERSION.erts}/include/internal/libatomic_ops/ethr_dw_atomic.h
+lib/erlang21/erts-${VERSION.erts}/include/internal/libatomic_ops/ethr_membar.h
+lib/erlang21/erts-${VERSION.erts}/include/internal/libatomic_ops/ethread.h
+lib/erlang21/erts-${VERSION.erts}/include/internal/ppc32/atomic.h
+lib/erlang21/erts-${VERSION.erts}/include/internal/ppc32/ethr_membar.h
+lib/erlang21/erts-${VERSION.erts}/include/internal/ppc32/ethread.h
+lib/erlang21/erts-${VERSION.erts}/include/internal/ppc32/rwlock.h
+lib/erlang21/erts-${VERSION.erts}/include/internal/ppc32/spinlock.h
+lib/erlang21/erts-${VERSION.erts}/include/internal/pthread/ethr_event.h
+lib/erlang21/erts-${VERSION.erts}/include/internal/sparc32/atomic.h
+lib/erlang21/erts-${VERSION.erts}/include/internal/sparc32/ethr_membar.h
+lib/erlang21/erts-${VERSION.erts}/include/internal/sparc32/ethread.h
+lib/erlang21/erts-${VERSION.erts}/include/internal/sparc32/rwlock.h
+lib/erlang21/erts-${VERSION.erts}/include/internal/sparc32/spinlock.h
+lib/erlang21/erts-${VERSION.erts}/include/internal/sparc64/ethread.h
+lib/erlang21/erts-${VERSION.erts}/include/internal/tile/atomic.h
+lib/erlang21/erts-${VERSION.erts}/include/internal/tile/ethr_membar.h
+lib/erlang21/erts-${VERSION.erts}/include/internal/tile/ethread.h
+lib/erlang21/erts-${VERSION.erts}/include/internal/win/ethr_atomic.h
+lib/erlang21/erts-${VERSION.erts}/include/internal/win/ethr_dw_atomic.h
+lib/erlang21/erts-${VERSION.erts}/include/internal/win/ethr_event.h
+lib/erlang21/erts-${VERSION.erts}/include/internal/win/ethr_membar.h
+lib/erlang21/erts-${VERSION.erts}/include/internal/win/ethread.h
+lib/erlang21/erts-${VERSION.erts}/include/internal/x86_64/ethread.h
+lib/erlang21/erts-${VERSION.erts}/lib/internal/README
+lib/erlang21/erts-${VERSION.erts}/lib/internal/liberts_internal.a
+lib/erlang21/erts-${VERSION.erts}/lib/internal/liberts_internal_r.a
+lib/erlang21/erts-${VERSION.erts}/lib/internal/libethread.a
+lib/erlang21/erts-${VERSION.erts}/lib/liberts.a
+lib/erlang21/erts-${VERSION.erts}/lib/liberts_r.a
+lib/erlang21/erts-${VERSION.erts}/src/setuid_socket_wrap.c
+lib/erlang21/lib/asn1-${VERSION.asn1}/c_src/asn1_erl_nif.c
+lib/erlang21/lib/asn1-${VERSION.asn1}/ebin/asn1.app
+lib/erlang21/lib/asn1-${VERSION.asn1}/ebin/asn1.appup
+lib/erlang21/lib/asn1-${VERSION.asn1}/ebin/asn1_db.beam
+lib/erlang21/lib/asn1-${VERSION.asn1}/ebin/asn1ct.beam
+lib/erlang21/lib/asn1-${VERSION.asn1}/ebin/asn1ct_check.beam
+lib/erlang21/lib/asn1-${VERSION.asn1}/ebin/asn1ct_constructed_ber_bin_v2.beam
+lib/erlang21/lib/asn1-${VERSION.asn1}/ebin/asn1ct_constructed_per.beam
+lib/erlang21/lib/asn1-${VERSION.asn1}/ebin/asn1ct_eval_ext.beam
+lib/erlang21/lib/asn1-${VERSION.asn1}/ebin/asn1ct_func.beam
+lib/erlang21/lib/asn1-${VERSION.asn1}/ebin/asn1ct_gen.beam
+lib/erlang21/lib/asn1-${VERSION.asn1}/ebin/asn1ct_gen_ber_bin_v2.beam
+lib/erlang21/lib/asn1-${VERSION.asn1}/ebin/asn1ct_gen_check.beam
+lib/erlang21/lib/asn1-${VERSION.asn1}/ebin/asn1ct_gen_per.beam
+lib/erlang21/lib/asn1-${VERSION.asn1}/ebin/asn1ct_imm.beam
+lib/erlang21/lib/asn1-${VERSION.asn1}/ebin/asn1ct_name.beam
+lib/erlang21/lib/asn1-${VERSION.asn1}/ebin/asn1ct_parser2.beam
+lib/erlang21/lib/asn1-${VERSION.asn1}/ebin/asn1ct_pretty_format.beam
+lib/erlang21/lib/asn1-${VERSION.asn1}/ebin/asn1ct_rtt.beam
+lib/erlang21/lib/asn1-${VERSION.asn1}/ebin/asn1ct_table.beam
+lib/erlang21/lib/asn1-${VERSION.asn1}/ebin/asn1ct_tok.beam
+lib/erlang21/lib/asn1-${VERSION.asn1}/ebin/asn1ct_value.beam
+lib/erlang21/lib/asn1-${VERSION.asn1}/ebin/asn1rt_nif.beam
+lib/erlang21/lib/asn1-${VERSION.asn1}/examples/P-Record.asn
+lib/erlang21/lib/asn1-${VERSION.asn1}/priv/lib/asn1rt_nif.so
+lib/erlang21/lib/asn1-${VERSION.asn1}/src/asn1.app.src
+lib/erlang21/lib/asn1-${VERSION.asn1}/src/asn1.appup.src
+lib/erlang21/lib/asn1-${VERSION.asn1}/src/asn1_db.erl
+lib/erlang21/lib/asn1-${VERSION.asn1}/src/asn1_records.hrl
+lib/erlang21/lib/asn1-${VERSION.asn1}/src/asn1ct.erl
+lib/erlang21/lib/asn1-${VERSION.asn1}/src/asn1ct_check.erl
+lib/erlang21/lib/asn1-${VERSION.asn1}/src/asn1ct_constructed_ber_bin_v2.erl
+lib/erlang21/lib/asn1-${VERSION.asn1}/src/asn1ct_constructed_per.erl
+lib/erlang21/lib/asn1-${VERSION.asn1}/src/asn1ct_eval_ext.erl
+lib/erlang21/lib/asn1-${VERSION.asn1}/src/asn1ct_func.erl
+lib/erlang21/lib/asn1-${VERSION.asn1}/src/asn1ct_gen.erl
+lib/erlang21/lib/asn1-${VERSION.asn1}/src/asn1ct_gen_ber_bin_v2.erl
+lib/erlang21/lib/asn1-${VERSION.asn1}/src/asn1ct_gen_check.erl
+lib/erlang21/lib/asn1-${VERSION.asn1}/src/asn1ct_gen_per.erl
+lib/erlang21/lib/asn1-${VERSION.asn1}/src/asn1ct_imm.erl
+lib/erlang21/lib/asn1-${VERSION.asn1}/src/asn1ct_name.erl
+lib/erlang21/lib/asn1-${VERSION.asn1}/src/asn1ct_parser2.erl
+lib/erlang21/lib/asn1-${VERSION.asn1}/src/asn1ct_pretty_format.erl
+lib/erlang21/lib/asn1-${VERSION.asn1}/src/asn1ct_rtt.erl
+lib/erlang21/lib/asn1-${VERSION.asn1}/src/asn1ct_table.erl
+lib/erlang21/lib/asn1-${VERSION.asn1}/src/asn1ct_tok.erl
+lib/erlang21/lib/asn1-${VERSION.asn1}/src/asn1ct_value.erl
+lib/erlang21/lib/asn1-${VERSION.asn1}/src/asn1rt_nif.erl
+lib/erlang21/lib/common_test-${VERSION.common_test}/ebin/common_test.app
+lib/erlang21/lib/common_test-${VERSION.common_test}/ebin/common_test.appup
+lib/erlang21/lib/common_test-${VERSION.common_test}/ebin/ct.beam
+lib/erlang21/lib/common_test-${VERSION.common_test}/ebin/ct_config.beam
+lib/erlang21/lib/common_test-${VERSION.common_test}/ebin/ct_config_plain.beam
+lib/erlang21/lib/common_test-${VERSION.common_test}/ebin/ct_config_xml.beam
+lib/erlang21/lib/common_test-${VERSION.common_test}/ebin/ct_conn_log_h.beam
Home |
Main Index |
Thread Index |
Old Index