pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc update pkglint to 4.86 - necessary bu not sufficient t...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/7b5006062574
branches:  trunk
changeset: 542577:7b5006062574
user:      abs <abs%pkgsrc.org@localhost>
date:      Wed May 21 20:16:19 2008 +0000

description:
update pkglint to 4.86 - necessary bu not sufficient to handle OWNER in
Makefiles. As a first pass make MAINTAINER optional and add an optional
OWNER directly after it in the same section. This will pass valid
OWNER/MAINTAINER combinations but not reject some invalid ones.
Full fix (hopefully) coming soon...

diffstat:

 doc/CHANGES-2008                    |  3 ++-
 pkgtools/pkglint/Makefile           |  4 ++--
 pkgtools/pkglint/files/makevars.map |  3 ++-
 pkgtools/pkglint/files/pkglint.pl   |  5 +++--
 4 files changed, 9 insertions(+), 6 deletions(-)

diffs (65 lines):

diff -r 77c42771dce8 -r 7b5006062574 doc/CHANGES-2008
--- a/doc/CHANGES-2008  Wed May 21 19:53:59 2008 +0000
+++ b/doc/CHANGES-2008  Wed May 21 20:16:19 2008 +0000
@@ -1,4 +1,4 @@
-$NetBSD: CHANGES-2008,v 1.1115 2008/05/21 15:26:43 wiz Exp $
+$NetBSD: CHANGES-2008,v 1.1116 2008/05/21 20:17:14 abs Exp $
 
 Changes to the packages collection and infrastructure in 2008:
 
@@ -1885,3 +1885,4 @@
        Updated security/gsasl to 0.2.26 [obache 2008-05-21]
        Updated pkgtools/pkg_leaves to 1.1 [tnn 2008-05-21]
        Updated benchmarks/bonnie++ to 1.03c [wiz 2008-05-21]
+       Updated pkgtools/pkglint to 4.86 [abs 2008-05-21]
diff -r 77c42771dce8 -r 7b5006062574 pkgtools/pkglint/Makefile
--- a/pkgtools/pkglint/Makefile Wed May 21 19:53:59 2008 +0000
+++ b/pkgtools/pkglint/Makefile Wed May 21 20:16:19 2008 +0000
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.373 2008/03/06 08:54:12 rillig Exp $
+# $NetBSD: Makefile,v 1.374 2008/05/21 20:16:19 abs Exp $
 #
 
 # Please don't increase the version number if you are not rillig.
-DISTNAME=      pkglint-4.85
+DISTNAME=      pkglint-4.86
 CATEGORIES=    pkgtools
 MASTER_SITES=  # none
 DISTFILES=     # none
diff -r 77c42771dce8 -r 7b5006062574 pkgtools/pkglint/files/makevars.map
--- a/pkgtools/pkglint/files/makevars.map       Wed May 21 19:53:59 2008 +0000
+++ b/pkgtools/pkglint/files/makevars.map       Wed May 21 20:16:19 2008 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: makevars.map,v 1.181 2008/02/01 08:50:22 rillig Exp $
+# $NetBSD: makevars.map,v 1.182 2008/05/21 20:16:19 abs Exp $
 #
 
 # This file contains the guessed type of some variables, according to
@@ -482,6 +482,7 @@
 OS_VERSION             Version [$system]
 OVERRIDE_DIRDEPTH*     Integer [$package]
 OVERRIDE_GNU_CONFIG_SCRIPTS    Yes [$package]
+OWNER                  Mail_Address [m:s,c:d]
 OWN_DIRS               List of Pathname [$package_list]
 OWN_DIRS_PERMS         List of ShellWord [$package_list]
 PAMBASE                        Pathname [$system]
diff -r 77c42771dce8 -r 7b5006062574 pkgtools/pkglint/files/pkglint.pl
--- a/pkgtools/pkglint/files/pkglint.pl Wed May 21 19:53:59 2008 +0000
+++ b/pkgtools/pkglint/files/pkglint.pl Wed May 21 20:16:19 2008 +0000
@@ -1,5 +1,5 @@
 #! @PERL@
-# $NetBSD: pkglint.pl,v 1.768 2008/03/06 08:51:36 rillig Exp $
+# $NetBSD: pkglint.pl,v 1.769 2008/05/21 20:16:19 abs Exp $
 #
 
 # pkglint - static analyzer and checker for pkgsrc packages
@@ -6064,7 +6064,8 @@
                ],
                [ "Unsorted stuff, part 2", once,
                        [
-                               [ "MAINTAINER", once ],
+                               [ "MAINTAINER", optional ],
+                               [ "OWNER", optional ],
                                [ "HOMEPAGE", optional ],
                                [ "COMMENT", once ],
                        ]



Home | Main Index | Thread Index | Old Index