shorewall: add service for shorewall6

This commit is contained in:
Enno Boland 2015-02-06 17:26:08 +01:00
parent 0e61891a2d
commit f5a1c13e18
3 changed files with 9 additions and 1 deletions

View file

@ -0,0 +1,3 @@
#!/bin/sh
set -e
exec shorewall6 stop

View file

@ -0,0 +1,4 @@
#!/bin/sh
set -e
shorewall6 start
exec chpst -b shorewall6 pause

View file

@ -1,7 +1,7 @@
# Template file for 'shorewall'
pkgname=shorewall
version=4.6.3.4
revision=2
revision=3
_disturl="http://www.shorewall.net/pub/${pkgname}/4.6/${pkgname}-4.6.3"
distfiles="
${_disturl}/${pkgname}-${version}.tar.bz2
@ -99,6 +99,7 @@ shorewall6_package() {
pkg_install() {
cd ${wrksrc}/${pkgname}-${version}
DESTDIR="${PKGDESTDIR}" ./install.sh
vsv shorewall6
}
for f in ${PKGDESTDIR}/etc/${pkgname}/*; do
conf_files+="${f##${PKGDESTDIR}} "