[Lunar-commits] <moonbase-other> portmap: cleanup and fix

v4hn me at v4hn.de
Fri Oct 5 23:28:00 CEST 2012


commit 951344f586daaaac23bdd9c24c10c0826c40547f
Author: v4hn <me at v4hn.de>
Date: Thu, 23 Aug 2012 05:04:23 -0700
URL: https://github.com/lunar-linux/moonbase-other/commit/951344f586daaaac23bdd9c24c10c0826c40547f

portmap: cleanup and fix
---
  net/portmap/BUILD | +6/-14    
  1 file changed, 6 insertions(+), 14 deletions(-)

--- a/net/portmap/BUILD
+++ b/net/portmap/BUILD
@@ -1,17 +1,9 @@
 (
-  
-  # yes the double brackets are needed and NO quotes are needed in the following test!!!
-  if [[ $OPTS == *--without-tcpwrappers* ]];  then
-    sedit "s:\$(WRAP_DIR)/libwrap.a::" Makefile &&
-    sedit "s:^HOSTS_ACCESS=:#HOSTS_ACCESS=:" Makefile
-  fi &&
-  sedit  "s/const char \*what/__const char \*what/"  portmap.c  &&
-  
-  make  WRAP_DIR=/usr/lib  &&
+
+  sedit "/#include <tcpd.h>/d" pmap_check.c &&
+
+  make NO_TCP_WRAPPER=1    &&
   prepare_install          &&
-  cp  portmap    /sbin     &&
-  cp  pmap_dump  /sbin     &&
-  cp  pmap_set   /sbin     &&
-  cp  $SCRIPT_DIRECTORY/init.d/portmap  /etc/init.d
-  
+  make install
+
 ) > $C_FIFO 2>&1




More information about the Lunar-commits mailing list