Files
2015-06-19 13:37:40 +03:00

49 lines
1.9 KiB
Diff

diff -Nuar cups-1.6.1.orig/config.h.in cups-1.6.1/config.h.in
--- cups-1.6.1.orig/config.h.in 2012-07-16 21:21:43.000000000 +0300
+++ cups-1.6.1/config.h.in 2013-03-13 18:46:13.805434622 +0200
@@ -127,7 +127,7 @@
#define CUPS_SBINDIR "/usr/sbin"
#define CUPS_SERVERBIN "/usr/lib/cups"
#define CUPS_SERVERROOT "/etc/cups"
-#define CUPS_STATEDIR "/var/run/cups"
+#define CUPS_STATEDIR "/run/cups"
/*
diff -Nuar cups-1.6.1.orig/doc/help/security.html cups-1.6.1/doc/help/security.html
--- cups-1.6.1.orig/doc/help/security.html 2011-04-29 00:20:12.000000000 +0300
+++ cups-1.6.1/doc/help/security.html 2013-03-13 18:45:47.222433880 +0200
@@ -53,7 +53,7 @@
<LI>Local certificate authentication passes 128-bit
"certificates" that identify an authenticated user.
Certificates are created on-the-fly from random data and
- stored in files under <VAR>/var/run/cups/certs</VAR>.
+ stored in files under <VAR>/run/cups/certs</VAR>.
They have restricted read permissions: root +
system-group(s) for the root certificate, and lp + lp
for CGI certificates.
diff -Nuar cups-1.6.1.orig/scheduler/org.cups.cupsd.plist cups-1.6.1/scheduler/org.cups.cupsd.plist
--- cups-1.6.1.orig/scheduler/org.cups.cupsd.plist 2011-04-20 21:15:44.000000000 +0300
+++ cups-1.6.1/scheduler/org.cups.cupsd.plist 2013-03-13 18:44:26.286431623 +0200
@@ -54,7 +54,7 @@
<key>SockPathMode</key>
<integer>49663</integer>
<key>SockPathName</key>
- <string>/private/var/run/cupsd</string>
+ <string>/run/cupsd</string>
</dict>
</array>
</dict>
diff -Nuar cups-1.6.1.orig/xcode/config.h cups-1.6.1/xcode/config.h
--- cups-1.6.1.orig/xcode/config.h 2012-07-16 21:21:43.000000000 +0300
+++ cups-1.6.1/xcode/config.h 2013-03-13 18:43:13.618429596 +0200
@@ -100,7 +100,7 @@
* Do we have domain socket support, and if so what is the default one?
*/
-#define CUPS_DEFAULT_DOMAINSOCKET "/private/var/run/cupsd"
+#define CUPS_DEFAULT_DOMAINSOCKET "/run/cupsd"
/*