pkgtools/pkglint - The NetBSD Packages Collection

Verifier for NetBSD packages

pkglint checks for typical mistakes and inconsistencies in the source
files of a pkgsrc package.  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

This is the actively maintained version of pkglint.  Because it is
written in Go, it does not run on all pkgsrc platforms; see also

Build dependencies

lang/go121 pkgtools/mktools pkgtools/cwrappers

Runtime dependencies


Binary packages

NetBSD 10.0aarch64pkglint-23.2.5.tgz
NetBSD 10.0aarch64pkglint-23.1.12.tgz
NetBSD 10.0aarch64pkglint-23.2.4nb2.tgz
NetBSD 10.0earmv7hfpkglint-23.2.5.tgz
NetBSD 10.0earmv7hfpkglint-23.1.12.tgz
NetBSD 10.0earmv7hfpkglint-23.2.4nb2.tgz
NetBSD 10.0i386pkglint-23.2.5.tgz
NetBSD 10.0i386pkglint-23.2.4nb2.tgz
NetBSD 10.0x86_64pkglint-23.2.5.tgz
NetBSD 10.0_BETAx86_64pkglint-23.2.4nb1.tgz
NetBSD 8.0i386pkglint-23.1.12.tgz
NetBSD 8.0i386pkglint-23.2.5.tgz
NetBSD 8.0x86_64pkglint-23.2.4nb2.tgz
NetBSD 8.0x86_64pkglint-23.1.12.tgz
NetBSD 8.0x86_64pkglint-23.2.5.tgz
NetBSD 9.0aarch64pkglint-23.2.5.tgz
NetBSD 9.0aarch64pkglint-23.1.12.tgz
NetBSD 9.0aarch64pkglint-23.2.4nb2.tgz
NetBSD 9.0earmv7hfpkglint-23.2.5.tgz
NetBSD 9.0earmv7hfpkglint-23.1.12.tgz
NetBSD 9.0earmv7hfpkglint-23.2.4nb2.tgz
NetBSD 9.0i386pkglint-23.2.4nb2.tgz
NetBSD 9.0i386pkglint-23.2.5.tgz
NetBSD 9.0x86_64pkglint-23.2.5.tgz
NetBSD 9.0x86_64pkglint-23.2.4.tgz
NetBSD 9.0x86_64pkglint-23.2.4nb1.tgz
NetBSD 9.0x86_64pkglint-23.2.4nb2.tgz
NetBSD 9.3x86_64pkglint-23.2.0nb1.tgz
NetBSD 9.3x86_64pkglint-23.2.5.tgz

Binary packages can be installed with the high-level tool pkgin (which can be installed with pkg_add) or pkg_add(1) (installed by default). The NetBSD packages collection is also designed to permit easy installation from source.

Available build options


Known vulnerabilities

The pkg_admin audit command locates any installed package which has been mentioned in security advisories as having vulnerabilities.

Please note the vulnerabilities database might not be fully accurate, and not every bug is exploitable with every configuration.

Problem reports, updates or suggestions for this package should be reported with send-pr.