diff options
author | Francesco Colista <fcolista@alpinelinux.org> | 2017-04-03 15:15:32 +0000 |
---|---|---|
committer | Francesco Colista <fcolista@alpinelinux.org> | 2017-04-03 15:15:32 +0000 |
commit | 8fb5e53daffffb54d22ec73c4d34575a8b4ff3e6 (patch) | |
tree | 260cd89f5ca779f32cac6d73a28d0a2e3f8535dc /main/ferm/APKBUILD | |
parent | 1700ac9ea2e21a915f349fe5638257e8dc7b5982 (diff) | |
download | aports-8fb5e53daffffb54d22ec73c4d34575a8b4ff3e6.tar.bz2 aports-8fb5e53daffffb54d22ec73c4d34575a8b4ff3e6.tar.xz |
main/ferm: upgrade to 2.4. Modernize APKBUILD
Diffstat (limited to 'main/ferm/APKBUILD')
-rw-r--r-- | main/ferm/APKBUILD | 21 |
1 files changed, 8 insertions, 13 deletions
diff --git a/main/ferm/APKBUILD b/main/ferm/APKBUILD index 16b04b2544..6e4ebfd757 100644 --- a/main/ferm/APKBUILD +++ b/main/ferm/APKBUILD @@ -1,32 +1,27 @@ # Contributor: Michael Mason <ms13sp@gmail.com> # Maintainer: Michael Mason <ms13sp@gmail.com> pkgname=ferm -_ver=2.3 -pkgver=${_ver}.1 +pkgver=2.4 pkgrel=0 pkgdesc="firewall configuration tool" url="http://ferm.foo-projects.org/" arch="noarch" license="GPL" depends="perl iptables" -makedepends="" -install= -subpackages="" -source="http://ferm.foo-projects.org/download/$_ver/$pkgname-$pkgver.tar.gz" +options="!check" +source="http://ferm.foo-projects.org/download/$pkgver/$pkgname-$pkgver.tar.gz" +builddir="$srcdir"/$pkgname-$pkgver build() { return 0 } package() { - cd "$srcdir/$pkgname-$pkgver" - + cd "$builddir" install -m755 -D "$srcdir"/"$pkgname-$pkgver"/src/ferm \ - "$pkgdir"/usr/sbin/"$pkgname" || return 1 + "$pkgdir"/usr/sbin/"$pkgname" install -m755 -D "$srcdir"/"$pkgname-$pkgver"/src/import-ferm \ - "$pkgdir"/usr/sbin/import-ferm || return 1 + "$pkgdir"/usr/sbin/import-ferm } -md5sums="a7c80de6ed0691af6a764acdb99fb002 ferm-2.3.1.tar.gz" -sha256sums="8a5444e2844023798e5c681516253c1d3c948ad8aa3b93bd3ce8902945b38de9 ferm-2.3.1.tar.gz" -sha512sums="3d1901dac691334f6f30ca175f2ad1909146479c7dcc43bc8e8ee8fc361eb3d0c4fd6d18546613ac226da7e4e7e891428e4dda37b48f66b0884fdb97cd84e267 ferm-2.3.1.tar.gz" +sha512sums="0b36b95a5ebb4cd306f9ab84ea12ce16c15d56ecc70c895261c74310f2474946ec1e73d63e7cda5becbfa875091c1362c715226776793c5b6ed179bf543ab27e ferm-2.4.tar.gz" |