diff options
author | Patrick Lauer <patrick@gentoo.org> | 2013-05-31 02:48:40 +0000 |
---|---|---|
committer | Patrick Lauer <patrick@gentoo.org> | 2013-05-31 02:48:40 +0000 |
commit | 737a019b138baada8bd0071ab0ca5152eeba043a (patch) | |
tree | 115eb38fa29afd60d85c2731d9f6f774cf302864 /net-libs/daq | |
parent | Use bitbucket tarball and fix python_test. (diff) | |
download | gentoo-2-737a019b138baada8bd0071ab0ca5152eeba043a.tar.gz gentoo-2-737a019b138baada8bd0071ab0ca5152eeba043a.tar.bz2 gentoo-2-737a019b138baada8bd0071ab0ca5152eeba043a.zip |
Bump
(Portage version: 2.2.0_alpha177/cvs/Linux x86_64, unsigned Manifest commit)
Diffstat (limited to 'net-libs/daq')
-rw-r--r-- | net-libs/daq/ChangeLog | 7 | ||||
-rw-r--r-- | net-libs/daq/daq-2.0.0.ebuild | 69 |
2 files changed, 75 insertions, 1 deletions
diff --git a/net-libs/daq/ChangeLog b/net-libs/daq/ChangeLog index 1939de870b2f..2efc48e9286d 100644 --- a/net-libs/daq/ChangeLog +++ b/net-libs/daq/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for net-libs/daq # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-libs/daq/ChangeLog,v 1.23 2013/03/17 17:14:27 hwoarang Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-libs/daq/ChangeLog,v 1.24 2013/05/31 02:48:40 patrick Exp $ + +*daq-2.0.0 (31 May 2013) + + 31 May 2013; Patrick Lauer <patrick@gentoo.org> +daq-2.0.0.ebuild: + Bump 17 Mar 2013; Markos Chandras <hwoarang@gentoo.org> metadata.xml: Add proxy-maintainers to metadata.xml diff --git a/net-libs/daq/daq-2.0.0.ebuild b/net-libs/daq/daq-2.0.0.ebuild new file mode 100644 index 000000000000..9c88032a78a7 --- /dev/null +++ b/net-libs/daq/daq-2.0.0.ebuild @@ -0,0 +1,69 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-libs/daq/daq-2.0.0.ebuild,v 1.1 2013/05/31 02:48:40 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/2311 -> ${P}.tar.gz" +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~arm ~mips ~ppc ~ppc64 ~sparc ~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 + rm \ + "${D}"usr/$(get_libdir)/daq/*.la \ + "${D}"usr/$(get_libdir)/libdaq*.la \ + "${D}"usr/$(get_libdir)/libsfbpf.la \ + || die + + # 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/$(get_libdir)/${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." +} |