pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/pkgtools/pkglint



Module Name:    pkgsrc
Committed By:   rillig
Date:           Sat Sep 17 23:58:04 UTC 2016

Modified Files:
        pkgsrc/pkgtools/pkglint: Makefile
        pkgsrc/pkgtools/pkglint/files: plist.go

Log Message:
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.)


To generate a diff of this commit:
cvs rdiff -u -r1.495 -r1.496 pkgsrc/pkgtools/pkglint/Makefile
cvs rdiff -u -r1.7 -r1.8 pkgsrc/pkgtools/pkglint/files/plist.go

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/pkgtools/pkglint/Makefile
diff -u pkgsrc/pkgtools/pkglint/Makefile:1.495 pkgsrc/pkgtools/pkglint/Makefile:1.496
--- pkgsrc/pkgtools/pkglint/Makefile:1.495      Sat Sep 10 19:47:20 2016
+++ pkgsrc/pkgtools/pkglint/Makefile    Sat Sep 17 23:58:04 2016
@@ -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
 

Index: pkgsrc/pkgtools/pkglint/files/plist.go
diff -u pkgsrc/pkgtools/pkglint/files/plist.go:1.7 pkgsrc/pkgtools/pkglint/files/plist.go:1.8
--- pkgsrc/pkgtools/pkglint/files/plist.go:1.7  Sat Jul  9 13:16:43 2016
+++ pkgsrc/pkgtools/pkglint/files/plist.go      Sat Sep 17 23:58:04 2016
@@ -246,6 +246,10 @@ func (ck *PlistChecker) checkpathLib(pli
        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