Commit graph

297 commits

Author SHA1 Message Date
rillig
6f71ee99dc Added a command line option to disable warnings on unsorted things like
PLISTs and SUBDIRs in category Makefiles. The default behavior is
unchanged. Updated the man pages. Bumped PKGREVISION.
2005-05-15 02:38:56 +00:00
rillig
be9e6c0d80 TODO: Check for C/C++ style comments in Makefiles. 2005-05-14 00:38:56 +00:00
wiz
d0a8978cf5 Fix typo. 2005-05-10 22:30:15 +00:00
rillig
c4074738e5 Changed default pkglint_flags to -q -Wno-workdir. Slightly modified the
output format.
2005-05-10 19:07:07 +00:00
rillig
1e5c808685 Added command line option -q|--quiet, which suppresses the
errors/warnings summary printed before terminating. Updated the manpage.
Updated the preformatted manpage, which was horribly outdated.
2005-05-10 19:04:53 +00:00
rillig
69e2e00c3d Added more deprecated variables from mk/defaults/obsolete.mk. 2005-05-10 00:12:18 +00:00
rillig
21c7278253 Don't include ../../mk/java*.mk when reading in the Makefile. This avoids
false positive warnings for the deprecated PKG_JVM variable.
2005-05-10 00:09:18 +00:00
rillig
526576882f The TOOLS phase is not needed for pkglint. 2005-05-10 00:07:53 +00:00
wiz
2392e577cd Refer doc/pkgsrc.html instead of Packages.txt (HOMEPAGE variable). 2005-05-07 22:24:04 +00:00
rillig
69bf1568b2 When detecting the pkgsrc root directory, don't rely on Packages.txt, as
that will be removed soon. Approved by wiz.
2005-05-07 22:21:23 +00:00
rillig
7f2465a3a5 Replaced the shell here-document operator with qw(...). No functional
changes. Approved by wiz.
2005-05-07 21:22:40 +00:00
rillig
0985068dda Swapped out the definition of deprecated variables to an external file.
Welcome to 4.13. Approved by wiz.
2005-05-07 15:10:24 +00:00
rillig
e490f7bac8 Don't use hard-coded /usr/pkgsrc, but @PKGSRCDIR@. Approved by wiz. 2005-05-07 00:04:33 +00:00
rillig
1976ccd594 Added --explain option. 2005-05-05 22:59:18 +00:00
rillig
e8827c4d28 Removed the -Wpatches command line option, because -Cpatches does the
same and fits better. Removed checking for the (deprecated) NO_WRKSUBDIR
Makefile variable. Approved by wiz.
2005-05-01 11:41:17 +00:00
rillig
b65911e7f3 Added TODO list for pkglint. 2005-04-30 11:50:42 +00:00
rillig
97e265c918 Read the definitions for MASTER_SITES_* from <mk/bsd.sites.mk> instead of
hard-coding them in the source code. Approved by wiz.
2005-04-29 22:22:09 +00:00
tv
8953ea028d Remove NO_BUILDLINK from makevars.map -- no-op now, but changed the package,
so number this 4.12.1.
2005-04-12 15:12:33 +00:00
rillig
191194483c Took over maintainership. Suggested and approved by wiz. 2005-04-12 01:07:44 +00:00
rillig
d4533a8e71 Globally replaced calls to the log_* functions by shorter variants. This
helps avoid typing errors. Approved by jlam.
2005-04-12 01:06:58 +00:00
tv
f816d81489 Remove USE_BUILDLINK3 and NO_BUILDLINK; these are no longer used. 2005-04-11 21:44:48 +00:00
tv
c85d0eb744 Remove USE_BUILDLINK3 support, and deprecate the name instead. 4.12. 2005-04-11 19:01:31 +00:00
riz
5d9b0df66a Update to 4.11:
Remove references to PLIST-mi, and substitute check for PLIST.common
instead.  Fixes pkg/29848 by me.  Approved by wiz.
2005-04-07 18:31:09 +00:00
abs
a697358a31 Update pkglint to 4.10:
Fix variable usage when checking distinfo Size values, and more
	than one package references the same distinfo file with different
	sizes.
2005-04-04 11:04:33 +00:00
wiz
d75cb5b66b Improve a warning; from Lex Wennmacher in PR 29796. 2005-03-28 02:16:55 +00:00
abs
f0b56b8383 update pkglint to 4.09:
Handle ! in .if conditionals, plus move slightly closer to the real
'make's behaviour when using defined() and empty(). Should fix pkg/28346
2005-03-07 22:21:15 +00:00
rillig
8d1bfd3b58 Minor wording changes. Fixed a bug. (The string "$line->text" does not call
the method text() on $line, so I had to get the method call out of the string
quotes. Approved by jlam.
2005-02-24 22:50:44 +00:00
wiz
ba6d630659 4.07: Use correct variable in workdir-cleanup warning. 2005-02-23 11:45:16 +00:00
wiz
f423e8ead4 Claim maintainership. 2005-02-21 23:16:34 +00:00
hubertf
9a981bcfbe Sign over maintainership to tech-pkg@ 2005-02-21 20:26:08 +00:00
rillig
7e439d29ee Included the location of the warning or error in the messages for
everything except Makefiles. (Makefiles which will follow soon.) This makes
most warnings more useful. Together with the last few changes, we are
now at version 4.06. Approved by wiz.
2005-02-17 23:31:07 +00:00
rillig
cee6b6068c Rewrote the readmakefile routine. Now pkglint runs faster, and the log
messages are formatted nicer. It produces more (reasonable) warnings,
but also some more false positives. Did not increase DISTNAME, as the
change is not yet big enough. Approved by wiz.
2005-02-16 07:12:37 +00:00
rillig
ee2cdf2792 Changed the message about sorting PLIST files from FATAL to WARNING.
Approved by wiz.
2005-02-16 00:21:17 +00:00
rillig
7b8bcfe094 pkgtools/pkglint: Added checks for proper quoting of shell variables
($ vs. $$). Welcome to 4.05. Approved by wiz.
2005-02-15 21:07:01 +00:00
cube
a64b7f6bd5 Make file(1) happy about plist-clash.pl. Fixes PR#29366 by Akio OBATA.
Welcome to version 4.04.
2005-02-14 22:14:48 +00:00
rillig
f6103d78ce Pkglint now checks that the file entries in PLIST files are correctly
sorted. Welcome to 4.03.
2005-02-12 21:34:47 +00:00
rillig
3d47b94c7f Added type checking for Makefile variables. The typechecking is
experimental and has been announced on tech-pkg to make the package
developers aware of it.
2005-02-12 11:27:14 +00:00
rillig
45aa5f5b03 Added type checking for Makefile variables. The typechecking is
experimental and has been announced on tech-pkg to make the package
developers aware of it.
2005-02-12 10:59:20 +00:00
rillig
3f3a61f888 Fixed bug in checkline_trailing_whitespace. No warnings were emitted
before. Stripped non-leading "." path components in the log messages.
Welcome to 4.01.
2005-02-11 17:01:29 +00:00
wiz
214180afce Another fix for python and ruby packages, this time for installed ones.
Standardize the prefix so they can be compared with the packages
more easily (pkg_chk is better at this anyway, but since I fixed
the other cases already...).
Welcome to 4.00!
2005-02-05 15:39:44 +00:00
wiz
93e603a0c1 Update to 3.99:
Fix lintpkgsrc handling of python and ruby packages.
Remove invalid-dewey test that broke more things than it helped.
Add support for "pre" in version strings. Update comment about
recognised strings.
2005-02-04 15:46:58 +00:00
wiz
1ef60c593f regen. 2005-02-04 15:45:16 +00:00
wiz
8bddae333f Sort option descriptions in man page. 2005-02-04 15:44:50 +00:00
wiz
1ec07ec0bb There is no -d option; remove it from the usage.
Closes PR 28788 by Berndt Josef Wulf.
2004-12-27 18:19:48 +00:00
wiz
f331e85475 3.98: Teach pkglint about BUILD_TARGET, and let it warn about ALL_TARGET. 2004-12-02 16:40:10 +00:00
seb
0495c38889 Report trailing slash of the package directory part of *_DEPENDS specification
as a fatal error as this greatly confuses mk/scripts/mkdatabase.

Update to version 3.97.
2004-11-09 17:14:43 +00:00
he
561241471a Ignore use of words which when used in make shell commands should
be used in variable-expansion version, e.g. `test' vs `${TEST}' in
settings of TEST_TARGET and ALL_TARGET.  Gets rid of warning about
"test" in TEST_TARGET setting from lang/perl5/module.mk.
Bump package version.
Reviewed by wiz.
2004-11-04 21:17:40 +00:00
wiz
ad56fd1131 Test if pkgname is defined before using it; gets rid of some warnings:
Use of uninitialized value in pattern match (m//) at /usr/pkg/bin/lintpkgsrc line 747.

Patch from Nicolas Joly in PR 27875.
2004-11-04 12:37:02 +00:00
wiz
f354c73351 Add - and . to characters allowed in patch names. Welcome to 3.94. 2004-10-28 13:03:10 +00:00
he
f006dbf975 Correct file name for the package vulnerabilities. 2004-10-16 19:47:49 +00:00