4 pkgdesc="PortSentry runs as a daemon, listens to TPC/UDP ports and blocks scanning hosts from connecting to your machine."
5 url="http://sourceforge.net/projects/sentrytools/"
14 source=(http://dl.sourceforge.net/sourceforge/sentrytools/$pkgname-$pkgver.tar.gz portsentry portsentry.modes)
15 md5sums=('3ebd3618ba9abfea2525e236bd44cebd' '0aa474659dd106e97e6d7325df93fbb7' 'fd22cdc5bfc3572a923b445e67844b29')
18 cd $startdir/src/portsentry_beta/
20 sed -i -e 's/\/usr\/local\/psionic\/portsentry/\/etc\/portsentry/' portsentry_config.h portsentry.conf
22 sed -i -e 's/craigrowland at users dot/craigrowland at users dot\\/' portsentry.c
23 make linux || return 1
24 #perform manual instalation
25 mkdir -p $startdir/pkg/usr/sbin
26 mkdir -p $startdir/pkg/etc/portsentry
27 chmod 700 $startdir/pkg/etc/portsentry
30 install -m 600 portsentry.conf $startdir/pkg/etc/portsentry/
31 install -m 600 portsentry.ignore $startdir/pkg/etc/portsentry/
32 install -m 600 $startdir/portsentry.modes $startdir/pkg/etc/portsentry/
33 install -m 700 portsentry $startdir/pkg/usr/sbin/
36 mkdir -p $startdir/pkg/etc/rc.d
37 install -m 700 $startdir/portsentry $startdir/pkg/etc/rc.d