Commit graph

194 commits

Author SHA1 Message Date
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
abs
e6ba6ca951 Update pkglint to 3.01:
Correct wrong var usage in lintpkgsrc 'checksum mismatch' report.
2001-06-21 15:15:01 +00:00
hubertf
e3ffddd8e5 If you install pkglint/lintpkgsrc from a binary pkg, make sure that
digest is installed too (-> explicit DEPENDS).
2001-06-20 13:53:05 +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
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
wiz
8cc059a920 Update pkglint to 2.40.
Now handles the digests other than md5. Expands variables in ${PKGNAME};
doesn't check Makefile comments or COMMENTs for use of reserved words;
and some minor cleanup. (Removes ~100 bogus warnings from lintpkgsrc -l).
2001-03-08 10:14:49 +00:00
hubertf
8331c7dfbb Bump to 1.39:
Catch a few cases where MKDIR/INSTALL -d can be replaced by
 INSTALL_*_DIR
2001-02-25 05:20:02 +00:00
wiz
c5893428ed Add length check for COMMENT. Bump to 2.38. 2001-02-22 14:47:32 +00:00
wiz
a87738b456 Update to new COMMENT style: COMMENT var in Makefile instead of pkg/COMMENT. 2001-02-17 17:42:09 +00:00
wiz
1b7f0d246f Change COMMENT handling:
COMMENTs are now a variable in the Makefile instead of a pkg/COMMENT
file. The COMMENT var should be in the maintainer block after the
homepage.
Modify bsd.pkg.mk, pkglint, url2pkg, and port2pkg (last one untested)
for the new behaviour. Document new state in Packages.txt.
This should save lots of inodes, and lots of time when untarring/updating.
Idea by Alistair Crooks.
For the time being, accept pkg/COMMENT instead of a COMMENT var to avoid
a flag day.
2001-02-16 13:06:17 +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
wiz
24c5b7ebe2 Update to 2.35: Note deprecated LIBTOOL_OVERRIDE. 2001-01-26 13:16:52 +00:00
tron
75d3dc432a Use "FILE" instead of "file" as variable name to avoid a "pkglint" warning
here.
2001-01-25 08:45:46 +00:00
tron
c4b254d457 Use "nroff -man" on Solaris for the moment so that this package builds
at least.
2001-01-19 21:16:51 +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
dent
ba85ce4899 Update HOMEPAGE. 2001-01-12 12:47:51 +00:00
wiz
17ec9f9ae6 MIRROR_DISTFILE is deprecated; add tests for that and NO_{BIN,SRC}_ON_FTP
instead. Bump to 2.33.
2000-12-13 23:53:42 +00:00
wiz
89f4bbd64f pkglint: Recognize a different name for the main sunsite, and two
sourceforge URLs.
Bump to 2.32.
2000-12-02 02:02:59 +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
wiz
e34daeb1ec fix wording, some grammar, Dd 2000-09-04 00:48:10 +00:00
hubertf
e9f2adcd7a Update to 2.16: make the actions of the switches -a, -b and -c
on by default now, to get EVERYTHING checked by default.

Suggested by Kimmo Suominen <kim@netbsd.org>
2000-09-04 00:29:51 +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
rh
a775f2e178 Bump version of pkglint to 2.12. (Forgot to include this in previous
commit.)
2000-07-20 13:55:28 +00:00
rh
2fd2be1443 Warn about NO_CDROM and NO_PACKAGE. 2000-07-20 13:53:41 +00:00
hubertf
ff1f4f7f73 Deal with depends dirs properly, esp. if pkglinted is not started in a pkg
dir. Noted in PR 10584 by Damon Brodie <damon@brodiefamily.org>
Bump version to 2.11.
2000-07-14 16:09:26 +00:00
wiz
152d0eca67 Update to 2.10. Change: FATAL warnings for empty pkg/COMMENT and pkg/DESCR. 2000-06-21 23:28:27 +00:00
rh
5834a7070a Update pkglint to 2.09. Adds a check for deprecated USE_PKGLIBTOOL. 2000-06-02 06:20:40 +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
hubertf
243c686459 * Only warn that EXTRACT_SUFX is superfluous if DISTFILES is set AND
EXTRACT_SUFX is set to (only) .tar.gz. Fixes PRs 9771 and 9635
 * use getopt() for option parsing - "pkgling -abc" will work now.
2000-04-05 23:34:42 +00:00
wiz
f2817b385e recognize commands directly after a '@' 2000-03-16 14:22:02 +00:00
wiz
92c21a49a5 have a bit more clue about md5-files: don't warn if there's no
files/md5 but NO_CHECKSUM is set in the Makefile; bump version
2000-02-12 17:13:53 +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
wiz
d59b86813d necessery -> necessary 2000-02-05 17:19:06 +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
abs
bc2316c977 include Makefiles with LICENSE with -R, update to 1.99 2000-01-19 13:59:20 +00:00
abs
fea92eb9eb warn about invalid dewey-decimal numbers, plus other makefile parsing tweaks 2000-01-14 01:02:01 +00:00
abs
aa88c8683d Cleanup conditional parsing some more, and add (undocumented as of
yet) -u flag which will run -i then fetch updated sources for any
out of date installed packages.
2000-01-10 15:06:48 +00:00
abs
452eb3bb84 Rototill the makefile parsing again, resulting in a passable attempt to
parse conditionals. Now picks up correct arch determined version of navigator
and communicator packages.
2000-01-10 02:01:20 +00:00
wiz
f3d611b15c clarification in warning 2000-01-08 19:11:26 +00:00
wiz
5b6873edc6 added warning that @owner, @group and @mode in PLIST are deprecated;
bumped version number
2000-01-06 01:34:21 +00:00
wiz
0f47253288 check for known RCS tags only, instead of all strings between a '$' and
a '$' or a ':', bumped version number
2000-01-05 21:13:00 +00:00
abs
88caa31ada Check pkg/COMMENT a little more closely, and generate warnings on:
Leading/trailing whitespace
	Trailing '.'
	Leading '(a|an) ' (case insensitive)
2000-01-05 12:54:31 +00:00
abs
8de2459cd5 .if parsing is now a touch less braindamaged (still lousy) 2000-01-03 15:21:45 +00:00