[Pkg-cups-devel] r418 - cupsys/branches/cups-1.2/debian

Kenshi Muto kmuto at alioth.debian.org
Thu Dec 28 13:49:22 UTC 2006


Author: kmuto
Date: Thu Dec 28 14:49:21 2006
New Revision: 418

Modified:
   cupsys/branches/cups-1.2/debian/changelog
   cupsys/branches/cups-1.2/debian/cupsys.postinst
Log:
cupsys.postinst provides /var/run/cups/certs. (thanks q-funk)

Modified: cupsys/branches/cups-1.2/debian/changelog
==============================================================================
--- cupsys/branches/cups-1.2/debian/changelog	(original)
+++ cupsys/branches/cups-1.2/debian/changelog	Thu Dec 28 14:49:21 2006
@@ -20,6 +20,8 @@
       be held for 60 days
   * 67_printcap: Add Printcap/PrintcapFormat/PrintcapGUI variables to
     cupsd.conf file. (closes: #401981)
+  * cupsys makes /var/run/cups/certs. Although CUPS daemon can make
+    it automatically, the daemon logs an warning.
 
  -- Kenshi Muto <kmuto at debian.org>  Wed,  6 Dec 2006 22:42:34 +0000
 

Modified: cupsys/branches/cups-1.2/debian/cupsys.postinst
==============================================================================
--- cupsys/branches/cups-1.2/debian/cupsys.postinst	(original)
+++ cupsys/branches/cups-1.2/debian/cupsys.postinst	Thu Dec 28 14:49:21 2006
@@ -196,6 +196,10 @@
 	chown root:lp /etc/cups ; chmod 3755 /etc/cups
 	chown root:lp /etc/cups/cupsd.conf ; chmod 640 /etc/cups/cupsd.conf
 	chown root:lp /etc/cups/ppd ; chmod 755 /etc/cups/ppd
+	if [ ! -d /var/run/cups/certs ]; then
+	  mkdir /var/run/cups/certs && chown lp:lpadmin /var/run/cups/certs \
+          && chmod 511 /var/run/cups/certs
+	fi
 	if [ -f /etc/cups/classes.conf ]; then
 	  chown root:lp /etc/cups/classes.conf ; chmod 600 /etc/cups/classes.conf
 	fi



More information about the Pkg-cups-devel mailing list