1 # Contributor: Patrick Stewart <patstew at gmail dot com>
2 pkgname=transocks_ev-svn
5 pkgdesc="Allows transparent SOCKS proxying for all applications through iptables"
7 url="http://oss.tiggerswelt.net/transocks_ev/"
8 license=('custom:"creative commons attribution-share alike 3.0 germany"') # http://creativecommons.org/licenses/by-sa/3.0/de/legalcode
9 depends=('iptables' 'libevent')
10 makedepends=('subversion')
11 backup=('etc/conf.d/transocks')
12 source=('transocks' 'transocks.conf.d' 'http://creativecommons.org/licenses/by-sa/3.0/de/legalcode')
15 _svntrunk=http://oss.tiggerswelt.net/${_svnmod}/
20 if [ -d $_svnmod/.svn ]; then
21 (cd $_svnmod && svn up -r $pkgver)
23 svn co $_svntrunk --config-dir ./ -r $pkgver $_svnmod
26 msg "SVN checkout done or server timeout"
27 msg "Starting make..."
31 make clean || return 1
33 install -Dm755 transocks_ev ${pkgdir}/usr/bin/transocks_ev || return 1
34 install -Dm755 ../transocks ${pkgdir}/etc/rc.d/transocks || return 1
35 install -Dm644 ../transocks.conf.d ${pkgdir}/etc/conf.d/transocks || return 1
36 install -Dm644 ../legalcode ${pkgdir}/usr/share/licenses/${pkgname}/LICENCE.htm || return 1
38 md5sums=('bc7233ceccd5ddceb07624ac3073e65c'
39 'd82576d9c8d484b6270665cd0af2f934'
40 '48f13874ca8b14eb71a2bfc465a5d7ff')