pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/pkgtools/pkglint/files - EXTRACT_SUFX is of type DistS...
details: https://anonhg.NetBSD.org/pkgsrc/rev/ac28bf8a2ab7
branches: trunk
changeset: 503122:ac28bf8a2ab7
user: rillig <rillig%pkgsrc.org@localhost>
date: Mon Nov 14 12:51:57 2005 +0000
description:
- EXTRACT_SUFX is of type DistSuffix.
diffstat:
pkgtools/pkglint/files/makevars.map | 3 ++-
pkgtools/pkglint/files/pkglint.pl | 7 ++++++-
2 files changed, 8 insertions(+), 2 deletions(-)
diffs (41 lines):
diff -r aa6056c3565b -r ac28bf8a2ab7 pkgtools/pkglint/files/makevars.map
--- a/pkgtools/pkglint/files/makevars.map Mon Nov 14 12:38:57 2005 +0000
+++ b/pkgtools/pkglint/files/makevars.map Mon Nov 14 12:51:57 2005 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: makevars.map,v 1.30 2005/11/10 12:04:11 rillig Exp $
+# $NetBSD: makevars.map,v 1.31 2005/11/14 12:51:57 rillig Exp $
#
# This file contains the guessed type of some variables, according to
@@ -79,6 +79,7 @@
EMACS_VERSIONS_ACCEPTED List* of { emacs21 emacs21nox emacs20 xemacs215 xemacs214 }
EXTRACT_ELEMENTS List* of Pathmask
EXTRACT_ONLY List* of Pathname
+EXTRACT_SUFX DistSuffix
EXTRACT_USING { gtar nbtar pax }
FAMBASE Readonly
FAM_ACCEPTED List* of { fam gamin }
diff -r aa6056c3565b -r ac28bf8a2ab7 pkgtools/pkglint/files/pkglint.pl
--- a/pkgtools/pkglint/files/pkglint.pl Mon Nov 14 12:38:57 2005 +0000
+++ b/pkgtools/pkglint/files/pkglint.pl Mon Nov 14 12:51:57 2005 +0000
@@ -11,7 +11,7 @@
# Freely redistributable. Absolutely no warranty.
#
# From Id: portlint.pl,v 1.64 1998/02/28 02:34:05 itojun Exp
-# $NetBSD: pkglint.pl,v 1.355 2005/11/14 12:32:58 rillig Exp $
+# $NetBSD: pkglint.pl,v 1.356 2005/11/14 12:51:57 rillig Exp $
#
# This version contains lots of changes necessary for NetBSD packages
# done by:
@@ -1575,6 +1575,11 @@
$line->log_warning("Unknown dependency format.");
}
+ } elsif ($type eq "DistSuffix") {
+ if ($value eq ".tar.gz") {
+ $line->log_note("\"${varname} is \".tar.gz\" by default, so this definition may be redundant.");
+ }
+
} elsif ($type eq "Filename") {
if ($value_novar !~ qr"^[-0-9A-Za-z._~+%]*$") {
$line->log_warning("\"${value}\" is not a valid filename.");
Home |
Main Index |
Thread Index |
Old Index