diff options
author | wiz <wiz@pkgsrc.org> | 2000-01-06 01:34:21 +0000 |
---|---|---|
committer | wiz <wiz@pkgsrc.org> | 2000-01-06 01:34:21 +0000 |
commit | 5b6873edc6ef6ba652b88145f47339babd9cfe2b (patch) | |
tree | 35a4b2c1073fe40019e4844ecada59d2879b78f1 /pkgtools/pkglint | |
parent | 134b7295d91534ef09f7a9a52bb54cbf1ae89f69 (diff) | |
download | pkgsrc-5b6873edc6ef6ba652b88145f47339babd9cfe2b.tar.gz |
added warning that @owner, @group and @mode in PLIST are deprecated;
bumped version number
Diffstat (limited to 'pkgtools/pkglint')
-rw-r--r-- | pkgtools/pkglint/Makefile | 4 | ||||
-rw-r--r-- | pkgtools/pkglint/files/pkglint.pl | 7 |
2 files changed, 8 insertions, 3 deletions
diff --git a/pkgtools/pkglint/Makefile b/pkgtools/pkglint/Makefile index b42b621734f..128b01396dc 100644 --- a/pkgtools/pkglint/Makefile +++ b/pkgtools/pkglint/Makefile @@ -1,7 +1,7 @@ -# $NetBSD: Makefile,v 1.35 2000/01/05 21:13:00 wiz Exp $ +# $NetBSD: Makefile,v 1.36 2000/01/06 01:34:21 wiz Exp $ # -DISTNAME= pkglint-1.94 +DISTNAME= pkglint-1.95 CATEGORIES= pkgtools devel MASTER_SITES= # empty DISTFILES= # empty diff --git a/pkgtools/pkglint/files/pkglint.pl b/pkgtools/pkglint/files/pkglint.pl index 1e2fc5a706c..9b79a12bec8 100644 --- a/pkgtools/pkglint/files/pkglint.pl +++ b/pkgtools/pkglint/files/pkglint.pl @@ -12,7 +12,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.23 2000/01/05 21:13:01 wiz Exp $ +# $NetBSD: pkglint.pl,v 1.24 2000/01/06 01:34:22 wiz Exp $ # # This version contains some changes necessary for NetBSD packages # done by Hubert Feyrer <hubertf@netbsd.org> and @@ -387,6 +387,11 @@ sub checkplist { $rcsidseen++ if (/\$$rcsidstr[:\$]/); } elsif ($_ =~ /^\@(dirrm|option)/) { ; # no check made + } elsif ($_ =~ /^\@(mode|owner|group)/) { + &perror("WARN: \"\@mode/owner/group\" are ". + "deprecated, please use chmod/". + "chown/chgrp in the pkg Makefile ". + "and let tar do the rest."); } else { &perror("WARN: $file $.: ". "unknown PLIST directive \"$_\""); |