Changeset 1068 for trunk/packages


Ignore:
Timestamp:
Oct 6, 2008, 1:49:20 AM (16 years ago)
Author:
broder
Message:

nscd.conf was getting generated wrong. Fix it

Also known as "why I shouldn't be allowed to write Perl"

Location:
trunk/packages/sipb-xen-console/debian
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/packages/sipb-xen-console/debian/changelog

    r1064 r1068  
     1sipb-xen-console (8.2) unstable; urgency=low
     2
     3  * Actually generate nscd.conf correctly
     4
     5 -- Evan Broder <broder@mit.edu>  Mon, 06 Oct 2008 01:45:33 -0400
     6
    17sipb-xen-console (8.1) unstable; urgency=low
    28
  • trunk/packages/sipb-xen-console/debian/transform_nscd.conf.sipb-xen

    r1062 r1068  
    11#!/usr/bin/perl -0p
    2 s/^(\s*negative-time-to-live\s*passwd\s*).*$/\13/m or die;
    3 s/^(\s*negative-time-to-live\s*group\s*).*$/\13/m or die;
     2s/^(\s*negative-time-to-live\s*passwd\s*).*$/${1}3/m or die;
     3s/^(\s*negative-time-to-live\s*group\s*).*$/${1}3/m or die;
    44s/^(\s*persistent\s*passwd\s*).*$/\1no/m or die;
    55s/^(\s*persistent\s*group\s*).*$/\1no/m or die;
Note: See TracChangeset for help on using the changeset viewer.