radvd: added runit service.
This commit is contained in:
parent
1dd9ade982
commit
3fac07b466
2
srcpkgs/radvd/files/radvd/run
Executable file
2
srcpkgs/radvd/files/radvd/run
Executable file
|
@ -0,0 +1,2 @@
|
|||
#!/bin/sh
|
||||
exec radvd --nodaemon --logmethod=syslog
|
|
@ -1,11 +1,12 @@
|
|||
# Template file for 'radvd'
|
||||
pkgname=radvd
|
||||
version=2.8
|
||||
revision=1
|
||||
revision=2
|
||||
build_style=gnu-configure
|
||||
hostmakedepends="pkg-config bison flex"
|
||||
hostmakedepends="pkg-config flex"
|
||||
makedepends="check-devel libdaemon-devel"
|
||||
conf_files="/etc/radvd.conf"
|
||||
replaces="runit-void<20141013_2"
|
||||
short_desc="IPv6 Router Advertisement Daemon"
|
||||
maintainer="Christian Neukirchen <chneukirchen@gmail.com>"
|
||||
license="custom"
|
||||
|
@ -14,6 +15,7 @@ distfiles="http://www.litech.org/radvd/dist/${pkgname}-${version}.tar.xz"
|
|||
checksum=0a1041b2044dafa45882b9fc30badadb7abed76c1a20f6332fecaa53c8440df9
|
||||
|
||||
post_install() {
|
||||
vinstall radvd.conf.example 644 etc radvd.conf
|
||||
vsv radvd
|
||||
vconf radvd.conf.example radvd.conf
|
||||
vlicense COPYRIGHT LICENSE
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user