Commit Graph

248 Commits

Author SHA1 Message Date
Joe Marcus Clarke
91c178d00b Fix breakage introduced in previous commits.
PR:		230427
2018-08-07 12:49:20 +00:00
Adam Weinberger
9c38e50be9 Reevert change accidentally included in r476184 2018-08-01 18:13:39 +00:00
Adam Weinberger
0c926073ff Fix a common grammar error: "can not" means the opposite of "cannot."
"Can not" means "it is possible not to," and "cannot" means "it is impossible to."
2018-08-01 16:33:11 +00:00
Joe Marcus Clarke
02cd77c8b7 Update to 2.18.3.
* Be less strict in the check for MASTER_SITE_SUBDIR use.
  This change checks that the subdirectory used is actually different
  than what is defined in MASTER_SITES_SUBDIRS.  To make this easier to
  do, support has been added to single-quote variables passed to the
  get_makevar* functions. [1]

* Now only PY_FLAVOR is recommended as opposed to FLAVOR. [2]

* Remove an errant ':' when suggesting PY_FLAVOR. [3]

PR:		228227 [1]
Requested by:	mat [2]
Reported by:	koobs [3]
2018-06-24 16:13:06 +00:00
Joe Marcus Clarke
5606d3f1b5 Bump version to 2.18.2.
Fix a regression in the mae makepatch check.

Make sure only the patch header is checked, but make sure
to read in the entire patch file.  This regression was
introduced in 2.18.0.

PR:		228203
2018-05-12 22:14:30 +00:00
Joe Marcus Clarke
ef15aa321e Bump version to 2.18.1.
Soften the py-* dependency error around flavors.

Now the message is a warning and a suggestion. This is pending more discussion,
but this seems like a good compromise for now.

PR:		225654
Requested by:	antoine
2018-05-12 18:59:07 +00:00
Joe Marcus Clarke
18bdf5dabf Update to 2.18.0. Enough has happened that it's time for a minor bump.
* Fix the check for duplicate SHEBANG_LANG values [1]
* Check to make sure patch files end with newlines [2]
* Allow flavored *_DEPENDS in the DEPENDS section [3]
* Check that kde:4 OR kde:5 is defined with USE_KDE [4]
* Add a check to make sure pkg-descr is at least a certain number of lines [5]
* Fix a couple of typos [6] [7]
* Allow for any *_DEPENDS item in the DEPENDS section and fix a bug in the
  dependency syntax checking [8]
* Add a check to make sure Python dependencies include a FLAVOR [9]

PR:		226709 [1]
		226109 [2]
		226581 [3]
		227255 [5]
		227729 [6]
		227878 [7]
		227556 [8]
		225654 [9]
Submitted by:	tcberner [4]
		0mp [5][6][7]
Differential Revision:	D13723 [4]
2018-05-11 21:33:55 +00:00
Joe Marcus Clarke
3326e64f47 Update to 2.17.16
* Check for USE_PYQT when USES=pyqt:5 is defined [1]
* Avoid more bogus direct command use warnings.  Also try and fix some line numbers [2]
* Check for over-verbose use of magic MASTER_SITES_SUBDIRS [3]
* Do not complain about missing Created by: [4]
* Avoid checking direct command usage in embedded comments [5]

PR:		225615 [1]
		225612 [2]
		225503 [3]
		225781 [5]
Reported by:	Jason Bacon <bacon4000@gmail.com> [4]
2018-02-18 21:05:32 +00:00
Joe Marcus Clarke
9cc44c271c Update to 2.17.15.
* Don't check for direct command use for ONLY_FOR_ARCHS_REASON
  and NOT_FOR_ARCHS_REASON when a specific arch has been specified. [1]
* Preserve an original variable value to make sure the check for copying
  dependecies is actually performed.
* Don't complain about incon installation if the port is a Qt5 port. [2]
* Check that PLIST_FILES entries do not contain %%FOO% notation. [3]
* Check that DOCS and EXAMPLES are defined as OPTIONS when using %%PORTDOCS%%
  and %%PORTEXAMPLES%%. [4]
* Check that if USE_LDCONFIG is defined, then the port installs shared
  objects. [5]
* Check that when USE_KDE is defined, then USES=kde:5 is also defined. [6]
* Ignore flavors when trying to find port directories. [7]
* Revert the fix for 221971 (USE_GITHUB).  More debate is needed here.

PR:		223285 [1]
		223498 [2]
		223539 [3]
		223541 [4]
		223762 [5]
		224140 [6]
		224245 [7]
Submitted by:	adridg [2]
		mat [4]
		224245 [7]
2017-12-28 23:46:54 +00:00
Joe Marcus Clarke
09bc079590 Emergency update to 2.17.14.
Escape a variable in an RE to prevent corruption.

Submitted by:	gahr
2017-12-07 11:26:19 +00:00
Joe Marcus Clarke
de70d0d05c Update to 2.17.13.
* Do not complain about USE_GITHUB before USES [1]
* Make sure each variable in a dependency is fully expanded [2]
* Clean up the earlier checks for BROKEN, etc. to prevent bogus warnings [3]
* 'USE=execinfo' is removed with ports r450351. So stop suggesting to use it [4]

PR:		221971 [1]
		221605 [2]
		222409 [3]
		222653 [4]
Submitted by:	amdmi3 [1]
		jrm [2]
		Yasuhiro KIMURA <yasu@utahime.org> [4]
2017-10-08 17:58:52 +00:00
Joe Marcus Clarke
3e77154f96 Update to 2.17.12.
* Don't check for absolute paths inside make variables [1]
* Check pkg-plist for use of OPTIONS [1]
* Fix an issue with line number offsets [2]
* Don't alert on double-dollar (VARIABLE) [3]
* Allow BROKEN, IGNORE, DEPRECATED to appear before the *_DEPENDS block [4]
* Check that manpages are not installed into share/man [5]
* Check for a space anywhere between a variable and its value [6]

PR:		221507 [1]
		221291 [2]
		221397 [3]
		221377 [4]
		221455 [5]
		221219 [6]
Submitted by:	Dmitri Goutnik <dg@syrec.org> [4]
2017-08-15 12:43:14 +00:00
Joe Marcus Clarke
7fd91ebc31 Update to 2.17.11.
* Trim comments after USE_GCC [1]
* Add a check for redundant SHEBANG_LANG values [2]
* Make sure both USES and USE_* are actually seen before checking
  to see if one is included before the other [3]

PR:		221085 [1]
		220500 [2]
Submitted by:	gerald [1]
Reported by:	dbaio [3]
2017-08-03 12:55:02 +00:00
Joe Marcus Clarke
5bad22dc5b Update to 2.17.10.
* Remove the other check for conflicts that are too broad [1]
* Remove the check for portlint that is more than 30 days old [2]
* Check to see uf USE_* comes before USES [3]

PR:		220087 [2]
		220340 [3]
Reminded by:	dbaio [1]
2017-07-22 01:51:44 +00:00
Joe Marcus Clarke
8907362f33 Update to 2.17.9
* Remove a check for narrow conflicts now that we are in the post-pkg world [1]
* Genericize the USES_ sorting code and check to see if NOT_FOR_ARCHS
  and ONLY_FOR_ARCHS are sorted. [2]
* Fix the check for JAVALIBDIR so that it falls before the variable expansion
  code. [3]

PR:		219684 [1]
		218823 [2]
		219360 [3]
Submitted by:	eugen [3]
2017-06-04 22:24:29 +00:00
Sunpoet Po-Chuan Hsieh
6d0e542fa1 Convert to options target helper
Approved by:	portmgr (blanket)
2017-04-22 10:58:32 +00:00
Joe Marcus Clarke
6bb9127bab Update to 2.17.8.
* Check for use of OPT_XXX_OFF syntax to prevent false incorrect option
  usage assertions. [1]
* Remove now-obsolete warning about using :LU operators with make(1). [2]
* Fix the regex to prevent direct command use from hittin on lines
  like FOO_USES=... [3]

PR:		218260 [1]
		218325 [2]
		218672 [3]
Submitted by:	jrm [2]
Reported by:	rezny [2]
2017-04-21 19:50:59 +00:00
Joe Marcus Clarke
3379f32b15 Update to 2.17.7.
* Fold in the same removal of the obsolete HTTP-only warning
* Add support for checking for direct dependency on bison, fmake, and libexecinfo. [1]

PR:		216268 [1]
2017-03-29 15:28:55 +00:00
Dmitry Marakasov
3cccb78f68 Bump PORTREVISION 2017-03-29 13:36:30 +00:00
Dmitry Marakasov
6878f275d7 - Remove useless warning
HTTPS-only is normal novadays, also may@ says that the warning was
there because before 8.4 libfetch did not support going through a
proxy for HTTPS

PR:		217995
Approved by:	maintainer timeout (marcus, 2 weeks)
Differential Revision:	D10015
2017-03-29 13:35:45 +00:00
Joe Marcus Clarke
b302db2ed7 Update to 2.17.6.
Add support for CMAKE_BOOL

PR:		215203
Submitted by:	Dmitri Goutnik <dg@syrec.org>
2016-12-23 23:19:41 +00:00
Joe Marcus Clarke
7ff2ece996 Correct a typo with TIMESTAMP handling. While here, don't use a pure magic number
for the 30 days worth of seconds.

PR:		212091
Submitted by:	jrm
2016-11-11 02:13:40 +00:00
Joe Marcus Clarke
02a488925d Update to 2.17.5.
* Allow https URLs for the WWW line in pkg-descr.  Why are we only NOW doing
  this? [1]
* Check TIMESTAMP to make sure it's in the present/past, but not more than 30
  days in the past. [2]

PR:		212091 [2]
Submitted by:	amdmi3 [1]
Differential Revision:	D8462 [1]
2016-11-09 00:39:18 +00:00
Joe Marcus Clarke
de17f32cc0 Update to 2.17.4.
* Check PLIST_FILES for icons [1]
* Add VARS and VARS_OFF to the option helper list [2]
* Add NO_ARCH [2]

PR:		211175 [1]
Submitted by:	koobs [2]
2016-07-24 14:24:34 +00:00
Joe Marcus Clarke
7021f1ec0e Update to 2.17.3.
This release fixes a bug in newer versions of Perl where '{' and '}' caused
regexp compilation to fail.

PR:		210809
Submitted by:	mat
2016-07-07 17:42:25 +00:00
Joe Marcus Clarke
f34d017761 Update to 2.17.2.
* Properly check for TIMESTAMP in distinfo
2016-05-15 18:43:43 +00:00
Joe Marcus Clarke
2ec321c6fb Bump version to 2.17.1 for previous commit and sync with my local
repo.
2016-05-15 18:22:40 +00:00
Baptiste Daroussin
70ef64e730 Make portlint not yelling at TIMESTAMP in distinfo
PR:		209522
Reported by:	John W. O'Brien <john@saltant.com>
2016-05-15 16:09:02 +00:00
Joe Marcus Clarke
4a1288cd49 Update to 2.17.0.
* Drop the need for PORTSDIR in dependencies [1]
* Allow a trailing ':' in URLs [2]
* Check to make sure the value(s) of SUB_FILES is healthy [3]
* Expand variables on all sides of the dependency tuple [4]
  (this last change is rather big, and thus bumping minor version)

PR:		208272 [1]
		207843 [2]
		207477 [3]
		206061 [4]
Submitted by:	amdmi3 [1]
2016-04-15 18:30:42 +00:00
Joe Marcus Clarke
c1ecb0bd11 Update to 2.16.8.
* Attempt to properly detect gettext [1]
* Add support for @<pre|post>[un]exec plist directives [2]
* Add support for the new @sample plist directive changes [2]
* Modify the text when checking for used OPTIONS [3]

PR:		204370 [1]
		204900 [2]
		204575 [3]
2015-12-19 21:16:07 +00:00
Mathieu Arnold
7c47779cb9 Fix usage of ${PERL5}.
${PERL5} points to a specific version of perl, say, perl5.22.1, it is
fine to use it in a ports Makefile to do Perly things, but ports using
it must use ${PERL}, that points to /usr/local/bin/perl so that if the
minor version is updated, the shebang keep working.

While there, make some ports use shebangfix, regen a few patches, and
bump PORTREVISION where a shebang went from PERL5 to PERL.

PR:		205367
With hat:	portmgr
Sponsored by:	Absolight
2015-12-17 17:19:48 +00:00
Joe Marcus Clarke
57a4c69296 Update to 2.16.7.
* Add support for @(...) notation [1]
* Remove the check for USES being sorted.  Order is important. [2]
* Add support for making sure @owner and @group are properly reset [3]

PR:		202570 [1]
		203908 [2]
		202711 [3]
2015-10-25 17:27:38 +00:00
Joe Marcus Clarke
683daeef9e Update to 2.16.6.
* Only report "make makepatch" once per patch file [1]
* Attempt to re-word the make makepatch warning to avoid unnecessary repo
  churn [2]
* Attempt to test some other macros for sorting [3]
* Do not check empty dependencies for validity [4]

PR:		202050 [1]
		201647 [2]
		201409 [3]
		202052 [4]
Submitted by:	gerald [1]
2015-08-09 22:23:26 +00:00
Joe Marcus Clarke
b3e36de95b Update to 2.16.5.
* Add a check for BROKEN similar to IGNORE [1]
* Quiet the noise when used with Perl 5.22 [2]
* Fix a bug checking for USES sortedness [3]
* Correct a logic bug checking for USE_ANT [4]

PR:		200634 [2]
		200792 [3]
		200421 [4]
Submitted by:	pi [2]
		John Hein <z7dr6ut7gs@snkmail.com> [4]
Reported by:	koobs [1]
2015-07-06 14:51:16 +00:00
Joe Marcus Clarke
76df15a96d Update to 2.16.4
* Correct a typo.  This should have been SITE_ARCH_REL. [1]
* Pre-populate USES with an explicit grep of the Makefile. [2]
* Correct a typo to prevent direct command usage checking in pkg-* files. [3]
* Adjust the order of first-paragraph items so that proper checking is done. [4]
* Adjust the warning about installing docs by wrapping with
  .if ${PORT_OPTIONS:MDOCS}. [5]
* Add a check for ${SETENV} instead of ${ENV}. [5]

PR:		199974 [2]
		199693 [3]
		199428 [4]
		199417 [5]
Submitted by:	adamw [4]
		sunpoet [1]
2015-05-17 22:44:09 +00:00
Joe Marcus Clarke
88071ad77f Update to 2.16.3.
* Check the patches to make sure they were generated using ``make patch'' [1]
* Do not throw a bunch of Perl errors if the makefile is bad [2]

PR:		197747
		198887
2015-04-13 04:53:25 +00:00
Joe Marcus Clarke
a27d6b8e48 Update to 2.16.2.
* Exclude .git directories from error reporting [1]
* Add some additional Perl checks for STAGEDIR [2]
* Try not to flag on direct use of "install" if we're running a make command [3]
* Fix the checks for Perl given the new hierarchy [4]

PR:		195780 [1]
		194759 [3]
		196222 [4]
Submitted by:	gerald [3]
		Yasuhiro KIMURA <yasu@utahime.org> [1]
Requested by:	mat [2]
2015-02-04 17:10:04 +00:00
Mark Felder
b770f9c1f9 Update "BSD" license.
Portlint's history goes back to itojun. I've researched his open source
projects and he either used two licenses:

BSD3CLAUSE: magicpoint, sch
His own license: portlint, snooper, various camera tools, etc

Debian asked him years ago about his license to see if it complies with
thier DFSG:
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=88416

Example of his license:

Copyright(c) 1997 by Jun-ichiro Hagino <itojun@itojun.org>.
All rights reserved.
Freely redistributable.  Absolutely no warranty.

OR

Absolutely no warranty.  Pray before try.  Freely redistributable.

Hope I'm not crossing any boundaries here, but in my effort to clean up
"BSD" licenses in the ports tree this one certainly is not and sadly we
can't just ask him.
2014-12-07 14:47:52 +00:00
Mathieu Arnold
eee58d187e Change the way Perl modules are installed, update the default Perl to 5.18.
Before, we had:

  site_perl :           lib/perl5/site_perl/5.18
  site_perl/perl_arch : lib/perl5/site_perl/5.18/mach
  perl_man3 :           lib/perl5/5.18/man/man3

Now we have:

  site_perl : lib/perl5/site_perl
  site_arch : lib/perl5/site_perl/mach/5.18
  perl_man3 : lib/perl5/site_perl/man/man3

Modules without any .so will be installed at the same place regardless of the
Perl version, minimizing the upgrade when the major Perl version is changed.
It uses a version dependent directory for modules with compiled bits.

As PERL_ARCH is no longer needed in plists, it has been removed from
PLIST_SUB.

The USE_PERL5=fixpacklist keyword is removed, the .packlist file is now
always removed, as is perllocal.pod.

The old site_perl and site_perl/arch directories have been kept in the
default Perl @INC for all Perl ports, and will be phased out as these old
Perl versions expire.

PR:		194969
Differential Revision:	https://reviews.freebsd.org/D1019
Exp-run by:	antoine
Reviewed by:	perl@
Approved by:	portmgr
2014-11-26 13:08:24 +00:00
Joe Marcus Clarke
dfba912666 Update to 2.16.1.
Add an additional check for EXTRACT_SUFX.

Submitted by:	ak
2014-10-27 16:02:01 +00:00
Joe Marcus Clarke
f48db5d370 Update to 2.16.0
* Remove @MASTERSITES_WHITELIST
* Remove some remnants of multi-OS support: always false conditions and
  unused variables ($automan, $autoinfo, $manstrict, $mancompress,
  $multiplist, $newxdef, $rcsidinplist, $ldconfigwithtrue)
* Remove check for USE_SIZE
* Remove check for 'Version Required' in header
* Remove pkgtools remnants: fix pkg_version invocations,
  remove check for PKGINSTALLVER, remove check for old packages in $portsdir
* Update check for IGNOREFILES macro
* Remove comment about EXEC_DEPENDS
* Remove check for NO_CONFIGURE/NO_PATCH
* Remove '@dirrm for %%DOCSDIR%%' check
* Remove pkg-comment check
* Remove check for /usr/X11R6
* Remove check for gcc_val 3.x and 4.1 conditions
* STAGE is now required
* Remove MANLANG check
* Add NOPORTEXAMPLES/NOPORTDOCS deprecation warning
* Add @stopdaemon, @cwd deprecation warning
* Add PLIST_DIRSTRY deprecation warning
* Add check for make :L :U modifiers
* Add check for for MAN[1-9] macro
* Allow use of absolute path in plist
* Fix checks for EXTRACT_SUFX
* Fix USE_ANT and USES=gmake warning
* Convert WITH(OUT)_$1 to PORT_OPTIONS:M$1 in warning
* Convert USE_DOS2UNIX to USES=dos2unix in warning
* Convert USE_ZIP to USES=zip in EXTRACT_SUFX check
* Convert USE_PERL5 to USES=perl5 in warning
* Convert USE_ICONV to USES=iconv in warning
* Modify checkplist() to accept @fc/@shell/other new keywords

PR:		194285
Submitted by:	ak
2014-10-26 18:34:52 +00:00
Joe Marcus Clarke
ae09692954 Update to 2.15.6.
* Check to make sure each instance of USES is properly sorted.

PR:		193792
2014-10-13 05:53:56 +00:00
Joe Marcus Clarke
21491c1623 Update to 2.15.5.
* Do not report on DEBUG as an OPTION. [1]
* Check for use of muted INSTALL_foo commands.
* Warn on use of @dirrm[try].
* Check to make sure rc.d scripts contain a '# PROVIDE:' line. [2]
* Check to see that the options provided to USES are sorted. [3]
* Fix an errant "direct use of command" warning. [4]
* Remove the check to see if StartupNotify is the empty string in
  DESKTOP_ENTRIES.  This is allowed per the spec and per the porter's
  handbook. [5]
* Check for empty lines in plist. [6]
* Check for direct command use in SHEBANG_FILES. [7]

PR:		192525 [1]
		193464 [2]
		193792 [3]
		193793 [4]
		193456 [5]
		193794 [6]
		193795 [7]
2014-10-08 23:40:03 +00:00
Joe Marcus Clarke
5577d18b3f Update to 2.15.4.
Use File::Basename so that only the patch filename is checked for the 100
character limit.

PR:		192161
2014-07-28 13:21:06 +00:00
Adam Weinberger
88a055c8b1 Add missing EXAMPLES and DOCS to a couple ports that
already honour PORTDOCS and PORTEXAMPLES in the plist.
2014-07-15 20:00:43 +00:00
Joe Marcus Clarke
7eaa217b85 Update to 2.15.3.
* Make sure a port is placed in its proper category directory. [1]
* Don't check INSTALL_TARGET for direct command use. [2]
* Remove the single MASTER_SITE warning. [3]
* Check to make sure patch file names contain no more than 100 characters. [4]

PR:		191631 [2]
		191079 [3]
Submitted by:	wen heping <wenheping@gmail.com> [1]
		gerald [2]
Requested by:	demon [4]
Discussed on:	ports@ [3]
2014-07-12 14:52:49 +00:00
Baptiste Daroussin
a33191366c Convert GMAKE to MAKE_CMD
Please note that lots of invocation of MAKE_CMD here are wrong as they do not
properly respect MAKE_ENV and friends

With hat:	portmgr
2014-06-25 05:35:31 +00:00
Joe Marcus Clarke
b999e16732 Update to 2.15.2.
* Add s3.amazonaws.com to the list of whitelist master sites. [1]
* Correct a typo. [2]
* Add support for the @sample directive. [3]
* Check for USE_AUTOTOOLS=libtool and suggest USES=libtool instead.

PR:		183864 [3]
Submitted by:	skreuzer [1]
		culot [2]
2014-06-21 19:24:50 +00:00
Joe Marcus Clarke
9015a53dc7 Update to 2.15.1.
* Remove www.freebsd.org/~$user check from urlcheck()
* Remove 'in the module alias name' warning
* Remove 'binary -ko'
* Silence warnings in case if svn binary does not exist (try 2)
* Use more strict regexp for share/doc detection
* Add sdl-config to direct commands check
* Fix phase 2 of direct use of pathnames check
* Ignore comments in direct use of pathnames check
* Support nested knobs in plist for OPTIONS_SUB check
* Add check for @dirrm(try) libdata/pkgconfig in plist
* Remove USE_MESA, INSTALLS_SHLIB, APACHE_COMPAT, USE_XPM from deprecated
  macro check
* Fix 'Consider adding support for a NLS knob to conditionally disable gettext'
  warning in the case of use 'NLS_USES= gettext'

PR:		188389
Submitted by:	ak
2014-04-19 18:39:10 +00:00
Joe Marcus Clarke
0126502b71 Update to 2.15.0.
- Remove NetBSD support, its completely bitrotted
- Suggest to set DEVELOPER=yes in /etc/make.conf if committer flag specified in command line
- Fix WARN: Makefile: [11]: possible direct use of command "libtool" found...
- Small fixes:
  * 'WWW: UR:' -> 'WWW: URL'
  * @option_helpers -> remove leading '_' use _$m instead
  * fix a few 'undefined variable' warnings
- Make MAN{X} checks NO_STAGE only (consolidate/simplify check)
- Make some checks in checkplist NO_STAGE only
- Convert PERL_CONFIGURE check to USE_PERL5=configure
- Make "use .if ${PORT_OPTIONS:MDOCS} to wrap installation of files into
  $localbase/share/doc" warning NO_STAGE only
- Add special case for global options(DOCS/EXAMPLES/NLS/IPV6) in
  OPTIONS_DEFINE, but not in PORT_OPTIONS:M$i
- Check for relative path (/../) in *DEPENDS
- Remove MASTER_SITES that don't resolve or returns 5xx
- Remove LINTSKIP check that was commented since 1997

PR:		186639
Submitted by:	ak
2014-02-23 20:08:12 +00:00