diff options
author | Dirkjan Ochtman <djc@gentoo.org> | 2011-08-30 07:46:25 +0000 |
---|---|---|
committer | Dirkjan Ochtman <djc@gentoo.org> | 2011-08-30 07:46:25 +0000 |
commit | 978181335480bba52bdad0cb067b94bd103ad377 (patch) | |
tree | 8a50acecc75fa862393661632e8d80cc1328ff89 /net-libs | |
parent | Marked stable on AMD64 based on arch testing by Agostino "ago" Sarubbo in bug... (diff) | |
download | gentoo-2-978181335480bba52bdad0cb067b94bd103ad377.tar.gz gentoo-2-978181335480bba52bdad0cb067b94bd103ad377.tar.bz2 gentoo-2-978181335480bba52bdad0cb067b94bd103ad377.zip |
Clean up old zeromq versions.
(Portage version: 2.1.10.4/cvs/Linux x86_64)
Diffstat (limited to 'net-libs')
-rw-r--r-- | net-libs/zeromq/ChangeLog | 7 | ||||
-rw-r--r-- | net-libs/zeromq/files/2.1.6-msg-mask.patch | 12 | ||||
-rw-r--r-- | net-libs/zeromq/files/zeromq-2.1.3-configure.patch | 120 | ||||
-rw-r--r-- | net-libs/zeromq/zeromq-2.0.9.ebuild | 47 | ||||
-rw-r--r-- | net-libs/zeromq/zeromq-2.1.6-r1.ebuild | 53 |
5 files changed, 6 insertions, 233 deletions
diff --git a/net-libs/zeromq/ChangeLog b/net-libs/zeromq/ChangeLog index ae23f3f1c938..c9fc09a85a0e 100644 --- a/net-libs/zeromq/ChangeLog +++ b/net-libs/zeromq/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for net-libs/zeromq # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-libs/zeromq/ChangeLog,v 1.15 2011/08/30 06:55:21 djc Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-libs/zeromq/ChangeLog,v 1.16 2011/08/30 07:46:25 djc Exp $ + + 30 Aug 2011; Dirkjan Ochtman <djc@gentoo.org> -files/2.1.6-msg-mask.patch, + -zeromq-2.0.9.ebuild, -files/zeromq-2.1.3-configure.patch, + -zeromq-2.1.6-r1.ebuild: + Remove old versions. *zeromq-2.1.9 (30 Aug 2011) diff --git a/net-libs/zeromq/files/2.1.6-msg-mask.patch b/net-libs/zeromq/files/2.1.6-msg-mask.patch deleted file mode 100644 index a8d3da568748..000000000000 --- a/net-libs/zeromq/files/2.1.6-msg-mask.patch +++ /dev/null @@ -1,12 +0,0 @@ -https://github.com/zeromq/zeromq2-1/commit/71cb36d04bd74ca82aca3868e665831733995be7 ---- src/decoder.cpp.bak 2011-05-04 10:19:21.000000000 +0200 -+++ src/decoder.cpp 2011-05-04 10:18:50.000000000 +0200 -@@ -109,7 +109,7 @@ - bool zmq::decoder_t::flags_ready () - { - // Store the flags from the wire into the message structure. -- in_progress.flags = tmpbuf [0]; -+ in_progress.flags = tmpbuf [0] | ~ZMQ_MSG_MASK; - - next_step (zmq_msg_data (&in_progress), zmq_msg_size (&in_progress), - &decoder_t::message_ready); diff --git a/net-libs/zeromq/files/zeromq-2.1.3-configure.patch b/net-libs/zeromq/files/zeromq-2.1.3-configure.patch deleted file mode 100644 index 062b74777abc..000000000000 --- a/net-libs/zeromq/files/zeromq-2.1.3-configure.patch +++ /dev/null @@ -1,120 +0,0 @@ ---- configure.in.bak 2011-03-28 15:04:47.000000000 +0200 -+++ configure.in 2011-03-28 15:11:24.000000000 +0200 -@@ -269,54 +269,16 @@ - AC_TYPE_UINT32_T - AC_C_VOLATILE - --# PGM extension --ac_zmq_pgm_ext="no" -- --pgm_basename="libpgm-5.1.114~dfsg" -- --AC_SUBST(pgm_basename) -- --AC_ARG_WITH([pgm], [AS_HELP_STRING([--with-pgm], -- [build libzmq with PGM extension [default=no]])], -- [with_pgm_ext=$withval], [with_pgm_ext=no]) -- --if test "x$with_pgm_ext" != "xno"; then -- -- # This allows placing the tar.gz to foreign/openpgm -- # and using ./configure --with-pgm=libpgm-x.y.z -- if test "x$with_pgm_ext" != "xyes"; then -- pgm_basename="$with_pgm_ext" -- fi -- -- # Unpack libpgm -- AC_MSG_NOTICE([Unpacking ${pgm_basename}.tar.gz]) -- ac_zmq_pwd=`pwd` -- cd foreign/openpgm -- -- if ! (gzip -dc "${pgm_basename}.tar.gz" || echo "failed") | ${am__untar}; then -- AC_MSG_ERROR([cannot unpack the foreign/openpgm/${pgm_basename}.tar.gz file]) -- fi -- -- cd "${ac_zmq_pwd}" -- -- if test -d foreign/openpgm/build-staging; then -- rm -rf foreign/openpgm/build-staging -- fi -- -- mv foreign/openpgm/${pgm_basename} foreign/openpgm/build-staging -- pgm_srcdir=foreign/openpgm/build-staging/openpgm/pgm -- -- if ! test -d foreign/openpgm/build-staging/openpgm/pgm/config; then -- mkdir foreign/openpgm/build-staging/openpgm/pgm/config -- fi -- -- AC_SUBST(pgm_srcdir) -- AC_CONFIG_SUBDIRS([foreign/openpgm/build-staging/openpgm/pgm/]) -- -- # Success! -- AC_DEFINE(ZMQ_HAVE_OPENPGM, 1, [Have OpenPGM extension]) -- ac_zmq_pgm_ext="yes" --fi -+# check for the presence of OpenPGM -+AC_ARG_WITH([pgm], AS_HELP_STRING([--with-pgm], -+ [build libzmq with PGM extension [default=no]])) -+ -+AS_IF([test "x$with_pgm" = "xyes"], [ -+ PKG_CHECK_MODULES([OpenPGM], [openpgm-5.1 >= 5.1]) -+ AC_DEFINE(ZMQ_HAVE_OPENPGM, 1, [Have OpenPGM extension]) -+ LIBZMQ_EXTRA_CXXFLAGS="$OpenPGM_CFLAGS $LIBZMQ_EXTRA_CXXFLAGS" -+ LIBS="$OpenPGM_LIBS $LIBS" -+]) - - # Set -Wall, -Werror and -pedantic - AC_LANG_PUSH([C++]) -@@ -341,52 +303,6 @@ - AC_CHECK_FUNCS(perror gettimeofday memset socket getifaddrs freeifaddrs) - AC_CHECK_HEADERS([alloca.h]) - --if test "x$with_pgm_ext" != "xno"; then -- -- # Check additional functions for PGM build -- AC_CHECK_FUNCS(poll epoll_create pselect getopt vasprintf getprotobyname_r2 getprotobyname_r) -- -- if test "x$ac_cv_func_gettimeofday" = "xyes"; then -- LIBZMQ_EXTRA_CFLAGS="-DCONFIG_HAVE_GETTIMEOFDAY $LIBZMQ_EXTRA_CFLAGS" -- fi -- if test "x$ac_cv_func_getprotobyname_r2" = "xyes"; then -- LIBZMQ_EXTRA_CFLAGS="-DCONFIG_HAVE_GETPROTOBYNAME_R2 $LIBZMQ_EXTRA_CFLAGS" -- fi -- if test "x$ac_cv_func_poll" = "xyes"; then -- LIBZMQ_EXTRA_CFLAGS="-DCONFIG_HAVE_POLL $LIBZMQ_EXTRA_CFLAGS" -- fi -- if test "x$ac_cv_func_epoll_create" = "xyes"; then -- LIBZMQ_EXTRA_CFLAGS="-DCONFIG_HAVE_EPOLL $LIBZMQ_EXTRA_CFLAGS" -- fi -- if test "x$ac_cv_func_getifaddrs" = "xyes"; then -- LIBZMQ_EXTRA_CFLAGS="-DCONFIG_HAVE_GETIFADDRS $LIBZMQ_EXTRA_CFLAGS" -- fi -- if test "x$ac_cv_func_getopt" = "xyes"; then -- LIBZMQ_EXTRA_CFLAGS="-DCONFIG_HAVE_GETOPT $LIBZMQ_EXTRA_CFLAGS" -- fi -- if test "x$ac_cv_func_pselect" = "xyes"; then -- LIBZMQ_EXTRA_CFLAGS="-DCONFIG_HAVE_PSELECT $LIBZMQ_EXTRA_CFLAGS" -- fi -- if test "x$ac_cv_header_alloca_h" = "xyes"; then -- LIBZMQ_EXTRA_CFLAGS="-DCONFIG_HAVE_ALLOCA_H $LIBZMQ_EXTRA_CFLAGS" -- fi -- if test "x$ac_cv_c_compiler_gnu" = "xno"; then -- LIBZMQ_EXTRA_CFLAGS="-DCONFIG_HAVE_ISO_VARARGS $LIBZMQ_EXTRA_CFLAGS" -- else -- LIBZMQ_EXTRA_CFLAGS="-DCONFIG_HAVE_GNU_VARARGS $LIBZMQ_EXTRA_CFLAGS" -- fi -- if test "x$ac_cv_func_vasprintf" = "xyes"; then -- LIBZMQ_EXTRA_CFLAGS="-DCONFIG_HAVE_VASPRINTF $LIBZMQ_EXTRA_CFLAGS" -- fi -- case "${host_cpu}" in -- i*86|x86_64|amd64|*sparc*) -- LIBZMQ_EXTRA_CFLAGS="-DCONFIG_HAVE_TSC -DCONFIG_HAVE_RTC -DCONFIG_HAVE_HPET $LIBZMQ_EXTRA_CFLAGS" -- ;; -- *sparc*|s390*) -- ;; -- esac --fi -- - # Subst LIBZMQ_EXTRA_CFLAGS & CXXFLAGS & LDFLAGS - AC_SUBST(LIBZMQ_EXTRA_CFLAGS) - AC_SUBST(LIBZMQ_EXTRA_CXXFLAGS) diff --git a/net-libs/zeromq/zeromq-2.0.9.ebuild b/net-libs/zeromq/zeromq-2.0.9.ebuild deleted file mode 100644 index b582b6878eea..000000000000 --- a/net-libs/zeromq/zeromq-2.0.9.ebuild +++ /dev/null @@ -1,47 +0,0 @@ -# Copyright 1999-2011 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-libs/zeromq/zeromq-2.0.9.ebuild,v 1.4 2011/04/05 19:57:35 flameeyes Exp $ - -# NOTES: -# 1- use flag 'pgm' (OpenPGM support) must be masked by profiles for ARM archs; -# 2- $(use_with pgm) doesn't work due to a broken configure.in (I'm fixing it -# with upstream); -# 3- libpgm is bundled inside 0MQ's source because the library isn't complete -# and fully installable alone, so for now upstream has decided to bundle -# it until libpgm can be packaged as a separate component; - -EAPI=3 - -DESCRIPTION="ZeroMQ is a brokerless messaging kernel with extremely high performance." -HOMEPAGE="http://www.zeromq.org/" -SRC_URI="http://www.zeromq.org/local--files/area:download/${P}.tar.gz" - -LICENSE="LGPL-3" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="pgm static-libs" - -RDEPEND="sys-apps/util-linux" -DEPEND="${RDEPEND} - pgm? ( - app-arch/gzip - dev-util/pkgconfig - )" - -src_configure() { - local myconf - use pgm && myconf="--with-pgm" - econf \ - $(use_enable static-libs static) \ - ${myconf} \ - --disable-dependency-tracking \ - --enable-fast-install -} - -src_install() { - emake DESTDIR="${D}" install || die "emake install failed." - dodoc NEWS README AUTHORS ChangeLog || die "dodoc failed." - - # remove useless .a and .la files (only for non static compilation) - find "${D}" -name '*.la' -delete -} diff --git a/net-libs/zeromq/zeromq-2.1.6-r1.ebuild b/net-libs/zeromq/zeromq-2.1.6-r1.ebuild deleted file mode 100644 index fd632800337d..000000000000 --- a/net-libs/zeromq/zeromq-2.1.6-r1.ebuild +++ /dev/null @@ -1,53 +0,0 @@ -# Copyright 1999-2011 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-libs/zeromq/zeromq-2.1.6-r1.ebuild,v 1.1 2011/05/04 08:29:13 djc Exp $ - -# NOTES: -# 1- use flag 'pgm' (OpenPGM support) must be masked by profiles for ARM archs; - -EAPI=3 -WANT_AUTOCONF="2.5" -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 ~x86" -IUSE="pgm test static-libs" - -RDEPEND="" -DEPEND="pgm? ( - dev-util/pkgconfig - =net-libs/openpgm-5.1.116 - ) - sys-apps/util-linux" - -src_prepare() { - einfo "Removing bundled OpenPGM library" - rm -r "${S}"/foreign/openpgm/libpgm* || die - epatch "${FILESDIR}/${PV}-msg-mask.patch" - 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 || die "emake install failed" - dodoc NEWS README AUTHORS ChangeLog || die "dodoc failed" - doman doc/*.[1-9] || die "doman failed" - - # 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 -} |