summaryrefslogtreecommitdiff
path: root/package/portmap
diff options
context:
space:
mode:
Diffstat (limited to 'package/portmap')
-rw-r--r--package/portmap/Config.in14
-rw-r--r--package/portmap/Makefile3
2 files changed, 3 insertions, 14 deletions
diff --git a/package/portmap/Config.in b/package/portmap/Config.in
deleted file mode 100644
index cc5169ce9..000000000
--- a/package/portmap/Config.in
+++ /dev/null
@@ -1,14 +0,0 @@
-config ADK_PACKAGE_PORTMAP
- prompt "portmap........................... RPC Portmapper"
- tristate
- default n
- help
- Portmap is a server that converts RPC (Remote Procedure Call) program
- numbers into DARPA protocol port numbers. It must be running in order
- to make RPC calls. Services that use RPC include NFS and NIS.
-
-config ADK_PACKAGE_PORTMAP_LIBWRAP
- bool "Use tcp_wrappers"
- default n
- depends on ADK_PACKAGE_PORTMAP
- select ADK_PACKAGE_LIBWRAP
diff --git a/package/portmap/Makefile b/package/portmap/Makefile
index d6ffd9404..85faa8d2f 100644
--- a/package/portmap/Makefile
+++ b/package/portmap/Makefile
@@ -6,6 +6,9 @@ include ${TOPDIR}/rules.mk
PKG_NAME:= portmap
PKG_VERSION:= 6.0
PKG_RELEASE:= 1
+ifneq ($(strip ${ADK_PACKAGE_PORTMAP_LIBWRAP}),)
+PKG_BUILDDEP+= tcp_wrappers
+endif
PKG_MD5SUM:= ac108ab68bf0f34477f8317791aaf1ff
PKG_DESCR:= RPC portmapper
PKG_SECTION:= net