summaryrefslogtreecommitdiffstats
path: root/arno-iptables-firewall/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'arno-iptables-firewall/PKGBUILD')
-rw-r--r--arno-iptables-firewall/PKGBUILD67
1 files changed, 0 insertions, 67 deletions
diff --git a/arno-iptables-firewall/PKGBUILD b/arno-iptables-firewall/PKGBUILD
deleted file mode 100644
index c6aa888..0000000
--- a/arno-iptables-firewall/PKGBUILD
+++ /dev/null
@@ -1,67 +0,0 @@
-# Maintainer: Jaroslav Lichtblau <dragonlord@aur.archlinux.org>
-# Contributor: Arto Puranen <purcher@gmail.com>
-
-pkgname=arno-iptables-firewall
-pkgver=1.9.2k
-pkgrel=1
-pkgdesc="A secure stateful firewall for both single and multi-homed machine"
-arch=('i686' 'x86_64')
-url=("http://rocky.eld.leidenuniv.nl/joomla/")
-license=('GPL')
-depends=('iptables' 'iproute2')
-makedepends=('patch')
-backup=(etc/${pkgname}/firewall.conf
- etc/${pkgname}/custom-rules
- etc/${pkgname}/plugins/dmz-dnat.conf
- etc/${pkgname}/plugins/dsl-ppp-modem.conf
- etc/${pkgname}/plugins/dyndns-host-open.conf
- etc/${pkgname}/plugins/ids-protection.conf
- etc/${pkgname}/plugins/ipsec-vpn.conf
- etc/${pkgname}/plugins/ipv6-over-ipv4.conf
- etc/${pkgname}/plugins/linux-upnp-igd.conf
- etc/${pkgname}/plugins/mac-address-filter.conf
- etc/${pkgname}/plugins/multiroute.conf
- etc/${pkgname}/plugins/sip-voip.conf
- etc/${pkgname}/plugins/ssh-brute-force-protection.conf
- etc/${pkgname}/plugins/traffic-accounting.conf
- etc/${pkgname}/plugins/traffic-shaper.conf
- etc/${pkgname}/plugins/transparent-dnat.conf
- etc/${pkgname}/plugins/transparent-proxy.conf)
-source=(http://rocky.eld.leidenuniv.nl/${pkgname}/${pkgname}_${pkgver}.tar.gz \
- ${pkgname}.script \
- ${pkgname}.patch)
-md5sums=('deb2d96773c72667a0279cb1ee3f163c'
- '0c3de10c23359728a3bd90a521d3eebc'
- '0293d8034bd83cf88bc914f875f7dca6')
-
-build() {
- cd ${srcdir}/${pkgname}_${pkgver}
-
-# patch
- patch -Np0 -i ${srcdir}/${pkgname}.patch || return 1
-
-# conf files
- install -d -m 0755 etc/${pkgname}/plugins/ ${pkgdir}/etc/${pkgname}/plugins/ || return 1
- for i in `find etc/${pkgname} -type f`; do install -T -m 0600 $i ${pkgdir}/$i ;done
- install -D -m 0644 share/${pkgname}/environment ${pkgdir}/usr/share/${pkgname}/environment || return 1
-
-# plugins
- install -d -m 0755 share/${pkgname}/plugins/ ${pkgdir}/usr/share/${pkgname}/plugins/ || return 1
- for i in share/${pkgname}/plugins/*plugin; do install -T -m 0644 $i ${pkgdir}/usr/$i ;done
- install -D -m 0744 share/${pkgname}/plugins/dyndns-host-open-helper ${pkgdir}/usr/share/${pkgname}/plugins/dyndns-host-open-helper || return 1
- install -D -m 0744 share/${pkgname}/plugins/traffic-accounting-helper ${pkgdir}/usr/share/${pkgname}/plugins/traffic-accounting-helper || return 1
- install -D -m 0744 share/${pkgname}/plugins/traffic-accounting-log-rotate ${pkgdir}/usr/share/${pkgname}/plugins/traffic-accounting-log-rotate || return 1
- install -D -m 0744 share/${pkgname}/plugins/traffic-accounting-show ${pkgdir}/usr/share/${pkgname}/plugins/traffic-accounting-show || return 1
-
-# binary
- install -D -m 0744 bin/${pkgname} ${pkgdir}/usr/sbin/${pkgname} || return 1
- install -D -m 0744 bin/arno-fwfilter ${pkgdir}/usr/sbin/arno-fwfilter || return 1
- install -D -m 0744 contrib/adsl-failover ${pkgdir}/usr/sbin/adsl-failover || return 1
-
-# man files
- install -D -m 0644 share/man/man1/arno-fwfilter.1 ${pkgdir}/usr/share/man/man1/arno-fwfilter.1 || return 1
- install -D -m 0644 share/man/man8/${pkgname}.8 ${pkgdir}/usr/share/man/man8/${pkgname}.8 || return 1
-
-# daemon script
- install -D -m 0744 ${srcdir}/${pkgname}.script ${pkgdir}/etc/rc.d/${pkgname} || return 1
-}