summaryrefslogtreecommitdiff
path: root/pkgtools
diff options
context:
space:
mode:
authormspo <mspo@pkgsrc.org>2013-02-09 18:51:56 +0000
committermspo <mspo@pkgsrc.org>2013-02-09 18:51:56 +0000
commit174b475f3a86d7c51223f78c004d45a9c0d1f4d1 (patch)
tree21fdb60e5efe139942309ef3b0c8a8f53768b756 /pkgtools
parentda4d129ca00d9ae1f290d0de068175799cc47f22 (diff)
downloadpkgsrc-174b475f3a86d7c51223f78c004d45a9c0d1f4d1.tar.gz
this should address 47516
Diffstat (limited to 'pkgtools')
-rwxr-xr-xpkgtools/lintpkgsrc/files/lintpkgsrc.pl19
1 files changed, 4 insertions, 15 deletions
diff --git a/pkgtools/lintpkgsrc/files/lintpkgsrc.pl b/pkgtools/lintpkgsrc/files/lintpkgsrc.pl
index 29928926c10..88625cfe12d 100755
--- a/pkgtools/lintpkgsrc/files/lintpkgsrc.pl
+++ b/pkgtools/lintpkgsrc/files/lintpkgsrc.pl
@@ -1,6 +1,6 @@
#! @PERL@
-# $NetBSD: lintpkgsrc.pl,v 1.2 2012/09/09 15:47:35 mspo Exp $
+# $NetBSD: lintpkgsrc.pl,v 1.3 2013/02/09 18:51:56 mspo Exp $
# Written by David Brownlee <abs@netbsd.org>.
#
@@ -1508,20 +1508,6 @@ sub scan_pkgsrc_distfiles_vs_distinfo($$$$) {
sum => 'IGNORE'
};
-# bad for memory
-# foreach my $file ( listdir( "$pkgdistdir", undef ) ) {
-# my ($dist);
-#
-# if ( !defined( $dist = $distfiles{$file} ) ) {
-# $bad_distfiles{$file} = 1;
-#
-# }
-# else {
-# if ( $dist->{sum} ne 'IGNORE' ) {
-# push( @{ $sumfiles{ $dist->{sumtype} } }, $file );
-# }
-# }
-# }
# check each file in $pkgdistdir
find ( { wanted => sub {
my ($dist);
@@ -1529,6 +1515,9 @@ sub scan_pkgsrc_distfiles_vs_distinfo($$$$) {
{
my $distn = $File::Find::name;
$distn =~ s/$pkgdistdir\/?//g;
+ #pkg/47516 ignore cvs dirs
+ return if $distn =~ m/^\.cvsignore/;
+ return if $distn =~ m/^CVS\//;
if ( !defined ($dist = $distfiles{$distn} ) ) {
$bad_distfiles{$distn} = 1;
}