Commit graph

69 commits

Author SHA1 Message Date
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
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
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
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
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
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
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
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
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
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
abs
5f667fc4e1 Update pkglint to 2.44 to match distinfo enhancements to pkgsrc by agc 2001-04-17 17:08:41 +00:00
abs
803ed9c143 Update pkglint to 2.42 - teach lintpkgsrc about digest, including handling
the same distfile used by different packages with different checksum methods.
2001-03-30 16:30:24 +00:00
abs
3a7d41cbba Update to 2.41:
lintpkgsrc - when parsing ${VAR:S/x/y/} type constructs in Makefiles,
	handle separators other than '/'.
2001-03-15 15:10:22 +00:00
abs
6a13219ca8 Update to pkglint-2.36
On pre NetBSD-1.4 fall back to 'sysctl -n hw.machine_arch' for MACHINE_ARCH
2001-01-29 10:48:09 +00:00
abs
49061b4d00 Update pkglint to 2.34.
Changes to lintpkgsrc:
    Fix DEPENDS error (was only checking first DEPENDS). Fix from Dan.
    Fix uname to work on pre NetBSD 1.4 systems.
2001-01-18 11:40:33 +00:00
abs
8a657f9272 Update to pkglint-2.31
lintpkgsrc changes:
Add '-S' - List packages not in category 'SUBDIRS', rename experimental '-S'
to '-c'. Rework -h output to group by type. Fix poblem with handling certain
glob expressions for depends, clean up manpage.
2000-11-17 12:45:30 +00:00
abs
ab4f50ec20 Add -B option to lintpkgsrc, to display broken packages.
Update to 2.30
2000-11-14 17:11:42 +00:00
abs
347d1743c4 Update to 2.29
lintpkgsrc - Add '-S' to optionally generate pkgsrcmap file mapping pkgname
to pkgdir and version
2000-10-20 11:00:13 +00:00
abs
c969d72eb9 Update pkglint to 2.28 - Add '-V' to lintpkgsrc - check binary packages
against /pkgsrc/distfiles/vulnerabilities.
2000-10-12 15:07:41 +00:00
abs
97d91beea9 Update to 2.27
lintpkgsrc: Remove over enthusiastic setting of {'PKGSRCDIR'} = '/usr/pkgsrc';
2000-10-05 10:29:49 +00:00
abs
9fa328725f Update to 2.26
lintpkgsrc: Allow setting of any variable in mk.conf, including
	PACKAGES containing PKGSRCDIR.
2000-10-02 14:32:21 +00:00
abs
ce73d29ffd Update pkglint to 2.25. If this keeps on I'm going to have to start using
odd numbers for 'development' versions...

lintpkgsrc:
Rename set_pkgsrcdir to parse_mk_conf, and also extract PACKAGES as well
as PKGSRCDIR. Update check_prebuilt_packages to handle the new package data
structure that allos mulitple versions of the same package to be valid
(for -current packages etc) - Missed in previous changes.
2000-09-26 15:57:05 +00:00
abs
de8f20e180 Update pkglint to 2.24:
lintpkgsrc tried to break DEPENDS up into a packagename and version
    section, so if the version did not match it could lookup the matching
    packages and suggest valid versions. Unfortunately this excessive
    helpfulness meant globs that cover both sides such as
    'perl-{5.0*,5.6.0nb2,base-5.[6-9]*}' gave it a certain degree of
    indigestion.  It also didn't handle the '.if ${BINNAME} != common'
    correctly in www/ns-plugger-common/Makefile.
    I believe now that any outstanding -i or -d warnings are genuine...
2000-09-22 22:41:07 +00:00
abs
f489fd9111 pkglint:
lintpkgsrc - fix :S modifier behaviour - broken in last commit
2000-09-21 10:28:44 +00:00
abs
d60ae9cd6a lintpkgsrc:
Rework substitution handling to correctly deal with
    ${DISTNAME:S/-/-gnome-/:S/$/nb1/} and friends. I remember being
    in something of a hurry when that code was fist written.  Slight
    cleanup to not completely blow up on DEPENDS such as
    perl-{5.0*,5.6.0nb2,base-5.[6-9]*}, though we still do not
    handle globbing that includes packagename and version.
Update to 2.22
2000-09-20 06:39:27 +00:00
abs
76da202494 lintpkgsrc: Clean up makefile variable parsing and use to extract PKGSRCDIR
from /etc/mk.conf - now will understand .include and other make'isms in mk.conf
Update to 2.21
2000-09-11 10:39:04 +00:00
wiz
331555b566 Some cleanup; warning and error messages slightly improved.
Major changes: .include lines are honoured now, and FILESDIR, PATCHESDIR,
PKGDIR, SCRIPTSDIR, MD5_FILE, and PATCH_SUM_FILE aren't hardcoded anymore,
but the corresponding Makefile variables are used.
Adapt lintpkgsrc to the changes.
Step to 2.20 to mark the occasion.
Reviewed by hubertf.
2000-09-05 00:02:15 +00:00
abs
2dc45e5381 Avoid (harmless) uninitialised variable warnings in the even of a package not
having any discernable version. Update to 2.15
2000-08-30 12:54:22 +00:00
abs
0fbfb4163e Teach lintpkgsrc a little more about variable expansions.
Update version to 2.14
2000-08-28 14:14:59 +00:00
abs
ea44ee2e86 Update lintpkgsrc -R to check for NO_BIN_ON_FTP or RESTRICTED
Now 2.13
2000-08-17 16:16:01 +00:00
dmcmahill
4397a6878e - add "-M path" option to allow specifying a distfiles directory to handle cases
where PKGSRC/distfiles isn't the correct location (like on ftp.netbsd.org).

- document the option.

- bump minor version number.
2000-05-29 19:44:27 +00:00
abs
1fe4f4cc6c In the event of multiple non current versions of a package being found, take
the one iwth the highest number as 'best'
2000-05-16 11:41:07 +00:00
abs
a0985e1f71 Remove debug I stupidly left in after nb<N> suffix changes to dewey_cmp 2000-02-09 17:41:20 +00:00
abs
298523f569 Handle 'nb1.2.3' type suffixes (rather than just 'nb1') 2000-02-07 11:38:53 +00:00
abs
eb043280a1 Update to 2.01 - extend deweydecimal compare to handle nb<N> suffixes 2000-02-03 12:05:20 +00:00
abs
ba27124c6e fix lintpkgsrc -l usage - from Thomas Klausner 2000-01-26 15:25:25 +00:00