./pkgtools/pkglint, Verifier for NetBSD packages

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]


Branch: CURRENT, Version: 20.1.1, Package name: pkglint-20.1.1, Maintainer: rillig

pkglint checks whether a pkgsrc package conforms to the various
conventions established over the years. It produces warnings, errors and
notes and, upon request, explains them.

Before importing a new package or making changes to an existing package,
pkglint should be run in the package's directory to check for common
errors.

This is the current version of pkglint. Because it is written in go,
it does not run on all pkgsrc platforms; see also pkglint4.


Required to run:
[devel/go-check]

Required to build:
[pkgtools/cwrappers] [security/go-crypto] [devel/go-sys] [lang/go113]

Master sites:


Version history: (Expand)


CVS history: (Expand)


   2020-03-26 08:02:44 by Roland Illig | Files touched by this commit (12) | Package updated
Log message:
pkgtools/pkglint: update to 20.1.1

Changes since 20.1.0:

In UNLIMIT_RESOURCES, the recently added virtualsize is allowed.

Packages that have distfiles without any digit in their name should
define DIST_SUBDIR to avoid polluting the global namespace. The
top-level distfiles directory should only contain versioned filenames.
   2020-03-23 20:55:08 by Roland Illig | Files touched by this commit (3) | Package updated
Log message:
pkgtools/pkglint: update to 20.1.0

Changes since 19.4.13:

It is an error to have TODO lines in DESCR files. These are typically
generated by url2pkg and should be replaced with proper text before
committing the package.
   2020-03-22 18:43:15 by Roland Illig | Files touched by this commit (13) | Package updated
Log message:
pkgtools/pkglint: update to 19.4.13

Changes since 19.4.12:

Files that are mentioned redundantly in PLIST files generate an error.

Missing DESCR files generate an error.

Hard-coded /usr/pkg in patches generates an error.
   2020-03-21 17:57:21 by Benny Siegert | Files touched by this commit (170) | Package updated
Log message:
Revbump all Go packages after go113 update.
   2020-03-18 09:42:49 by Roland Illig | Files touched by this commit (2)
Log message:
pkgtools/pkglint: increase performance
   2020-03-18 09:24:49 by Roland Illig | Files touched by this commit (24) | Package updated
Log message:
pkgtools/pkglint: update to 19.4.12

Changes since 19.4.11:

Redundant additions to BUILDLINK_API_DEPENDS and BUILDLINK_ABI_DEPENDS
get warnings since they may have been needed in the past but the
dependent package has increased its required version numbers over time.
   2020-03-15 12:31:24 by Roland Illig | Files touched by this commit (16) | Package updated
Log message:
pkgtools/pkglint: update to 19.4.11

Changes since 19.4.10:

The use of PKG_OPTIONS and PKG_BUILD_OPTIONS in buildlink3.mk and other
files is checked for common mistakes.

Checking the indentation of a continuation line no longer crashes in edge
cases.
   2020-03-08 00:35:35 by Roland Illig | Files touched by this commit (22) | Package updated
Log message:
pkgtools/pkglint: update to 19.4.10

Changes since 19.4.9:

In continuation lines with long values, pkglint no longer suggests to
move the continuation backslash in the middle of the variable value, as
that would be impossible.

Warn when a shell command is assigned to a variable that only takes
pathnames. Shell commands can contain command line options, and these
are not pathnames.

The TOOLS_PLATFORM.tool variables are not defined on every platform.
When these variables are used outside an OPSYS check, a warning lists
the platforms where the tool is undefined or only defined conditionally.