X-Git-Url: https://www.hackdaworld.org/gitweb/?a=blobdiff_plain;f=packages%2Fsecurity%2Ftcp_wrappers%2Ftcp_wrappers;h=6ca710a1bb0866b09885b87438f2cc43081000d6;hb=7408157ed5a8a71dd987513d4d8a77ab27d0b4fe;hp=54cf7156466a66f1f0888550ae0a3ce8f1184a5b;hpb=1aa0493ed0b4ebc7ee3f4bb239e7bcea5ba163a4;p=hdw-linux%2Fhdw-linux.git diff --git a/packages/security/tcp_wrappers/tcp_wrappers b/packages/security/tcp_wrappers/tcp_wrappers index 54cf715..6ca710a 100644 --- a/packages/security/tcp_wrappers/tcp_wrappers +++ b/packages/security/tcp_wrappers/tcp_wrappers @@ -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"