nscd.conf was getting generated wrong. Fix it sipb-xen-console/8.2
authorEvan Broder <broder@mit.edu>
Mon, 6 Oct 2008 05:49:20 +0000 (01:49 -0400)
committerEvan Broder <broder@mit.edu>
Mon, 6 Oct 2008 05:49:20 +0000 (01:49 -0400)
Also known as "why I shouldn't be allowed to write Perl"

svn path=/trunk/packages/sipb-xen-console/; revision=1068

debian/changelog
debian/transform_nscd.conf.sipb-xen

index f6e31e5..d1d91eb 100644 (file)
@@ -1,3 +1,9 @@
+sipb-xen-console (8.2) unstable; urgency=low
+
+  * Actually generate nscd.conf correctly
+
+ -- Evan Broder <broder@mit.edu>  Mon, 06 Oct 2008 01:45:33 -0400
+
 sipb-xen-console (8.1) unstable; urgency=low
 
   * ConsoleFS is now RouteFS-based
index f6c4f01..2efdebb 100755 (executable)
@@ -1,6 +1,6 @@
 #!/usr/bin/perl -0p
-s/^(\s*negative-time-to-live\s*passwd\s*).*$/\13/m or die;
-s/^(\s*negative-time-to-live\s*group\s*).*$/\13/m or die;
+s/^(\s*negative-time-to-live\s*passwd\s*).*$/${1}3/m or die;
+s/^(\s*negative-time-to-live\s*group\s*).*$/${1}3/m or die;
 s/^(\s*persistent\s*passwd\s*).*$/\1no/m or die;
 s/^(\s*persistent\s*group\s*).*$/\1no/m or die;