sane: added a xinetd configuration file for saned; now it works with runit.
This commit is contained in:
parent
fc0732de7d
commit
efedf60c7b
2 changed files with 10 additions and 1 deletions
8
srcpkgs/sane/files/saned.xinetd
Normal file
8
srcpkgs/sane/files/saned.xinetd
Normal file
|
@ -0,0 +1,8 @@
|
|||
service sane-port
|
||||
{
|
||||
port = 6566
|
||||
socket_type = stream
|
||||
wait = no
|
||||
group = scanner
|
||||
server = /usr/sbin/saned
|
||||
}
|
|
@ -1,7 +1,7 @@
|
|||
# Template build file for 'sane'.
|
||||
pkgname=sane
|
||||
version=1.0.24
|
||||
revision=2
|
||||
revision=3
|
||||
wrksrc="sane-backends-${version}"
|
||||
build_style=gnu-configure
|
||||
configure_args="--disable-locking --enable-avahi --disable-latex --enable-ipv6
|
||||
|
@ -107,6 +107,7 @@ post_install() {
|
|||
# Install systemd service.
|
||||
vinstall ${FILESDIR}/saned@.service 644 usr/lib/systemd/system
|
||||
vinstall ${FILESDIR}/saned.socket 644 usr/lib/systemd/system
|
||||
vinstall ${FILESDIR}/saned.xinetd 644 etc/xinet.d saned.conf
|
||||
|
||||
vinstall ${wrksrc}/tools/sane-backends.pc 644 usr/lib/pkgconfig
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue