net-analyzer/ndsad: Drop ULOG support
authorJeroen Roovers <jer@gentoo.org>
Wed, 4 Sep 2019 06:57:14 +0000 (08:57 +0200)
committerJeroen Roovers <jer@gentoo.org>
Wed, 4 Sep 2019 06:58:19 +0000 (08:58 +0200)
Package-Manager: Portage-2.3.75, Repoman-2.3.17
Signed-off-by: Jeroen Roovers <jer@gentoo.org>
net-analyzer/ndsad/ndsad-1.33-r2.ebuild [new file with mode: 0644]

diff --git a/net-analyzer/ndsad/ndsad-1.33-r2.ebuild b/net-analyzer/ndsad/ndsad-1.33-r2.ebuild
new file mode 100644 (file)
index 0000000..e7f9a91
--- /dev/null
@@ -0,0 +1,45 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+inherit autotools
+
+DESCRIPTION="Cisco netflow probe from libpcap, ULOG, tee/divert sources"
+HOMEPAGE="https://sourceforge.net/projects/ndsad"
+SRC_URI="mirror://sourceforge/ndsad/ndsad-${PV}.tgz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~x86"
+
+DEPEND="
+       >=net-libs/libpcap-0.8
+"
+RDEPEND="
+       ${DEPEND}
+"
+PATCHES=(
+       "${FILESDIR}"/${P}-conf_path.patch
+       "${FILESDIR}"/${P}-gentoo.patch
+       "${FILESDIR}"/${P}-getpid.patch
+       "${FILESDIR}"/${P}-log-path.patch
+       "${FILESDIR}"/${P}-strncpy-overflow.patch
+)
+DOCS=( ChangeLog AUTHORS README )
+
+src_prepare() {
+       default
+       eautoreconf
+}
+
+src_install() {
+       default
+
+       doman ndsad.conf.5
+
+       insinto /etc
+       newins ndsad.conf ndsad.conf
+
+       newinitd "${FILESDIR}"/ndsad.init ndsad
+       newconfd "${FILESDIR}"/ndsad.conf.d ndsad
+}