[Pkg-cups-devel] r466 - in cupsys/trunk/debian: . local

Martin Pitt mpitt at alioth.debian.org
Mon Apr 30 12:21:32 UTC 2007


Author: mpitt
Date: Mon Apr 30 12:21:32 2007
New Revision: 466

Modified:
   cupsys/trunk/debian/changelog
   cupsys/trunk/debian/local/enable_sharing
Log:
* debian/local/enable_sharing: Also match on 127.0.0.1 IP adresses in
  addition to 'localhost'.

Modified: cupsys/trunk/debian/changelog
==============================================================================
--- cupsys/trunk/debian/changelog	(original)
+++ cupsys/trunk/debian/changelog	Mon Apr 30 12:21:32 2007
@@ -62,8 +62,10 @@
     required for Sarge->Etch upgrades.
   * debian/control: Change netbase dependency to update-inetd, since that
     lives in its own package now.
+  * debian/local/enable_sharing: Also match on 127.0.0.1 IP adresses in
+    addition to 'localhost'.
 
- -- Martin Pitt <mpitt at debian.org>  Mon, 30 Apr 2007 14:18:54 +0200
+ -- Martin Pitt <mpitt at debian.org>  Mon, 30 Apr 2007 14:21:08 +0200
 
 cupsys (1.2.7-4) unstable; urgency=high
 

Modified: cupsys/trunk/debian/local/enable_sharing
==============================================================================
--- cupsys/trunk/debian/local/enable_sharing	(original)
+++ cupsys/trunk/debian/local/enable_sharing	Mon Apr 30 12:21:32 2007
@@ -50,7 +50,7 @@
 if [ $1 = 0 ]; then
 	sed -ri "s/^[[:space:]]*(Port|Listen)[[:space:]]+631\\>/Listen 127.0.0.1:631/i" $CONF
 else
-	sed -ri "s/^[[:space:]]*Listen[[:space:]]+localhost:631\\>/Listen 631/i" $CONF
+	sed -ri "s/^[[:space:]]*Listen[[:space:]]+(127.0.0.1|localhost):631\\>/Listen 631/i" $CONF
 fi
 	
 



More information about the Pkg-cups-devel mailing list