1 # hdw-linux portmap extensions
7 # [D] portmap_4.tar.gz ftp://ftp.porcupine.org/pub/security/
10 make_conf="$make_conf FACILITY=LOG_AUTH"
11 make_conf="$make_conf ZOMBIES=-DIGNORE_SIGCHLD WRAP_DIR=/usr/lib"
14 echo "patching portmap.c ..."
15 sed 's/const\ char\ \*what/__const\ char\ \*what/' portmap.c > \
17 mv portmap.c~ portmap.c
18 echo "running: make $make_conf"
20 install -m 755 -s pmap_dump $prefix/sbin
21 install -m 755 -s pmap_set $prefix/sbin
22 install -m 755 -s portmap $prefix/sbin