[Pkg-cups-devel] r484 - cupsys/trunk/debian

Martin Pitt mpitt at alioth.debian.org
Fri Jun 8 09:29:15 UTC 2007


Author: mpitt
Date: Fri Jun  8 09:29:14 2007
New Revision: 484

Log:
* debian/rules: Disable privilege dropping for now until we fixed the
  backend invocation to become compatible to upstream's behaviour again.
  This unbreaks third-party backends again for now. (Closes: #427559)

Modified:
   cupsys/trunk/debian/changelog
   cupsys/trunk/debian/rules

Modified: cupsys/trunk/debian/changelog
==============================================================================
--- cupsys/trunk/debian/changelog	(original)
+++ cupsys/trunk/debian/changelog	Fri Jun  8 09:29:14 2007
@@ -1,3 +1,11 @@
+cupsys (1.2.11-3) UNRELEASED; urgency=medium
+
+  * debian/rules: Disable privilege dropping for now until we fixed the
+    backend invocation to become compatible to upstream's behaviour again.
+    This unbreaks third-party backends again for now. (Closes: #427559)
+
+ -- Martin Pitt <mpitt at debian.org>  Fri, 08 Jun 2007 11:15:12 +0200
+
 cupsys (1.2.11-2) unstable; urgency=low
 
   * debian/rules: Latest cups installs the ipp backend with 0700 permissions,

Modified: cupsys/trunk/debian/rules
==============================================================================
--- cupsys/trunk/debian/rules	(original)
+++ cupsys/trunk/debian/rules	Fri Jun  8 09:29:14 2007
@@ -18,7 +18,7 @@
 
 unpatch: deapply-dpatches
 
-DEB_CONFIGURE_EXTRA_FLAGS := --with-optim=$(DEB_OPTFLAGS) --libdir=/usr/lib --mandir=/usr/share/man --with-docdir=/usr/share/cups/doc-root --enable-slp --enable-libpaper --enable-ssl --enable-gnutls --disable-openssl --enable-threads --enable-static --enable-dbus --disable-pdftops --disable-launchd --with-cups-user=cupsys --with-cups-group=lp --with-system-groups=lpadmin --enable-privilege-dropping
+DEB_CONFIGURE_EXTRA_FLAGS := --with-optim=$(DEB_OPTFLAGS) --libdir=/usr/lib --mandir=/usr/share/man --with-docdir=/usr/share/cups/doc-root --enable-slp --enable-libpaper --enable-ssl --enable-gnutls --disable-openssl --enable-threads --enable-static --enable-dbus --disable-pdftops --disable-launchd --with-cups-user=cupsys --with-cups-group=lp --with-system-groups=lpadmin
 DEB_MAKE_INSTALL_TARGET := install BUILDROOT=$(DEB_DESTDIR)
 DEB_INSTALL_CHANGELOGS_ALL := CHANGES.txt
 DEB_DH_STRIP_ARGS := --dbg-package=cupsys-dbg
@@ -45,8 +45,10 @@
 
 	# install lpd backend suid root so that it can bind to port <
 	# 1024 (required for RFC compliance)
-	chown root:lp debian/cupsys/usr/lib/cups/backend-available/lpd
-	chmod 4754 debian/cupsys/usr/lib/cups/backend-available/lpd
+	# disabled until we fix #427559 for good and flip
+	# --enable-privilege-dropping back on
+	#chown root:lp debian/cupsys/usr/lib/cups/backend-available/lpd
+	#chmod 4754 debian/cupsys/usr/lib/cups/backend-available/lpd
 
 	# upstream installs this as 0700 now which breaks as non-root
 	chmod 755 debian/cupsys/usr/lib/cups/backend-available/ipp



More information about the Pkg-cups-devel mailing list