mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 17:09:10 -07:00
net-libs/zeromq: security cleanup
Bug: https://bugs.gentoo.org/740574 Package-Manager: Portage-3.0.8, Repoman-3.0.2 Signed-off-by: Thomas Deutschmann <whissi@gentoo.org>
This commit is contained in:
@@ -1,4 +1 @@
|
||||
DIST zeromq-2.2.0.tar.gz 1899104 BLAKE2B 1c02629e33151db11c529d538ce519dae7f3426ee13f8a2b840960779cd7514f7cc3257983704f2c392a00ad62f4a955bc33fcbdadb8bada3858753a1790ab41 SHA512 fb3cf421b2dc48c31956b3e3ee4ab6ebc743deec3bf626c2238a1996c8c51be87260bd6aa662793a1f0c34dcda9b3146763777bb162dfad6fec4ca7acc403b2e
|
||||
DIST zeromq-3.2.5.tar.gz 2082960 BLAKE2B 88fe3b3206f0e59acb3cf370964c9e40df2dceb5e40aef85ae8cd8fedef4c655fd2698a7f81431e34550b5156814a75c0b1a738393e7c44acbfefe96acc4c4bc SHA512 3682204e5a47824d149968e62fbf9768134370e4f7debbbf8f2bfa24bdd0a781e50c4a9b4231af8a0c4bab61839169100525a91472448ef180a9672342e10a3f
|
||||
DIST zeromq-4.3.2.tar.gz 1697442 BLAKE2B 70a1f6da357987c32483050fcf86cb81a1fb0b65a527f6900f54eea8958c6aa6024af04067114663824d42305f507cba67e03c7aaab7e23e4f6332d4368613eb SHA512 b6251641e884181db9e6b0b705cced7ea4038d404bdae812ff47bdd0eed12510b6af6846b85cb96898e253ccbac71eca7fe588673300ddb9c3109c973250c8e4
|
||||
DIST zeromq-4.3.3.tar.gz 2117050 BLAKE2B 69bd1544fa76232ecf860b364592762c4170c327c444bf79a916947e1c370eb8c6c20b2ae271374d70bde11db9116ef6a64262e287982e5f41d6a5029649348f SHA512 4c18d784085179c5b1fcb753a93813095a12c8d34970f2e1bfca6499be6c9d67769c71c68b7ca54ff181b20390043170e89733c22f76ff1ea46494814f7095b1
|
||||
|
||||
@@ -1,53 +0,0 @@
|
||||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
# NOTES:
|
||||
# 1- use flag 'pgm' (OpenPGM support) must be masked by profiles for ARM archs;
|
||||
|
||||
EAPI=4
|
||||
|
||||
inherit autotools
|
||||
|
||||
DESCRIPTION="ZeroMQ is a brokerless messaging kernel with extremely high performance"
|
||||
HOMEPAGE="http://www.zeromq.org"
|
||||
SRC_URI="http://download.zeromq.org/${P}.tar.gz"
|
||||
|
||||
LICENSE="LGPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 hppa ppc ppc64 x86 ~amd64-linux ~x86-linux"
|
||||
IUSE="pgm test static-libs"
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
RDEPEND="!net-libs/cppzmq"
|
||||
DEPEND="
|
||||
pgm? (
|
||||
virtual/pkgconfig
|
||||
~net-libs/openpgm-5.1.118
|
||||
)
|
||||
sys-apps/util-linux "
|
||||
|
||||
src_prepare() {
|
||||
einfo "Removing bundled OpenPGM library"
|
||||
rm -r "${S}"/foreign/openpgm/libpgm* || die
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local myconf
|
||||
use pgm && myconf="--with-system-pgm" || myconf="--without-pgm"
|
||||
econf \
|
||||
$(use_enable static-libs static) \
|
||||
$myconf
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" install
|
||||
dodoc NEWS README AUTHORS ChangeLog
|
||||
doman doc/*.[1-9]
|
||||
|
||||
# remove useless .la files
|
||||
find "${D}" -name '*.la' -delete
|
||||
|
||||
# remove useless .a (only for non static compilation)
|
||||
use static-libs || find "${D}" -name '*.a' -delete
|
||||
}
|
||||
@@ -1,61 +0,0 @@
|
||||
# Copyright 1999-2019 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=5
|
||||
|
||||
inherit autotools
|
||||
|
||||
DESCRIPTION="ZeroMQ is a brokerless kernel"
|
||||
HOMEPAGE="http://www.zeromq.org/"
|
||||
SRC_URI="http://download.zeromq.org/${P}.tar.gz"
|
||||
|
||||
LICENSE="LGPL-3"
|
||||
SLOT="0/3"
|
||||
KEYWORDS="amd64 arm hppa ppc ppc64 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos"
|
||||
IUSE="pgm test static-libs elibc_glibc"
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
DEPEND="
|
||||
|| ( sys-devel/gcc sys-devel/gcc-apple )
|
||||
pgm? (
|
||||
virtual/pkgconfig
|
||||
>=net-libs/openpgm-5.2
|
||||
)
|
||||
elibc_glibc? ( sys-apps/util-linux )"
|
||||
RDEPEND=""
|
||||
|
||||
src_prepare() {
|
||||
einfo "Removing bundled OpenPGM library"
|
||||
sed -i 's/AM_CONFIG_HEADER/AC_CONFIG_HEADERS/g' configure.in || die
|
||||
rm -r "${S}"/foreign/openpgm/libpgm* || die
|
||||
# apply effective bit of below commit to fix compilation on Darwin
|
||||
# https://github.com/zeromq/zeromq3-x/commit/400cbc208a768c4df5039f401dd2688eede6e1ca
|
||||
sed -i -e '/strndup/d' tests/test_disconnect_inproc.cpp || die
|
||||
mv configure.{in,ac} || die
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local myconf
|
||||
use pgm && myconf="--with-system-pgm" || myconf="--without-pgm"
|
||||
econf \
|
||||
$(use_enable static-libs static) \
|
||||
${myconf}
|
||||
}
|
||||
|
||||
src_test() {
|
||||
emake -j1 check
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
doman doc/*.[1-9]
|
||||
|
||||
# remove useless .la files
|
||||
find "${ED}" -name '*.la' -delete || die
|
||||
|
||||
# remove useless .a (only for non static compilation)
|
||||
if ! use static-libs; then
|
||||
find "${ED}" -name '*.a' -delete || die
|
||||
fi
|
||||
}
|
||||
@@ -1,61 +0,0 @@
|
||||
# Copyright 1999-2020 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"
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
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 )"
|
||||
|
||||
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
|
||||
}
|
||||
@@ -21,10 +21,6 @@
|
||||
# dev-qt/qtwebkit is in the process of being removed, tracker bug #684580
|
||||
dev-qt/qtwebkit
|
||||
|
||||
# Thomas Deutschmann <whissi@gentoo.org> (2020-09-08)
|
||||
# Dead implementations, please migrate to >=zeromq-4
|
||||
<net-libs/zeromq-4
|
||||
|
||||
# Mart Raudsepp <leio@gentoo.org> (2020-07-04)
|
||||
# Port to gtk+:3 using wxGTK:3.0-gtk3 SLOT
|
||||
x11-libs/wxGTK:3.0
|
||||
|
||||
Reference in New Issue
Block a user