Commit graph

159 commits

Author SHA1 Message Date
Joe Marcus Clarke
1f420b6602 Update to 2.12.2.
* Add support for whitelisting certain MASTER_SITES which make up a "cloud"
  of sites. [1]
* Escape a '.' in a regular expression to prevent matching strings like
  "about" with the regular expression "a.out". [2]
* Try to detect when the value of CONFIGURE_TARGET is used directly in a
  plist. [3]

PR:		140048 [1]
		141460 [2]
Submitted by:	skreuzer [1]
		gahr [2]
Suggested by:	brooks [3]
2009-12-19 21:23:01 +00:00
Joe Marcus Clarke
1af714157d Update to 2.12.1.
* Do not compare a string with undef. [1]
* Remove the CONFIGURE_ARGS check for --prefix.  This is not part of
  _LATE_CONFIGURE_ARGS, and thus will be set of all ports. [2]

PR:		136657 [1]
		136691 [2]
Submitted by:	glewis [1]
2009-07-18 21:39:07 +00:00
Joe Marcus Clarke
daba1f399d Update to 2.12.0.
* Add support for bsd.port.options.mk. [1]
* Add a check for ports that install a.out. [2]
* Tweak the check for arguments passed to configure when using
  GNU_CONFIGURE, and add a check for HAS_CONFIGURE and GNU_CONFIGURE. [3]
* Fix some false positives that occur when using certain combinations of
  %%XXXDIR%%. [4]

PR:		135095 [2]
		135858 [3]
		136465 [4]
Requested by:	pav [1]
Submitted by:	Vladimir Chukharev <chukharev@mail.ru> [2]
		Sahil Tandon <sahil@tandon.net> [3]
		Eygene Ryabinkin <rea-fbsd@codelabs.ru> [4]
2009-07-09 01:03:38 +00:00
Joe Marcus Clarke
70441c6f2c Update to 2.11.2.
* Fix a warning when PKGINSTALLVER is not defined. [1]
* Fix a false positive which can occur when install-info is used in sed
  expressions. [2]
* Add depcrecation checks for Apache macros. [3]

PR:		134000 [1]
		134614 [2]
		134610 [3]
Submitted by:	Eygene Ryabinkin <rea-fbsd@codelabs.ru> [1]
		Lapo Luchini <lapo@lapo.it> [2]
		pgollucci [3]
2009-05-23 19:07:32 +00:00
Joe Marcus Clarke
3af18d3222 Update to 2.11.1.
* Fix some Perl warnings. [1]
* Fix an improper invocation of perror(). [2]
* Add some more allowed full paths. [3]
* Add a check for MAKE_JOBS_[UN]SAFE used in conjunction with NO_BUILD.
  If this is found, throw a warning. [4]

PR:		133207 [4]
Submitted by:	gerald [3]
Reported by:	pav [1]
		Vladimir Chukharev <Vladimir.Chukharev@tut.fi> [2]
2009-04-13 01:56:17 +00:00
Joe Marcus Clarke
7b950b9f63 Update to 2.11.0.
* Fix regexp compatibility with Perl 5.10 [1]
* Add "use warnings" to find more warnings [1]
* Use more modern Perl features as we no longer need to maintain such
  ancient backward compatibility [1]
* Add support for a list of patterns to exclude from absolute path
  checking. [2]
* Check MAINTAINER field for master/slave relationship as is done for
  COMMENT. [3]
* Add support for checking plists for files ending in .core.  These files
  may be periodically deleted during core file sweeps. [4]

NOTE: This release has more Perl warnings enabled.  If you encounter a Perl
warning, please report it.

PR:		132289 [1]
		131228 [2]
		131235 [3]
		131790 [4]
Submitted by:	skv [1]
		gerald [3]
2009-03-22 17:54:19 +00:00
Joe Marcus Clarke
0aa3e2b9c0 Fix some typos in the CONFIGURE_ENV section.
Submitted by:	gerald
2009-01-19 06:58:42 +00:00
Joe Marcus Clarke
76229fb04e Update to 2.10.2.
* Loosen the error around USE_ANT and do-build [1]
* Add a check for CFLAGS and CXXFLAGS in CONFIGURE_ENV [2]
* Add a check for Fortran flags in CONFIGURE_ENV [3]

PR:             128482 [2]
Requested by:   Dominic Fandrey <kamikaze@bsdforen.de> [1]
                gerlad [3]
Submitted by:   amdmi3 [2]
2009-01-18 18:49:58 +00:00
Joe Marcus Clarke
8fa2d4b219 Correct a typo.
Reported by:	amdmi3
2008-10-22 22:04:38 +00:00
Joe Marcus Clarke
05eccf3545 Update to 2.10.1
* Allow WWW URLs which start with "https://" [1]
* Warn on possible improper use of @dirrm[try] [2]

PR:		127128 [1]
		127081 [2]
Submitted by:	Tomoyuki Sakurai <cherry@trombik.org> [2]
2008-10-21 22:38:14 +00:00
Joe Marcus Clarke
0bf07e9500 Update to 2.10.0.
* Add a check for duplicate CATEGORIES [1]
* Be stricter when checking for --mandir and --infodir [2]
* Properly check *_DEPENDS both before and after bsd.port.pre.mk [3]

PR:		125962 [2]
		126681 [3]
Requested by:	kris [1]
Submitted by:	Eygene Ryabinkin <rea-fbsd@codelabs.ru> [3]
		Renato Botelho <garga@FreeBSD.org> [2]
2008-08-24 17:16:03 +00:00
Joe Marcus Clarke
fb129bc0ff Update to 2.9.10.
* Add some USE_GCC checks [1]
* Check to make sure pkg-descr lines do not end with CRLF [2]
* Warn against using != in assignments [2]
* Check for a valid WWW syntax in pkg-descr [2]

Requested by:	gerald [1]
		kris [2]
2008-07-20 01:09:38 +00:00
Joe Marcus Clarke
e965ccfa52 Update to 2.9.9.
Check for misuse of the %%XXXDIR%% constructs in order to help with the QA
Tinderbox build reports.

PR:		125037
Submitted by:	leeym
2008-07-05 06:02:28 +00:00
Joe Marcus Clarke
2c9e10e2c5 Update to 2.9.8.
* Use the actual Makefile when checking for pre-defined sites.  This allows
  us to catch things that rely on port variables. [1]
* USE_GETOPT_LONG is now obsolete, and should not be suggested. [2]
* Check for cases where X_DEPENDS = ${Y_DEPENDS} which can result in adding
  unwanted dependencies.

PR:		121664 [1]
Suggested by:	pav [2]
2008-03-23 00:25:30 +00:00
Joe Marcus Clarke
7a1d1a4615 Quick bump to 2.9.7.
Allow comments to start with a '[' (e.g. [X]Emacs).

PR:		117832
Submitted by:	"Philip M. Gollucci" <pgollucci@p6m7g8.com>
2007-12-15 17:46:39 +00:00
Joe Marcus Clarke
ff0a19ddef Update to 2.9.6.
* Allow the @stopdaemon plist directive. [1]
* Fix a typo when checking for proper use of DOCSDIR. [2]
* USE_JAVA is okay to use after including bsd.port.pre.mk. [3]
* Properly check for extra items in the PATCH_SITES section. [4]
* Replace all instances of "IFF" with "If and only if" to be clearer for
  non-English speaking, non-math geeks. [5]

PR:		116907 [3]
		116698 [4]
		116218 [5]
Reported by:	rafan [1]
Submitted by:	lwhsu [2]
2007-12-15 17:40:19 +00:00
Joe Marcus Clarke
c77cb6ec93 Update to 2.9.5.
* Consolidate lines that end in a '\' followed by an empty line into one
  newline prior to splitting the Makefile into sections.  This will more
  properly catch section-related errors [1]
* Properly check pkg-config files when they contain an embedded '.' [2]
* Allow pkg-plist directive @cwd by itself which means to change the working
  directory back to the original PREFIX [3]
* Beef up the warnings around DOCSDIR, EXAMPLESDIR, and DATADIR so that
  users don't just use these macros without knowing if they are safe [3]
* Check for use of --mandir and --infodir [4]

PR:		112332 [1]
		115455 [4]
Submitted by:	rafan [4]
		sat [2]
Requested by:	pav [3]
2007-08-17 17:11:40 +00:00
Gabor Kovesdan
42542fb076 - Remove the DESTDIR modifications from individual ports as we have a new,
fully chrooted DESTDIR, which does not need such any more.

Sponsored by:	Google Summer of Code 2007
Approved by:	portmgr (pav)
2007-08-04 11:41:30 +00:00
Joe Marcus Clarke
a30daca963 Update to 2.9.4.
* bsd.php.mk can now be included after bsd.port.pre.mk [1]
* Tighten the check on *_DEPENDS so that it only looks at BUILD, FETCH, PATCH,
  LIB, and RUN DEPENDS [2]

PR:		110461 [1]
Submitted by:	Alexander Logvinov <ports@logvinov.com> [1]
Reported by:	Alexander Logvinov <ports@logvinov.com> [2]
2007-06-09 19:02:10 +00:00
Joe Marcus Clarke
c34f99c1b7 Update to 2.9.3.
* Add a check to see if EXTRACT_SUFX is ".zip" and suggest USE_ZIP instead [1]
* Remove the now obsoleted DEPENDS macro
* Remove the obsoleted Java 1.0 check
* Add support for USE_CDRTOOLS
* Add a check for direct usage of gs (i.e. ghostscript) [2]

PR:		107265 [2]
Requested by:	gabor [1]
2007-02-11 19:22:07 +00:00
Pav Lucistnik
0d0d56457b Populate a new ports-mgmt category. List of moved ports:
devel/portcheckout -> ports-mgmt/portcheckout
  devel/portlint -> ports-mgmt/portlint
  devel/portmk -> ports-mgmt/portmk
  devel/porttools -> ports-mgmt/porttools
  misc/instant-tinderbox -> ports-mgmt/instant-tinderbox
  misc/porteasy -> ports-mgmt/porteasy
  misc/portell -> ports-mgmt/portell
  misc/portless -> ports-mgmt/portless
  misc/tinderbox -> ports-mgmt/tinderbox
  security/jailaudit -> ports-mgmt/jailaudit
  security/portaudit -> ports-mgmt/portaudit
  security/portaudit-db -> ports-mgmt/portaudit-db
  security/vulnerability-test-port -> ports-mgmt/vulnerability-test-port
  sysutils/barry -> ports-mgmt/barry
  sysutils/bpm -> ports-mgmt/bpm
  sysutils/kports -> ports-mgmt/kports
  sysutils/managepkg -> ports-mgmt/managepkg
  sysutils/newportsversioncheck -> ports-mgmt/newportsversioncheck
  sysutils/pib -> ports-mgmt/pib
  sysutils/pkgfe -> ports-mgmt/pkgfe
  sysutils/pkg-orphan -> ports-mgmt/pkg-orphan
  sysutils/pkg_cutleaves -> ports-mgmt/pkg_cutleaves
  sysutils/pkg_install -> ports-mgmt/pkg_install
  sysutils/pkg_install-devel -> ports-mgmt/pkg_install-devel
  sysutils/pkg_remove -> ports-mgmt/pkg_remove
  sysutils/pkg_rmleaves -> ports-mgmt/pkg_rmleaves
  sysutils/pkg_trackinst -> ports-mgmt/pkg_trackinst
  sysutils/pkg_tree -> ports-mgmt/pkg_tree
  sysutils/portbrowser -> ports-mgmt/portbrowser
  sysutils/portconf -> ports-mgmt/portconf
  sysutils/portdowngrade -> ports-mgmt/portdowngrade
  sysutils/portcheck -> ports-mgmt/portcheck
  sysutils/portmanager -> ports-mgmt/portmanager
  sysutils/portmaster -> ports-mgmt/portmaster
  sysutils/portscout -> ports-mgmt/portscout
  sysutils/portsearch -> ports-mgmt/portsearch
  sysutils/portsman -> ports-mgmt/portsman
  sysutils/portsnap -> ports-mgmt/portsnap
  sysutils/portsopt -> ports-mgmt/portsopt
  sysutils/portupgrade -> ports-mgmt/portupgrade
  sysutils/portupgrade-devel -> ports-mgmt/portupgrade-devel
  sysutils/port-authoring-tools -> ports-mgmt/port-authoring-tools
  sysutils/port-maintenance-tools -> ports-mgmt/port-maintenance-tools
  sysutils/psearch -> ports-mgmt/psearch
  sysutils/p5-FreeBSD-Portindex -> ports-mgmt/p5-FreeBSD-Portindex
  sysutils/qtpkg -> ports-mgmt/qtpkg
  textproc/p5-FreeBSD-Ports -> ports-mgmt/p5-FreeBSD-Ports

Repocopies by:	marcus
2007-02-05 01:08:46 +00:00
Joe Marcus Clarke
4da8cefd2f Update to 2.9.2.
* Replace a dead autotools link with a FreeBSD-based link instead [1]
* Replace USE_*_VER with USE_AUTOTOOLS instead [2]
* Check for a valid EXPIRATION_DATE [3]

PR:		104042 [3]
Requested by:	piotr.smyrak@heron.pl [1]
Reported by:	ahze [2]
Submitted by:	vd [3]
2006-11-25 20:02:50 +00:00
Joe Marcus Clarke
e17a20be47 Respect DESTDIR.
PR:		101675
Submitted by:	gabor
2006-08-11 15:52:23 +00:00
Joe Marcus Clarke
439fd9185c Actually check to see if $seen_special is set before checking the number
of plist items.
2006-08-06 22:36:45 +00:00
Joe Marcus Clarke
178abbd25e Update to 2.9.1.
* Add a check for direct use of sysctl(8). [1]
* Add a check for use of the deprecated macro INSTALLS_SHLIB, and point people
  to USE_LDCONFIG instead. [2]
* Add a check for plists with less than 6 items, and point people to
  PLIST_FILES instead. [3]

PR:		100472 [1]
		91933 [2]
		100190 [3]
Submitted by:	Babak Farrokhi <babak@farrokhi.net> [1]
2006-08-06 21:44:18 +00:00
Joe Marcus Clarke
9c67f914b6 Remove the hard-to-maintain usage from pkg-descr, and replace it with a
reference to portlint(1).
2006-05-31 07:13:41 +00:00
Joe Marcus Clarke
16b610b5a7 Update to 2.9.0.
* The check for quoted COMMENTs had a typo.  However, this check has been
  consolidated for other macros that should not be quoted.  Merge the COMMENT
  check into the BROKEN, et al check. [1]
* Properly pluralize the message which counts the number of fatal errors
  and warnings. [2]
* Add distinfo checking support. [3]
* Huge refactoring of the error handling code.  If the -g argument is specified,
  errors will be grouped together to avoid spamming the console with
  repeated lines.
* Add a check for icon installation, and recommend INSTALLS_ICONS.

PR:		97207 [1]
		96089 [2]
		96923 [3]
Submitted by:	lawrance [1]
		ehaupt [2]
		sem [3]
Tested by:	mezz
2006-05-31 04:41:50 +00:00
Joe Marcus Clarke
76963402b0 Remove USE_REINPLACE to give portlint a better self-image.
PR:		95448
Submitted by:	Alexander Botero-Lowry <alex@foxybanana.com>
2006-04-07 00:08:00 +00:00
Joe Marcus Clarke
86d88b7290 Update to 2.8.7.
* Remove support for PERL_{BUILD,RUN}_DEPENDS

Approved by:	portmgr (implicit)
2006-03-12 19:19:43 +00:00
Joe Marcus Clarke
e74a06afb7 Update to 2.8.6, and sync with my own CVS repo.
Pointy hat to:	ade
Approved by:	portmgr (implicit)
2006-02-25 06:16:48 +00:00
Ade Lovett
8503536d38 Conversion to a single libtool environment.
Approved by:	portmgr (kris)
2006-02-23 10:40:44 +00:00
Joe Marcus Clarke
ecae66b28e Update to 2.8.5.
* Add a check for .mo (translation) files, and warn if USE_GETTEXT is not
  set. [1]
* Make sure USE_RC_SUBR checking does macro expansion to catch cases were
  USE_RC_SUBR=${PORTNAME} (for example). [2]

PR:		93273 [2]
Requested by:	kris [1]
2006-02-14 03:20:13 +00:00
Joe Marcus Clarke
79ded35e93 Update to 2.8.4.
* Add a check to see if PORTREVISION=0 in master ports. [1]
* Add checks for direct use of the pkg_* commands. [2]
* Add a check that if a port is new, it is not maintained by
  ports@FreeBSD.org. [3]
* Do not warn about .la files if USE_KDELIBS_VER is set. [4]
* Add a check for deprecated use of USE_RC_SUBR along with checks for its
  proper use. [5]

PR:		91324 [1]
		92888 [2]
		92665 [3]
		92586 [4]
Submitted by:	lofi [4]
		dougb [5]
2006-02-11 23:09:42 +00:00
Joe Marcus Clarke
d469b03a3b Update to 2.8.3.
* Add support for PERL_{RUN,BUILD}_DEPENDS
2006-01-22 00:45:00 +00:00
Joe Marcus Clarke
a4ee4ef133 Update to 2.8.2.
* Update quoting requirements for new bsd.port.mk
* Warn on use of USE_REINPLACE [1]
* Recommend @dirrmtry instead of @unexec rmdir [1]

Requested by:	pav [1]
2006-01-21 21:54:05 +00:00
Joe Marcus Clarke
c20953d63f Update to 2.8.1.
* Warn on use of .tar.bz2 as an EXTRACT_SUFX [1]
* Throw a fatal error if INFO is defined, and install-info is called
  directly [2]
* Throw a warning if install-info is called directly and INFO is not
  defined [2]

PR:		89952 [2]
Requested by:	Kövesdán Gábor <gabor.kovesdan@t-hosting.hu> [1]
2005-12-17 16:36:36 +00:00
Joe Marcus Clarke
e14f6d2e72 * Add some additional verbose messages
* Work around a crash in Perl that can be triggered with complex regular
  expressions [1]

Reported by:	thierry and aspell [1]
2005-11-19 21:21:39 +00:00
Joe Marcus Clarke
f617ce73a2 Update to 2.8.0.
* USE_PYTHON still cannot be included after bsd.port.pre.mk
* USE_APACHE can now be included after bsd.port.pre.mk [1]
* Handle the new autotools world order
* Check that IGNORE is properly capitalized and terminated [2]

PR:		88546 [2]
Reported by:	pav [1]
Submitted by:	lawrance [2]
2005-11-19 20:37:58 +00:00
Joe Marcus Clarke
01d64e0c1b Correct compilation with perl 5.005. 2005-10-25 04:48:06 +00:00
Joe Marcus Clarke
02f93bdf5f Update to 2.7.5.
* Add a check for improperly quoted COMMENTs. [1]
* Require quotes around all of BROKEN, FORBIDDEN, MANUAL_PACKAGE_BUILD,
NO_CDROM, NO_PACKAGE, and RESTRICTED.  Also, enforce the obscure rules around
DEPRECATED. [2]

PR:		87273 [1]
		87498 [2]
Submitted by:	erwin [1]
		fenner [2]
2005-10-22 19:44:50 +00:00
Joe Marcus Clarke
10cda8a2e5 Update to 2.7.4.
* Add a warning if only one MASTER_SITE is configured [1]
* Check for misspellings of INSTALLS_SHLIB [2]

PR:		87141 [2]
Requested by:	kris [1]
2005-10-09 18:52:58 +00:00
Joe Marcus Clarke
28739eaea9 Update to 2.7.3.
* USE_PYTHON can now safely appear after bsd.port.pre.mk
* Expand the .elseif search to cover ".else if" as well
* Don't complain on direct use of autotools if we're using USE_AUTOTOOLS
* Don't check embedded comments for direct command use
2005-09-08 23:57:36 +00:00
Joe Marcus Clarke
753b625edb We only need Perl5 at runtime.
PR:		84029
Submitted by:	edwin
2005-07-30 05:11:51 +00:00
Joe Marcus Clarke
edd625d2fd Fix a mismerge in the last OPTIONS patch. I forgot a line, but perl -cw
didn't catch the missing ';'.  This should fix the erroneous messages
about OPTIONS misuse.
2005-07-03 04:52:12 +00:00
Joe Marcus Clarke
63d27a6ff1 Update to 2.7.2.
* Add '+' to the list of valid characters for file names in the warning
  message.
* Check to make sure OPTIONS is specified before bsd.port.pre.mk (only if
  OPTIONS is actually defined). [1]

PR:		82316 [1]
Submitted by:	sem [1]
2005-07-02 20:35:23 +00:00
Joe Marcus Clarke
211a60e7d9 Add '+' to the list of recommended file name characters.
Reported by:	many
2005-04-16 19:01:15 +00:00
Joe Marcus Clarke
faca8eda4c Update to 2.7.1
* Check to make sure only characters [-.a-zA-Z0-9_] appear in file names [1]
* Check for proper quoting of IGNORE and BROKEN [1]
* Check to see if README.html is being committed [1]
* Check for uses of .elseif [2]

Submitted by:	krion [1]
Suggested by:	bsdcrank <bsdcrank@squbes.com> [2]
2005-04-13 03:20:56 +00:00
Joe Marcus Clarke
f3ce536e69 Update to 2.7.0.
* Add a check to make sure a WWW is defined in pkg-descr (this is a nice
  thing to have) [1]
* Add a slew of Java-related checks (see
  http://wikitest.freebsd.org/moin.cgi/JavaPortlint for more details) [2]
* Add @mode to the list of plist directives to warn about [3]

PR:		78126 [1]
		78947 [3]
Requested by:	hq [2]
Submitted by:	leeym [1]
		Renato Botelho <renato@galle.com.br> [3]
2005-04-02 09:01:47 +00:00
Joe Marcus Clarke
45483a9867 Update to 2.6.11
* Do not warn on direct command use if the command is preceeded by "--" [1]
* Add a check for ports installing charset.alias or locale.alias.  In most
  cases these ports should depend on libiconv or gettext, and not install
  their own copies of these files [2]

PR:		77410 [2]
Requested by:	gerald [1]
Submitted by:	leeym [2]
2005-02-14 08:20:48 +00:00
Joe Marcus Clarke
1ecef33045 Don't check for DISTVERSION as apart of %makevars since it will be set
internally when PORTVERSION is set.  Instead, just scour the Makefile to
see if both PORTVERSION and DISTVERSION are defined.

Reported by:	krion
2004-12-17 17:25:32 +00:00