summaryrefslogtreecommitdiff
path: root/pkgtools
diff options
context:
space:
mode:
authorrillig <rillig@pkgsrc.org>2016-09-17 23:58:04 +0000
committerrillig <rillig@pkgsrc.org>2016-09-17 23:58:04 +0000
commit37596d30d5f4014d04c153b9bff6c4d03dd554a8 (patch)
tree5e811179a954c044e357aed8379138d1030a4292 /pkgtools
parent6c659dd4bef28880eeac62d35edaae4265e1c65e (diff)
downloadpkgsrc-37596d30d5f4014d04c153b9bff6c4d03dd554a8.tar.gz
Updated pkglint to 5.4.9.
Changes since 5.4.8: * Disallow lib/charset.alias in PLIST. This file may only be installed by converters/libiconv. (That package is currently broken, since it only touches that file when installing from source, not from a binary package. But pkglint is prepared for it to be fixed.)
Diffstat (limited to 'pkgtools')
-rw-r--r--pkgtools/pkglint/Makefile5
-rw-r--r--pkgtools/pkglint/files/plist.go4
2 files changed, 6 insertions, 3 deletions
diff --git a/pkgtools/pkglint/Makefile b/pkgtools/pkglint/Makefile
index f5274e04ab9..fe90fd9939c 100644
--- a/pkgtools/pkglint/Makefile
+++ b/pkgtools/pkglint/Makefile
@@ -1,7 +1,6 @@
-# $NetBSD: Makefile,v 1.495 2016/09/10 19:47:20 bsiegert Exp $
+# $NetBSD: Makefile,v 1.496 2016/09/17 23:58:04 rillig Exp $
-PKGNAME= pkglint-5.4.8
-PKGREVISION= 1
+PKGNAME= pkglint-5.4.9
DISTFILES= # none
CATEGORIES= pkgtools
diff --git a/pkgtools/pkglint/files/plist.go b/pkgtools/pkglint/files/plist.go
index f667181016b..c5222218f9c 100644
--- a/pkgtools/pkglint/files/plist.go
+++ b/pkgtools/pkglint/files/plist.go
@@ -246,6 +246,10 @@ func (ck *PlistChecker) checkpathLib(pline *PlistLine, dirname, basename string)
case G.Pkg != nil && G.Pkg.EffectivePkgbase != "" && hasPrefix(pline.text, "lib/"+G.Pkg.EffectivePkgbase+"/"):
return
+ case pline.text == "lib/charset.alias" && (G.Pkg == nil || G.Pkg.Pkgpath != "converters/libiconv"):
+ pline.line.Error0("Only the libiconv package may install lib/charset.alias.")
+ return
+
case hasPrefix(pline.text, "lib/locale/"):
pline.line.Error0("\"lib/locale\" must not be listed. Use ${PKGLOCALEDIR}/locale and set USE_PKGLOCALEDIR instead.")
return