sane: added a xinetd configuration file for saned; now it works with runit.

This commit is contained in:
Juan RP 2014-05-04 12:52:01 +02:00
parent fc0732de7d
commit efedf60c7b
2 changed files with 10 additions and 1 deletions

View file

@ -0,0 +1,8 @@
service sane-port
{
port = 6566
socket_type = stream
wait = no
group = scanner
server = /usr/sbin/saned
}

View file

@ -1,7 +1,7 @@
# Template build file for 'sane'. # Template build file for 'sane'.
pkgname=sane pkgname=sane
version=1.0.24 version=1.0.24
revision=2 revision=3
wrksrc="sane-backends-${version}" wrksrc="sane-backends-${version}"
build_style=gnu-configure build_style=gnu-configure
configure_args="--disable-locking --enable-avahi --disable-latex --enable-ipv6 configure_args="--disable-locking --enable-avahi --disable-latex --enable-ipv6
@ -107,6 +107,7 @@ post_install() {
# Install systemd service. # Install systemd service.
vinstall ${FILESDIR}/saned@.service 644 usr/lib/systemd/system vinstall ${FILESDIR}/saned@.service 644 usr/lib/systemd/system
vinstall ${FILESDIR}/saned.socket 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 vinstall ${wrksrc}/tools/sane-backends.pc 644 usr/lib/pkgconfig
} }