4 pkgdesc="A highly configurable IRC proxy"
5 url="http://druglord.freelsd.org/ezbounce"
7 md5sums=(d3cc3bbd162a0ba7d22a0a9fc629bfd6)
8 source=(http://druglord.freelsd.org/ezbounce/files/ezbounce-1.04c.tar.gz)
11 cd $startdir/src/$pkgname-$pkgver
12 ./configure --with-ssl --sysconfdir=/etc
14 install -d $startdir/pkg/usr/bin
15 install -m 755 ezbounce $startdir/pkg/usr/bin
16 install -d $startdir/pkg/etc
17 install -m 644 sample.conf $startdir/pkg/etc/ezbounce.conf
18 sed -i 's/set logfile ezbounce.log/set logfile \/var\/log\/ezbounce\/ezbounce.log/g' $startdir/pkg/etc/ezbounce.conf
19 sed -i 's/set log-dir logs/set log-dir \/var\/log\/ezbounce/g' $startdir/pkg/etc/ezbounce.conf
20 ./misc/make_key.sh rsa ezbounce
21 install -m 644 ezb-rsa.pem $startdir/pkg/etc
22 sed -i 's/# set cert-file ezb.cert/set cert-file \/etc\/ezb-rsa.pem/g' $startdir/pkg/etc/ezbounce.conf