Commit Graph

107 Commits

Author SHA1 Message Date
Akinori MUSHA
2e9b5b7363 Update to version 2.3.
- Conform to the new port layout, finally.

- Use COMMENT, DESCR, PLIST, PKGINSTALL, PKGDEINSTALL, PKGREQ,
PKGMESSAGE, SCRIPTDIR and PATCHDIR instead of hardcoded file/directory
names. (suggested by will)

- Fix maxchars checker that has been broken.

- Fix "use ldconfig with ||/usr/bin/true" checker. (patch submitted by
sobomax)

- Fix "include the country code in the module alias name" warning.
Besides, "country code" is corrected to "language code".

- Add french and hebrew to the list of lang-specific categories.

- Properly omit the checks against PORTNAME section etc. when the
testee is a slave port.

- Add "INSTALLS_SHLIB may be missing" checker which searches pkg-plist
for `*.so' and `*.so.<nn>'.

- Make it dynamically read bsd.sites.mk so that we no longer need to
keep it always in sync with bsd.sites.mk.  It now should recognize
`/%SUBDIR%/' part too.

- Change `split(/\s+/, "blah blah blah")' to `qw(blah blah blah)'.

- Add some dummy comments that prevent Emacs' CPerl mode from
confusing.

- Add a condition "unless this is a master port" to the warnings that
are specific to master ports, because currently we can't know if a
port is a master port.

Reviewed by:	mharo (MAINTAINER)
2000-12-12 14:24:12 +00:00
Ade Lovett
3d6472eb4a Fix up a port that somehow got missed in The Great Conversion Process
patches/patch-aa -> files/patch-aa

No repo-copy needed, since there was no history for the patch, but I
include the original commit message for it here:

  Adding a `-P' option to the CVS checkout lines is needed or else
  bsd.port.mk finds the older directories and complains about mismatched
  port versions.

Submitted by:	my machine going nuts and trying to build this port by mistake
Approved by:	asami
2000-11-14 20:32:28 +00:00
Michael Haro
053956ab45 bump version 2000-11-10 07:43:54 +00:00
Michael Haro
2beea6cfcb fix a bug, $i = -> $i eq
Submitted by:	fenner
2000-11-10 07:20:43 +00:00
Dag-Erling Smørgrav
81fe4a5ac8 Previous commit was incomplete. 2000-11-03 14:30:42 +00:00
Dag-Erling Smørgrav
57ec16fc34 Don't build master ports unless they were explicitly required!
Pointed out by:	nectar
2000-11-03 14:18:37 +00:00
Mike Smith
5a5307763f Update to PIB 1.2, which fixes the reported issues so far with the new
ports layout.  Apologies to everyone for taking so long to get around
to this.  I'm surprised, nay amazed at how many people are still using
PIB after all this time.  Thanks!

PR:		ports/22016 ports/22022 ports/22130 ports/22281
2000-10-28 08:59:23 +00:00
Dag-Erling Smørgrav
65f0dd94ef Porteasy 2.2 (getting close to a new minor version every day...)
- 'cvs -Q' is *too* silent, so just use 'cvs -q' when not verbose.
 - cache the results of find_master().
 - allow for a trailing slash in the second field in a dependency spec.
 - add an option to show the packing lists for selected ports.
 - fix a bug where porteasy would build a port when it shouldn't.
2000-10-22 21:33:10 +00:00
Dag-Erling Smørgrav
78a6132b72 Update version number. 2000-10-21 09:51:52 +00:00
Dag-Erling Smørgrav
1809b4ccae Document PORTEASY_OPTIONS. 2000-10-21 09:51:29 +00:00
Dag-Erling Smørgrav
cdf9596183 Add a copyright statement to the version and help texts.
Fix a small bug in dependency parsing.
Add support for a PORTEASY_OPTIONS environment variable.
Give -r precedence over -a.
2000-10-21 09:50:57 +00:00
Dag-Erling Smørgrav
e5f1e12bef Much-enhanced Porteasy 2.0. 2000-10-19 21:02:46 +00:00
Will Andrews
c0234049ca Add support for the new PORTEPOCH/PORTREVISION variables, so it won't
improperly fatal-warn about them being in PORTNAME area.

PR:		21747
Submitted by:	jeh
2000-10-10 23:54:49 +00:00
Dag-Erling Smørgrav
1f3c3106a8 Look for pkg-descr rather than pkg/DESCR.
Always use the -d option when invoking CVS, to work around breakage in CVS
(said breakage has reportedly been fixed in 1.11, but I haven't verified this)
Bump version number.
2000-10-09 11:45:46 +00:00
Michael Haro
93abd0a028 sync with bsd.sites.mk, bump version to 2.2.3
Submitted by: jeh
2000-10-04 04:02:39 +00:00
Dag-Erling Smørgrav
79f09b3a36 Fix cut'n'paste bogon.
Submitted by:	Dmitry Sivachenko <dima@Chg.RU>
2000-09-22 10:52:40 +00:00
Will Andrews
89ac3f8bd9 Fix portlint bug where it thinks that missing a files/md5 is fatal but the
port actually does not have any DISTFILES variable.  This *should* work
with slave/master ports, but I'm not sure.

Now the portlint port passes its own test.  ;->

PR:		21380
Submitted by:	des
Approved by:	mharo
2000-09-21 16:22:15 +00:00
Dag-Erling Smørgrav
04fbaaefee Style and mdoc fixes.
Submitted by:	sheldonh
2000-09-20 12:52:24 +00:00
Dag-Erling Smørgrav
991d375484 Argh! forgot to fix this before adding the port.
Uninverse the meaning of two if tests.
2000-09-19 19:35:48 +00:00
Dag-Erling Smørgrav
f7983e4e95 A tool for fetching and building ports. 2000-09-19 19:25:04 +00:00
David E. O'Brien
1228d352ee Move the stragler's www.freebsd.org/~user distfiles to the offical
MASTER_SITE_LOCAL site.
2000-06-29 07:03:02 +00:00
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
960543ecef Corrrect whitespace introduced during PORTNAME conversion and portlint 2000-04-22 10:14:11 +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
52190dc850 Portlint COMMENT's.
Everybody should read the Handbook again!

PR:		ports/18008
Submitted by:	tkato@prontomail.ne.jp
2000-04-14 18:16:14 +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
Chris Piazza
f9bfad56c5 Update with the new PORTNAME/PORTVERSION variable 2000-04-09 19:09:11 +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
Peter Wemm
02c5b6c7c6 Change all www.freebsd.org/~user references to people.FreeBSD.org/~user,
as the days of the former are numbered.

Reviewed by:	asami
2000-02-08 09:29:51 +00:00
Michael Haro
39713feb1a I'll maintain this 2000-02-04 23:20:19 +00:00
Michael Haro
633118fd04 issue a warning when @owner or @group are found in the PLIST 2000-02-02 21:07:39 +00:00
Michael Haro
fa9bde6e40 bump version number slightly to reflect recent changes 2000-01-22 22:07:51 +00:00
Michael Haro
4922b641a8 add support for @owner and @group in PLIST 2000-01-22 22:06:04 +00:00
Chris Piazza
f1aa330554 Add pkg_remove.
pkg_remove is a utility to cleanly uninstall packages.

PR:		16025
Submitted by:	NAKAJI Hiroyuki <nakaji@tutrp.tut.ac.jp>
2000-01-14 20:03:43 +00:00
Shigeyuki Fukushima
0e2e06a88a Fixes:
- Allow "MAINTAINER?=".
  - Allow "CATEGORIES?=" and "CATEGORIES+=".

PR:		ports/16064
Submitted by:	KIRIYAMA Kazuhiko <kiri@pis.toba-cmt.ac.jp>
2000-01-12 04:48:15 +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
Wolfram Schneider
c491d9de7c Update to portcheckout-2.0 2000-01-08 18:50:17 +00:00
Justin M. Seger
75550d0920 Switch to tcl/tk 8.2
Submitted by:	Ade Lovett <ade@lovett.com>
1999-11-25 18:00:30 +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
Satoshi Taoka
2996c814f6 Recently we must use $FreeBSD instead of $Id in Makefile.
So portlint needs this modification.

Approved by: 		maintainer
1999-09-28 02:19:47 +00:00
Wolfram Schneider
3b140688a9 Update master site. 1999-09-19 10:30:46 +00:00
Peter Wemm
8100143543 $Id$ -> $FreeBSD$ 1999-08-31 02:00:46 +00:00
Peter Wemm
52769fe9fd $Id$ -> $FreeBSD$ 1999-08-29 11:11:15 +00:00