mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-08 08:03:51 +02:00
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'
|
# Template file for 'shorewall'
|
||||||
pkgname=shorewall
|
pkgname=shorewall
|
||||||
version=4.6.3.4
|
version=4.6.3.4
|
||||||
revision=2
|
revision=3
|
||||||
_disturl="http://www.shorewall.net/pub/${pkgname}/4.6/${pkgname}-4.6.3"
|
_disturl="http://www.shorewall.net/pub/${pkgname}/4.6/${pkgname}-4.6.3"
|
||||||
distfiles="
|
distfiles="
|
||||||
${_disturl}/${pkgname}-${version}.tar.bz2
|
${_disturl}/${pkgname}-${version}.tar.bz2
|
||||||
|
@ -99,6 +99,7 @@ shorewall6_package() {
|
||||||
pkg_install() {
|
pkg_install() {
|
||||||
cd ${wrksrc}/${pkgname}-${version}
|
cd ${wrksrc}/${pkgname}-${version}
|
||||||
DESTDIR="${PKGDESTDIR}" ./install.sh
|
DESTDIR="${PKGDESTDIR}" ./install.sh
|
||||||
|
vsv shorewall6
|
||||||
}
|
}
|
||||||
for f in ${PKGDESTDIR}/etc/${pkgname}/*; do
|
for f in ${PKGDESTDIR}/etc/${pkgname}/*; do
|
||||||
conf_files+="${f##${PKGDESTDIR}} "
|
conf_files+="${f##${PKGDESTDIR}} "
|
||||||
|
|
Loading…
Add table
Reference in a new issue