summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--net-libs/daq/ChangeLog8
-rw-r--r--net-libs/daq/Manifest18
-rw-r--r--net-libs/daq/daq-0.6.1.ebuild70
-rw-r--r--net-libs/daq/metadata.xml22
4 files changed, 99 insertions, 19 deletions
diff --git a/net-libs/daq/ChangeLog b/net-libs/daq/ChangeLog
index 5f9d05d19626..f765fe795e15 100644
--- a/net-libs/daq/ChangeLog
+++ b/net-libs/daq/ChangeLog
@@ -1,6 +1,12 @@
# 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.12 2011/07/24 12:07:15 xarthisius Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-libs/daq/ChangeLog,v 1.13 2011/09/22 17:45:57 patrick Exp $
+
+*daq-0.6.1 (22 Sep 2011)
+
+ 22 Sep 2011; Patrick Lauer <patrick@gentoo.org> +daq-0.6.1.ebuild,
+ metadata.xml:
+ Bump for #380517
24 Jul 2011; Kacper Kowalik <xarthisius@gentoo.org> daq-0.5.ebuild:
Marked ~ppc/~ppc64 wrt #351551
diff --git a/net-libs/daq/Manifest b/net-libs/daq/Manifest
index 8c777b34c011..683c2431e9ba 100644
--- a/net-libs/daq/Manifest
+++ b/net-libs/daq/Manifest
@@ -1,22 +1,12 @@
------BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA1
-
DIST daq-0.2.tar.gz 448581 RMD160 0df9c623652be04339a8862d9329fb8fe4fbbb28 SHA1 add11b15ba43cbcbb9f444ae557723294e156596 SHA256 005658baf4295e094e1a829ddb12758e1d43072e523674a8e1eaca8264c28501
DIST daq-0.3.tar.gz 437018 RMD160 6b24da7ecaa26461af34b58d024885aeb10134d7 SHA1 5177e8d7b5c4255590c7bfc228fe844b3e65b351 SHA256 60157fb25f4f6967b8fa095ce19366d7e38bde0990d3d7df99b99078b3afd563
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
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
-MISC ChangeLog 1527 RMD160 ffa9f2c58cd33d42831d6e2b58dc034cb57b8a47 SHA1 615bb6e3edaa81d29617c3cb4c4bf37b434b4cc7 SHA256 002b1e6525c6aa46997fbbd1158629815b27d268c2c1f1ac8a3064e88d85bf3c
-MISC metadata.xml 687 RMD160 ef5da732cb42fd66f9c448bc7eb69f4528ba709a SHA1 bc3d053c080d3024b0ec71fe3542896bc0a2d39a SHA256 7b15cac86b35562d64c48fed494c8ceb98b0f0f1abd2f39725f11771fcda9480
------BEGIN PGP SIGNATURE-----
-Version: GnuPG v2.0.17 (GNU/Linux)
-
-iJwEAQECAAYFAk4sCvgACgkQIiMqcbOVdxSjCQP9HHRUjJfPnLan0l8LeWltz8ZP
-kPDmBJGsS7EN5zXl5DRAv3w8t+Xeb4NGgDtjeuh55KRpWGpYbw81g87RnUg8SOwY
-rQj68p7i/8MVU476w5XXt3bBtG5ff1jM1Qnl9sxAUJSvLD3eh8Ay8qgvNZ0RM/y4
-tXNNxtjaakbACT2QoeE=
-=K7hI
------END PGP SIGNATURE-----
+EBUILD daq-0.6.1.ebuild 2052 RMD160 8a3f4b77acd9f6048bc149f1b3cf324706159420 SHA1 c91d540de1d98850f5e25a3b45990027b8ff9321 SHA256 7e7b46bd9f4827a34fb8d53b148dac375c624d28375faefb67b292239facc646
+MISC ChangeLog 1655 RMD160 8086a4aa4b7788e281f59435b64c1399ef730f60 SHA1 3aaaa44eed3478475b4c3a8494d01e56e67211e3 SHA256 931e04af98abe60f9a32798bb11136ff5192b966f95c4cb7bd1e7fc31ab55311
+MISC metadata.xml 1406 RMD160 6c8b64a649d1ed66ea982b8e630ea9610627f1fa SHA1 a4432a32448830b0345212d5c7133bb49e5a7532 SHA256 4a15d8c4ba6c84f144a4300abd1145cdbcb50eee55444eaeb119f507251af742
diff --git a/net-libs/daq/daq-0.6.1.ebuild b/net-libs/daq/daq-0.6.1.ebuild
new file mode 100644
index 000000000000..89db6eaa90ba
--- /dev/null
+++ b/net-libs/daq/daq-0.6.1.ebuild
@@ -0,0 +1,70 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-libs/daq/daq-0.6.1.ebuild,v 1.1 2011/09/22 17:45:57 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/1098 -> ${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."
+}
diff --git a/net-libs/daq/metadata.xml b/net-libs/daq/metadata.xml
index 47ec1a590f61..900fa0ab9773 100644
--- a/net-libs/daq/metadata.xml
+++ b/net-libs/daq/metadata.xml
@@ -9,13 +9,27 @@
<email>patrick@gentoo.org</email>
<name>Patrick Lauer</name>
</maintainer>
-
<herd>netmon</herd>
<longdescription>Data Acquisition library, for packet I/O with Snort 2.9 and later</longdescription>
<use>
-<flag name='afpacket'>Build the AFPacket data acquisition module</flag>
-<flag name='dump'>Build the Dump data acquisition module</flag>
-<flag name='pcap'>Build the PCAP data acquisition module</flag>
+ <flag name='afpacket'>
+ Build the AFPacket data acquisition module. Functions similar to the PCAP
+ module but with better performance. Snort can run unprivileged when using
+ this module. AFpacket supports both inline and passive modes.
+ </flag>
+ <flag name='dump'>Build the Dump data acquisition module. The dump DAQ
+ allows you to test the various inline mode features available in
+ 2.9 Snort like injection and normalization.
+ </flag>
+ <flag name='pcap'>Build the PCAP data acquisition module.</flag>
+ <flag name='nfq'>
+ Build the NFQ data acquisition module. NFQ is the new way to process iptables
+ packets for inline deployments. Snort can not run unprivileged when using this module.
+ </flag>
+ <flag name='ipq'>
+ Build the IPQ data acquisition module. IPQ is the old way to process iptables
+ packets for inline deployments. Snort can not run unprivileged when using this module.
+ </flag>
</use>
</pkgmetadata>