diff options
author | Jeroen Roovers <jer@gentoo.org> | 2010-04-01 21:03:12 +0000 |
---|---|---|
committer | Jeroen Roovers <jer@gentoo.org> | 2010-04-01 21:03:12 +0000 |
commit | a03e6ef8d512f6e0d4b9b001001a9151bae0fc78 (patch) | |
tree | 82b61d7077de83912f29dbc5c977a7a058a340ea | |
parent | Reintroduce ~hppa keyword that was removed before due to GCC restrictions. (diff) | |
download | gentoo-2-a03e6ef8d512f6e0d4b9b001001a9151bae0fc78.tar.gz gentoo-2-a03e6ef8d512f6e0d4b9b001001a9151bae0fc78.tar.bz2 gentoo-2-a03e6ef8d512f6e0d4b9b001001a9151bae0fc78.zip |
Version bump (bug #312637). Respect LDFLAGS.
(Portage version: 2.2_rc67/cvs/Linux i686)
-rw-r--r-- | net-libs/libnids/ChangeLog | 10 | ||||
-rw-r--r-- | net-libs/libnids/files/libnids-1.24-ldflags.patch | 11 | ||||
-rw-r--r-- | net-libs/libnids/libnids-1.24.ebuild | 35 |
3 files changed, 54 insertions, 2 deletions
diff --git a/net-libs/libnids/ChangeLog b/net-libs/libnids/ChangeLog index d492a1540bee..77d718a30dcb 100644 --- a/net-libs/libnids/ChangeLog +++ b/net-libs/libnids/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for net-libs/libnids -# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-libs/libnids/ChangeLog,v 1.33 2009/07/02 15:49:21 jer Exp $ +# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/net-libs/libnids/ChangeLog,v 1.34 2010/04/01 21:03:12 jer Exp $ + +*libnids-1.24 (01 Apr 2010) + + 01 Apr 2010; Jeroen Roovers <jer@gentoo.org> +libnids-1.24.ebuild, + +files/libnids-1.24-ldflags.patch: + Version bump (bug #312637). Respect LDFLAGS. 02 Jul 2009; Jeroen Roovers <jer@gentoo.org> libnids-1.23-r1.ebuild, +files/libnids-1.23-elif.patch: diff --git a/net-libs/libnids/files/libnids-1.24-ldflags.patch b/net-libs/libnids/files/libnids-1.24-ldflags.patch new file mode 100644 index 000000000000..3ce84c7bf5c8 --- /dev/null +++ b/net-libs/libnids/files/libnids-1.24-ldflags.patch @@ -0,0 +1,11 @@ +--- src/Makefile.in.org 2010-03-01 22:13:17.000000000 +0100 ++++ src/Makefile.in 2010-04-01 22:59:21.000000000 +0200 +@@ -65,7 +65,7 @@ + ar -cr $@ $(OBJS) + $(RANLIB) $@ + $(LIBSHARED): $(OBJS_SHARED) +- $(CC) -shared -Wl,-soname,$(LIBSHARED) -o $(LIBSHARED) $(OBJS_SHARED) $(LIBS) $(LNETLIB) $(PCAPLIB) ++ $(CC) -shared -Wl,-soname,$(LIBSHARED) $(LDFLAGS) -o $(LIBSHARED) $(OBJS_SHARED) $(LIBS) $(LNETLIB) $(PCAPLIB) + + _install install: $(LIBSTATIC) + ../mkinstalldirs $(install_prefix)$(libdir) diff --git a/net-libs/libnids/libnids-1.24.ebuild b/net-libs/libnids/libnids-1.24.ebuild new file mode 100644 index 000000000000..bf3e80cc624b --- /dev/null +++ b/net-libs/libnids/libnids-1.24.ebuild @@ -0,0 +1,35 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-libs/libnids/libnids-1.24.ebuild,v 1.1 2010/04/01 21:03:12 jer Exp $ + +EAPI=2 +inherit eutils + +DESCRIPTION="emulates the IP stack of Linux 2.0.x and offers IP defragmentation, TCP stream assembly and TCP port scan detection." +HOMEPAGE="http://libnids.sourceforge.net/" +SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" + +LICENSE="LGPL-2.1" +SLOT="1.2" +KEYWORDS="~alpha ~amd64 ~ppc ~sparc ~x86" +IUSE="" + +DEPEND="net-libs/libpcap + >=net-libs/libnet-1.1.0-r3" +RDEPEND="${DEPEND} + !net-libs/libnids:1.1" + +src_prepare() { + epatch "${FILESDIR}/${PN}-1.20-chksum.c-ebx.patch" + epatch "${FILESDIR}/${P}-ldflags.patch" +} + +src_configure() { + econf --enable-shared || die "econf failed" +} + +src_install() { + emake install_prefix="${D}" install || die "emake install failed" + dodoc CHANGES CREDITS MISC README + dodoc doc/* +} |