Commit graph

138 commits

Author SHA1 Message Date
wiz
20ab0bbf08 Update to 3.24:
Report downlevel pkg_install version, too (in -i mode).
Requested by gendalia and agc.
2002-03-22 15:57:53 +00:00
abs
bb846764de Update pkglint to 3.23:
Correct inverted logic for DYNAMIC_MASTER_SITES check
2002-02-27 11:20:59 +00:00
abs
7dbe248d56 Update pkglint to 3.22
Handle DYNAMIC_MASTER_SITES
2002-02-13 08:42:11 +00:00
abs
5e81e7c998 Updated pkglint to 3.21
- lintpkgsrc - fixed -p to handle relative symlinks and symlink loops
2002-01-03 11:04:49 +00:00
abs
ab1caa7c6d Update pkglint to 3.20
lintpkgsrc - if we find one valid match in a DEPENDS entry, don't
	bitch about any others expanding to a non-existant package:
	    Example: postgresql-{6.5.3*,7.0*,lib-*}
	With this lintpkgsrc -d now outputs six lines on current pkgsrc.

	Note to self: When you use 'cvs c^[P' the second time in an
	evening for the same package... its enough.
2001-12-27 19:13:13 +00:00
abs
353480ff21 Update pkglint to 3.19
lintpkgsrc.pl:
	Finally we parse {x,y,z} constructs in DEPENDS, plus handle a
	few more make conditionals. Now most of the lintpkgsrc -d output
	is related to versions of software no longer in pkgsrc...
	Does the fun ever start?
2001-12-27 13:31:45 +00:00
abs
d11069f0b2 Update pkglint to 3.18:
Significant rototill of lintpkgsrc.pl, converting to a rather twisted
    hierarchy of PkgVer Pkgs and PkgList objects with assorted arbitrary
    methods, all based on existing usage rather than ideal design.
    Actual fixes found along the way:
	- Handle := in makefiles
	- Better handle parenthesis and "" in make conditionals
	- parse bsd.pkg.mk to extract _REQD values (hence the previous line)
	- Add missing 'key' in hash iteration
	- Do not repeat includes (evolution longer depends on jpeg 45 times)

    Still have to handle such delightful constructs as
    DEPENDS += {qt2-designer>=2.2.4,qt2-designer-kde>=2.3.1nb1} in a sane way
2001-12-27 12:42:08 +00:00
wiz
3a504b050a Making lintpkgsrc more usable, part 2.
Reduces warnings from 'lintpkgsrc -d' from ~700 lines to ~100.
[It won't get much better than this...]
2001-12-20 03:31:51 +00:00
wiz
b938f73029 WIP: Make lintpkgsrc happy with buildlink.mk files. Not complete yet,
but "lintpkgsrc -d" output reduced from >7000 lines to ~700.
First part of diff fixes most ruby* complaints, second part the general
"Unknown package: 'UNDEFINED' version missing" message.
2001-12-11 03:47:20 +00:00
wiz
8f6286fce2 Handle PKGREVISION more properly, by allowing it being set, but empty.
Bump to 3.16.
2001-12-03 21:55:48 +00:00
wiz
b4f0a668fa Miscellaneous man page fixes. 2001-12-03 19:03:19 +00:00
abs
bf1895f0b4 Update pkglint to 3.15
- lintpkgsrc: Set BSD_PKG_MK, and ensure .CURDIR is correct when running
      with -D. Also remove an articulated lorry load of single quotes.

Many thanks to wiz who added PKGREVISION before I lamely managed to get
around to it :)
2001-12-03 18:20:49 +00:00
wiz
6e489f3d11 Make lintpkgsrc support PKGREVISION, in response to pkg/14767.
Bump to 3.14 (next version 3.141? ;)
2001-12-03 17:52:24 +00:00
hubertf
f0e66080e8 Teach pkglint about PKGREVISION (not complaining about it).
TODO: warn about PKGNAME= ...nbX
2001-11-29 01:56:37 +00:00
wiz
5e0d8718d1 Sort options, sort sections, and some minor fixes. 2001-11-20 17:34:16 +00:00
hubertf
6d23021cec Recognize "nb1" (etc.) on DISTNAMEs that should really be on PKGNAMEs:
miyu% grep nb Makefile
	DISTNAME=       xfsprogs-1.2.8.srcnb1
	miyu% /tmp/pkglint
	OK: checking Makefile.
====>	WARN: is 'nb1' really ok on DISTNAME, or is it intended for PKGNAME?
	OK: checking pkg/PLIST.
	OK: checking pkg/DESCR.
	OK: checking distinfo.
	0 fatal errors and 1 warnings found.

Suggested by Tomasz Luchowski.
2001-11-11 05:04:28 +00:00
wiz
bf0b050bab Improve english in last. 2001-11-03 21:41:49 +00:00
hubertf
4887a8d27b Bump to 3.11: warn about scripts/* and pkg/* dirs and contents 2001-11-03 21:34:35 +00:00
wiz
f880fbfd6d Don't check Makefile and distinfo twice, and use checkplist again for PLIST. 2001-11-03 21:14:18 +00:00
jmc
07bcd0169b Change to the same pattern for excluding patches as make patchsum uses when
building the distinfo file
2001-11-01 23:24:44 +00:00
zuntum
aabd28041a cvs rm is cool.
per discussion with Hubert, remove outdated file that was last modified in
1999
2001-11-01 08:15:15 +00:00
zuntum
4ec51e5f6a o don't echo pkg/COMMENT, use $pkgdir/COMMENT instead
o fit in 80 columns
o s,pkg/DESCR,DESCR, and the same with PLIST in comments

OK'd by wiz
2001-10-31 18:39:26 +00:00
wiz
b23e1a4831 If pkg/ doesn't exist, use ./, just like bsd.pkg.mk does nowadays.
Requested by zuntum. Bump to 3.09.
2001-10-30 18:53:01 +00:00
wiz
dab4064630 NO_WRKSUBDIR is deprecated, while USE_LIBTOOL isn't anymore.
Version now 3.08.
2001-09-09 20:50:16 +00:00
wiz
74e5bd76a3 'file' should be replaced by '${FILE_CMD}' now.
Bump to 3.07.
2001-07-15 12:56:58 +00:00
wiz
42f06cdebe Warn about some more directly used commands we now have ${CMD} for.
[cmp, dirname, sort, wc]
2001-07-13 08:20:54 +00:00
wiz
050a6f4411 Update to 3.05: pkglint support for SVR4_PKGNAME, as requested by
Bernd Ernesti.
2001-07-08 16:41:52 +00:00
dmcmahill
632b55b717 add -O option to lintpkgsrc to report packages which have the
OSVERSION_SPECIFIC flag set.

bump version to 3.04
2001-07-07 18:21:29 +00:00
abs
bf1da47ccd Fix another couple of ' usages- from Ben Wong 2001-07-02 15:37:05 +00:00
abs
d6ae97c12c Update pkglint to 3.03:
Fix incorrect ' at start of line in lintpkgsrc manpage.
	Fixes PR pkg/13354 by Ben Wong
2001-07-02 13:23:22 +00:00
abs
ae4b59413d Update pkglint to 3.02:
Also check 'size' when crosschecking for checksum mismatches.
2001-06-21 15:53:54 +00:00
abs
e6ba6ca951 Update pkglint to 3.01:
Correct wrong var usage in lintpkgsrc 'checksum mismatch' report.
2001-06-21 15:15:01 +00:00
wiz
bbec7d2140 Remove lots of dead and FreeBSD-specific code.
Some slight improvements while I'm here.
That's worth a new major: 3.00.
2001-06-09 15:36:12 +00:00
wiz
3984b8abd8 Warn about deprecated DIGEST_FILE and PATCH_SUM_FILE.
Bump to 2.57.
2001-06-09 12:30:53 +00:00
abs
fb9c17ae53 Another day, another pkglint version.
lintpkgsrc:
    If a binary package matches more than one vulnerability, only report once.
    Ensure LINTPKGSRC is set when parsing mk.conf
2001-05-31 17:37:25 +00:00
abs
ce9888ba12 Update pkglint to 2.55
Fix lintpkgsrc to correctly parse packages containing '+',
	from PR 12996 by Wolfgang Rupprecht
2001-05-30 16:44:46 +00:00
abs
789f79b8fd Updated pkglint to 2.54 - for lintpkgsrc fix case of PKGSRCDIR not set
in environment, mk.conf, or command line.
2001-05-21 13:27:14 +00:00
abs
6016c0d8e8 Update pkglint to 2.53
Extend 'lintpkgsrc -u' to list REQUIRED entries for mismatched packages,
handle PACKAGES?=xxx in mk.conf
2001-05-18 10:38:47 +00:00
abs
b3edf2cfb2 Update pkglint to 2.52:
Handle empty variable settings 'VAR=' in lintpkgsrc, to match
	recent postgresql package Makefiles
2001-05-16 11:36:47 +00:00
agc
ec25a5bbb0 Sync the manpage with reality: s/md5/distinfo/g 2001-05-14 15:01:24 +00:00
wiz
61e3196ab4 Warn on finding USE_PERL (not USE_PERL5), and on DEPENDS with
continuation lines.
Bump to 2.51.
2001-05-12 15:19:14 +00:00
abs
704d023a24 Update pkglint to 2.50
Implement pkglint -V which displays pkglint version
(Useful for ftp.netbsd.org automated checks)
2001-05-03 19:18:55 +00:00
abs
5efb6adb10 Update pkglint to 2.49
lintpkgsrc now handles '/1' suffix in make Sy: expressions
2001-05-01 15:52:50 +00:00
abs
0a30ac1a66 Hardcode in PREFIX/bin/perl rather than using /usr/bin/env, as NetBSD does not
have /usr/pkg/bin in the default path for cron etc. ick.
2001-04-27 16:10:36 +00:00
wiz
4931399076 Look for deprecated md5/patch-sum files in correct dir.
Bump to 2.48.
2001-04-23 14:49:44 +00:00
wiz
2c68a2075a Undo part of previous, since it doesn't work as expected.
Bump to 2.47.
2001-04-22 16:16:14 +00:00
wiz
3cdd73e630 Use the same pattern for matching patch files as in bsd.pkg.mk.
Fixes a bogus warning for at least devel/patch.
2001-04-21 12:54:17 +00:00
wiz
b65c5ab396 DISTINFO_FILE, not DIGEST_FILE; fixes some 'missing distinfo file' warnings.
Bump to 2.45.
2001-04-19 13:25:41 +00:00
abs
5f667fc4e1 Update pkglint to 2.44 to match distinfo enhancements to pkgsrc by agc 2001-04-17 17:08:41 +00:00
wiz
27dda2c8aa Teach pkglint about BUILD_USES_MSGFMT, and where it recommend using it.
BUILD_USES_MSGFMT is expected in the DEPENDs block now.
Also recognize ${PKGSRCDIR} in DIGEST_FILE.
Bump version to 2.43.
2001-04-02 19:02:33 +00:00