Gentoo Archives: gentoo-commits

From: Jeroen Roovers <jer@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: net-analyzer/ndsad/
Date: Wed, 04 Sep 2019 06:58:26
Message-Id: 1567580299.379648951fb191bd5a4ac67631bc1b5befb4b806.jer@gentoo
1 commit: 379648951fb191bd5a4ac67631bc1b5befb4b806
2 Author: Jeroen Roovers <jer <AT> gentoo <DOT> org>
3 AuthorDate: Wed Sep 4 06:57:14 2019 +0000
4 Commit: Jeroen Roovers <jer <AT> gentoo <DOT> org>
5 CommitDate: Wed Sep 4 06:58:19 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=37964895
7
8 net-analyzer/ndsad: Drop ULOG support
9
10 Package-Manager: Portage-2.3.75, Repoman-2.3.17
11 Signed-off-by: Jeroen Roovers <jer <AT> gentoo.org>
12
13 net-analyzer/ndsad/ndsad-1.33-r2.ebuild | 45 +++++++++++++++++++++++++++++++++
14 1 file changed, 45 insertions(+)
15
16 diff --git a/net-analyzer/ndsad/ndsad-1.33-r2.ebuild b/net-analyzer/ndsad/ndsad-1.33-r2.ebuild
17 new file mode 100644
18 index 00000000000..e7f9a919a4a
19 --- /dev/null
20 +++ b/net-analyzer/ndsad/ndsad-1.33-r2.ebuild
21 @@ -0,0 +1,45 @@
22 +# Copyright 1999-2019 Gentoo Authors
23 +# Distributed under the terms of the GNU General Public License v2
24 +
25 +EAPI=7
26 +inherit autotools
27 +
28 +DESCRIPTION="Cisco netflow probe from libpcap, ULOG, tee/divert sources"
29 +HOMEPAGE="https://sourceforge.net/projects/ndsad"
30 +SRC_URI="mirror://sourceforge/ndsad/ndsad-${PV}.tgz"
31 +
32 +LICENSE="GPL-2"
33 +SLOT="0"
34 +KEYWORDS="~x86"
35 +
36 +DEPEND="
37 + >=net-libs/libpcap-0.8
38 +"
39 +RDEPEND="
40 + ${DEPEND}
41 +"
42 +PATCHES=(
43 + "${FILESDIR}"/${P}-conf_path.patch
44 + "${FILESDIR}"/${P}-gentoo.patch
45 + "${FILESDIR}"/${P}-getpid.patch
46 + "${FILESDIR}"/${P}-log-path.patch
47 + "${FILESDIR}"/${P}-strncpy-overflow.patch
48 +)
49 +DOCS=( ChangeLog AUTHORS README )
50 +
51 +src_prepare() {
52 + default
53 + eautoreconf
54 +}
55 +
56 +src_install() {
57 + default
58 +
59 + doman ndsad.conf.5
60 +
61 + insinto /etc
62 + newins ndsad.conf ndsad.conf
63 +
64 + newinitd "${FILESDIR}"/ndsad.init ndsad
65 + newconfd "${FILESDIR}"/ndsad.conf.d ndsad
66 +}