summaryrefslogtreecommitdiff
path: root/pkgtools/pkglint
AgeCommit message (Collapse)AuthorFilesLines
2004-01-20Move WRKSRC definition away from the first paragraph in a Makefile.agc2-6/+6
2004-01-14\r -> \n in two messages.wiz1-3/+3
2004-01-13Fix typo (add missing word).jmmv1-2/+2
2004-01-10Fix for pkgviews. From Min Sik Kim in PR 24042.wiz4-7/+8
2004-01-05bl3ifyjlam1-2/+7
2003-12-24Update to 3.66: warn if MAINTAINER contains @netbsd.org instead of @NetBSD.org.jmmv2-4/+6
2003-10-11Teach lintpkgsrc how to handle empty() conditionals.wiz2-4/+6
Closes second part of PR 23126. Welcome to 3.65!.
2003-10-06fix handling of DISTDIR. patch from Sebastian Prause on tech-pkg.grant2-4/+5
bump to 3.64.
2003-10-01Update pkglint to 3.63:abs2-4/+9
perl 5.6.1 realpath() cannot handle files, only directories. Handle this case, with the only downside that if the last component in an include path is a symlink the 'performance boost' duplicate check may not work. Reported by Todd Vierling
2003-09-30Update pkglint to 3.62:abs2-17/+14
lintpkgsrc - handle the buildlink include fest: - Using realpath() to fix exclude of duplicate includes speeds up 'lintpkgsrc -rp' on a PIII-500 from 40 minutes to 3 - Excluding buildlink[^/]*.mk files unless -d is specified further speeds up to just under 1 minute
2003-09-21Make lintpkgsrc handle .includes correctly. Welcome to 3.61.wiz2-5/+23
2003-09-07Sync internal name of dummy package containing pkg-vulnerabilitieswiz1-2/+2
to "pkg-vulnerabilities" for consistency. Noted by Sebastian Prause on tech-pkg. No functional change, so no version bump.
2003-09-06Update to 3.60: adapt for vulnerability file name change.wiz2-5/+5
2003-08-28Update pkglint to 3.59 - handle bsd.pkg.mk's assumption that the caller is inabs2-6/+9
pkgsrc/some/dir
2003-08-02Add a space in an error message.wiz1-2/+2
2003-07-31Update to version 3.58.seb2-46/+13
Teach pkglint about new rules related to info files handling. - remove old checks of PLIST related to install-info. - emit a FATAL error for "@exec install-info" and similar in PLIST. - emit a FATAL error for inclusion of texinfo.mk.
2003-07-24Check if HOMEPAGE URL has a trailing slash if it only consists of a hostname.wiz2-5/+13
From Ben Collver in PR 22215. Bump to 3.57.
2003-07-17s/netbsd.org/NetBSD.org/grant1-3/+3
2003-07-14Updated pkglint to 3.56:martti2-3/+6
- COMMENTs should start with a capital letter.
2003-06-15Update pkglint to 3.55:abs2-5/+10
- In lintpkgsrc check for invalid PKGREVISION, and handle PKGREVISION=0
2003-05-28Use .Aq instead of <>.wiz1-3/+5
2003-05-27Remove "country code" check -- a remnant from FreeBSD times. Update to 3.54.wiz2-7/+3
2003-04-30Add some code to the "stored database" to deal with counting packagesatatat2-8/+29
that have multiple versions (eg, apache or emacs), so that the number of packages loaded when generating the database will match the number loaded from the database afterwards. Curiously, reorganizing the code a little makes the stored database about 20-25% smaller. Old stored databases are still completely supported. Jump to version 3.53.
2003-04-223.52: Fix last in case the file exists (doh).wiz2-10/+10
2003-04-223.51: Yell if .included files do not exist.wiz2-5/+10
2003-04-19Update pkglint to 3.50. This version does a (slightly) better job atrh2-3/+8
Makefile variable parsing and lets "VARNAME=" override "VARNAME?=" definitions. This should also fix the current bogus warnings about distinfo in the weekly pkgsrc output.
2003-03-29Update to 3.49: make sure WRKSRC is properly placed in the second section,jmmv2-5/+5
the one starting by DISTNAME (if present). Ok'ed by wiz.
2003-03-28Update to 3.48: Avoid including the same buildlink2 files overwiz2-3/+31
and over and over and over again. Among others, this makes pkglint work again for x11/gnomepanel.
2003-03-27Fill in default values for DESTDIR (empty), LOCALBASE ("/usr/pkg"),atatat2-10/+32
and X11BASE ("/usr/X11R6"), which, while they might not be right for *every* system, are certainly more right than UNDEFINED. Give lang/python/pyversion.mk a little help by stuffing the material from PYTHON_VERSIONS_ACCEPTED into the two places it expects it (since lintpkgsrc doesn't do .for loops), add support for the ${FOO:S/foo/&/} construction, and tweak the .if handling for && and || bits. This has the following effect on the -g output (as a simple measure): % grep -c UNDEFINED before after before:58 after:1 Jump to 3.47.
2003-02-01Remove old ftp site from comment (noted by Tilman Linneweh).wiz1-4/+3
Correct itojun's name (s/Itoh/Hagino/).
2003-01-28Update pkglint to 3.46abs2-4/+15
Check MAKE_ENV and similar variables which contain ${ use :Q or are quoted
2003-01-27Add a simple "extract" step so that local patches can be maintainedatatat1-4/+9
easily. This only affects the build process, so PKGREVISION is not bumped.
2003-01-24Update to 3.45:wiz2-12/+15
Accept commented out SUBDIRS in category Makefiles, if a comment with a reason is given.
2003-01-24Add -E and -I to lintpkgsrc for the "exporting" and "importing" of aatatat3-8/+105
"database" that lintpkgsrc can use in lieu of scanning all the pkgsrc Makefiles. This has several nice effects, chiefly: (1) Using any of -B, -O, -R, -S, -V, -d, -g, -i, -p, or -u, are now *much* faster since reading the "database" takes at most 3 seconds on my laptop, whereas reading all the Makefiles takes at least 3 minutes. (2) One can now check for out-of-date packages on machines which do not have an expanded pkgsrc tree simply by copying the "database" over. Note that the database will inherently have some dependencies on the environment of machine where it is generated (eg, mk.conf settings, architecture type, etc). Reviewed by the wiz.
2003-01-15Update pkglint to 3.43. Check for hard coded share/locale and lib/localerh2-3/+15
within PLIST.
2003-01-11Update pkglint to 3.42:rh2-3/+18
* Add a PKGLOCALEDIR check to pkglint: warn if PKGLOCALEDIR is in PLIST, USE_BUILDLINK2 is set, and USE_PKGLOCALEDIR is not set.
2003-01-02Update to 3.41:schmonz4-18/+23
- replace occurrences of "make" with @MAKE@ - add @MAKE@ to the list of variables to get sod (I never learned properly how to conjugate "sed") - warn about NO_PATCH, since it hinders more than it helps - remove NO_PATCH from Makefile to quell new pkglint warning
2003-01-02In the case that we really can't determine the PKGNAME properly, justatatat2-3/+11
punt and invoke "make show-vars VARNAMES=PKGNAME" and get make to tell us. This addresses the issue of: Cannot extract digest-UNDEFINED version (/usr/pkgsrc/pkgtools/digest/Makefile) Cannot extract pkg_install-UNDEFINED version (/usr/pkgsrc/pkgtools/pkg_install/Makefile) Unknown package: 'digest' version 20010807 Unknown package: 'pkg_install' version 20021123 Patch reviewed by the wiz.
2002-12-23s/buildlink/buildlink2/wiz1-2/+2
2002-12-103.39: note that IGNORE is deprecated in favor of PKG_{FAIL,SKIP}_REASON.schmonz2-3/+8
Nudged by wiz@, who sees all.
2002-12-10Update to 3.38: Complete handling of category/Makefile; now compareswiz2-4/+32
list of SUBDIRS against list of directories and complains about mismatches.
2002-11-23Any "digest" newer than 2001 is acceptable. This allows the "digest"schmonz1-2/+2
installed by bootstrap-pkgsrc to satisfy the dependency requirement.
2002-11-14Only avoid checking mk/bsd*, not all files from mk/. Bump to 3.37.wiz3-6/+6
2002-09-30Upgrade to 3.36. Fixes the problem with $pkg_installver beingatatat2-6/+6
"uninitialized" for some cases. Approved by the wiz.
2002-09-25Slight fix for 3.34, so that "cd /usr/pkgsrc; for i in */; do pkglint $i; done"wiz2-4/+4
works. Bump to 3.35.
2002-09-24Update to 3.34: Can now also be run in Category directories and checkswiz2-4/+45
correct sorting order of SUBDIR entries.
2002-09-24Since MESSAGE files come by many names, hardwire the line length,wiz2-6/+5
independent of the actual filename. Update to 3.33.
2002-09-22lintpkgsrc was tweaked, so bump the versionatatat1-2/+2
2002-09-22If the installed version of pkg_install is newer than the one inatatat1-2/+5
pkgsrc, require the new version instead of the one from pkgsrc. This means there will be no more messages that look like Version mismatch: 'pkg_install' 20020827 vs 20020723 Change reviewed by the wiz. :)
2002-09-123.31: Check MESSAGE file format. Patch from sco at openface ca in pkg/18276.wiz2-4/+48