blob: 289490d558fc8d261fb9520013ee8fecc5b97d9b (
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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
|
# Contributor: Łukasz Jendrysik <scadu@yandex.com>
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=shorewall6
pkgver=5.2.3.3
_maj_min_patch=$pkgver
case $pkgver in
*.*.*.*) _maj_min_patch=${pkgver%.*};;
esac
_maj_min=${_maj_min_patch%.*}
pkgrel=0
pkgdesc="Files for the IPV6 Shorewall Firewall"
url="http://www.shorewall.net/"
arch="noarch"
license="GPL-2.0"
options="!check"
depends="shorewall-core perl ip6tables iproute2"
# coreutils for install -T
makedepends="coreutils bash"
subpackages="$pkgname-doc"
source="http://www.shorewall.net/pub/shorewall/$_maj_min/shorewall-$_maj_min_patch/$pkgname-$pkgver.tar.bz2
shorewall6.initd
shorewallrc.alpine
"
builddir="$srcdir/$pkgname-$pkgver"
prepare() {
cd "$builddir"
default_prepare
cp "$srcdir"/shorewallrc.alpine .
}
build() {
cd "$builddir"
./configure
}
package() {
cd "$builddir"
DESTDIR="$pkgdir" ./install.sh shorewallrc.alpine
install -Dm755 "$srcdir"/shorewall6.initd \
"$pkgdir"/etc/init.d/shorewall6
}
sha512sums="ceb887f479841ed4998e488019bf3ec6874585c552f67be60af39f6414b40d24e2f6595812241d2f5fdf021beed2e0e2af8d98b03cdc66e72c7aedecbad8d3b1 shorewall6-5.2.3.3.tar.bz2
c8cb512c487f30e26b63bd8e42cf506d032ced2364e0e79e86a3cff84f778ddf00efcbf1e23b07ba0aea9b5b7fcf5f0d10cd4b9884df46ee73ee6b2dff5cd672 shorewall6.initd
c076ae42e7b404cecf521fdc32f92ba3a6b77d61579726abde2f00b6b6282e55b0b334b9fe5e43a6e4ae56361cce3214d9a38099f9f8714f03ae4fb888c744b7 shorewallrc.alpine"
|