]> git.pld-linux.org Git - packages/cups.git/commitdiff
- moved certs from /var/run/cups to /var/lib/cups
authorKarol Krenski <charles@pld-linux.org>
Mon, 18 Dec 2006 14:01:21 +0000 (14:01 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    cups-certs_FHS.patch -> 1.1

cups-certs_FHS.patch [new file with mode: 0644]

diff --git a/cups-certs_FHS.patch b/cups-certs_FHS.patch
new file mode 100644 (file)
index 0000000..1d6f11f
--- /dev/null
@@ -0,0 +1,30 @@
+--- cups-1.2.7/config-scripts/cups-directories.m4.orig 2006-08-29 22:48:59.000000000 +0200
++++ cups-1.2.7/config-scripts/cups-directories.m4      2006-12-18 03:28:33.624756362 +0100
+@@ -311,8 +311,14 @@
+ AC_SUBST(CUPS_SERVERROOT)
+ # Transient run-time state
+-CUPS_STATEDIR="$localstatedir/run/cups"
+-AC_DEFINE_UNQUOTED(CUPS_STATEDIR, "$localstatedir/run/cups")
++AC_ARG_WITH(logdir, [  --with-statedir           set path for certs state],statedir="$withval",statedir="")
++
++if test x$logdir = x; then
++      CUPS_STATEDIR="$localstatedir/lib/cups"
++else
++      CUPS_STATEDIR="$statedir"
++fi
++AC_DEFINE_UNQUOTED(CUPS_STATEDIR, "$CUPS_STATEDIR")
+ AC_SUBST(CUPS_STATEDIR)
+ dnl
+--- cups-1.2.7/config-scripts/cups-network.m4.orig     2006-10-20 17:07:21.000000000 +0200
++++ cups-1.2.7/config-scripts/cups-network.m4  2006-12-18 03:30:16.608100516 +0100
+@@ -72,7 +72,7 @@
+                               ;;
+                       *)
+                               # All others use FHS standard...
+-                              CUPS_DEFAULT_DOMAINSOCKET="$CUPS_STATEDIR/cups.sock"
++                              CUPS_DEFAULT_DOMAINSOCKET="$localstatedir/run/cups/cups.sock"
+                               ;;
+               esac
+       else
This page took 0.351792 seconds and 4 git commands to generate.