summaryrefslogtreecommitdiff
path: root/pkgtools
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2000-01-06 01:34:21 +0000
committerwiz <wiz@pkgsrc.org>2000-01-06 01:34:21 +0000
commit5b6873edc6ef6ba652b88145f47339babd9cfe2b (patch)
tree35a4b2c1073fe40019e4844ecada59d2879b78f1 /pkgtools
parent134b7295d91534ef09f7a9a52bb54cbf1ae89f69 (diff)
downloadpkgsrc-5b6873edc6ef6ba652b88145f47339babd9cfe2b.tar.gz
added warning that @owner, @group and @mode in PLIST are deprecated;
bumped version number
Diffstat (limited to 'pkgtools')
-rw-r--r--pkgtools/pkglint/Makefile4
-rw-r--r--pkgtools/pkglint/files/pkglint.pl7
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 \"$_\"");