cups-filters: update to 1.0.33, added start script for cups-browsed
This commit is contained in:
parent
598ae158df
commit
1b7804ab45
@ -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
|
||||
|
@ -1 +1,2 @@
|
||||
ebf24dac0de3e84ca1fdecf99277d27e cups-filters-1.0.31.tar.xz
|
||||
f182d7717ed0a939a4f50e572939afdd cups-browsed
|
||||
f125095f3d75fe5a4864461cd473267e cups-filters-1.0.33.tar.xz
|
||||
|
@ -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
23
cups-filters/cups-browsed
Executable 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
|
Loading…
Reference in New Issue
Block a user