diff options
author | Bartłomiej Piotrowski <b@bpiotrowski.pl> | 2012-07-07 10:23:54 +0200 |
---|---|---|
committer | Bartłomiej Piotrowski <b@bpiotrowski.pl> | 2012-07-09 09:18:50 +0200 |
commit | e2aeafa21987d1b1f6d4eb1b1edf2f43babfc046 (patch) | |
tree | 393b21b6bd99474c156a3de8a0affcfd9eaf9d09 /testing/ufw/APKBUILD | |
parent | f7c3df7316b9b5747f5a5403cf07efd49c596c8c (diff) | |
download | aports-e2aeafa21987d1b1f6d4eb1b1edf2f43babfc046.tar.bz2 aports-e2aeafa21987d1b1f6d4eb1b1edf2f43babfc046.tar.xz |
testing/ufw: upgrade to 0.32
- enable IPv6 by default
Diffstat (limited to 'testing/ufw/APKBUILD')
-rw-r--r-- | testing/ufw/APKBUILD | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/testing/ufw/APKBUILD b/testing/ufw/APKBUILD index 02cd77ec93..733361b56f 100644 --- a/testing/ufw/APKBUILD +++ b/testing/ufw/APKBUILD @@ -1,7 +1,7 @@ # Maintainer: Bartłomiej Piotrowski <nospam@bpiotrowski.pl> pkgname=ufw -pkgver=0.31.1 +pkgver=0.32 pkgrel=0 pkgdesc='Uncomplicated CLI tool managing a netfilter firewall' url='https://launchpad.net/ufw' @@ -15,14 +15,13 @@ source="http://launchpad.net/$pkgname/$(echo $pkgver|cut -c1-4)/$pkgver/+downloa package() { cd "$srcdir"/$pkgname-$pkgver - - sed -e 's|/lib|/usr/lib|' -i setup.py || return 1 - python setup.py install --root="$pkgdir" || return 1 # move /lib to /usr/lib + + sed -e 's|/lib|/usr/lib|' -i setup.py || return 1 + python setup.py install --root="$pkgdir" install -Dm755 "$srcdir"/$pkgname.initd "$pkgdir"/etc/init.d/$pkgname || return 1 chmod 644 "$pkgdir"/etc/ufw/*.rules "$pkgdir"/usr/lib/ufw/*.rules || return 1 - sed -i '7s/YES/NO/' "$pkgdir"/etc/default/ufw || return 1 #TODO: ipv6 support } -md5sums="74b49d4d06e26359a55bf4ff576833a7 ufw-0.31.1.tar.gz +md5sums="e9d314a6213c94ec6bddf107f7bbdb9f ufw-0.32.tar.gz 7bf1a3dee43b294bda8f2025e04164ce ufw.initd" |