]> hackdaworld.org Git - hdw-linux/hdw-linux.git/blobdiff - packages/security/tcp_wrappers/tcp_wrappers
again: increased max priority
[hdw-linux/hdw-linux.git] / packages / security / tcp_wrappers / tcp_wrappers
index 54cf7156466a66f1f0888550ae0a3ce8f1184a5b..6ca710a1bb0866b09885b87438f2cc43081000d6 100644 (file)
@@ -6,20 +6,10 @@
 # [V] 7.6
 # [D] tcp_wrappers_7.6.tar.gz ftp://ftp.porcupine.org/pub/security/
 
-build_main()   {
-       make linux
-       cp -v hosts_access.3 $root/usr/share/man/man3
-       cp -v hosts_access.5 $root/usr/share/man/man5
-       cp -v hosts_options.5 $root/usr/share/man/man5
-       cp -v tcpd.8 tcpdchk.8 tcpdmatch.8 $root/usr/share/man/man8
-       ln -sfv hosts_access.5 $root/usr/share/man/man5/hosts.allow.5
-       ln -svf hosts_access.5 $root/usr/share/man/man5/hosts.deny.5
-       cp libwrap.a $root/usr/lib
-       cp tcpd.h $root/usr/include
-       install -m755 safe_finger $root/usr/sbin
-       install -m755 tcpd $root/usr/sbin
-       install -m755 tcpdchk $root/usr/sbin
-       install -m755 tcpdmatch $root/usr/sbin
-       install -m755 try-from $root/usr/sbin
+pre_install()  {
+       sed "s,^extern char \*malloc();,/* & */," scaffold.c > tmp~
+       mv tmp~ scaffold.c
                }
 
+make_conf="$make_conf REAL_DAEMON_DIR=$prefix/sbin"
+make_conf="$make_conf STYLE=-DPROCESS_OPTIONS linux"