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 @@
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/run/cups/certs.
+ stored in files under /run/cups/certs.
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 @@
SockPathMode
49663
SockPathName
- /private/var/run/cupsd
+ /run/cupsd
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"
/*