From 72f2004ea5178800eefb9112fec08b3510302554 Mon Sep 17 00:00:00 2001 From: Patrick Lauer Date: Wed, 11 Jan 2012 07:58:02 +0000 Subject: [PATCH] Bump Package-Manager: portage-2.2.0_alpha83/cvs/Linux x86_64 --- net-libs/daq/ChangeLog | 9 ++++- net-libs/daq/Manifest | 4 +- net-libs/daq/daq-0.6.2.ebuild | 70 +++++++++++++++++++++++++++++++++++ 3 files changed, 80 insertions(+), 3 deletions(-) create mode 100644 net-libs/daq/daq-0.6.2.ebuild diff --git a/net-libs/daq/ChangeLog b/net-libs/daq/ChangeLog index f765fe795e15..8161605c3c1b 100644 --- a/net-libs/daq/ChangeLog +++ b/net-libs/daq/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for net-libs/daq -# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-libs/daq/ChangeLog,v 1.13 2011/09/22 17:45:57 patrick Exp $ +# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/net-libs/daq/ChangeLog,v 1.14 2012/01/11 07:58:02 patrick Exp $ + +*daq-0.6.2 (11 Jan 2012) + + 11 Jan 2012; Patrick Lauer +daq-0.6.2.ebuild: + Bump *daq-0.6.1 (22 Sep 2011) diff --git a/net-libs/daq/Manifest b/net-libs/daq/Manifest index 683c2431e9ba..fd2b824cc176 100644 --- a/net-libs/daq/Manifest +++ b/net-libs/daq/Manifest @@ -3,10 +3,12 @@ DIST daq-0.3.tar.gz 437018 RMD160 6b24da7ecaa26461af34b58d024885aeb10134d7 SHA1 DIST daq-0.4.tar.gz 450086 RMD160 8c515ca1435502a0b528c62c053c0418ea0d0ebf SHA1 3f7490c988ef705095fdb800eef07d1fb0e8257e SHA256 203083a66a7df6cea983dc4901b855ad706180c90acb99e1f3be87eb25c420b9 DIST daq-0.5.tar.gz 449703 RMD160 07592d89b0e63452e3b2298d20454216bce84b4f SHA1 69784fef18606e0ae8ec9d137d5fc1d0273813fd SHA256 36f2954a5994e0047c43a6e48e033712a4f2dbabb63556aa07d6344f3f834eec DIST daq-0.6.1.tar.gz 451563 RMD160 b69e96906d346d5cbeb0fe8bcf02df6a0cc436f5 SHA1 8ff3db3283a0230edf30c7064f5213d324d8baa1 SHA256 e7c84ed0d42ff26c7ab256f2f9a2173b778a48715de8a1c227a09a94b94eb4d5 +DIST daq-0.6.2.tar.gz 451581 RMD160 f863affe8f2d8c760ed1c6a401eb2674d573fc3f SHA1 b540eb8032c8c98411fc5bbfc9a6ff8e182154f5 SHA256 0159865b5dc127ed2faf8d6732d781939f27e38b7c7deabcd369a22ea9e42f26 EBUILD daq-0.2.ebuild 1625 RMD160 30c25dd5ae90b4d8419877b0db10cf318ec5b8e0 SHA1 8b6b68f0acb4964026b870d69fe747a9444dec9c SHA256 45900dfe3ccd688aec9728ed052e201151a61eae7de0eb590ff7661b9970f6ec EBUILD daq-0.3.ebuild 1629 RMD160 666b711595fb4c60e8b9d932400130c28ee2d265 SHA1 8ba1d4210894351b23f5887b64685ae0b52d2345 SHA256 73b3cc6604a0b7c12c998a128e7048a80a06afc4113302782bbd08778665b263 EBUILD daq-0.4.ebuild 1631 RMD160 5431390910906ab1c5422cafbb2c729681f13f8b SHA1 158a49740ae30c612911c838c0961fabb695dc19 SHA256 814152d2079d4fbad69503908bfc09ab782af1c2dab85d78f4ed69efb7c5c894 EBUILD daq-0.5.ebuild 1663 RMD160 d9ac36a3416ecdfb78f4ac539b7ff65cec34dcc0 SHA1 4635756dc6e4f3a85535e630a8635c90f9a0898c SHA256 fc87be5f30b407272979052f0c5cd2e69f61857d5ad38516a8162d11c1334764 EBUILD daq-0.6.1.ebuild 2052 RMD160 8a3f4b77acd9f6048bc149f1b3cf324706159420 SHA1 c91d540de1d98850f5e25a3b45990027b8ff9321 SHA256 7e7b46bd9f4827a34fb8d53b148dac375c624d28375faefb67b292239facc646 -MISC ChangeLog 1655 RMD160 8086a4aa4b7788e281f59435b64c1399ef730f60 SHA1 3aaaa44eed3478475b4c3a8494d01e56e67211e3 SHA256 931e04af98abe60f9a32798bb11136ff5192b966f95c4cb7bd1e7fc31ab55311 +EBUILD daq-0.6.2.ebuild 2052 RMD160 27a5e617a4320bc487bdf454a065082df570d3e7 SHA1 56bd46cb916ba221b30064a222283bf1a10372f7 SHA256 9e3695d59ab62a8c56da5842c5f879a75186e8ba0e0dceb983dea0bfa63d9d33 +MISC ChangeLog 1758 RMD160 85dc41d36c2a7fad1c3efbe96fe3f1490b0a4297 SHA1 3e57048090958764609084d3b6f8fb36b5309c8c SHA256 6e5829897c2f25ffbd3e61bf392f03c93af322928cab3aafe85153255d8e3180 MISC metadata.xml 1406 RMD160 6c8b64a649d1ed66ea982b8e630ea9610627f1fa SHA1 a4432a32448830b0345212d5c7133bb49e5a7532 SHA256 4a15d8c4ba6c84f144a4300abd1145cdbcb50eee55444eaeb119f507251af742 diff --git a/net-libs/daq/daq-0.6.2.ebuild b/net-libs/daq/daq-0.6.2.ebuild new file mode 100644 index 000000000000..16ea11c0b0b4 --- /dev/null +++ b/net-libs/daq/daq-0.6.2.ebuild @@ -0,0 +1,70 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-libs/daq/daq-0.6.2.ebuild,v 1.1 2012/01/11 07:58:02 patrick Exp $ + +EAPI="2" + +inherit eutils multilib + +DESCRIPTION="Data Acquisition library, for packet I/O" +HOMEPAGE="http://www.snort.org/" +SRC_URI="http://www.snort.org/downloads/1339 -> ${P}.tar.gz" +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="ipv6 +afpacket +dump +pcap nfq ipq static-libs" + +DEPEND="pcap? ( >=net-libs/libpcap-1.0.0 ) + dump? ( >=net-libs/libpcap-1.0.0 ) + nfq? ( dev-libs/libdnet + >=net-firewall/iptables-1.4.10 + net-libs/libnetfilter_queue ) + ipq? ( dev-libs/libdnet + >=net-firewall/iptables-1.4.10 + net-libs/libnetfilter_queue )" + +RDEPEND="${DEPEND}" + +src_configure() { + econf \ + $(use_enable ipv6) \ + $(use_enable pcap pcap-module) \ + $(use_enable afpacket afpacket-module) \ + $(use_enable dump dump-module) \ + $(use_enable nfq nfq-module) \ + $(use_enable ipq ipq-module) \ + $(use_enable static-libs static) \ + --disable-ipfw-module \ + --disable-bundled-modules +} + +src_install() { + emake DESTDIR="${D}" install || die "make install failed" + dodoc ChangeLog README + + # Remove unneeded .la files + for x in pcap afpacket dump nfq ipq; do + rm "${D}"usr/lib64/daq/daq_${x}.la + done + for y in libdaq libdaq_static libdaq_static_modules libsfbpf; do + rm "${D}"usr/lib64/${y}.la + done + + # If not using static-libs don't install the static libraries + # This has been bugged upstream + if ! use static-libs; then + for z in libdaq_static libdaq_static_modules; do + rm "${D}"usr/lib64/${z}.a + done + fi +} + +pkg_postinst() { + einfo "The Data Acquisition library (DAQ) for packet I/O replaces direct" + einfo "calls to PCAP functions with an abstraction layer that facilitates" + einfo "operation on a variety of hardware and software interfaces without" + einfo "requiring changes to application such as Snort." + einfo + einfo "Please see the README file for DAQ for information about specific" + einfo "DAQ modules." +} -- 2.26.2