1 # Contributor: Paul Mattal <pjmattal@elys.com>
6 pkgdesc="Simple efficient SMTP proxy in perl"
7 url="http://bent.latency.net/smtpprox/"
11 backup=(opt/smtpprox/smtpprox)
12 source=(http://bent.latency.net/$pkgname/$pkgname-$pkgver.tar.gz \
13 smtpprox-tmpname-and-xforward.patch smtpprox.sh)
14 md5sums=('a27aa8ed1580670f245f919720eaa054'
15 'ddfcfed0e6cd120ad46aae6f66c8a68b'
16 'dc01afc4026933a1817f2fa93a772e95')
19 cd $srcdir/$pkgname-$pkgver
21 # patch to add xforward and predictable tempfile support
22 patch -Np1 -i $startdir/src/smtpprox-tmpname-and-xforward.patch || return 1
25 install -D -m755 smtpprox $pkgdir/opt/$pkgname/smtpprox || return 1
26 cp -a MSDW $pkgdir/opt/$pkgname/. || return 1
27 install -D -m755 $srcdir/smtpprox.sh $pkgdir/opt/rc.d/smtpprox || return 1