Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 400607 - net-nds/rpcbind support for TCP wrappers
Summary: net-nds/rpcbind support for TCP wrappers
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: Normal enhancement (vote)
Assignee: Network Filesystems
URL:
Whiteboard:
Keywords: PATCH
Depends on:
Blocks:
 
Reported: 2012-01-24 15:30 UTC by Ulf Norberg
Modified: 2012-01-26 01:02 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ulf Norberg 2012-01-24 15:30:24 UTC
rpcbind can support TCP wrappers if compiled with "--enable-libwrap" (disabled by default).  I would like this to be an option (eg USE=tcpd) when installing the package.

Reproducible: Always




Suggested patch:
--- /usr/portage/net-nds/rpcbind/rpcbind-0.2.0.ebuild.orig	2011-12-28 16:01:22.000000000 +0000
+++ /usr/portage/net-nds/rpcbind/rpcbind-0.2.0.ebuild	2012-01-24 14:18:50.000000000 +0000
@@ -20,10 +20,11 @@
 
 LICENSE="BSD"
 SLOT="0"
-IUSE="selinux"
+IUSE="selinux tcpd"
 
 RDEPEND="net-libs/libtirpc
-	selinux? ( sec-policy/selinux-rpcbind )"
+	selinux? ( sec-policy/selinux-rpcbind )
+	tcpd? ( sys-apps/tcp-wrappers )"
 DEPEND="${RDEPEND}
 	dev-util/pkgconfig"
 
@@ -37,7 +38,8 @@
 }
 
 src_configure() {
-	econf --bindir=/sbin
+	econf --bindir=/sbin \
+		$(use_enable tcpd libwrap)
 }
 
 src_install() {