Permalink
Browse files

Merge pull request #27 from v4hn/portmap

portmap: cleanup and fix
  • Loading branch information...
2 parents a937713 + 951344f commit c8a50e6f73c7bfe2e8bcf8a1fc9d667f7d1dfaf6 @sofar sofar committed Oct 5, 2012
Showing with 6 additions and 14 deletions.
  1. +6 −14 net/portmap/BUILD
View
20 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

0 comments on commit c8a50e6

Please sign in to comment.