Commit Graph

39 Commits

Author SHA1 Message Date
Michael Haro
de91bdd9c9 update to portlint 2.2.2:
- better rcsid checking
- add DIST_SUBDIR to section 1 of the Makefile
- add check for WWW: in pkg/DESCR when http:// exists
- add new -t flag, which will require a tab after a variable defination instead
  of spaces
- cleanup english grammar
- add -M (make variable passing) flag
- change into portdir instead of constantly using $portdir/file
- get variables from make instead of parsing the Makefile
- update usage()
- fix some portname/version bugs
- add EXTRACT_ONLY to section 1
- fix multi comment sections on top bug

I think I'm going to start a rewrite of lots of portlint's code to
*hopefully* make it easier to add new checks in the future.  If you
have any requests of things for me to put on portlint's TODO list,
send me an email letting me know what they are.
2000-04-25 21:33:42 +00:00
Michael Haro
537f054115 remove warning, version required (no longer needed) and make portlint port
pass portlint (what a concept ;)
2000-04-19 20:27:51 +00:00
Michael Haro
98f1c93d32 Update to 2.2.1
Fixes:
	* fix some portname/version checking bugs
	* put EXTRACT_ONLY in section 1 checking
	* fix multi comment sections at top of Makefile regex
	* make portlint pass perl -w (this found a few bugs)
No new features in this version
2000-04-16 23:05:06 +00:00
Michael Haro
eee7229c03 Update portlint so it supports PORTNAME/PORTVERSION. This version
isn't 100% ready for prime time, but it works well enough that it should
be fine to use for most things.  I'm not sure if I'll have time to fix
the few minor bugs that I know of and give it a good testing today.

Parts of the PORTNAME/PORTVERSION changes were submitted by knu.

Other changes in this version:
	* add "-V", version flag
	* use getopts instead of parsing @ARGV
		- this fixes a bug where you could only specify one flag after the
		  dash (ie. -c -N would work and -cN wouldn't)
	* change some warnings to fatals
	* ignore dot directives in Makefile
		- this usually reduces the number of warnings displayed when
		  a Makefile contains .include or .if foo
	* don't blame just emacs for leaving around temporary editor files
	* don't warn about installing files into /compat
	* correct counting of number of chars in pkg/COMMENT
	* understand multiple rcsid tags in the comments section
		- this allows us to have both $FreeBSD$ and $NetBSD$, for example
		  without getting funky warning messages
	* scope variables with my instead of local so we can use strict to
	  help us find bugs in portlint
2000-04-16 20:24:40 +00:00
Akinori MUSHA
17f3def895 Back out useful `Version required lines' that I'd blindly removed. 2000-04-15 15:13:52 +00:00
Akinori MUSHA
74dd526e72 Remove obsolete `Version required' lines. 2000-04-14 17:44:00 +00:00
Michael Haro
ed33fb7de0 PORTNAME/PORTVERSION update 2000-04-11 21:30:15 +00:00
Michael Haro
de588104e2 warn about not supporting PORTNAME/PORTVERSION yet 2000-04-08 22:41:14 +00:00
Michael Haro
ff668defd7 bump version number to reflect new features 2000-03-29 22:22:13 +00:00
Michael Haro
8d3d318a69 * Fix Makefile so portlint is more happy with this port (what a concept, the
portlint port passing portlint)

New portlint features:
* Allow pkg/COMMENT to start with a digit
* Warn about .la files in pkg/PLIST
* Better support for comments in the Makefile
  - fixes the section off by 1 error
    (DISTNAME needs to exist, and so on, when it does)
* don't report "FATAL: no MAINTAINER listed in Makefile" when it does exist
* other random minor bug fixes
2000-03-28 05:44:42 +00:00
Michael Haro
63168faf2f - fix a bug in pkg/* checking
- enforce pkg/COMMENT style
- better info file checking in pkg/PLIST
- don't warn about @unexec rmdir foo || true - the handbook says this is fine
- allow CATEGORIES+=
- warn about www.freebsd.org/~user needing to be people.freebsd.org
- warn about PKGNAME being set from another variable instead of being a
  fatal error
- understand both $(PORTSDIR) and ${PORTSDIR}
2000-03-20 18:03:01 +00:00
Michael Haro
39713feb1a I'll maintain this 2000-02-04 23:20:19 +00:00
Michael Haro
fa9bde6e40 bump version number slightly to reflect recent changes 2000-01-22 22:07:51 +00:00
Jun-ichiro itojun Hagino
11db3427a1 switch maintainer to ports@freebsd.org, as I'm unable to do it for a long time. 2000-01-11 13:53:39 +00:00
Munechika SUMIKAWA
942ecd986a added the following checking:
"in *_DEPENDS, ${PREFIX} must not be used. use ${LOCALBASE}/${X11BASE}
  instead of it."

Commented by:	asami
Reviewed by:	taoka
1999-09-28 16:23:03 +00:00
David E. O'Brien
9a9ac6ba9d Change Id->FreeBSD. 1999-08-25 05:57:29 +00:00
Jun-ichiro itojun Hagino
e25cebf5a9 manpage fix
family name change for itojun (s/Itoh/Hagino/)

Submitted by: "Alexey M. Zelkin" <phantom@cris.net>
1999-08-14 12:55:26 +00:00
Jun-ichiro itojun Hagino
cbdc5daf4b avoid NO_WRKDIR.
Submitted by:	Sheldon Hearn <axl@iafrica.com>
1999-01-07 09:34:52 +00:00
Jun-ichiro itojun Hagino
f414a317d4 being tired of maintaining portlint only by myself, I decided to
put the source code for "portlint" into FreeBSD port tree.  The
imported revision is 1.65 (in my local RCS file).  (pseudo) version
number for the port is now 2.0.

Whoever make changes to bsd.port.mk is advised to update portlint.pl
too :-)

Note that portlint.pl MUST be portable enough to handle (Net|Open|Free)BSD
bsd.port.mk.  There are people using portlint.pl on non-FreeBSD
platforms.
1999-01-05 12:23:28 +00:00
Satoshi Asami
7d45e2b7a1 Remove NO_CONFIGURE and NO_PATCH, they never meant anything. 1998-06-27 05:20:00 +00:00
Jun-ichiro itojun Hagino
72794f77d5 original distribution updated (1.60 -> 1.61) 1997-11-25 11:43:15 +00:00
Jun-ichiro itojun Hagino
92f24cd07a original distribution updated (1.59->1.60) 1997-11-20 03:52:36 +00:00
Jun-ichiro itojun Hagino
6fbefc0e44 Original distribution updated. (1.58 -> 1.59) 1997-11-13 13:30:27 +00:00
Jun-ichiro itojun Hagino
dec35629ff original distribution updated (1.57->1.58) 1997-11-11 00:05:54 +00:00
Jun-ichiro itojun Hagino
5465b2e9ed original distribution updated. (1.56 -> 1.57) 1997-11-09 00:31:27 +00:00
Jun-ichiro itojun Hagino
66793bc9cf original distribution updated to 1.56. 1997-11-05 02:13:17 +00:00
Jun-ichiro itojun Hagino
ee868b6f17 original distribution updated to 1.55. 1997-10-13 11:30:18 +00:00
Jun-ichiro itojun Hagino
278943850d original distribution updated to 1.54. 1997-10-12 00:28:00 +00:00
Jun-ichiro itojun Hagino
cdcc6908aa original distribution updated to 1.51.
Submitted by:	itojun
1997-10-07 23:01:45 +00:00
Jun-ichiro itojun Hagino
fa8d139427 original distribution updated to 1.49.
added check for *_DEPENDS.
1997-09-21 02:02:33 +00:00
Jun-ichiro itojun Hagino
5d4db72e27 original distribution upgraded to 1.48. 1997-09-14 14:24:54 +00:00
Jun-ichiro itojun Hagino
ad627e4a0d original distribution updated to release 1.46. 1997-08-16 04:59:48 +00:00
Jun-ichiro itojun Hagino
0e90f5ee90 original distribution updated to version 1.44. 1997-08-08 06:23:26 +00:00
Jun-ichiro itojun Hagino
2d6d2cfa58 original distribution updated to 1.43. 1997-08-06 00:07:59 +00:00
Jun-ichiro itojun Hagino
db6a26056c Original distribution updated to r1.33.
It now have "committers mode", which will tell us ports/LEGAL
should be updated!
1997-07-16 18:49:47 +00:00
Jun-ichiro itojun Hagino
86720189d6 original distribution of portlint has updated to 1.32. 1997-07-13 13:37:59 +00:00
Masafumi Max NAKANE
b83b0ca55d Upgrade, 1.26 -> 1.28. 1997-07-06 18:20:51 +00:00
Masafumi Max NAKANE
5a0b660a36 Upgrade 1.9 -> 1.26.
(So many additional checks have been added. Porters gotta check this out!)
1997-07-06 00:39:00 +00:00
Masafumi Max NAKANE
dc92a3e522 New port, portlint:
portlint makes a small set of sanity checks for port directory.

usage:
Submitted by:	Jun-ichiro ITOH <itojun@itojun.org>
PR:		3863
1997-06-15 14:12:38 +00:00