Add USE=static-libs by Maurizio Camisaschi (bug #398411).
authorJeroen Roovers <jer@gentoo.org>
Tue, 10 Jan 2012 19:00:26 +0000 (19:00 +0000)
committerJeroen Roovers <jer@gentoo.org>
Tue, 10 Jan 2012 19:00:26 +0000 (19:00 +0000)
Package-Manager: portage-2.2.0_alpha84/cvs/Linux x86_64

net-libs/libnids/ChangeLog
net-libs/libnids/Manifest
net-libs/libnids/libnids-1.18-r2.ebuild [new file with mode: 0644]
net-libs/libnids/libnids-1.24-r2.ebuild [new file with mode: 0644]

index 7906b928c556fb0efdc0266b328370b5d272a745..29e70e3db04e5d2cd6947e320cc14bdd2e5cef8f 100644 (file)
@@ -1,6 +1,13 @@
 # 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.46 2012/01/10 17:06:04 ago Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-libs/libnids/ChangeLog,v 1.47 2012/01/10 19:00:26 jer Exp $
+
+*libnids-1.24-r2 (10 Jan 2012)
+*libnids-1.18-r2 (10 Jan 2012)
+
+  10 Jan 2012; Jeroen Roovers <jer@gentoo.org> +libnids-1.18-r2.ebuild,
+  +libnids-1.24-r2.ebuild:
+  Add USE=static-libs by Maurizio Camisaschi (bug #398411).
 
   10 Jan 2012; Agostino Sarubbo <ago@gentoo.org> libnids-1.18-r1.ebuild,
   libnids-1.24-r1.ebuild:
index 655d6c19c7041d5e1210248fab324585435ad7d3..103ac2b987a0650be4076f109551a7cac643b786 100644 (file)
@@ -1,5 +1,5 @@
 -----BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA512
+Hash: SHA1
 
 AUX libnids-1.18-chksum.c-ebx.patch 615 RMD160 53ba9fe99c2175ff64277f485887d68a4695d1c2 SHA1 5dbf69478187792dc824366cf29ae74846c95a78 SHA256 7d092dfa010001e5935c1f1104a34cec061f813664501566a504b942d2232c78
 AUX libnids-1.18-elif.patch 230 RMD160 35d64d72225233e94a218be8f1c82c4c3ee73cd7 SHA1 294a21c4d07c08fd62b8b98134f0de81f895ebed SHA256 ed356a9e5dcff5300405d9bd1d17ddcdae27a4615eb2f81a8b6af49d304599ee
@@ -7,19 +7,17 @@ AUX libnids-1.24-ldflags.patch 494 RMD160 d838d04e2ab8021eabfc7560315e71a48cec13
 DIST libnids-1.18.tar.gz 114013 RMD160 b33ba8237ba0bb31d2515bd5b7552449cfcca8f3 SHA1 3494e614e5e5d2f60f2ffe738307e60e77e04a81 SHA256 b0275c914197a53c6ccf631eac756fd37ec6f2d8f09f15757061495cf9be0fcd
 DIST libnids-1.24.tar.gz 151021 RMD160 66a1a332a70b316fd83905887dc731b5bf28d715 SHA1 9a421df05cefdc4f5f7db95efc001b3c2b5249ce SHA256 314b4793e0902fbf1fdb7fb659af37a3c1306ed1aad5d1c84de6c931b351d359
 EBUILD libnids-1.18-r1.ebuild 951 RMD160 9b29ec6b04ad98956013eafa731a5425b26b4002 SHA1 278ebd25d946eca125467819f6777a7e758f55ec SHA256 462238c40aec7587d4ee6fa9b3629536bb1e18d13c0fe74ea758db29fb015b3f
+EBUILD libnids-1.18-r2.ebuild 963 RMD160 4f195090740a2cf14e76f3ec615ed04c9c97bc11 SHA1 818ea8b6bb5fcf10834a370c63cc74b63876106f SHA256 0b67005243e69b91f7c6fae4c3d00aee3ff7db29345cbd7256c17be1698d7312
 EBUILD libnids-1.18.ebuild 924 RMD160 598b3f1bdf06f3141b22a22fc4266eba2e4566fc SHA1 877996426d4d7f81ebe9d6a375246bbfb2f7ba0e SHA256 ade236a62537e98377ec2d83bcfe833db7089cb09acd0ab5cd3393874d729482
 EBUILD libnids-1.24-r1.ebuild 1037 RMD160 43846a678e2389119e231931600c9fa072fe74ce SHA1 c32b2d688101dfe754e4d7e302275f5120b45ed6 SHA256 b41f5151bdee73af3fd01096f4392c152298b9a21a476c8ecb6fcd1de86b7e6f
+EBUILD libnids-1.24-r2.ebuild 1043 RMD160 d684a0207e05d40f09159147a06dd64ffa4fe602 SHA1 03a4389536be09c5ea23d5b52ec20429a65d07cd SHA256 51fe98727b5dff9f0b80ffb0cb7121e5a5ec2c60de51331743f88a696f64407a
 EBUILD libnids-1.24.ebuild 908 RMD160 baa92d3b240e1830bbd4aa8cd671f60dc63d903c SHA1 c07e5c2841ddf7190ad93fe02e10344580561b0e SHA256 8efa40e07fdc808ac97ff56cb8b0dd04f4b90eaef3dfa70bbf03edf7f94a395b
-MISC ChangeLog 6979 RMD160 78fd157b3cb784a9d2c7b592aac71132fe849832 SHA1 b2a46053b1609485bc66a832934b72c526237c3c SHA256 b7d5375f43c8841bf06fb817e4dad97bf0f8c1fb5eddd02c950c80e1bc802091
+MISC ChangeLog 7202 RMD160 031f01ecf37b884b36586e2f17c08bbbaade5477 SHA1 8c66729ecf831e2c94e0c86d666ed5f03d2a79ae SHA256 5f22b792db98c9c1b5b7f86538a6527edcd17302e011e6b32946964fb195e265
 MISC metadata.xml 483 RMD160 2735c54f423a6bdd2d47536a7d22eec3b2717e2f SHA1 3012df70c36825300e4e78c707ccd4414b53db7d SHA256 fea8cd5f14b2ecdcb26227be10d73862452542ea2ac9e41738c8dd1a1a093015
 -----BEGIN PGP SIGNATURE-----
 Version: GnuPG v2.0.17 (GNU/Linux)
 
-iQEcBAEBCgAGBQJPDHABAAoJEOTDgjZ80txdmosH/3K4c2GKuteISkjhkEu31q0a
-EOwbE/pSFkXRjXdcerIRVKjciZVlrOJ7Kjtn/ABHnt9We+W3Ia88KPXEbo5odocq
-7ylL+34MgHOzt7MDWBNsEIreuTE3Zi+BXwrL/tfAPcX1zD3SROpGXm8S3Iw5qtpd
-HEoFW83NsHjjpL6UgaCv9ZLP5WMkOHExN24zJBTFiWYinkPbibsPCFyH5ZMSB4iw
-5+uVxWD09GO+f/6BjdwlnpX8N2BaOdmhAzW4rq0MsEN4RgrbZw8SFPwVPexeFx7G
-KXM5QJrmuQ+MKPbvolrAb3cNaW/cwCnLL3zkOdy4L9ZqQ7x1efaFc2aoQVRgXTY=
-=f/uN
+iEYEARECAAYFAk8MitUACgkQVWmRsqeSphOSdwCfZ6+/cDVIFO6/7Mth0DF7eGkT
+e/QAnRzw+dFkvcFdyRMUK0zml9r6clor
+=dauz
 -----END PGP SIGNATURE-----
diff --git a/net-libs/libnids/libnids-1.18-r2.ebuild b/net-libs/libnids/libnids-1.18-r2.ebuild
new file mode 100644 (file)
index 0000000..72e4b79
--- /dev/null
@@ -0,0 +1,37 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-libs/libnids/libnids-1.18-r2.ebuild,v 1.1 2012/01/10 19:00:26 jer Exp $
+
+EAPI="4"
+
+inherit eutils
+
+DESCRIPTION="an implementation of an E-component of Network Intrusion Detection System"
+HOMEPAGE="http://www.packetfactory.net/Projects/libnids/"
+SRC_URI="http://www.packetfactory.net/Projects/libnids/dist/${P/_}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="1.1"
+KEYWORDS="~alpha ~amd64 ~ppc ~sparc ~x86"
+IUSE="static-libs"
+
+DEPEND="net-libs/libpcap
+       >=net-libs/libnet-1.1.0-r3"
+RDEPEND="${DEPEND}"
+
+src_prepare() {
+       epatch \
+               "${FILESDIR}"/${P}-chksum.c-ebx.patch \
+               "${FILESDIR}"/${P}-elif.patch \
+               "${FILESDIR}"/${PN}-1.24-ldflags.patch
+}
+
+src_configure() {
+       econf --enable-shared
+}
+
+src_install() {
+       emake install_prefix="${D}" install
+       use static-libs || rm -f "${D}"/usr/lib*/libnids.a
+       dodoc CHANGES CREDITS MISC README
+}
diff --git a/net-libs/libnids/libnids-1.24-r2.ebuild b/net-libs/libnids/libnids-1.24-r2.ebuild
new file mode 100644 (file)
index 0000000..0470025
--- /dev/null
@@ -0,0 +1,39 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-libs/libnids/libnids-1.24-r2.ebuild,v 1.1 2012/01/10 19:00:26 jer Exp $
+
+EAPI="4"
+
+inherit eutils
+
+DESCRIPTION="an implementation of an E-component of Network Intrusion Detection System"
+HOMEPAGE="http://libnids.sourceforge.net/"
+SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="1.2"
+KEYWORDS="~alpha ~amd64 ~ppc ~sparc ~x86"
+IUSE="+glib +libnet static-libs"
+
+DEPEND="net-libs/libpcap
+       glib? ( dev-libs/glib )
+       libnet? ( >=net-libs/libnet-1.1.0-r3 )"
+RDEPEND="${DEPEND}
+       !net-libs/libnids:1.1"
+
+src_prepare() {
+       epatch "${FILESDIR}/${P}-ldflags.patch"
+}
+
+src_configure() {
+       local myconf="--enable-shared"
+       use glib || myconf="${myconf} --disable-libglib"
+       use libnet || myconf="${myconf} --disable-libnet"
+       econf ${myconf}
+}
+
+src_install() {
+       emake install_prefix="${D}" install
+       use static-libs || rm -f "${D}"/usr/lib*/libnids.a
+       dodoc CHANGES CREDITS MISC README doc/*
+}