[packages] cups: update to v1.3.10
[packages.git] / net / cups / patches / 130-no_chown.patch
index 5fb27f9..f10fb1e 100644 (file)
@@ -1,11 +1,11 @@
---- cups-1.1.23/systemv/Makefile.old   Sun Oct 15 03:33:34 2006
-+++ cups-1.1.23/systemv/Makefile       Sun Oct 15 03:33:55 2006
-@@ -77,7 +77,7 @@
+--- a/systemv/Makefile
++++ b/systemv/Makefile
+@@ -70,7 +70,7 @@ install:     all
        $(INSTALL_BIN) lp $(BINDIR)
        $(INSTALL_BIN) lpoptions $(BINDIR)
        $(INSTALL_BIN) lpstat $(BINDIR)
--      -$(INSTALL_BIN) -m 4755 -o $(CUPS_USER) -g $(CUPS_GROUP) lppasswd $(BINDIR)
-+      -$(INSTALL_BIN) lppasswd $(BINDIR)
-       if test ! -x $(BINDIR)/lppasswd; then \
-               chmod 755 $(BINDIR)/lppasswd; \
-       fi
+-      $(INSTALL_BIN) -m 4755 -o root lppasswd $(BINDIR) || $(INSTALL_BIN) lppasswd $(BINDIR)
++      $(INSTALL_BIN) lppasswd $(BINDIR)
+       if test "x$(SYMROOT)" != "x"; then \
+               $(INSTALL_DIR) $(SYMROOT); \
+               for file in $(TARGETS); do \