Age | Commit message (Collapse) | Author | Files | Lines |
|
GNU_CONFIGURE.
Also add a note: This breaks for those who set their own LOCALBASE
to /usr and also define PKGMANDIR to different than share/man.
|
|
Improved heuristics for packages that use some common Makefiles,
reducing the number of false diagnostics in -Wvague mode. Moved checks
for SVR4_PKGNAME out of -Wvague mode. Added check for misspelled
NO_{SRC,BIN}_ON_{FTP,CDROM}.
|
|
Warn if option names contain underscore characters (suggested by dillo).
NO_TOOLS and NO_WRAPPER are deprecated, as they are not used anymore.
|
|
Unbreak url2pkg on sourceforge hosted packages -- the MASTER_SITES
did not contain the trailing slash, thus breaking the download.
XXX: prdownloads.sf.net is not recognized as a sourceforge "mirror"
since the previous version of url2pkg.
|
|
- Package names can have dashes in them, so use a correct regexp to extract
the package name from a dependency specification.
|
|
- Sync SETS_X11's default value with recent NetBSD versions: xcontrib.tgz
and xmisc.tgz disappeared while xetc.tgz was added, starting in NetBSD 2.0.
|
|
- Raise an appropriate warning if pkg_admin pmatch fails due to an incorrect
pattern (e.g., cairo>=0.5.2-head is unrecognized).
|
|
parser interprets this as the division operator '/=', so escape the =.
|
|
|
|
verifypc is a tool that sanity checks the dependencies of a package based on
the results of a successful build, assuming the package uses pkg-config to
detect dependencies.
verifypc will warn you if the configuration script requests an uninstalled
or unavailable package (not specified as a direct dependency) or if the
requested package does not match the version specification in the packages'
dependencies.
|
|
|
|
|
|
NO_BUILD, USE_LIBTOOL.
|
|
|
|
NO_BUILD, USE_LIBTOOL.
|
|
The use of "# defined" as variable value in Makefiles is deprecated. It
has too weak semantics, compared to "# none", "# empty" or "yes".
|
|
|
|
|
|
BUILD_USES_MSGFMT should always be set to YES/yes or left undefined. When
checking for direct use of tools, respect shell commands.
|
|
|
|
|
|
|
|
Added the -R command line option to allow more RCS Id tags than $NetBSD$
to appear in line 1 of almost every file. Suggested by dillo.
|
|
A distfile that only has an SHA1 checksum, but not an RMD160 one, is
considered an error. While at it, made the distinfo file check a little
stricter.
|
|
Insist that PKGREVISION should be an integer or be undefined at all.
|
|
+ Implement defining tag groups in pkgchk.conf. For example
"mailserver = tll gta tycoon jeeves iris"
+ If the first tag on a line starts with a '-', there is now an
implicit '*' before it
+ -B no longer implies -i
|
|
The last change introduced some false positive diagnostics. If a
distinfo file contains the checksum for a patch that does not exist,
this is not considered to be an error, but only a warning, as the
additional checksums do not influence the package.
|
|
Fixed false positive errors for PHP packages.
|
|
Changed the file name pattern for patch files to avoid false positives
for DISTFILES that start with "patch-" (requested by salo). Added a
warning for invalid patch file names.
|
|
are therefore enabled by default. Requested by wiz.
Set the version to 4.21.1.
|
|
|
|
Accept relative paths for -C and -P - fixes PR/31277 from Tero Kivinen
|
|
|
|
|
|
|
|
Changes since 4.20 include:
- In the diagnostics, FATAL is replaced with ERROR.
- The command line option -g changes the format of the diagnostics to be
similar to the one of gcc.
- Removed false warnings when checking if PLISTS are ordered.
- Removed the check for contiguous blank lines.
- Added a check to PLISTs that man pages are not installed in share/man.
- pkglint -r allows to recursively check directories.
- The pkgsrc root directory can be checked.
- Removed false warnings for patches that contain "---" lines.
- Switched to checking logical lines instead of physical lines.
Diagnostics for logical lines contain the range of physical lines
instead of a single line number.
- Some ../.. path components are stripped from the diagnostics.
- When checking for the direct use of tool names, only the context of the
use, not the whole shell command is output.
- Patches that contain RCS Ids should not have the -ko CVS mode anymore.
- Variables that are modified using the "+=" operator are considered to be
lists, so they should have a name indicating a plural.
|
|
Makefiles. I had intended not to read files whose name contains $
characters, but had not written exactly that in the code.
Fixes PR 31213.
|
|
correctly. With the -r option, the order of directories is now
depth-first.
|
|
mostly lists of something, their name should be a plural form. There are
many exceptions to this rule, mostly because of backwards compatibility.
|
|
|
|
anymore, since assignments are checked on logical lines instead of
physical lines.
|
|
lines. Print line ranges instead of the starting line in diagnostics.
|
|
Patch by pancake <pancake@phreaker.net> that permits url2pkg to scan
bsd.sites.mk and recreate the MASTER_SITE string. He has tested a bit
against GNU, GNOME, SOURCEFORGE master sites, and seems to do the things
fine.
|
|
|
|
|
|
RCS tag. Suggested by hubertf.
|
|
|
|
|
|
ask the user to remove the offending line from the patch.
|
|
neighborhood of the tool name is printed when checking for direct use of
tools.
|