[Lunar-commits] <moonbase-other> Merge pull request #27 from v4hn/portmap

Auke Kok sofar+github at foo-projects.org
Fri Oct 5 23:27:57 CEST 2012


commit c8a50e6f73c7bfe2e8bcf8a1fc9d667f7d1dfaf6
Author: Auke Kok <sofar+github at foo-projects.org>
Date: Fri, 05 Oct 2012 14:27:57 -0700
URL: https://github.com/lunar-linux/moonbase-other/commit/c8a50e6f73c7bfe2e8bcf8a1fc9d667f7d1dfaf6

Merge pull request #27 from v4hn/portmap

portmap: cleanup and fix
---
  net/portmap/BUILD | +6/-14    
  1 file changed

--- 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