cups: added runit service.
This commit is contained in:
parent
16597486cd
commit
091007f5d7
2
srcpkgs/cups/files/cupsd/run
Executable file
2
srcpkgs/cups/files/cupsd/run
Executable file
@ -0,0 +1,2 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
exec cupsd -f
|
@ -1,7 +1,7 @@
|
|||||||
# Template file for 'cups'
|
# Template file for 'cups'
|
||||||
pkgname=cups
|
pkgname=cups
|
||||||
version=1.7.5
|
version=1.7.5
|
||||||
revision=2
|
revision=3
|
||||||
patch_args="-Np1"
|
patch_args="-Np1"
|
||||||
short_desc="Common Unix Printing System"
|
short_desc="Common Unix Printing System"
|
||||||
maintainer="Juan RP <xtraeme@gmail.com>"
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
||||||
@ -29,7 +29,7 @@ make_dirs="
|
|||||||
/var/log/cups 0750 root root
|
/var/log/cups 0750 root root
|
||||||
/var/spool/cups 0755 root lp
|
/var/spool/cups 0755 root lp
|
||||||
/etc/cups/ssl 0700 root lp"
|
/etc/cups/ssl 0700 root lp"
|
||||||
|
replaces="runit-void<20141013_2"
|
||||||
|
|
||||||
# Package build options
|
# Package build options
|
||||||
build_options="systemd"
|
build_options="systemd"
|
||||||
@ -93,6 +93,8 @@ do_install() {
|
|||||||
# comment out all conversion rules which use any of the removed filters
|
# comment out all conversion rules which use any of the removed filters
|
||||||
perl -p -i -e 's:^(.*\s+bannertops\s*)$:#\1:' \
|
perl -p -i -e 's:^(.*\s+bannertops\s*)$:#\1:' \
|
||||||
${DESTDIR}/usr/share/cups/mime/mime.convs
|
${DESTDIR}/usr/share/cups/mime/mime.convs
|
||||||
|
|
||||||
|
vsv cupsd
|
||||||
}
|
}
|
||||||
|
|
||||||
libcups_package() {
|
libcups_package() {
|
||||||
@ -105,7 +107,6 @@ libcups_package() {
|
|||||||
vmove usr/share/man/man5/client.conf.5
|
vmove usr/share/man/man5/client.conf.5
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
cups-devel_package() {
|
cups-devel_package() {
|
||||||
depends="zlib-devel libcups>=${version}_${revision}"
|
depends="zlib-devel libcups>=${version}_${revision}"
|
||||||
short_desc+=" - development files"
|
short_desc+=" - development files"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user