@@ -, +, @@
RPC support, bug 631474
---
...rgus-3.0.8.2.ebuild => argus-3.0.8.2-r1.ebuild} | 13 ++++--
net-analyzer/argus/files/argus-3.0.8.2-rpc.patch | 47 ++++++++++++++++++++++
net-analyzer/argus/metadata.xml | 3 ++
3 files changed, 59 insertions(+), 4 deletions(-)
copy net-analyzer/argus/{argus-3.0.8.2.ebuild => argus-3.0.8.2-r1.ebuild} (84%)
create mode 100644 net-analyzer/argus/files/argus-3.0.8.2-rpc.patch
--- a/net-analyzer/argus/argus-3.0.8.2.ebuild
+++ a/net-analyzer/argus/argus-3.0.8.2.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2016 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=5
@@ -11,11 +11,13 @@ SRC_URI="${HOMEPAGE}dev/${P/_rc/.rc.}.tar.gz"
LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~amd64 ~ppc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos"
-IUSE="debug sasl tcpd"
+IUSE="debug +libtirpc sasl tcpd"
RDEPEND="
net-libs/libpcap
sys-libs/zlib
+ !libtirpc? ( sys-libs/glibc[rpc(-)] )
+ libtirpc? ( net-libs/libtirpc )
sasl? ( dev-libs/cyrus-sasl )
tcpd? ( >=sys-apps/tcp-wrappers-7.6 )
"
@@ -43,13 +45,16 @@ src_prepare() {
epatch \
"${FILESDIR}"/${PN}-3.0.8.1-disable-tcp-wrappers-automagic.patch \
"${FILESDIR}"/${PN}-3.0.5-Makefile.patch \
- "${FILESDIR}"/${PN}-3.0.7.3-DLT_IPNET.patch
+ "${FILESDIR}"/${PN}-3.0.7.3-DLT_IPNET.patch \
+ "${FILESDIR}"/${PN}-3.0.8.2-rpc.patch
+
+ epatch_user
eautoreconf
}
src_configure() {
use debug && touch .debug # enable debugging
- econf $(use_with tcpd wrappers) $(use_with sasl)
+ econf $(use_with libtirpc) $(use_with tcpd wrappers) $(use_with sasl)
}
src_compile() {
--- a/net-analyzer/argus/files/argus-3.0.8.2-rpc.patch
+++ a/net-analyzer/argus/files/argus-3.0.8.2-rpc.patch
@@ -0,0 +1,47 @@
+diff -ruN argus-3.0.8.2.orig/common/Makefile.in argus-3.0.8.2/common/Makefile.in
+--- argus-3.0.8.2.orig/common/Makefile.in 2015-04-14 14:32:33.000000000 -0000
@@ -6,4 +6,7 @@
Gentoo network monitoring and analysis project
network Audit Record Generation and Utilization System
+
--