# hdw-linux portmap extensions # author: hackbard # [S] 3-2 # [V] 4 # [D] portmap_4.tar.gz ftp://ftp.porcupine.org/pub/security/ make_conf="$make_conf FACILITY=LOG_AUTH" make_conf="$make_conf ZOMBIES=-DIGNORE_SIGCHLD WRAP_DIR=/usr/lib" build_main() { echo "patching portmap.c ..." sed 's/const\ char\ \*what/__const\ char\ \*what/' portmap.c > \ portmap.c~ && mv portmap.c~ portmap.c echo "running: make $make_conf" make $make_conf && install -m 755 -s pmap_dump $prefix/sbin install -m 755 -s pmap_set $prefix/sbin install -m 755 -s portmap $prefix/sbin }