[Pkg-cups-devel] r98 - cupsys/branches/cups-1.2/debian

Kenshi Muto kmuto at costa.debian.org
Fri Dec 23 05:13:58 UTC 2005


Author: kmuto
Date: Fri Dec 23 05:13:57 2005
New Revision: 98

Modified:
   cupsys/branches/cups-1.2/debian/changelog
   cupsys/branches/cups-1.2/debian/cupsys.config
   cupsys/branches/cups-1.2/debian/cupsys.postinst
Log:
fix IPv4 validation.

Modified: cupsys/branches/cups-1.2/debian/changelog
==============================================================================
--- cupsys/branches/cups-1.2/debian/changelog	(original)
+++ cupsys/branches/cups-1.2/debian/changelog	Fri Dec 23 05:13:57 2005
@@ -15,6 +15,7 @@
   * Improve cupsys.templates.
   * Updated Russian, German, Czech,French debconf translation.
   * Removed example descriptions from init.d script.
+  * Fix IPv4 validation.
 
   [ Martin Pitt ]
   * Adapt debian/patches/02_configure.dpatch to r4885.

Modified: cupsys/branches/cups-1.2/debian/cupsys.config
==============================================================================
--- cupsys/branches/cups-1.2/debian/cupsys.config	(original)
+++ cupsys/branches/cups-1.2/debian/cupsys.config	Fri Dec 23 05:13:57 2005
@@ -17,7 +17,7 @@
       if (/^\d+$/ && $_ >= 0 && $_ < 65536) {
         # PORT
         $ret .= "Port $_\\n";
-      } elsif (/^\d+\.\d+\.\d+\.\d+$/ || /^\d+\.\d+\.\d+\.\d:\d+$/) {
+      } elsif (/^\d+\.\d+\.\d+\.\d+$/ || /^\d+\.\d+\.\d+\.\d+:\d+$/) {
         # IP
         $ret .= "Listen $_\\n";
       } elsif (/^[a-zA-Z0-9-_.*]+$/ || /^[a-zA-Z0-9-_.*]+:\d+$/) {

Modified: cupsys/branches/cups-1.2/debian/cupsys.postinst
==============================================================================
--- cupsys/branches/cups-1.2/debian/cupsys.postinst	(original)
+++ cupsys/branches/cups-1.2/debian/cupsys.postinst	Fri Dec 23 05:13:57 2005
@@ -137,7 +137,7 @@
 	      if (/^\d+$/ && $_ >= 0 && $_ < 65536) {
 	        # PORT
 	        $ret .= "Port $_\\n";
-	      } elsif (/^\d+\.\d+\.\d+\.\d+$/ || /^\d+\.\d+\.\d+\.\d:\d+$/) {
+	      } elsif (/^\d+\.\d+\.\d+\.\d+$/ || /^\d+\.\d+\.\d+\.\d+:\d+$/) {
 	        # IP
 	        $ret .= "Listen $_\\n";
 	      } elsif (/^[a-zA-Z0-9-_.*]+$/ || /^[a-zA-Z0-9-_.*]+:\d+$/) {



More information about the Pkg-cups-devel mailing list