diff options
Diffstat (limited to 'net-libs')
-rw-r--r-- | net-libs/libnids/ChangeLog | 10 | ||||
-rw-r--r-- | net-libs/libnids/libnids-1.24-r3.ebuild (renamed from net-libs/libnids/libnids-1.24-r1.ebuild) | 23 |
2 files changed, 20 insertions, 13 deletions
diff --git a/net-libs/libnids/ChangeLog b/net-libs/libnids/ChangeLog index 8cb6bb5cdf2d..9d546e6138f8 100644 --- a/net-libs/libnids/ChangeLog +++ b/net-libs/libnids/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for net-libs/libnids -# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-libs/libnids/ChangeLog,v 1.55 2012/06/09 06:28:15 jdhore Exp $ +# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/net-libs/libnids/ChangeLog,v 1.56 2013/03/15 17:41:20 jer Exp $ + +*libnids-1.24-r3 (15 Mar 2013) + + 15 Mar 2013; Jeroen Roovers <jer@gentoo.org> -libnids-1.24-r1.ebuild, + +libnids-1.24-r3.ebuild: + Respect AR. 09 Jun 2012; Jeff Horelick <jdhore@gentoo.org> libnids-1.24-r2.ebuild: marked x86 per bug 419271 diff --git a/net-libs/libnids/libnids-1.24-r1.ebuild b/net-libs/libnids/libnids-1.24-r3.ebuild index f7c23d4bab17..2eeeb5a3fd95 100644 --- a/net-libs/libnids/libnids-1.24-r1.ebuild +++ b/net-libs/libnids/libnids-1.24-r3.ebuild @@ -1,10 +1,9 @@ -# Copyright 1999-2012 Gentoo Foundation +# Copyright 1999-2013 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-libs/libnids/libnids-1.24-r1.ebuild,v 1.7 2012/03/10 16:34:03 ranger Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-libs/libnids/libnids-1.24-r3.ebuild,v 1.1 2013/03/15 17:41:20 jer Exp $ -EAPI="2" - -inherit eutils +EAPI=5 +inherit eutils toolchain-funcs DESCRIPTION="an implementation of an E-component of Network Intrusion Detection System" HOMEPAGE="http://libnids.sourceforge.net/" @@ -12,8 +11,8 @@ SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" LICENSE="GPL-2" SLOT="1.2" -KEYWORDS="amd64 ppc x86" -IUSE="+glib +libnet" +KEYWORDS="~amd64 ~ppc ~x86" +IUSE="+glib +libnet static-libs" DEPEND="net-libs/libpcap glib? ( dev-libs/glib ) @@ -23,17 +22,19 @@ RDEPEND="${DEPEND} src_prepare() { epatch "${FILESDIR}/${P}-ldflags.patch" + sed -i src/Makefile.in -e 's|\tar |\t$(AR) |g' || die } src_configure() { + tc-export AR local myconf="--enable-shared" use glib || myconf="${myconf} --disable-libglib" use libnet || myconf="${myconf} --disable-libnet" - econf ${myconf} || die "econf failed" + econf ${myconf} } src_install() { - emake install_prefix="${D}" install || die "emake install failed" - dodoc CHANGES CREDITS MISC README - dodoc doc/* + emake install_prefix="${D}" install + use static-libs || rm -f "${D}"/usr/lib*/libnids.a + dodoc CHANGES CREDITS MISC README doc/* } |