# [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"