From ba0378bf154e007fbd1c68bdfe20bd12a5f92674 Mon Sep 17 00:00:00 2001 From: Thomas Deutschmann Date: Fri, 5 Apr 2019 19:20:33 +0200 Subject: net-libs/zeromq: security cleanup Bug: https://bugs.gentoo.org/675376 Package-Manager: Portage-2.3.62, Repoman-2.3.12 Signed-off-by: Thomas Deutschmann --- net-libs/zeromq/Manifest | 8 --- .../zeromq/files/zeromq-4.2.0-dl-backport.patch | 25 -------- ...able-experimental-zmq_poll-implementation.patch | 35 ----------- .../files/zeromq-4.2.2-optional-libunwind.patch | 70 ---------------------- net-libs/zeromq/zeromq-4.1.1.ebuild | 49 --------------- net-libs/zeromq/zeromq-4.1.6.ebuild | 55 ----------------- net-libs/zeromq/zeromq-4.2.0-r1.ebuild | 59 ------------------ net-libs/zeromq/zeromq-4.2.1.ebuild | 55 ----------------- net-libs/zeromq/zeromq-4.2.2-r1.ebuild | 57 ------------------ net-libs/zeromq/zeromq-4.2.2-r2.ebuild | 63 ------------------- net-libs/zeromq/zeromq-4.2.2.ebuild | 55 ----------------- net-libs/zeromq/zeromq-4.2.3.ebuild | 62 ------------------- net-libs/zeromq/zeromq-4.2.5.ebuild | 62 ------------------- net-libs/zeromq/zeromq-4.3.0.ebuild | 62 ------------------- 14 files changed, 717 deletions(-) delete mode 100644 net-libs/zeromq/files/zeromq-4.2.0-dl-backport.patch delete mode 100644 net-libs/zeromq/files/zeromq-4.2.1-disable-experimental-zmq_poll-implementation.patch delete mode 100644 net-libs/zeromq/files/zeromq-4.2.2-optional-libunwind.patch delete mode 100644 net-libs/zeromq/zeromq-4.1.1.ebuild delete mode 100644 net-libs/zeromq/zeromq-4.1.6.ebuild delete mode 100644 net-libs/zeromq/zeromq-4.2.0-r1.ebuild delete mode 100644 net-libs/zeromq/zeromq-4.2.1.ebuild delete mode 100644 net-libs/zeromq/zeromq-4.2.2-r1.ebuild delete mode 100644 net-libs/zeromq/zeromq-4.2.2-r2.ebuild delete mode 100644 net-libs/zeromq/zeromq-4.2.2.ebuild delete mode 100644 net-libs/zeromq/zeromq-4.2.3.ebuild delete mode 100644 net-libs/zeromq/zeromq-4.2.5.ebuild delete mode 100644 net-libs/zeromq/zeromq-4.3.0.ebuild diff --git a/net-libs/zeromq/Manifest b/net-libs/zeromq/Manifest index 611ca7c0ce5d..8891a3de024e 100644 --- a/net-libs/zeromq/Manifest +++ b/net-libs/zeromq/Manifest @@ -1,12 +1,4 @@ DIST zeromq-2.2.0.tar.gz 1899104 BLAKE2B 1c02629e33151db11c529d538ce519dae7f3426ee13f8a2b840960779cd7514f7cc3257983704f2c392a00ad62f4a955bc33fcbdadb8bada3858753a1790ab41 SHA512 fb3cf421b2dc48c31956b3e3ee4ab6ebc743deec3bf626c2238a1996c8c51be87260bd6aa662793a1f0c34dcda9b3146763777bb162dfad6fec4ca7acc403b2e DIST zeromq-3.2.3.tar.gz 2072758 BLAKE2B ee295219e4709396f5a7e2774f8f6e53ad081c8b83302d9fe163d5523b6060401251c9ecc0bd423168ccbe156d6a0e26454515cf50780e5c8a07f9f6f4d50ee5 SHA512 34ffb6aa645f62bd1158a8f2888bf92929ccf90917a6c50ed51ed1240732f498522e164d1536f26480c87ad5457fe614a93bf0e15f2f89b0b168e64a30de68ca DIST zeromq-3.2.5.tar.gz 2082960 BLAKE2B 88fe3b3206f0e59acb3cf370964c9e40df2dceb5e40aef85ae8cd8fedef4c655fd2698a7f81431e34550b5156814a75c0b1a738393e7c44acbfefe96acc4c4bc SHA512 3682204e5a47824d149968e62fbf9768134370e4f7debbbf8f2bfa24bdd0a781e50c4a9b4231af8a0c4bab61839169100525a91472448ef180a9672342e10a3f -DIST zeromq-4.1.1.tar.gz 1383196 BLAKE2B f0c5e05a11288f28b97a27894479287652c1152d12906764f060372e7a4c7e6a70daea047d7f07ec2ac919d61ba04b65b1f8e316a474e93164c0dba86c3b7ac7 SHA512 6f626c89e573900d3b094ea6058693dee290eb9e4039a8a03d61d41b1d8976ed5596027ca76a43f371dbf86820edfbd56a84ecfab6864adfeee73035df7b5353 -DIST zeromq-4.1.6.tar.gz 799771 BLAKE2B 91ecc39122199846bfe0d9ea49c2acc076d0f827cee55c1b35fcb9d56a8bc1d174789829d5e672bba77fee442f996ca56f69385ece156fb759c363b1dc38cf43 SHA512 c04a6bb7a719687d8e8e5e8a103f93ab75ead3fcd3516e6089959e4f02cff7c18e9d7a8696af4245d434b45e6aa6e2ca8f73d98db058df621bca3def97bf7af1 -DIST zeromq-4.2.0.tar.gz 1046254 BLAKE2B d14bad19861cef7bfd58f571118e5dce89afecf1b80c05c6089f7669b702c38a93825e736e73988cae3f2ce90ab4a3fc28dc34b5ca2e6ff0a12707eb238bc05e SHA512 3b6f0a1869fb1663ea40b3c3aa088b81399a35c051e4ade2b30bbac60bfceefe6b4403248a4635fb31d33767c1e478342f61c47b0ffdb4501419c13590ebeb96 -DIST zeromq-4.2.1.tar.gz 1243428 BLAKE2B 2112f127d5e9624861adad455e77c21b17db09123adbe6473e86575a63ca1c21634078cce9af13e9ea1cc24e68658ae56172d98f24478161c14c5be56a922739 SHA512 6ef52edff930be34451e81bd21a7e23f08e135c8e10e006d0a6146e7fa4171e9dcf9065f77c33cb0c0db4c16cff4a50cab2a9d612e306490a02bc6a4a913ba6a -DIST zeromq-4.2.2.tar.gz 1236437 BLAKE2B 7104f8ad28cc00f1ba6d6cb5dbb9aa466971c73a513e206eee77db293f4e4845106910d539363dc0c21de7e83885056453a530c941c38e19c5ec1fa836e1bca0 SHA512 d78813a61ce3311a1f8c230f7da0f5aedc97ef4b792afb6d398c5710da239348c0c7a67bdfeb38a7ab0282af498f1ed173649aff4add1bc35f0ef1b66f965443 -DIST zeromq-4.2.3.tar.gz 1326780 BLAKE2B f76ff6461e5a180221b1fff471e795a457fe4f26ec1ca725438aff4e240be7da80e42b2aea49845b5712e1d63590f64bc681f9a793bcf4d32fe0ee08bcab482c SHA512 8ac588a7a4db9d65586dd7b501999edac151e1d03056c1014d7ded6cd4bcf5bb4f81252b47d89d60c3ad7d527685218992bf5853b4656c0702e0f64c2d77712b -DIST zeromq-4.2.5.tar.gz 1409447 BLAKE2B 9309cff20192c4e0d9e34992cc3168c219ae63e8258362483d15f3315436324454603739393d2fa2628fb4cf7a94954c1643de07c3a28e86933fcd53aa2e0fac SHA512 4556cb50d05a6d133015a0ba804d6d951a47479a33fa29561eaeecb93d48b7bb6477365d0986c38b779f500cadaf08522c4a7aa13f5510303bd923f794d37036 -DIST zeromq-4.3.0.tar.gz 1487771 BLAKE2B 3783eb2505c2e42fc2c03cd9a280b0e2a70758d4046bd0c5b0f43a5a0630655ff06665c30fdfe222fb077ff966a9d5e0c762f65370804dee2eb25fa8215d5e2b SHA512 593239f66c4157e596874832378c9405d79c915a5895503bdbc87304df0ab49311b96f92ba6492396b4bf25d2007689099730995f7c335a51fbf42a9aafb02e4 DIST zeromq-4.3.1.tar.gz 1490122 BLAKE2B 95d0a1359e85a3868ae0b1cd4f711d9715ddc07d21fbb7799c6beaa269aa77fb68e087898033f8a515be974a799c1ee2f2afba1f50b1bc806255750b95990367 SHA512 b80388a3703993425cdd73054139a8e2895aedb9992ea68d6eadb4ea39b9af576ea14f306dfb432e4c24535feb6b293f82fac5679b655d258f0f921f2b71e772 diff --git a/net-libs/zeromq/files/zeromq-4.2.0-dl-backport.patch b/net-libs/zeromq/files/zeromq-4.2.0-dl-backport.patch deleted file mode 100644 index c00001d632a5..000000000000 --- a/net-libs/zeromq/files/zeromq-4.2.0-dl-backport.patch +++ /dev/null @@ -1,25 +0,0 @@ -From 1b3fcbd3eead8f1f59f3e9472319d58ce6b52bb7 Mon Sep 17 00:00:00 2001 -From: Luca Boccassi -Date: Thu, 10 Nov 2016 22:49:41 +0000 -Subject: [PATCH] Problem: linker fails looking for dladdr - -Solution: search and add it via AC_CHECK_LIB when building with -libunwind, as the backtrace function uses dladdr. This problem -only appears on some distributions and with some compiler/toolchain -versions. ---- - configure.ac | 1 + - 1 file changed, 1 insertion(+) - -diff --git a/configure.ac b/configure.ac -index 4fb2757..d548f9f 100644 ---- a/configure.ac -+++ b/configure.ac -@@ -650,6 +650,7 @@ PKG_CHECK_MODULES(LIBUNWIND, [libunwind], - AC_DEFINE(HAVE_LIBUNWIND, 1, [The libunwind library is to be used]) - AC_SUBST([LIBUNWIND_CFLAGS]) - AC_SUBST([LIBUNWIND_LIBS]) -+ AC_CHECK_LIB([dl], [dladdr]) - ], - [ - AC_MSG_WARN([Cannot find libunwind]) diff --git a/net-libs/zeromq/files/zeromq-4.2.1-disable-experimental-zmq_poll-implementation.patch b/net-libs/zeromq/files/zeromq-4.2.1-disable-experimental-zmq_poll-implementation.patch deleted file mode 100644 index 3efe2153bfa9..000000000000 --- a/net-libs/zeromq/files/zeromq-4.2.1-disable-experimental-zmq_poll-implementation.patch +++ /dev/null @@ -1,35 +0,0 @@ -From 90c76fbd6069b8e1e98236f31317ed22792ab739 Mon Sep 17 00:00:00 2001 -From: Luca Boccassi -Date: Fri, 28 Apr 2017 16:08:46 +0100 -Subject: [PATCH] Problem: new zmq_poller used by zmq_poll without DRAFTs - -Solution: do not define ZMQ_HAVE_POLLER in src/zmq_drafts.h otherwise -src/zmq.cpp will implement zmq_poll using the new poller classes. -Same for ZMQ_HAVE_TIMERS, even though it has no internal effect, but -to be safe against future development. ---- - src/zmq_draft.h | 4 ---- - 1 file changed, 4 deletions(-) - -diff --git a/src/zmq_draft.h b/src/zmq_draft.h -index bfbf9e3..9aed6dd 100644 ---- a/src/zmq_draft.h -+++ b/src/zmq_draft.h -@@ -67,8 +67,6 @@ const char *zmq_msg_group(zmq_msg_t *msg); - /* Poller polling on sockets,fd and thread-safe sockets */ - /******************************************************************************/ - --#define ZMQ_HAVE_POLLER -- - typedef struct zmq_poller_event_t - { - void *socket; -@@ -103,8 +101,6 @@ int zmq_poller_remove_fd (void *poller, int fd); - /* Scheduling timers */ - /******************************************************************************/ - --#define ZMQ_HAVE_TIMERS -- - typedef void (zmq_timer_fn)(int timer_id, void *arg); - - void *zmq_timers_new (void); diff --git a/net-libs/zeromq/files/zeromq-4.2.2-optional-libunwind.patch b/net-libs/zeromq/files/zeromq-4.2.2-optional-libunwind.patch deleted file mode 100644 index 36a5f66bbc91..000000000000 --- a/net-libs/zeromq/files/zeromq-4.2.2-optional-libunwind.patch +++ /dev/null @@ -1,70 +0,0 @@ -Accepted upstream as: https://github.com/zeromq/libzmq/pull/2625 - -From 88487e7da3e0412abde30af2855a667ab973f9fc Mon Sep 17 00:00:00 2001 -From: Sergei Trofimovich -Date: Fri, 14 Jul 2017 21:44:30 +0100 -Subject: [PATCH] configure.ac: allow user to disable libunwind discovery via - --disable-libunwind - -on ia64 architecture libunwind comes with gcc. Unfortunately -libunwind is not directly usable as-is and fails at link time: - -``` - ia64-unknown-linux-gnu-g++ -o perf/.libs/local_lat perf/local_lat.o src/.libs/libzmq.so -lsodium -lrt -lpthread -ldl - src/.libs/libzmq.so: undefined reference to `_ULia64_step' -``` - -The change adds --{enable,disable}-libunwind flag to control -automatic dependency. The default is unchanged: use if available. - -Signed-off-by: Sergei Trofimovich ---- - configure.ac | 32 ++++++++++++++++++++++---------- - 1 file changed, 22 insertions(+), 10 deletions(-) - -diff --git a/configure.ac b/configure.ac -index c10f8445..ad193871 100644 ---- a/configure.ac -+++ b/configure.ac -@@ -721,16 +721,28 @@ else - AC_SUBST(pkg_config_defines, "") - fi - --PKG_CHECK_MODULES(LIBUNWIND, [libunwind], -- [ -- AC_DEFINE(HAVE_LIBUNWIND, 1, [The libunwind library is to be used]) -- AC_SUBST([LIBUNWIND_CFLAGS]) -- AC_SUBST([LIBUNWIND_LIBS]) -- AC_CHECK_LIB([dl], [dladdr]) -- ], -- [ -- AC_MSG_WARN([Cannot find libunwind]) -- ]) -+AC_ARG_ENABLE([libunwind], -+ [AS_HELP_STRING([--enable-libunwind], -+ [enable libunwind [default=auto]])], -+ [enable_libunwind=$enableval], -+ [enable_libunwind="auto"]) -+ -+if test "x$enable_libunwind" != "xno"; then -+ PKG_CHECK_MODULES(LIBUNWIND, [libunwind], -+ [ -+ AC_DEFINE(HAVE_LIBUNWIND, 1, [The libunwind library is to be used]) -+ AC_SUBST([LIBUNWIND_CFLAGS]) -+ AC_SUBST([LIBUNWIND_LIBS]) -+ AC_CHECK_LIB([dl], [dladdr]) -+ ], -+ [ -+ if test "x$enable_libunwind" = "xyes"; then -+ AC_MSG_ERROR([Cannot find libunwind]) -+ else -+ AC_MSG_WARN([Cannot find libunwind]) -+ fi -+ ]) -+fi - - # Subst LIBZMQ_EXTRA_CFLAGS & CXXFLAGS & LDFLAGS - AC_SUBST(LIBZMQ_EXTRA_CFLAGS) --- -2.13.3 - diff --git a/net-libs/zeromq/zeromq-4.1.1.ebuild b/net-libs/zeromq/zeromq-4.1.1.ebuild deleted file mode 100644 index f1bcf9d04ae3..000000000000 --- a/net-libs/zeromq/zeromq-4.1.1.ebuild +++ /dev/null @@ -1,49 +0,0 @@ -# Copyright 1999-2015 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=5 - -AUTOTOOLS_AUTORECONF=true - -inherit autotools-utils - -DESCRIPTION="A brokerless kernel" -HOMEPAGE="http://www.zeromq.org/" -SRC_URI="http://download.zeromq.org/${P}.tar.gz" - -LICENSE="LGPL-3" -SLOT="0/4" -KEYWORDS="amd64 arm hppa ia64 ~mips ppc ppc64 x86 ~amd64-linux ~x86-linux" -IUSE="pgm static-libs test" - -RDEPEND=" - dev-libs/libsodium:= - pgm? ( =net-libs/openpgm-5.2.122 )" -DEPEND="${RDEPEND} - sys-apps/util-linux - pgm? ( virtual/pkgconfig )" - -src_prepare() { - einfo "Removing bundled OpenPGM library" - rm -fr "${S}"/foreign/openpgm/libpgm* || die - sed \ - -e '/libzmq_werror=/s:yes:no:g' \ - -i configure.ac || die - autotools-utils_src_prepare -} - -src_configure() { - local myeconfargs=() - use pgm && myeconfargs+=( --with-system-pgm ) || myeconfargs+=( --without-pgm ) - autotools-utils_src_configure -} - -src_test() { - autotools-utils_src_test -j1 -} - -src_install() { - autotools-utils_src_install - - doman doc/*.[1-9] -} diff --git a/net-libs/zeromq/zeromq-4.1.6.ebuild b/net-libs/zeromq/zeromq-4.1.6.ebuild deleted file mode 100644 index ffa1660ff95d..000000000000 --- a/net-libs/zeromq/zeromq-4.1.6.ebuild +++ /dev/null @@ -1,55 +0,0 @@ -# Copyright 1999-2017 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 - -inherit autotools eutils - -DESCRIPTION="A brokerless kernel" -HOMEPAGE="http://www.zeromq.org/" -SRC_URI="https://github.com/zeromq/zeromq4-1/releases/download/v${PV}/${P}.tar.gz" - -LICENSE="LGPL-3" -SLOT="0/5" -KEYWORDS="amd64 arm ~arm64 hppa ia64 ~mips ppc ppc64 x86 ~amd64-linux ~x86-linux" -IUSE="pgm static-libs test" - -RDEPEND=" - dev-libs/libsodium:= - pgm? ( =net-libs/openpgm-5.2.122 )" -DEPEND="${RDEPEND} - app-text/asciidoc - app-text/xmlto - sys-apps/util-linux - pgm? ( virtual/pkgconfig )" - -src_prepare() { - sed \ - -e '/libzmq_werror=/s:yes:no:g' \ - -i configure.ac || die - default - eautoreconf -} - -src_configure() { - local myeconfargs=( - --enable-shared - $(use_enable static-libs static) - --with-relaxed - --with-libsodium - $(use_with pgm) - ) - econf "${myeconfargs[@]}" -} - -src_test() { - # Restricting to one job because multiple tests are using the same port. - # Upstream knows the problem and says it doesn't support parallel test - # execution, see ${S}/INSTALL. - emake -j1 check -} - -src_install() { - default - prune_libtool_files -} diff --git a/net-libs/zeromq/zeromq-4.2.0-r1.ebuild b/net-libs/zeromq/zeromq-4.2.0-r1.ebuild deleted file mode 100644 index d69a469b3b23..000000000000 --- a/net-libs/zeromq/zeromq-4.2.0-r1.ebuild +++ /dev/null @@ -1,59 +0,0 @@ -# Copyright 1999-2016 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI="6" - -inherit autotools - -DESCRIPTION="A brokerless kernel" -HOMEPAGE="http://www.zeromq.org/" -SRC_URI="https://github.com/zeromq/libzmq/releases/download/v${PV}/${P}.tar.gz" - -LICENSE="LGPL-3" -SLOT="0/5" -KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux" -IUSE="pgm +sodium static-libs test" - -RDEPEND=" - sys-libs/libunwind - sodium? ( dev-libs/libsodium:= ) - pgm? ( =net-libs/openpgm-5.2.122 )" -DEPEND="${RDEPEND} - app-text/asciidoc - app-text/xmlto - sys-apps/util-linux - pgm? ( virtual/pkgconfig )" - -PATCHES=( - "${FILESDIR}"/${P}-dl-backport.patch -) - -src_prepare() { - sed \ - -e '/libzmq_werror=/s:yes:no:g' \ - -i configure.ac || die - default - eautoreconf -} - -src_configure() { - local myeconfargs=( - --enable-shared - $(use_enable static-libs static) - $(use_with sodium libsodium) - $(use_with pgm) - ) - econf "${myeconfargs[@]}" -} - -src_test() { - # Restricting to one job because multiple tests are using the same port. - # Upstream knows the problem and says it doesn't support parallel test - # execution, see ${S}/INSTALL. - emake -j1 check -} - -src_install() { - default - find "${ED}"usr/lib* -name '*.la' -delete || die -} diff --git a/net-libs/zeromq/zeromq-4.2.1.ebuild b/net-libs/zeromq/zeromq-4.2.1.ebuild deleted file mode 100644 index 586cff09f383..000000000000 --- a/net-libs/zeromq/zeromq-4.2.1.ebuild +++ /dev/null @@ -1,55 +0,0 @@ -# Copyright 1999-2017 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI="6" - -inherit autotools - -DESCRIPTION="A brokerless kernel" -HOMEPAGE="http://www.zeromq.org/" -SRC_URI="https://github.com/zeromq/libzmq/releases/download/v${PV}/${P}.tar.gz" - -LICENSE="LGPL-3" -SLOT="0/5" -KEYWORDS="amd64 arm arm64 hppa ia64 ~mips ppc ppc64 x86 ~amd64-linux ~x86-linux" -IUSE="pgm +sodium static-libs test" - -RDEPEND=" - sys-libs/libunwind - sodium? ( dev-libs/libsodium:= ) - pgm? ( =net-libs/openpgm-5.2.122 )" -DEPEND="${RDEPEND} - app-text/asciidoc - app-text/xmlto - sys-apps/util-linux - pgm? ( virtual/pkgconfig )" - -src_prepare() { - sed \ - -e '/libzmq_werror=/s:yes:no:g' \ - -i configure.ac || die - default - eautoreconf -} - -src_configure() { - local myeconfargs=( - --enable-shared - $(use_enable static-libs static) - $(use_with sodium libsodium) - $(use_with pgm) - ) - econf "${myeconfargs[@]}" -} - -src_test() { - # Restricting to one job because multiple tests are using the same port. - # Upstream knows the problem and says it doesn't support parallel test - # execution, see ${S}/INSTALL. - emake -j1 check -} - -src_install() { - default - find "${ED}"usr/lib* -name '*.la' -delete || die -} diff --git a/net-libs/zeromq/zeromq-4.2.2-r1.ebuild b/net-libs/zeromq/zeromq-4.2.2-r1.ebuild deleted file mode 100644 index 5f72e2a7662b..000000000000 --- a/net-libs/zeromq/zeromq-4.2.2-r1.ebuild +++ /dev/null @@ -1,57 +0,0 @@ -# Copyright 1999-2017 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI="6" - -inherit autotools - -DESCRIPTION="A brokerless kernel" -HOMEPAGE="http://www.zeromq.org/" -SRC_URI="https://github.com/zeromq/libzmq/releases/download/v${PV}/${P}.tar.gz" - -LICENSE="LGPL-3" -SLOT="0/5" -KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux ~x64-macos ~x86-macos" -IUSE="pgm +sodium static-libs test elibc_Darwin" - -RDEPEND=" - !elibc_Darwin? ( sys-libs/libunwind ) - sodium? ( dev-libs/libsodium:= ) - pgm? ( =net-libs/openpgm-5.2.122 )" -DEPEND="${RDEPEND} - app-text/asciidoc - app-text/xmlto - !elibc_Darwin? ( sys-apps/util-linux ) - pgm? ( virtual/pkgconfig )" - -PATCHES=( "${FILESDIR}"/${PN}-4.2.1-disable-experimental-zmq_poll-implementation.patch ) - -src_prepare() { - sed \ - -e '/libzmq_werror=/s:yes:no:g' \ - -i configure.ac || die - default - eautoreconf -} - -src_configure() { - local myeconfargs=( - --enable-shared - $(use_enable static-libs static) - $(use_with sodium libsodium) - $(use_with pgm) - ) - econf "${myeconfargs[@]}" -} - -src_test() { - # Restricting to one job because multiple tests are using the same port. - # Upstream knows the problem and says it doesn't support parallel test - # execution, see ${S}/INSTALL. - emake -j1 check -} - -src_install() { - default - find "${ED}"usr/lib* -name '*.la' -delete || die -} diff --git a/net-libs/zeromq/zeromq-4.2.2-r2.ebuild b/net-libs/zeromq/zeromq-4.2.2-r2.ebuild deleted file mode 100644 index 8c2ee822f163..000000000000 --- a/net-libs/zeromq/zeromq-4.2.2-r2.ebuild +++ /dev/null @@ -1,63 +0,0 @@ -# Copyright 1999-2018 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI="6" - -inherit autotools - -DESCRIPTION="A brokerless kernel" -HOMEPAGE="http://www.zeromq.org/" -SRC_URI="https://github.com/zeromq/libzmq/releases/download/v${PV}/${P}.tar.gz" - -LICENSE="LGPL-3" -SLOT="0/5" -KEYWORDS="amd64 arm arm64 hppa ia64 ~mips ppc ppc64 sparc x86 ~amd64-linux ~x86-linux ~x64-macos ~x86-macos" -IUSE="doc drafts pgm +sodium static-libs test unwind elibc_Darwin" - -RDEPEND=" - !elibc_Darwin? ( unwind? ( sys-libs/libunwind ) ) - sodium? ( dev-libs/libsodium:= ) - pgm? ( =net-libs/openpgm-5.2.122 )" -DEPEND="${RDEPEND} - !elibc_Darwin? ( sys-apps/util-linux ) - doc? ( - app-text/asciidoc - app-text/xmlto - ) - pgm? ( virtual/pkgconfig )" - -PATCHES=( "${FILESDIR}"/${PN}-4.2.1-disable-experimental-zmq_poll-implementation.patch - "${FILESDIR}"/${PN}-4.2.2-optional-libunwind.patch ) - -src_prepare() { - sed \ - -e '/libzmq_werror=/s:yes:no:g' \ - -i configure.ac || die - default - eautoreconf -} - -src_configure() { - local myeconfargs=( - --enable-shared - $(use_enable drafts) - $(use_enable static-libs static) - $(use_enable unwind libunwind) - $(use_with sodium libsodium) - $(use_with pgm) - $(use_with doc docs) - ) - econf "${myeconfargs[@]}" -} - -src_test() { - # Restricting to one job because multiple tests are using the same port. - # Upstream knows the problem and says it doesn't support parallel test - # execution, see ${S}/INSTALL. - emake -j1 check -} - -src_install() { - default - find "${ED}"usr/lib* -name '*.la' -delete || die -} diff --git a/net-libs/zeromq/zeromq-4.2.2.ebuild b/net-libs/zeromq/zeromq-4.2.2.ebuild deleted file mode 100644 index 6c9a850b617a..000000000000 --- a/net-libs/zeromq/zeromq-4.2.2.ebuild +++ /dev/null @@ -1,55 +0,0 @@ -# Copyright 1999-2017 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI="6" - -inherit autotools - -DESCRIPTION="A brokerless kernel" -HOMEPAGE="http://www.zeromq.org/" -SRC_URI="https://github.com/zeromq/libzmq/releases/download/v${PV}/${P}.tar.gz" - -LICENSE="LGPL-3" -SLOT="0/5" -KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux" -IUSE="pgm +sodium static-libs test" - -RDEPEND=" - sys-libs/libunwind - sodium? ( dev-libs/libsodium:= ) - pgm? ( =net-libs/openpgm-5.2.122 )" -DEPEND="${RDEPEND} - app-text/asciidoc - app-text/xmlto - sys-apps/util-linux - pgm? ( virtual/pkgconfig )" - -src_prepare() { - sed \ - -e '/libzmq_werror=/s:yes:no:g' \ - -i configure.ac || die - default - eautoreconf -} - -src_configure() { - local myeconfargs=( - --enable-shared - $(use_enable static-libs static) - $(use_with sodium libsodium) - $(use_with pgm) - ) - econf "${myeconfargs[@]}" -} - -src_test() { - # Restricting to one job because multiple tests are using the same port. - # Upstream knows the problem and says it doesn't support parallel test - # execution, see ${S}/INSTALL. - emake -j1 check -} - -src_install() { - default - find "${ED}"usr/lib* -name '*.la' -delete || die -} diff --git a/net-libs/zeromq/zeromq-4.2.3.ebuild b/net-libs/zeromq/zeromq-4.2.3.ebuild deleted file mode 100644 index d29132acaaec..000000000000 --- a/net-libs/zeromq/zeromq-4.2.3.ebuild +++ /dev/null @@ -1,62 +0,0 @@ -# Copyright 1999-2018 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI="6" - -inherit autotools - -DESCRIPTION="A brokerless kernel" -HOMEPAGE="http://www.zeromq.org/" -SRC_URI="https://github.com/zeromq/libzmq/releases/download/v${PV}/${P}.tar.gz" - -LICENSE="LGPL-3" -SLOT="0/5" -KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux ~x64-macos ~x86-macos" -IUSE="doc drafts pgm +sodium static-libs test unwind elibc_Darwin" - -RDEPEND=" - !elibc_Darwin? ( unwind? ( sys-libs/libunwind ) ) - sodium? ( dev-libs/libsodium:= ) - pgm? ( =net-libs/openpgm-5.2.122 )" -DEPEND="${RDEPEND} - !elibc_Darwin? ( sys-apps/util-linux ) - doc? ( - app-text/asciidoc - app-text/xmlto - ) - pgm? ( virtual/pkgconfig )" - -PATCHES=() - -src_prepare() { - sed \ - -e '/libzmq_werror=/s:yes:no:g' \ - -i configure.ac || die - default - eautoreconf -} - -src_configure() { - local myeconfargs=( - --enable-shared - $(use_enable drafts) - $(use_enable static-libs static) - $(use_enable unwind libunwind) - $(use_with sodium libsodium) - $(use_with pgm) - $(use_with doc docs) - ) - econf "${myeconfargs[@]}" -} - -src_test() { - # Restricting to one job because multiple tests are using the same port. - # Upstream knows the problem and says it doesn't support parallel test - # execution, see ${S}/INSTALL. - emake -j1 check -} - -src_install() { - default - find "${ED}"usr/lib* -name '*.la' -delete || die -} diff --git a/net-libs/zeromq/zeromq-4.2.5.ebuild b/net-libs/zeromq/zeromq-4.2.5.ebuild deleted file mode 100644 index d29132acaaec..000000000000 --- a/net-libs/zeromq/zeromq-4.2.5.ebuild +++ /dev/null @@ -1,62 +0,0 @@ -# Copyright 1999-2018 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI="6" - -inherit autotools - -DESCRIPTION="A brokerless kernel" -HOMEPAGE="http://www.zeromq.org/" -SRC_URI="https://github.com/zeromq/libzmq/releases/download/v${PV}/${P}.tar.gz" - -LICENSE="LGPL-3" -SLOT="0/5" -KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux ~x64-macos ~x86-macos" -IUSE="doc drafts pgm +sodium static-libs test unwind elibc_Darwin" - -RDEPEND=" - !elibc_Darwin? ( unwind? ( sys-libs/libunwind ) ) - sodium? ( dev-libs/libsodium:= ) - pgm? ( =net-libs/openpgm-5.2.122 )" -DEPEND="${RDEPEND} - !elibc_Darwin? ( sys-apps/util-linux ) - doc? ( - app-text/asciidoc - app-text/xmlto - ) - pgm? ( virtual/pkgconfig )" - -PATCHES=() - -src_prepare() { - sed \ - -e '/libzmq_werror=/s:yes:no:g' \ - -i configure.ac || die - default - eautoreconf -} - -src_configure() { - local myeconfargs=( - --enable-shared - $(use_enable drafts) - $(use_enable static-libs static) - $(use_enable unwind libunwind) - $(use_with sodium libsodium) - $(use_with pgm) - $(use_with doc docs) - ) - econf "${myeconfargs[@]}" -} - -src_test() { - # Restricting to one job because multiple tests are using the same port. - # Upstream knows the problem and says it doesn't support parallel test - # execution, see ${S}/INSTALL. - emake -j1 check -} - -src_install() { - default - find "${ED}"usr/lib* -name '*.la' -delete || die -} diff --git a/net-libs/zeromq/zeromq-4.3.0.ebuild b/net-libs/zeromq/zeromq-4.3.0.ebuild deleted file mode 100644 index 8eae7c543838..000000000000 --- a/net-libs/zeromq/zeromq-4.3.0.ebuild +++ /dev/null @@ -1,62 +0,0 @@ -# Copyright 1999-2019 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI="7" - -inherit autotools - -DESCRIPTION="A brokerless kernel" -HOMEPAGE="http://www.zeromq.org/" -SRC_URI="https://github.com/zeromq/libzmq/releases/download/v${PV}/${P}.tar.gz" - -LICENSE="LGPL-3" -SLOT="0/5" -KEYWORDS="amd64 ~arm ~arm64 hppa ~ia64 ~mips ppc ppc64 ~sparc x86 ~amd64-linux ~x86-linux ~x64-macos ~x86-macos" -IUSE="doc drafts pgm +sodium static-libs test unwind elibc_Darwin" - -RDEPEND=" - !elibc_Darwin? ( unwind? ( sys-libs/libunwind ) ) - sodium? ( dev-libs/libsodium:= ) - pgm? ( =net-libs/openpgm-5.2.122 )" -DEPEND="${RDEPEND} - !elibc_Darwin? ( sys-apps/util-linux ) - doc? ( - app-text/asciidoc - app-text/xmlto - ) - pgm? ( virtual/pkgconfig )" - -PATCHES=() - -src_prepare() { - sed \ - -e '/libzmq_werror=/s:yes:no:g' \ - -i configure.ac || die - default - eautoreconf -} - -src_configure() { - local myeconfargs=( - --enable-shared - $(use_enable drafts) - $(use_enable static-libs static) - $(use_enable unwind libunwind) - $(use_with sodium libsodium) - $(use_with pgm) - $(use_with doc docs) - ) - econf "${myeconfargs[@]}" -} - -src_test() { - # Restricting to one job because multiple tests are using the same port. - # Upstream knows the problem and says it doesn't support parallel test - # execution, see ${S}/INSTALL. - emake -j1 check -} - -src_install() { - default - find "${ED%/}"/usr/lib* -name '*.la' -delete || die -} -- cgit v1.2.3-65-gdbad