[Pkg-cups-devel] r377 - cupsys/branches/cups-1.2-ubuntu/debian
Martin Pitt
mpitt at costa.debian.org
Mon Sep 18 08:08:10 UTC 2006
Author: mpitt
Date: Mon Sep 18 08:08:07 2006
New Revision: 377
Modified:
cupsys/branches/cups-1.2-ubuntu/debian/changelog
cupsys/branches/cups-1.2-ubuntu/debian/rules
Log:
* debian/rules: Install 'lpd' backend suid root (root:lp 4754), so that
cupsd can print to RFC compliant lpd servers (which require the source
port to be < 1024). Closes: LP#47773
Modified: cupsys/branches/cups-1.2-ubuntu/debian/changelog
==============================================================================
--- cupsys/branches/cups-1.2-ubuntu/debian/changelog (original)
+++ cupsys/branches/cups-1.2-ubuntu/debian/changelog Mon Sep 18 08:08:07 2006
@@ -1,3 +1,11 @@
+cupsys (1.2.3-1ubuntu3) UNRELEASED; urgency=low
+
+ * debian/rules: Install 'lpd' backend suid root (root:lp 4754), so that
+ cupsd can print to RFC compliant lpd servers (which require the source
+ port to be < 1024). Closes: LP#47773
+
+ -- Martin Pitt <martin.pitt at ubuntu.com> Mon, 18 Sep 2006 10:07:46 +0200
+
cupsys (1.2.3-1ubuntu2) edgy; urgency=low
* debian/patches/56_dirsvc.dpatch: Update patch so that a patch/unpatch
Modified: cupsys/branches/cups-1.2-ubuntu/debian/rules
==============================================================================
--- cupsys/branches/cups-1.2-ubuntu/debian/rules (original)
+++ cupsys/branches/cups-1.2-ubuntu/debian/rules Mon Sep 18 08:08:07 2006
@@ -22,6 +22,7 @@
DEB_MAKE_INSTALL_TARGET := install BUILDROOT=$(DEB_DESTDIR)
DEB_INSTALL_CHANGELOGS_ALL := CHANGES.txt
DEB_DH_INSTALLINIT_ARGS := -u'multiuser 19'
+DEB_FIXPERMS_EXCLUDE := /usr/lib/cups/backend-available/lpd
clean::
-rm core
@@ -73,6 +74,11 @@
ln -s ../../ppd/custom $(DEB_DESTDIR)/../cupsys/usr/share/cups/model/custom
+ # 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
+
binary-post-install/libcupsimage2-dev::
rm -r debian/libcupsimage2-dev/usr/share/doc/libcupsimage2-dev
ln -s libcupsimage2 debian/libcupsimage2-dev/usr/share/doc/libcupsimage2-dev
More information about the Pkg-cups-devel
mailing list