From: | "Patrick Lauer (patrick)" <patrick@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in net-libs/daq: metadata.xml ChangeLog daq-0.2.ebuild |
Date: | Tue, 02 Nov 2010 18:11:22 |
Message-Id: | 20101102181118.7FA2E20051@flycatcher.gentoo.org |
1 | patrick 10/11/02 18:11:18 |
2 | |
3 | Added: metadata.xml ChangeLog daq-0.2.ebuild |
4 | Log: |
5 | Initial commit. Ebuild provided by Jason Wallace #341009 |
6 | |
7 | (Portage version: 2.2.0_alpha3/cvs/Linux x86_64) |
8 | |
9 | Revision Changes Path |
10 | 1.1 net-libs/daq/metadata.xml |
11 | |
12 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-libs/daq/metadata.xml?rev=1.1&view=markup |
13 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-libs/daq/metadata.xml?rev=1.1&content-type=text/plain |
14 | |
15 | Index: metadata.xml |
16 | =================================================================== |
17 | <?xml version="1.0" encoding="UTF-8"?> |
18 | <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> |
19 | <pkgmetadata> |
20 | <maintainer> |
21 | <email>jason.r.wallace@×××××.com</email> |
22 | <name>Jason Wallace</name> |
23 | </maintainer> |
24 | <maintainer> |
25 | <email>patrick@g.o</email> |
26 | <name>Patrick Lauer</name> |
27 | </maintainer> |
28 | |
29 | <herd>netmon</herd> |
30 | <longdescription>Data Acquisition library, for packet I/O with Snort 2.9 and later</longdescription> |
31 | <use> |
32 | <flag name='afpacket'>Build the AFPacket data acquisition module</flag> |
33 | <flag name='dump'>Build the Dump data acquisition module</flag> |
34 | <flag name='pcap'>Build the PCAP data acquisition module</flag> |
35 | </use> |
36 | </pkgmetadata> |
37 | |
38 | |
39 | |
40 | |
41 | 1.1 net-libs/daq/ChangeLog |
42 | |
43 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-libs/daq/ChangeLog?rev=1.1&view=markup |
44 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-libs/daq/ChangeLog?rev=1.1&content-type=text/plain |
45 | |
46 | Index: ChangeLog |
47 | =================================================================== |
48 | # ChangeLog for net-libs/daq |
49 | # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 |
50 | # $Header: /var/cvsroot/gentoo-x86/net-libs/daq/ChangeLog,v 1.1 2010/11/02 18:11:18 patrick Exp $ |
51 | |
52 | *daq-0.2 (02 Nov 2010) |
53 | |
54 | 02 Nov 2010; Patrick Lauer <patrick@g.o> +daq-0.2.ebuild, |
55 | +metadata.xml: |
56 | Initial commit. Ebuild provided by Jason Wallace #341009 |
57 | |
58 | |
59 | |
60 | |
61 | 1.1 net-libs/daq/daq-0.2.ebuild |
62 | |
63 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-libs/daq/daq-0.2.ebuild?rev=1.1&view=markup |
64 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-libs/daq/daq-0.2.ebuild?rev=1.1&content-type=text/plain |
65 | |
66 | Index: daq-0.2.ebuild |
67 | =================================================================== |
68 | # Copyright 1999-2010 Gentoo Foundation |
69 | # Distributed under the terms of the GNU General Public License v2 |
70 | # $Header: /var/cvsroot/gentoo-x86/net-libs/daq/daq-0.2.ebuild,v 1.1 2010/11/02 18:11:18 patrick Exp $ |
71 | |
72 | EAPI="2" |
73 | |
74 | inherit eutils |
75 | |
76 | DESCRIPTION="Data Acquisition library, for packet I/O" |
77 | HOMEPAGE="http://www.snort.org/" |
78 | SRC_URI="http://www.snort.org/downloads/263 -> ${P}.tar.gz" |
79 | LICENSE="GPL-2" |
80 | SLOT="0" |
81 | KEYWORDS="~amd64 ~x86" |
82 | IUSE="ipv6 afpacket dump +pcap" |
83 | |
84 | DEPEND="pcap? ( >=net-libs/libpcap-1.0.0 ) |
85 | dump? ( >=net-libs/libpcap-1.0.0 )" |
86 | |
87 | RDEPEND="${DEPEND}" |
88 | |
89 | src_configure() { |
90 | |
91 | econf \ |
92 | $(use_enable ipv6) \ |
93 | $(use_enable pcap pcap-module) \ |
94 | $(use_enable afpacket afpacket-module) \ |
95 | $(use_enable dump dump-module) \ |
96 | --disable-ipfw-module \ |
97 | --disable-bundled-modules |
98 | |
99 | } |
100 | |
101 | src_install() { |
102 | |
103 | emake DESTDIR="${D}" install || die "make install failed" |
104 | |
105 | dodoc ChangeLog README |
106 | |
107 | } |
108 | |
109 | pkg_postinst() { |
110 | |
111 | elog |
112 | elog "The Data Acquisition library (DAQ) for packet I/O replaces direct" |
113 | elog "calls to PCAP functions with an abstraction layer that facilitates" |
114 | elog "operation on a variety of hardware and software interfaces without" |
115 | elog "requiring changes to application such as Snort." |
116 | elog |
117 | elog "The only DAQ modules supported with this ebuild are AFpacket, PCAP," |
118 | elog "and Dump. IPQ and NFQ will be supported in future versions of this" |
119 | elog "package." |
120 | elog |
121 | elog "Please see the README file for DAQ for information about specific" |
122 | elog "DAQ modules." |
123 | ewarn |
124 | ewarn "If you are reinstalling this package, you should also reinstall" |
125 | ewarn "packages that use this library for packet capture." |
126 | ewarn |
127 | |
128 | } |