mdnsd: add runit service
This commit is contained in:
7
srcpkgs/mdnsd/files/mdnsd/run
Executable file
7
srcpkgs/mdnsd/files/mdnsd/run
Executable file
@@ -0,0 +1,7 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
exec 2>&1
|
||||||
|
|
||||||
|
[ -r ./conf ] && . ./conf
|
||||||
|
|
||||||
|
exec chpst -u nobody:nogroup mdnsd -n ${OPTS}
|
||||||
@@ -1,7 +1,7 @@
|
|||||||
# Template file for 'mdnsd'
|
# Template file for 'mdnsd'
|
||||||
pkgname=mdnsd
|
pkgname=mdnsd
|
||||||
version=0.12
|
version=0.12
|
||||||
revision=1
|
revision=2
|
||||||
build_style=gnu-configure
|
build_style=gnu-configure
|
||||||
hostmakedepends="autoconf automake pkg-config libtool"
|
hostmakedepends="autoconf automake pkg-config libtool"
|
||||||
short_desc="Embeddable Multicast DNS Daemon"
|
short_desc="Embeddable Multicast DNS Daemon"
|
||||||
@@ -22,6 +22,7 @@ pre_configure() {
|
|||||||
|
|
||||||
post_install() {
|
post_install() {
|
||||||
rm ${DESTDIR}/usr/share/doc/mdnsd/LICENSE
|
rm ${DESTDIR}/usr/share/doc/mdnsd/LICENSE
|
||||||
|
vsv mdnsd
|
||||||
vlicense LICENSE
|
vlicense LICENSE
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user