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

Kenshi Muto kmuto at costa.debian.org
Wed Dec 14 23:21:26 UTC 2005


Author: kmuto
Date: Wed Dec 14 23:21:24 2005
New Revision: 62

Added:
   cupsys/trunk/debian/NEWS
Modified:
   cupsys/trunk/debian/changelog
   cupsys/trunk/debian/cupsys.config
   cupsys/trunk/debian/cupsys.postinst
Log:
add news for 1.1.23-13 user

Added: cupsys/trunk/debian/NEWS
==============================================================================
--- (empty file)
+++ cupsys/trunk/debian/NEWS	Wed Dec 14 23:21:24 2005
@@ -0,0 +1,17 @@
+cupsys (1.1.23-14) unstable; urgency=high
+
+  * Since 1.1.23-13, you can manage Port/Listen/Browsing
+    configuration by debconf.
+
+    If you'd like to use this feature, please use new
+    /etc/cups/cupd.conf in this package, or add following to
+    your /etc/cups/cupsd.conf:
+     Include /etc/cups/cups.d/ports.conf
+     Include /etc/cups/cups.d/browse.conf
+    and comment out Listen/Port/Browsing from /etc/cups/cupsd.conf.
+
+  * To 1.1.23-13 user, please comment out Listen/Port/Browsing
+    from your /etc/cups/cupsd.conf if you've already replaced
+    by one of 1.1.23-13.
+
+ -- Kenshi Muto <kmuto at debian.org>  Thu, 15 Dec 2005 08:09:54 +0900

Modified: cupsys/trunk/debian/changelog
==============================================================================
--- cupsys/trunk/debian/changelog	(original)
+++ cupsys/trunk/debian/changelog	Wed Dec 14 23:21:24 2005
@@ -5,6 +5,11 @@
   * debian/patches/08_cupsd.conf.conf.d.dpatch:
     - Commented out Port/Listen/Browsing from cupsd.conf.in.
       CUPS crashes when there is a duplicate definition.
+  * Add NEWS mainly for 1.1.23-13 user.
+    Tweaking cupsd.conf by postinst is bad idea, so I gave up
+    to correct my previous mistake. Please comment out
+    Port/Listen/Browsing line from your /etc/cups/cupsd.conf if
+    you've already replaced this file by one of 1.1.23-13.
 
  -- Kenshi Muto <kmuto at debian.org>  Thu, 15 Dec 2005 06:00:09 +0900
 

Modified: cupsys/trunk/debian/cupsys.config
==============================================================================
--- cupsys/trunk/debian/cupsys.config	(original)
+++ cupsys/trunk/debian/cupsys.config	Wed Dec 14 23:21:24 2005
@@ -11,7 +11,7 @@
 
 is_ports () {
   # syntax: parse_ports string (0: success 1: error)
-  VAL=$(echo "$1" | perl -e '$ret = ""; while (<STDIN>) { chomp;
+  VAL=$(echo "$1" | LC_ALL=C perl -e '$ret = ""; while (<STDIN>) { chomp;
     @values = split(/\s+/);
     foreach(@values) {
       if (/^\d+$/ && $_ >= 0 && $_ < 65536) {

Modified: cupsys/trunk/debian/cupsys.postinst
==============================================================================
--- cupsys/trunk/debian/cupsys.postinst	(original)
+++ cupsys/trunk/debian/cupsys.postinst	Wed Dec 14 23:21:24 2005
@@ -173,7 +173,7 @@
 
 	# Create /etc/cups/cups.d/ports.conf and /etc/cups/cups.d/browse.conf
 	db_get cupsys/ports
-	VAL=$(echo "$RET" | perl -e '$ret = ""; while (<STDIN>) { chomp;
+	VAL=$(echo "$RET" | LC_ALL=C perl -e '$ret = ""; while (<STDIN>) { chomp;
 	    @values = split(/\s+/);
 	    foreach(@values) {
 	      if (/^\d+$/ && $_ >= 0 && $_ < 65536) {



More information about the Pkg-cups-devel mailing list