pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/pkgtools/pkglint Updated pkglint to 5.4.9.
details: https://anonhg.NetBSD.org/pkgsrc/rev/1196548d7aea
branches: trunk
changeset: 352646:1196548d7aea
user: rillig <rillig%pkgsrc.org@localhost>
date: Sat Sep 17 23:58:04 2016 +0000
description:
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:
pkgtools/pkglint/Makefile | 5 ++---
pkgtools/pkglint/files/plist.go | 4 ++++
2 files changed, 6 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r 577db0e7a32e -r 1196548d7aea pkgtools/pkglint/Makefile
--- a/pkgtools/pkglint/Makefile Sat Sep 17 23:46:37 2016 +0000
+++ b/pkgtools/pkglint/Makefile Sat Sep 17 23:58:04 2016 +0000
@@ -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 -r 577db0e7a32e -r 1196548d7aea pkgtools/pkglint/files/plist.go
--- a/pkgtools/pkglint/files/plist.go Sat Sep 17 23:46:37 2016 +0000
+++ b/pkgtools/pkglint/files/plist.go Sat Sep 17 23:58:04 2016 +0000
@@ -246,6 +246,10 @@
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
Home |
Main Index |
Thread Index |
Old Index