OpenPKG CVS Repository
  http://cvs.openpkg.org/
  ____________________________________________________________________________

  Server: cvs.openpkg.org                  Name:   Ralf S. Engelschall
  Root:   /v/openpkg/cvs                   Email:  [EMAIL PROTECTED]
  Module: openpkg-web                      Date:   17-Feb-2006 23:52:31
  Branch: HEAD                             Handle: 2006021722523000

  Modified files:
    openpkg-web/security    OpenPKG-SA-0000.000-template.txt template.pl

  Log:
    adjust templates for 2006

  Summary:
    Revision    Changes     Path
    1.30        +1  -4      
openpkg-web/security/OpenPKG-SA-0000.000-template.txt
    1.8         +2  -2      openpkg-web/security/template.pl
  ____________________________________________________________________________

  patch -p0 <<'@@ .'
  Index: openpkg-web/security/OpenPKG-SA-0000.000-template.txt
  ============================================================================
  $ cvs diff -u -r1.29 -r1.30 OpenPKG-SA-0000.000-template.txt
  --- openpkg-web/security/OpenPKG-SA-0000.000-template.txt     3 Dec 2005 
12:35:41 -0000       1.29
  +++ openpkg-web/security/OpenPKG-SA-0000.000-template.txt     17 Feb 2006 
22:52:30 -0000      1.30
  @@ -1,12 +1,9 @@
  -#FIXME, this is a template
  -#FIXME, the first three lines are just dummies
  -#FIXME, to help comparing this against sibling signed documents
   ________________________________________________________________________
   
   OpenPKG Security Advisory                            The OpenPKG Project
   http://www.openpkg.org/security.html              http://www.openpkg.org
   [EMAIL PROTECTED]                         [EMAIL PROTECTED]
  -OpenPKG-SA-2005.001                                          01-Jan-2005
  +OpenPKG-SA-2006.001                                          01-Jan-2006
   ________________________________________________________________________
   
   Package:             foo
  @@ .
  patch -p0 <<'@@ .'
  Index: openpkg-web/security/template.pl
  ============================================================================
  $ cvs diff -u -r1.7 -r1.8 template.pl
  --- openpkg-web/security/template.pl  3 Dec 2005 11:50:05 -0000       1.7
  +++ openpkg-web/security/template.pl  17 Feb 2006 22:52:30 -0000      1.8
  @@ -42,10 +42,10 @@
   
   #   substitute SA template text
   $txt =~ s/#FIXME[^\n]+\n//sg;
  -$txt =~ s/OpenPKG-SA-2005.001/OpenPKG-SA-$idnum/s;
  +$txt =~ s/OpenPKG-SA-2006.001/OpenPKG-SA-$idnum/s;
   my $date = `date '+%d-%b-%Y'`;
   $date =~ s/\n$//s;
  -$txt =~ s/01-Jan-2005/$date/s;
  +$txt =~ s/01-Jan-2006/$date/s;
   $txt =~ s|http://www.foo.org/|$cfg->{"URL"}|s;
   $txt =~ s|http://www.example.com/bugfinder.html|$cfg->{"Advisory"} || 
"?????"|se;
   $txt =~ s/foo-1\.2\.4-20050123/$cfg->{"OpenPKG-CUR"}->[0]/sg;
  @@ .
______________________________________________________________________
The OpenPKG Project                                    www.openpkg.org
CVS Repository Commit List                     [email protected]

Reply via email to