shorewall: add service for shorewall6
This commit is contained in:
parent
0e61891a2d
commit
f5a1c13e18
3 changed files with 9 additions and 1 deletions
3
srcpkgs/shorewall/files/shorewall6/finish
Executable file
3
srcpkgs/shorewall/files/shorewall6/finish
Executable file
|
@ -0,0 +1,3 @@
|
|||
#!/bin/sh
|
||||
set -e
|
||||
exec shorewall6 stop
|
4
srcpkgs/shorewall/files/shorewall6/run
Executable file
4
srcpkgs/shorewall/files/shorewall6/run
Executable file
|
@ -0,0 +1,4 @@
|
|||
#!/bin/sh
|
||||
set -e
|
||||
shorewall6 start
|
||||
exec chpst -b shorewall6 pause
|
|
@ -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}} "
|
||||
|
|
Loading…
Reference in a new issue