diff options
Diffstat (limited to 'unmaintained')
-rw-r--r-- | unmaintained/erlang/APKBUILD | 77 | ||||
-rw-r--r-- | unmaintained/erlang/otp-0002-Remove-rpath.patch | 36 | ||||
-rw-r--r-- | unmaintained/erlang/otp-0003-Do-not-install-C-sources.patch | 168 |
3 files changed, 0 insertions, 281 deletions
diff --git a/unmaintained/erlang/APKBUILD b/unmaintained/erlang/APKBUILD deleted file mode 100644 index 25ba6741ae..0000000000 --- a/unmaintained/erlang/APKBUILD +++ /dev/null @@ -1,77 +0,0 @@ -# Contributor: Michael Mason <ms13sp@gmail.com> -# Maintainer: Michael Mason <ms13sp@gmail.com> - -# TODO: create subpackages -# Check how fedora does it: -# http://pkgs.fedoraproject.org/gitweb/?p=erlang.git;a=blob;f=erlang.spec - -pkgname=erlang -pkgver=16.2.01 -# note: versioning scheme is weird. the .2. -> B -# needs to be updated manually -_ver=${pkgver%%.*}B01 -#_ver=${pkgver%%.*}B${pkgver##*.} -pkgrel=0 -pkgdesc="General-purpose programming language and runtime environment" -url="http://www.erlang.org/" -license="ERPL" -arch="all" -depends="" -makedepends="perl-dev zlib-dev ncurses-dev openssl-dev" -install="" -subpackages="$pkgname-dev" -# Patches found: http://pkgs.fedoraproject.org/gitweb/?p=erlang.git;a=tree -source="http://www.erlang.org/download/otp_src_R$_ver.tar.gz - otp-0002-Remove-rpath.patch - otp-0003-Do-not-install-C-sources.patch" - -_builddir="$srcdir"/otp_src_R$_ver -prepare() { - local i - cd "$_builddir" - for i in $source; do - case $i in - *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; - esac - done - # remove shipped zlib sources - rm -f erts/emulator/zlib/*.[ch] - - # Fix 664 file mode - chmod 644 lib/kernel/examples/uds_dist/c_src/Makefile - chmod 644 lib/kernel/examples/uds_dist/src/Makefile - chmod 644 lib/ssl/examples/certs/Makefile - chmod 644 lib/ssl/examples/src/Makefile - - # Remove old txt files - rm -f lib/ssl/examples/certs/etc/otpCA/index.txt.old - rm -f lib/ssl/examples/certs/etc/erlangCA/index.txt.old -} - -build() { - cd "$_builddir" - ./configure --prefix=/usr \ - --sysconfdir=/etc \ - --mandir=/usr/share/man \ - --infodir=/usr/share/info \ - --enable-threads \ - --enable-shared-zlib \ - --enable-ssl=dynamic-ssl-lib \ - || return 1 - make -j1 || return 1 -} - -package() { - cd "$_builddir" - make -j1 DESTDIR="$pkgdir" install || return 1 -} - -md5sums="266b95db35560e505c9f69cc3e539e41 otp_src_R16B01.tar.gz -2978a60b60f62ad7e46834489e81d06a otp-0002-Remove-rpath.patch -10d9990675b1be003ead2a8862fc4fe6 otp-0003-Do-not-install-C-sources.patch" -sha256sums="da388bc07b8ebdd008f5bb6c3d2c280e358bd188b5aac3ea01e3a7436315abc0 otp_src_R16B01.tar.gz -d7c494ba1f37e2f3d45d7455c8d771268bcbeba2143078b51d42ffa874a34761 otp-0002-Remove-rpath.patch -98de7e14f9d8e94c3a2d117125048f1f4c1bff242112e3149cd775a967fb6d6f otp-0003-Do-not-install-C-sources.patch" -sha512sums="61b5f5370d5e88c7b5ad662ea71a16e910d16e5d5fe4ec9550947e0ca5824f23fdca268c64b3e70e815b4da08a08a27a5f83017d8fe306a4e62cae6c85a4812f otp_src_R16B01.tar.gz -f1c5251d8f532322bd8cdd1fba3104ec2916dfaad42026112f1ea59bcf081725781b51f8c6c3bb3bf6af9d404e343bd0e22c3266ff2797ec01ffc91c92fdba4a otp-0002-Remove-rpath.patch -e2ec4488ce5587e2a5af67a11aca2c619db7056cbc37520ff054123faee878fb9f726a34719013245d7cfc2ec23362207018efa5bf73f98387fbd1b53b02c014 otp-0003-Do-not-install-C-sources.patch" diff --git a/unmaintained/erlang/otp-0002-Remove-rpath.patch b/unmaintained/erlang/otp-0002-Remove-rpath.patch deleted file mode 100644 index 2192c39a1a..0000000000 --- a/unmaintained/erlang/otp-0002-Remove-rpath.patch +++ /dev/null @@ -1,36 +0,0 @@ -From: Peter Lemenkov <lemenkov@gmail.com> -Date: Thu, 25 Feb 2010 16:57:43 +0300 -Subject: [PATCH] Remove rpath - -Signed-off-by: Peter Lemenkov <lemenkov@gmail.com> ---- - lib/crypto/c_src/Makefile.in | 2 +- - lib/crypto/priv/Makefile | 2 +- - 2 files changed, 2 insertions(+), 2 deletions(-) - -diff --git a/lib/crypto/c_src/Makefile.in b/lib/crypto/c_src/Makefile.in -index a20ddff..e890927 100644 ---- a/lib/crypto/c_src/Makefile.in -+++ b/lib/crypto/c_src/Makefile.in -@@ -85,7 +85,7 @@ endif - DYNAMIC_CRYPTO_LIB=@SSL_DYNAMIC_ONLY@ - - ifeq ($(DYNAMIC_CRYPTO_LIB),yes) --SSL_DED_LD_RUNTIME_LIBRARY_PATH = @SSL_DED_LD_RUNTIME_LIBRARY_PATH@ -+SSL_DED_LD_RUNTIME_LIBRARY_PATH = - CRYPTO_LINK_LIB=$(SSL_DED_LD_RUNTIME_LIBRARY_PATH) -L$(SSL_LIBDIR) -l$(SSL_CRYPTO_LIBNAME) - EXTRA_FLAGS = -DHAVE_DYNAMIC_CRYPTO_LIB - else -diff --git a/lib/crypto/priv/Makefile b/lib/crypto/priv/Makefile -index 0989f14..0d29444 100644 ---- a/lib/crypto/priv/Makefile -+++ b/lib/crypto/priv/Makefile -@@ -60,7 +60,7 @@ OBJS = $(OBJDIR)/crypto.o - # ---------------------------------------------------- - - $(SO_NIFLIB): $(OBJS) -- $(SO_LD) $(SO_LDFLAGS) -L$(SO_SSL_LIBDIR) -Wl,-R$(SO_SSL_LIBDIR) \ -+ $(SO_LD) $(SO_LDFLAGS) -L$(SO_SSL_LIBDIR) \ - -o $@ $^ -lcrypto - - $(DLL_NIFLIB): $(OBJS) diff --git a/unmaintained/erlang/otp-0003-Do-not-install-C-sources.patch b/unmaintained/erlang/otp-0003-Do-not-install-C-sources.patch deleted file mode 100644 index 705b48fc04..0000000000 --- a/unmaintained/erlang/otp-0003-Do-not-install-C-sources.patch +++ /dev/null @@ -1,168 +0,0 @@ -From: Peter Lemenkov <lemenkov@gmail.com> -Date: Fri, 18 Jun 2010 23:41:33 +0400 -Subject: [PATCH] Do not install C sources - -Don't install *.c and *.o files. - -Excepts ones from the internal erl_interface. These -API headers are necessary. See rhbz #818419 for the -explanation why they're necessary for the low-level -interaction with the Erlang nodes: - -https://bugzilla.redhat.com/818419 - -Signed-off-by: Peter Lemenkov <lemenkov@gmail.com> ---- - lib/asn1/c_src/Makefile | 2 -- - lib/crypto/c_src/Makefile.in | 4 ---- - lib/erl_interface/src/Makefile.in | 16 ++++++++-------- - lib/ic/c_src/Makefile.in | 2 -- - lib/megaco/src/flex/Makefile.in | 2 +- - lib/odbc/c_src/Makefile.in | 3 --- - lib/os_mon/c_src/Makefile.in | 2 -- - lib/runtime_tools/c_src/Makefile.in | 2 -- - lib/tools/c_src/Makefile.in | 2 -- - 9 files changed, 9 insertions(+), 26 deletions(-) - -diff --git a/lib/asn1/c_src/Makefile b/lib/asn1/c_src/Makefile -index 7023833..8bf8eb9 100644 ---- a/lib/asn1/c_src/Makefile -+++ b/lib/asn1/c_src/Makefile -@@ -107,8 +107,6 @@ include $(ERL_TOP)/make/otp_release_targets.mk - release_spec: opt - $(INSTALL_DIR) "$(RELSYSDIR)/priv/lib" - $(INSTALL_PROGRAM) $(NIF_SHARED_OBJ_FILE) "$(RELSYSDIR)/priv/lib" -- $(INSTALL_DIR) "$(RELSYSDIR)/c_src" -- $(INSTALL_DATA) *.c "$(RELSYSDIR)/c_src" - - release_docs_spec: - -diff --git a/lib/crypto/c_src/Makefile.in b/lib/crypto/c_src/Makefile.in -index e890927..1377654 100644 ---- a/lib/crypto/c_src/Makefile.in -+++ b/lib/crypto/c_src/Makefile.in -@@ -160,13 +160,9 @@ docs: - include $(ERL_TOP)/make/otp_release_targets.mk - - release_spec: opt -- $(INSTALL_DIR) "$(RELSYSDIR)/priv/obj" - $(INSTALL_DIR) "$(RELSYSDIR)/priv/lib" -- $(INSTALL_DATA) $(NIF_MAKEFILE) "$(RELSYSDIR)/priv/obj" -- $(INSTALL_PROGRAM) $(CRYPTO_OBJS) "$(RELSYSDIR)/priv/obj" - $(INSTALL_PROGRAM) $(NIF_LIB) "$(RELSYSDIR)/priv/lib" - ifeq ($(DYNAMIC_CRYPTO_LIB),yes) -- $(INSTALL_PROGRAM) $(CALLBACK_OBJS) "$(RELSYSDIR)/priv/obj" - $(INSTALL_PROGRAM) $(CALLBACK_LIB) "$(RELSYSDIR)/priv/lib" - endif - -diff --git a/lib/erl_interface/src/Makefile.in b/lib/erl_interface/src/Makefile.in -index ebacc1c..388e27e 100644 ---- a/lib/erl_interface/src/Makefile.in -+++ b/lib/erl_interface/src/Makefile.in -@@ -872,14 +872,14 @@ ifneq ($(EXE_TARGETS),) - $(INSTALL_PROGRAM) $(EXE_TARGETS) "$(RELSYSDIR)/bin" - endif - $(INSTALL_DATA) $(EXTRA) "$(RELSYSDIR)/src" -- $(INSTALL_DATA) connect/*.[ch] "$(RELSYSDIR)/src/connect" -- $(INSTALL_DATA) decode/*.[ch] "$(RELSYSDIR)/src/decode" -- $(INSTALL_DATA) encode/*.[ch] "$(RELSYSDIR)/src/encode" -- $(INSTALL_DATA) epmd/*.[ch] "$(RELSYSDIR)/src/epmd" -- $(INSTALL_DATA) misc/*.[ch] "$(RELSYSDIR)/src/misc" -- $(INSTALL_DATA) registry/*.[ch] "$(RELSYSDIR)/src/registry" -- $(INSTALL_DATA) legacy/*.[ch] "$(RELSYSDIR)/src/legacy" -- $(INSTALL_DATA) prog/*.[ch] "$(RELSYSDIR)/src/prog" -+ $(INSTALL_DATA) connect/*.h "$(RELSYSDIR)/src/connect" -+ $(INSTALL_DATA) decode/*.h "$(RELSYSDIR)/src/decode" -+ $(INSTALL_DATA) encode/*.h "$(RELSYSDIR)/src/encode" -+ $(INSTALL_DATA) epmd/*.h "$(RELSYSDIR)/src/epmd" -+ $(INSTALL_DATA) misc/*.h "$(RELSYSDIR)/src/misc" -+ $(INSTALL_DATA) registry/*.h "$(RELSYSDIR)/src/registry" -+ $(INSTALL_DATA) legacy/*.h "$(RELSYSDIR)/src/legacy" -+ $(INSTALL_DATA) prog/*.h "$(RELSYSDIR)/src/prog" - - release_docs: - -diff --git a/lib/ic/c_src/Makefile.in b/lib/ic/c_src/Makefile.in -index 856823b..d000273 100644 ---- a/lib/ic/c_src/Makefile.in -+++ b/lib/ic/c_src/Makefile.in -@@ -146,10 +146,8 @@ $(OBJDIR)/%.o: %.c - include $(ERL_TOP)/make/otp_release_targets.mk - - release_spec: opt -- $(INSTALL_DIR) "$(RELSYSDIR)/c_src" - $(INSTALL_DIR) "$(RELSYSDIR)/include" - $(INSTALL_DIR) "$(RELSYSDIR)/priv/lib" -- $(INSTALL_DATA) ic.c ic_tmo.c "$(RELSYSDIR)/c_src" - $(INSTALL_DATA) $(IDL_FILES) $(H_FILES) "$(RELSYSDIR)/include" - $(INSTALL_DATA) $(LIBRARY) "$(RELSYSDIR)/priv/lib" - -diff --git a/lib/megaco/src/flex/Makefile.in b/lib/megaco/src/flex/Makefile.in -index 6111cf2..bd62e8b 100644 ---- a/lib/megaco/src/flex/Makefile.in -+++ b/lib/megaco/src/flex/Makefile.in -@@ -270,7 +270,7 @@ release_spec: opt - $(INSTALL_DATA) $(ERL_FILES) $(INTERNAL_HRL_FILES) "$(RELSYSDIR)/src/flex" - $(INSTALL_DATA) $(TARGET_FILES) "$(RELSYSDIR)/ebin" - ifeq ($(ENABLE_MEGACO_FLEX_SCANNER),true) -- $(INSTALL_DATA) $(FLEX_FILES) $(C_TARGETS) "$(RELSYSDIR)/src/flex" -+ $(INSTALL_DATA) $(FLEX_FILES) "$(RELSYSDIR)/src/flex" - $(INSTALL_PROGRAM) $(SOLIBS) "$(RELSYSDIR)/priv/lib" - endif - -diff --git a/lib/odbc/c_src/Makefile.in b/lib/odbc/c_src/Makefile.in -index 6572d28..c7093ae 100644 ---- a/lib/odbc/c_src/Makefile.in -+++ b/lib/odbc/c_src/Makefile.in -@@ -128,11 +128,8 @@ include $(ERL_TOP)/make/otp_release_targets.mk - - release_spec: opt - ifdef EXE_TARGET -- $(INSTALL_DIR) "$(RELSYSDIR)/c_src" -- $(INSTALL_DATA) $(C_FILES) $(H_FILES) "$(RELSYSDIR)/c_src" - $(INSTALL_DIR) "$(RELSYSDIR)/priv" - $(INSTALL_DIR) "$(RELSYSDIR)/priv/bin" -- $(INSTALL_DIR) "$(RELSYSDIR)/priv/obj" - $(INSTALL_PROGRAM) $(EXE_TARGET) "$(RELSYSDIR)/priv/bin" - endif - -diff --git a/lib/os_mon/c_src/Makefile.in b/lib/os_mon/c_src/Makefile.in -index 51569f6..4e4d729 100644 ---- a/lib/os_mon/c_src/Makefile.in -+++ b/lib/os_mon/c_src/Makefile.in -@@ -124,8 +124,6 @@ $(OBJDIR)/memsup.o: memsup.h - include $(ERL_TOP)/make/otp_release_targets.mk - - release_spec: opt -- $(INSTALL_DIR) "$(RELSYSDIR)/src" -- $(INSTALL_DATA) $(C_FILES) "$(RELSYSDIR)/src" - $(INSTALL_DIR) "$(RELSYSDIR)/priv/bin" - $(INSTALL_PROGRAM) $(TARGET_FILES) "$(RELSYSDIR)/priv/bin" - -diff --git a/lib/runtime_tools/c_src/Makefile.in b/lib/runtime_tools/c_src/Makefile.in -index d315a90..7b4b9fb 100644 ---- a/lib/runtime_tools/c_src/Makefile.in -+++ b/lib/runtime_tools/c_src/Makefile.in -@@ -177,9 +177,7 @@ docs: - include $(ERL_TOP)/make/otp_release_targets.mk - - release_spec: opt -- $(INSTALL_DIR) "$(RELSYSDIR)/priv/obj" - $(INSTALL_DIR) "$(RELSYSDIR)/priv/lib" -- $(INSTALL_PROGRAM) $(DYNTRACE_OBJS) "$(RELSYSDIR)/priv/obj" - $(INSTALL_PROGRAM) $(NIF_LIB) $(SOLIBS) "$(RELSYSDIR)/priv/lib" - - release_docs_spec: -diff --git a/lib/tools/c_src/Makefile.in b/lib/tools/c_src/Makefile.in -index aea5686..a0c8883 100644 ---- a/lib/tools/c_src/Makefile.in -+++ b/lib/tools/c_src/Makefile.in -@@ -189,8 +189,6 @@ include ../vsn.mk - RELSYSDIR = $(RELEASE_PATH)/lib/tools-$(TOOLS_VSN) - - release_spec: all -- $(INSTALL_DIR) "$(RELSYSDIR)/c_src" -- $(INSTALL_DATA) $(EMEM_SRCS) $(EMEM_HEADERS) "$(RELSYSDIR)/c_src" - ifneq ($(PROGS),) - $(INSTALL_DIR) "$(RELSYSDIR)/bin" - $(INSTALL_PROGRAM) $(PROGS) "$(RELSYSDIR)/bin" |