cups-filters: update to 1.0.33, added start script for cups-browsed

This commit is contained in:
Juergen Daubert 2013-04-05 12:13:41 +02:00
parent 598ae158df
commit 1b7804ab45
4 changed files with 35 additions and 4 deletions

View File

@ -1,7 +1,11 @@
drwxr-xr-x root/root etc/
drwxr-xr-x root/root etc/cups/
-rw-r--r-- root/root etc/cups/cups-browsed.conf
drwxr-xr-x root/root etc/fonts/
drwxr-xr-x root/root etc/fonts/conf.d/
-rw-r--r-- root/root etc/fonts/conf.d/99pdftoopvp.conf
drwxr-xr-x root/root etc/rc.d/
-rwxr-xr-x root/root etc/rc.d/cups-browsed
drwxr-xr-x root/root usr/
drwxr-xr-x root/root usr/bin/
-rwxr-xr-x root/root usr/bin/ttfread

View File

@ -1 +1,2 @@
ebf24dac0de3e84ca1fdecf99277d27e cups-filters-1.0.31.tar.xz
f182d7717ed0a939a4f50e572939afdd cups-browsed
f125095f3d75fe5a4864461cd473267e cups-filters-1.0.33.tar.xz

View File

@ -4,9 +4,10 @@
# Depends on: cups poppler qpdf
name=cups-filters
version=1.0.31
version=1.0.33
release=1
source=(http://www.openprinting.org/download/$name/$name-$version.tar.xz)
source=(http://www.openprinting.org/download/$name/$name-$version.tar.xz
cups-browsed)
build () {
cd $name-$version
@ -20,6 +21,8 @@ build () {
make
make DESTDIR=$PKG install
install -D -m 0755 $SRC/cups-browsed $PKG/etc/rc.d/cups-browsed
rm -r $PKG/{usr/share/doc,etc/cups}
rm -r $PKG/usr/share/doc
}

23
cups-filters/cups-browsed Executable file
View File

@ -0,0 +1,23 @@
#!/bin/sh
#
# /etc/rc.d/cups-browsed: start/stop CUPS browsing daemon
#
case $1 in
start)
setsid /usr/sbin/cups-browsed &
;;
stop)
killall -q /usr/sbin/cups-browsed
;;
restart)
$0 stop
sleep 2
$0 start
;;
*)
echo "usage: $0 [start|stop]"
;;
esac
# End of file