---
TS
http://southofheaven.org
Chaos is the beginning and end, try dealing with the rest.
On 10-Mar-04, at 2:05 PM, Daniel Macks wrote:
Update of /cvsroot/fink/fink/perlmod/Fink In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv29306
Modified Files: ChangeLog Validation.pm Log Message: Okay Murr, we check for CVS and RCS directories during .deb validation.
Index: ChangeLog =================================================================== RCS file: /cvsroot/fink/fink/perlmod/Fink/ChangeLog,v retrieving revision 1.569 retrieving revision 1.570 diff -u -d -r1.569 -r1.570 --- ChangeLog 7 Mar 2004 06:09:53 -0000 1.569 +++ ChangeLog 10 Mar 2004 21:05:51 -0000 1.570 @@ -1,3 +1,7 @@ +2004-03-10 Daniel Macks <[EMAIL PROTECTED]> + + * Validation.pm: Warn if CVS or RCS directories in a .deb + 2004-03-07 Daniel Macks <[EMAIL PROTECTED]>
* Service.pm: expand_percent: allow braces to explicitly delimit keys.
Index: Validation.pm
===================================================================
RCS file: /cvsroot/fink/fink/perlmod/Fink/Validation.pm,v
retrieving revision 1.106
retrieving revision 1.107
diff -u -d -r1.106 -r1.107
--- Validation.pm 2 Mar 2004 01:26:11 -0000 1.106
+++ Validation.pm 10 Mar 2004 21:05:51 -0000 1.107
@@ -677,7 +677,11 @@
#
sub validate_dpkg_file {
my $dpkg_filename = shift;
- my @bad_dirs = ("$basepath/src/", "$basepath/man/", "$basepath/info/", "$basepath/doc/", "$basepath/libexec/", "$basepath/lib/locale/");
+
+ # these are used in a regex and are automatically prepended with ^
+ # make sure to protect regex metachars!
+ my @bad_dirs = ("$basepath/src/", "$basepath/man/", "$basepath/info/", "$basepath/doc/", "$basepath/libexec/", "$basepath/lib/locale/", ".*/CVS/", ".*/RCS/");
+
my ($pid, $bad_dir);
my $filename;
my $looks_good = 1;
------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click _______________________________________________ Fink-commits mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/fink-commits
PGP.sig
Description: This is a digitally signed message part
