diff options
author | Patrick Lauer <patrick@gentoo.org> | 2011-01-13 13:32:41 +0000 |
---|---|---|
committer | Patrick Lauer <patrick@gentoo.org> | 2011-01-13 13:32:41 +0000 |
commit | b07c16533801046d24fae08cb6661dbfb2700d2c (patch) | |
tree | dffd369eded5f3d18228bb226567ae752cb8ec8e /net-libs/daq/daq-0.5.ebuild | |
parent | Stable on amd64 wrt bug #351487 (diff) | |
download | historical-b07c16533801046d24fae08cb6661dbfb2700d2c.tar.gz historical-b07c16533801046d24fae08cb6661dbfb2700d2c.tar.bz2 historical-b07c16533801046d24fae08cb6661dbfb2700d2c.zip |
Bump for #351457
Package-Manager: portage-2.2.0_alpha14/cvs/Linux x86_64
Diffstat (limited to 'net-libs/daq/daq-0.5.ebuild')
-rw-r--r-- | net-libs/daq/daq-0.5.ebuild | 61 |
1 files changed, 61 insertions, 0 deletions
diff --git a/net-libs/daq/daq-0.5.ebuild b/net-libs/daq/daq-0.5.ebuild new file mode 100644 index 000000000000..43453dead8b9 --- /dev/null +++ b/net-libs/daq/daq-0.5.ebuild @@ -0,0 +1,61 @@ +# 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.5.ebuild,v 1.1 2011/01/13 13:32:41 patrick Exp $ + +EAPI="2" + +inherit eutils + +DESCRIPTION="Data Acquisition library, for packet I/O" +HOMEPAGE="http://www.snort.org/" +SRC_URI="http://www.snort.org/downloads/630 -> ${P}.tar.gz" +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="ipv6 +afpacket +dump +pcap" + +DEPEND="pcap? ( >=net-libs/libpcap-1.0.0 ) + dump? ( >=net-libs/libpcap-1.0.0 )" + +RDEPEND="${DEPEND}" + +src_configure() { + + econf \ + $(use_enable ipv6) \ + $(use_enable pcap pcap-module) \ + $(use_enable afpacket afpacket-module) \ + $(use_enable dump dump-module) \ + --disable-ipfw-module \ + --disable-bundled-modules + +} + +src_install() { + + emake -j1 DESTDIR="${D}" install || die "make install failed" + + dodoc ChangeLog README + +} + +pkg_postinst() { + + elog + elog "The Data Acquisition library (DAQ) for packet I/O replaces direct" + elog "calls to PCAP functions with an abstraction layer that facilitates" + elog "operation on a variety of hardware and software interfaces without" + elog "requiring changes to application such as Snort." + elog + elog "The only DAQ modules supported with this ebuild are AFpacket, PCAP," + elog "and Dump. IPQ and NFQ will be supported in future versions of this" + elog "package." + elog + elog "Please see the README file for DAQ for information about specific" + elog "DAQ modules." + ewarn + ewarn "If you are reinstalling this package, you should also reinstall" + ewarn "packages that use this library for packet capture." + ewarn + +} |