summaryrefslogtreecommitdiff
path: root/net-libs
diff options
context:
space:
mode:
authorGluzskiy Alexandr <sss123next@list.ru>2012-09-11 18:20:59 +0300
committerGluzskiy Alexandr <sss123next@list.ru>2012-09-11 18:20:59 +0300
commit2d7d250662cb735cc2c22c78f6b8cec1b3c282ce (patch)
treeaaffc96336c51b98357f3234d2f386e75fc6b0ff /net-libs
parente543b01583b453ed3df227c351d88ad31db5d6b2 (diff)
modified: media-video/ffmpeg/ffmpeg-9999.ebuild
new file: net-analyzer/barnyard2/barnyard2-9999.ebuild new file: net-analyzer/barnyard2/files/barnyard2.confd new file: net-analyzer/barnyard2/files/barnyard2.initd new file: net-analyzer/barnyard2/files/makefile.patch deleted: net-analyzer/snort/files deleted: net-analyzer/snort/snort-2.8.3.1.ebuild new file: net-analyzer/snort/snort/files/disabledynamic.patch new file: net-analyzer/snort/snort/files/snort.confd new file: net-analyzer/snort/snort/files/snort.confd.2 new file: net-analyzer/snort/snort/files/snort.rc10 new file: net-analyzer/snort/snort/files/snort.rc11 new file: net-analyzer/snort/snort/snort-2.9.3.1.ebuild new file: net-libs/daq/daq-1.1.1.ebuild
Diffstat (limited to 'net-libs')
-rw-r--r--net-libs/daq/daq-1.1.1.ebuild71
1 files changed, 71 insertions, 0 deletions
diff --git a/net-libs/daq/daq-1.1.1.ebuild b/net-libs/daq/daq-1.1.1.ebuild
new file mode 100644
index 0000000..37b8338
--- /dev/null
+++ b/net-libs/daq/daq-1.1.1.ebuild
@@ -0,0 +1,71 @@
+# 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.6 2012/07/18 19:45:36 jer Exp $
+
+EAPI="2"
+
+inherit eutils multilib
+
+DESCRIPTION="Data Acquisition library, for packet I/O"
+HOMEPAGE="http://www.snort.org/"
+SRC_URI=""
+RESTRICT="fetch"
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="amd64 ~arm ~mips ~ppc 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."
+}