pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/pkgtools/pkglint Update pkglint to 4.10:



details:   https://anonhg.NetBSD.org/pkgsrc/rev/c6d05cc5966f
branches:  trunk
changeset: 492063:c6d05cc5966f
user:      abs <abs%pkgsrc.org@localhost>
date:      Mon Apr 04 11:04:33 2005 +0000

description:
Update pkglint to 4.10:
        Fix variable usage when checking distinfo Size values, and more
        than one package references the same distinfo file with different
        sizes.

diffstat:

 pkgtools/pkglint/Makefile            |  4 ++--
 pkgtools/pkglint/files/lintpkgsrc.pl |  6 +++---
 2 files changed, 5 insertions(+), 5 deletions(-)

diffs (37 lines):

diff -r b310609d6033 -r c6d05cc5966f pkgtools/pkglint/Makefile
--- a/pkgtools/pkglint/Makefile Mon Apr 04 10:25:52 2005 +0000
+++ b/pkgtools/pkglint/Makefile Mon Apr 04 11:04:33 2005 +0000
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.225 2005/03/07 22:21:15 abs Exp $
+# $NetBSD: Makefile,v 1.226 2005/04/04 11:04:33 abs Exp $
 #
 
-DISTNAME=      pkglint-4.09
+DISTNAME=      pkglint-4.10
 CATEGORIES=    pkgtools devel
 MASTER_SITES=  # empty
 DISTFILES=     # empty
diff -r b310609d6033 -r c6d05cc5966f pkgtools/pkglint/files/lintpkgsrc.pl
--- a/pkgtools/pkglint/files/lintpkgsrc.pl      Mon Apr 04 10:25:52 2005 +0000
+++ b/pkgtools/pkglint/files/lintpkgsrc.pl      Mon Apr 04 11:04:33 2005 +0000
@@ -1,6 +1,6 @@
 #!@PERL@
 
-# $NetBSD: lintpkgsrc.pl,v 1.97 2005/03/07 22:21:15 abs Exp $
+# $NetBSD: lintpkgsrc.pl,v 1.98 2005/04/04 11:04:33 abs Exp $
 
 # Written by David Brownlee <abs%netbsd.org@localhost>.
 #
@@ -1337,10 +1337,10 @@
                {
                foreach my $file (@{$sumfiles{$sum}})
                    {
-                   if (! -f $file || -S $file != $distfiles{$_}{sum})
+                   if (! -f $file || -S $file != $distfiles{$file}{sum})
                        {
                        print $file, " (Size)\n";
-                       $bad_distfiles{$_} = 1;
+                       $bad_distfiles{$file} = 1;
                        }
                    }
                next;



Home | Main Index | Thread Index | Old Index