Commit graph

170 commits

Author SHA1 Message Date
atatat
3642d7598c Upgrade to 3.36. Fixes the problem with $pkg_installver being
"uninitialized" for some cases.  Approved by the wiz.
2002-09-30 16:08:17 +00:00
wiz
24f92a55c8 Slight fix for 3.34, so that "cd /usr/pkgsrc; for i in */; do pkglint $i; done"
works. Bump to 3.35.
2002-09-25 09:34:21 +00:00
wiz
c4d4a1f20a Update to 3.34: Can now also be run in Category directories and checks
correct sorting order of SUBDIR entries.
2002-09-24 14:01:37 +00:00
wiz
c2589032d6 Since MESSAGE files come by many names, hardwire the line length,
independent of the actual filename. Update to 3.33.
2002-09-24 12:34:21 +00:00
atatat
9a44a64406 lintpkgsrc was tweaked, so bump the version 2002-09-22 16:00:37 +00:00
atatat
a72f2e5514 If the installed version of pkg_install is newer than the one in
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-22 15:58:33 +00:00
wiz
b0ac4f603c 3.31: Check MESSAGE file format. Patch from sco at openface ca in pkg/18276. 2002-09-12 17:03:04 +00:00
wiz
a2d49d5274 Strip leading './' from distinfo entry names before matching against
the file system -- removes bogus warnings for at least opera and
ymessenger, which have "DIST_SUBDIR=.".
Bump to 3.30.
2002-08-13 15:05:30 +00:00
abs
9c85642145 Updated pkglint to 3.29
Make -V work without -p, -O, or -R
	Fixes pkg/17558 from Dan McMahill
2002-07-11 10:22:25 +00:00
wiz
6c62d4cdd2 mdoc nit. 2002-07-11 09:59:01 +00:00
wiz
5404dd4907 3.28: Note that USE_SSL is deprecated. 2002-07-02 15:26:18 +00:00
wiz
cb17e820a3 3.27: Warn about missing RCS Id in distinfo, and note that IS_INTERACTIVE
is deprecated.
2002-07-02 13:16:30 +00:00
wiz
9a3584985f Update to 3.26. Changes:
. sync dewey support with pkg_info
. fix 'elsif' handling (fixes bogus ns-flash warnings)
2002-06-02 21:52:28 +00:00
wiz
1f4ca748bc Recognize ${INSTALL_INFO} in PLISTs as install-info.
Bump to 3.25.
2002-04-08 13:57:12 +00:00
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
agc
ccff9099bc Modify all references to PKGSRCDIR to _PKGSRCDIR, except in the external
references of the pkglint package.

_PKGSRCDIR is an internal definition in bsd.pkg.mk, and a few packages
which would like to refer to other packages in the build tree. It should
not be set by users, but neither should it stop a user from building a
package if it is defined, so make it obvious that this is the case.
2001-12-15 20:25:34 +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
be05bba4b8 Bump version to 3.12 for check of "nb" on DISTNAME 2001-11-11 05:04:50 +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
d514154076 Bump version. Changed lintpkgsrc.pl to parse patchfiles in the distinfo
files using the same patterns bsd.pkg.mk uses when building the file (via
make patchsum)
2001-11-01 23:26:42 +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
273821c4d3 Move pkg/ files into package's toplevel directory 2001-10-31 20:59:00 +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
agc
a16fc84f19 Deprecate NO_WRKSUBDIR, replacing it with an explicit assignment of:
WRKSRC= ${WRKDIR}

This is much cleaner, much more indicative of what happens, and removes
another of the negative definitions (NO_.* = value).
2001-09-09 20:36:07 +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