summaryrefslogtreecommitdiffstats
path: root/main/ferm/APKBUILD
blob: bc937930db96bfeb287e92c513621da7d2912e00 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
# Contributor: Michael Mason <ms13sp@gmail.com>
# Maintainer: Michael Mason <ms13sp@gmail.com>
pkgname=ferm
pkgver=2.2
_ver=$pkgver
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"

build() {
	return 0
}

package() {
	cd "$srcdir/$pkgname-$pkgver"

	install -m755 -D "$srcdir"/"$pkgname-$pkgver"/src/ferm \
		"$pkgdir"/usr/sbin/"$pkgname" || return 1
	install -m755 -D "$srcdir"/"$pkgname-$pkgver"/src/import-ferm \
		"$pkgdir"/usr/sbin/import-ferm || return 1
}

md5sums="f2d6e6950d90c768ef9e1f055a01fba2  ferm-2.2.tar.gz"
sha256sums="6d5447a2560495f34da78b4189b5d04d5cc1fca6733496de94ba900aec8b7a63  ferm-2.2.tar.gz"
sha512sums="af703c8a77f41c08b59c88cad523427dd5ab2a9209b51c2396d4eb7d5922e1821beeded9b4d0cdc33d7c757cdbf4c825332c7493522f548bfd9294f3657b807b  ferm-2.2.tar.gz"