diff options
author | rillig <rillig@pkgsrc.org> | 2005-11-14 12:51:57 +0000 |
---|---|---|
committer | rillig <rillig@pkgsrc.org> | 2005-11-14 12:51:57 +0000 |
commit | 075b9b56deb9b24aa9ce3fa8e7395dabc48a88ef (patch) | |
tree | 990a41e17f3fe8cabb2a600829eda55a2c6315bb /pkgtools | |
parent | 522eee3d38a0db7ad44a21777f72dc4699a43e65 (diff) | |
download | pkgsrc-075b9b56deb9b24aa9ce3fa8e7395dabc48a88ef.tar.gz |
- EXTRACT_SUFX is of type DistSuffix.
Diffstat (limited to 'pkgtools')
-rw-r--r-- | pkgtools/pkglint/files/makevars.map | 3 | ||||
-rw-r--r-- | pkgtools/pkglint/files/pkglint.pl | 7 |
2 files changed, 8 insertions, 2 deletions
diff --git a/pkgtools/pkglint/files/makevars.map b/pkgtools/pkglint/files/makevars.map index b5f3ae3d961..3cb051094a2 100644 --- a/pkgtools/pkglint/files/makevars.map +++ b/pkgtools/pkglint/files/makevars.map @@ -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_USE_LEIM Yes 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 --git a/pkgtools/pkglint/files/pkglint.pl b/pkgtools/pkglint/files/pkglint.pl index 9a523fe060c..008dd9f428d 100644 --- a/pkgtools/pkglint/files/pkglint.pl +++ b/pkgtools/pkglint/files/pkglint.pl @@ -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 @@ sub checktext_basic_vartype($$$$$) { $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."); |