./pkgtools/pkglint4, Verifier for NetBSD packages (old version, for all platforms)

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


Branch: CURRENT, Version: 4.193.2nb1, Package name: pkglint4-4.193.2nb1, Maintainer: rillig

pkglint is for pkgsrc packages what lint(1) is for C files. It checks
for various things that the used languages cannot detect, for example
application-specific restrictions on certain variables.

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 old version of pkglint. It remains because the current
version is written in go and thus does not run on all pkgsrc
platforms.


Required to run:
[lang/perl5] [pkgtools/p5-pkgsrc-Dewey] [security/p5-Digest-SHA1] [devel/p5-enum]

Required to build:
[pkgtools/cwrappers]

Version history: (Expand)


CVS history: (Expand)


   2020-08-31 20:13:29 by Thomas Klausner | Files touched by this commit (3631) | Package updated
Log message:
*: bump PKGREVISION for perl-5.32.
   2020-01-19 00:36:14 by Roland Illig | Files touched by this commit (3046)
Log message:
all: migrate several HOMEPAGEs to https

pkglint --only "https instead of http" -r -F

With manual adjustments afterwards since pkglint 19.4.4 fixed a few
indentations in unrelated lines.

This mainly affects projects hosted at SourceForce, as well as
freedesktop.org, CTAN and GNU.
   2019-11-18 09:06:59 by Roland Illig | Files touched by this commit (3) | Package updated
Log message:
pkgtools/pkglint4: update to 4.193.2

Changes since 4.193.1:

Disabled unreliable check about possible typos in variable names. For
example, in pkgtools/url2pkg the variable TEST_DEPENDS was flagged even
though it is well-known.

Disabled unreliable check about unknown shell commands. For example, in
pkgtools/pkglint4 all commands from ${PREFIX} are ok, but were still
flagged.
   2019-11-17 03:54:10 by Roland Illig | Files touched by this commit (2) | Package updated
Log message:
pkgtools/pkglint4: update to 4.193.1

Changes since 4.193.0:

Don't mark BUILDLINK_TRANSFORM.${OPSYS} as deprecated.
   2019-10-06 13:45:05 by Roland Illig | Files touched by this commit (7)
Log message:
pkgtools/pkglint4: remove more unreliable or outdated checks

CFLAGS and LDFLAGS had been checked for GCC-style flags only. This didn't
make sense since wrong flags would be detected on the exotic platforms
anyway.

The experimental --autofix has been removed.

The check for "# used by" comments in Makefile.common has been removed.
Especially the --autofix could damage files.

The warnings for ICON_THEMES have been removed since they appear in
groups of thousands, and the old pkglint cannot issue warnings "once per
file" simply.
   2019-10-06 13:06:42 by Roland Illig | Files touched by this commit (3)
Log message:
pkgtools/pkglint4: remove some unreliable checks

The warnings about variable permissions were not understandable enough to
be acted upon. The new pkglint does this better.

The languages that are allowed in USE_LANGUAGES are defined differently
in the pkgsrc infrastructure, thus the old parsing code does not work
anymore. Therefore all identifiers are allowed now.

Dependency patterns like 'package>=1.0<2.0' are no longer marked as
wrong.

The debatable warning about plural names is gone.

The order of variables in simple Makefiles is no longer checked. Some new
variables have been added in the meantime, and keeping the consistent
order is not of utmost importance to those pkgsrc developers who work
with pkglint4. They are experienced enough to know the rules.

Missing manual pages are no longer marked in the PLIST files. It's not
the job of pkgsrc to provide these files.

The warning about unnoticed errors in pipelines like 'find | xargs' has
been removed because the shell parser is unreliable. This is solved
better in the new pkglint.
   2019-10-06 12:46:18 by Roland Illig | Files touched by this commit (1)
Log message:
pkgtools/pkglint4: remove broken version check

The version number '4.193.0' had always been compared to the string
'pkglint4-4.193.0', which when interpreted as a version number, was:
(16, 11, 7, 12, 9, 14, 20, 4, 0, 193, 0, 0). This was always greater than
the (4, 0, 193, 0, 0).
   2019-10-06 12:33:34 by Roland Illig | Files touched by this commit (19) | Package removed
Log message:
pkgtools/pkglint4: update to 4.193.0, remove check for absolute paths

The check for absolute paths is not necessary since it doesn't provide
any benefit. It had been removed from pkgtools/pkglint already.