summaryrefslogtreecommitdiff
path: root/ports-mgmt/portlint (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Quick bump to 2.9.7.Joe Marcus Clarke2007-12-152-4/+4
| | | | | | | | | | Allow comments to start with a '[' (e.g. [X]Emacs). PR: 117832 Submitted by: "Philip M. Gollucci" <pgollucci@p6m7g8.com> Notes: svn path=/head/; revision=203750
* Update to 2.9.6.Joe Marcus Clarke2007-12-152-28/+30
| | | | | | | | | | | | | | | | | | * 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] Notes: svn path=/head/; revision=203749
* Update to 2.9.5.Joe Marcus Clarke2007-08-172-7/+34
| | | | | | | | | | | | | | | | | | | | | * 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] Notes: svn path=/head/; revision=197845
* - Remove the DESTDIR modifications from individual ports as we have a new,Gabor Kovesdan2007-08-041-1/+1
| | | | | | | | | | fully chrooted DESTDIR, which does not need such any more. Sponsored by: Google Summer of Code 2007 Approved by: portmgr (pav) Notes: svn path=/head/; revision=197075
* Update to 2.9.4.Joe Marcus Clarke2007-06-092-7/+6
| | | | | | | | | | | | | * 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] Notes: svn path=/head/; revision=193121
* Update to 2.9.3.Joe Marcus Clarke2007-02-112-26/+28
| | | | | | | | | | | | | | * 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] Notes: svn path=/head/; revision=184910
* Populate a new ports-mgmt category. List of moved ports:Pav Lucistnik2007-02-051-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 Notes: svn path=/head/; revision=184211
* Update to 2.9.2.Joe Marcus Clarke2006-11-252-6/+23
| | | | | | | | | | | | | | * 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] Notes: svn path=/head/; revision=178032
* Respect DESTDIR.Joe Marcus Clarke2006-08-111-1/+1
| | | | | | | | PR: 101675 Submitted by: gabor Notes: svn path=/head/; revision=170356
* Actually check to see if $seen_special is set before checking the numberJoe Marcus Clarke2006-08-062-2/+3
| | | | | | | of plist items. Notes: svn path=/head/; revision=169863
* Update to 2.9.1.Joe Marcus Clarke2006-08-062-24/+23
| | | | | | | | | | | | | | | | * 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] Notes: svn path=/head/; revision=169858
* Remove the hard-to-maintain usage from pkg-descr, and replace it with aJoe Marcus Clarke2006-05-311-15/+2
| | | | | | | reference to portlint(1). Notes: svn path=/head/; revision=164053
* Update to 2.9.0.Joe Marcus Clarke2006-05-313-267/+384
| | | | | | | | | | | | | | | | | | | | | | | | * 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 Notes: svn path=/head/; revision=164045
* Remove USE_REINPLACE to give portlint a better self-image.Joe Marcus Clarke2006-04-071-1/+0
| | | | | | | | PR: 95448 Submitted by: Alexander Botero-Lowry <alex@foxybanana.com> Notes: svn path=/head/; revision=158991
* Update to 2.8.7.Joe Marcus Clarke2006-03-122-4/+4
| | | | | | | | | * Remove support for PERL_{BUILD,RUN}_DEPENDS Approved by: portmgr (implicit) Notes: svn path=/head/; revision=157066
* Update to 2.8.6, and sync with my own CVS repo.Joe Marcus Clarke2006-02-252-5/+4
| | | | | | | | Pointy hat to: ade Approved by: portmgr (implicit) Notes: svn path=/head/; revision=156782
* Conversion to a single libtool environment.Ade Lovett2006-02-231-8/+0
| | | | | | | Approved by: portmgr (kris) Notes: svn path=/head/; revision=156749
* Update to 2.8.5.Joe Marcus Clarke2006-02-142-10/+41
| | | | | | | | | | | | | * 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] Notes: svn path=/head/; revision=155974
* Update to 2.8.4.Joe Marcus Clarke2006-02-112-6/+42
| | | | | | | | | | | | | | | | | | | | * 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] Notes: svn path=/head/; revision=155794
* Update to 2.8.3.Joe Marcus Clarke2006-01-222-4/+4
| | | | | | | * Add support for PERL_{RUN,BUILD}_DEPENDS Notes: svn path=/head/; revision=154106
* Update to 2.8.2.Joe Marcus Clarke2006-01-212-25/+23
| | | | | | | | | | | * 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] Notes: svn path=/head/; revision=154092
* Update to 2.8.1.Joe Marcus Clarke2005-12-172-4/+14
| | | | | | | | | | | | | | * 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] Notes: svn path=/head/; revision=151410
* * Add some additional verbose messagesJoe Marcus Clarke2005-11-192-2/+13
| | | | | | | | | | * Work around a crash in Perl that can be triggered with complex regular expressions [1] Reported by: thierry and aspell [1] Notes: svn path=/head/; revision=148817
* Update to 2.8.0.Joe Marcus Clarke2005-11-192-19/+50
| | | | | | | | | | | | | | * 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] Notes: svn path=/head/; revision=148810
* Correct compilation with perl 5.005.Joe Marcus Clarke2005-10-252-2/+3
| | | | Notes: svn path=/head/; revision=146296
* Update to 2.7.5.Joe Marcus Clarke2005-10-222-8/+37
| | | | | | | | | | | | | | | * 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] Notes: svn path=/head/; revision=146132
* Update to 2.7.4.Joe Marcus Clarke2005-10-092-3/+23
| | | | | | | | | | | * 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] Notes: svn path=/head/; revision=144699
* Update to 2.7.3.Joe Marcus Clarke2005-09-082-10/+9
| | | | | | | | | | * 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 Notes: svn path=/head/; revision=142250
* We only need Perl5 at runtime.Joe Marcus Clarke2005-07-301-1/+1
| | | | | | | | PR: 84029 Submitted by: edwin Notes: svn path=/head/; revision=140438
* Fix a mismerge in the last OPTIONS patch. I forgot a line, but perl -cwJoe Marcus Clarke2005-07-032-1/+3
| | | | | | | | didn't catch the missing ';'. This should fix the erroneous messages about OPTIONS misuse. Notes: svn path=/head/; revision=138366
* Update to 2.7.2.Joe Marcus Clarke2005-07-022-25/+35
| | | | | | | | | | | | | * 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] Notes: svn path=/head/; revision=138354
* Add '+' to the list of recommended file name characters.Joe Marcus Clarke2005-04-162-2/+3
| | | | | | | Reported by: many Notes: svn path=/head/; revision=133489
* Update to 2.7.1Joe Marcus Clarke2005-04-132-3/+39
| | | | | | | | | | | | | * 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] Notes: svn path=/head/; revision=133196
* Update to 2.7.0.Joe Marcus Clarke2005-04-022-5/+115
| | | | | | | | | | | | | | | | | * 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] Notes: svn path=/head/; revision=132161
* Update to 2.6.11Joe Marcus Clarke2005-02-142-4/+12
| | | | | | | | | | | | | | * 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] Notes: svn path=/head/; revision=128757
* Don't check for DISTVERSION as apart of %makevars since it will be setJoe Marcus Clarke2004-12-172-6/+7
| | | | | | | | | | internally when PORTVERSION is set. Instead, just scour the Makefile to see if both PORTVERSION and DISTVERSION are defined. Reported by: krion Notes: svn path=/head/; revision=124319
* * Update to 2.6.10Joe Marcus Clarke2004-12-172-18/+32
| | | | | | | | | * Add support for the new DISTVERSION macro Submitted by: lioux (plus some additional checks) Notes: svn path=/head/; revision=124243
* Update to 2.6.9.Joe Marcus Clarke2004-11-222-158/+57
| | | | | | | | | | | | | | | | | | * Ignore comments when checking for absolute pathname usage * Check DISTNAME for uses of PORTREVISION and PORTEPOCH [1] * Make sure to quote meta-characters in PORTNAME before using it as a regular expression [1] * Fix bug when matching OPTIONS in ".if defined(WITH_OPT1) && defined(WITHOUT_OPT2)" [2] * Update OMF checks to account for the new INSTALLS_OMF macro * Update GConf checks to account for the new GCONF_SCHEMAS macro PR: 73536 [2] Submitted by: mat [1] leeym [2] Notes: svn path=/head/; revision=122165
* Support .ifndef and !defined when doing OPTIONS checking.Joe Marcus Clarke2004-10-122-1/+2
| | | | Notes: svn path=/head/; revision=119087
* * Update to 2.6.8Joe Marcus Clarke2004-10-122-5/+47
| | | | | | | | | | | | | | | * Check PLIST_FILES for shared libraries, and make sure INSTALLS_SHLIB is defined [1] * Check DATADIR and MAN3PREFIX macros [2] * Check OPTIONS [3] PR: 71405 [2] 71468 [3] Requested by: michael johnson <ahze@ahze.net> [1] Submitted by: leeym [2] [3] Notes: svn path=/head/; revision=118775
* Update to 2.6.7Joe Marcus Clarke2004-09-012-8/+9
| | | | | | | | | | | | | | | | | | * Switch the direct use of ``echo'' check to suggest ${ECHO_CMD} or ${ECHO_MSG} instead of ${ECHO} [1] * Tighten the check for improper GConf schema handling so that we only look in the GConf schemas directory [2] * Correct some grammar mistakes [3] * Avoid erroneous "direct use of command" warnings [4] PR: 71159 [4] Submitted by: gerald [1] pav [3] eik [4] Reported by: pav [2] Notes: svn path=/head/; revision=117785
* Update to 2.6.6Joe Marcus Clarke2004-06-272-10/+115
| | | | | | | | | | | | | | * Fix a typo in the libtool archive hint [1] * Check for ports that have a poorly specified CONFLICTS line as well as ports that conflict with themselves [2] * Check for proper handling of gconf schemas * Check for explicit listing of %gconf keys in the plist Spotted by: lofi [1] Submitted by: eik [2] Notes: svn path=/head/; revision=112412
* Update to 2.6.5.Joe Marcus Clarke2004-06-152-5/+11
| | | | | | | | | | | | | * Fix a bug introduced in the "use strict" conversion, and don't check patch files for trailing blank lines * Add a check to make sure pkg-config files are installed into the correct location [1] * Fix some nearby spacing nits Requested by: pav [1] Notes: svn path=/head/; revision=111517
* Update to 2.6.4.Joe Marcus Clarke2004-06-062-53/+15
| | | | | | | | | | | * Remove check for SIZE and MD5 in distinfo since this was a rush job, and missed some common cases. [1] * Re-enable use strict, and fix portlint to obey it Requested by: eik [1] Notes: svn path=/head/; revision=110951
* Update to 2.6.3.Joe Marcus Clarke2004-06-062-25/+57
| | | | | | | | | | | | | | | * Add a generic check for deprecated macros (e.g. the recent autotools batch), and add USE_MESA to the set [1] * Only use USE_LIBTOOL_VER for checking .la file installation [1] * Add a check for USE_LIBLTDL and warn about directly using a libltdl dependency [1] * Check distinfo to make sure each file in DISTFILES has SIZE and MD5 entries if NO_SIZE and NO_CHECKSUM are not defined Submitted by: krion and tobez [1] Notes: svn path=/head/; revision=110914
* Update to 2.6.2.Joe Marcus Clarke2004-05-302-12/+80
| | | | | | | | | | | | | | | | | | * Do not complain about SIZE if NO_SIZE is set [1] * Allow ``%%PORTDOCS%%@unexec rmdir %D/%%DOCSDIR%% 2>/dev/null || true'' in pkg-plist when using PORTDOCS * Be a little smarter about complaining when .la files are seen in the plist. Also, point users to the GNOME site for elimintating .la files altogether [2] * Super-scrub PKGNAME and PORTVERSION for illegal characters [3] * Check for port versions that go backwards [3] PR: 66891 [2] Submitted by: krion [1] leeym [2] (based on) eik [3] Notes: svn path=/head/; revision=110424
* Update to 2.6.1.Joe Marcus Clarke2004-05-012-6/+38
| | | | | | | | | | | | | | | | * Add a check to see if PLIST_{FILES,DIRS} is defined and pkg-plist exists. If so, print an error [1] * Add a check for direct usage of iconv.\d+ and intl.\d+ instead of USE_ICONV and USE_GETTEXT [1] * If %%DOCSDIR%% is used in the plist, make sure @dirrm %%DOCSDIR%% is also present [1] * Don't flag a missing distinfo as FATAL [2] Submitted by: krion [1] eik [2] Notes: svn path=/head/; revision=108065
* Update to 2.6.0Joe Marcus Clarke2004-03-262-12/+52
| | | | | | | | | | | | | | | * Add some additional checks for USE_* variables included too late [1] * Add a check for SIZE in distinfo [2] * Fix a small style nit [2] * Warn is USE_SIZE is used in a port's Makefile * Check to see if a port supports WITHOUT_NLS if USE_GETTEXT is defined [3] Submitted by: eik [1] krion [2] Requested by: kris [3] Notes: svn path=/head/; revision=105377
* Update to 2.5.9.Joe Marcus Clarke2004-03-212-17/+48
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Add code for formal master/slave checking rules as defined in ports/64393 [1]: 1. A port is a slave port if and only if MASTERDIR != .CURDIR 2. Slave ports should define MASTERDIR using one of the following lines: MASTERDIR= ${.CURDIR}/../../<category>/<port> MASTERDIR= ${.CURDIR}/../<port> 3. Non-slave ports shouldn't define MASTERDIR at all 4. The last line of a slave port's Makefile has to be .include "${MASTERDIR}/Makefile" 5. The last line of a non-slave ports Makefile must be one of: .include <bsd.port.mk> .include <bsd.port.post.mk> 6. slave ports may not include bsd.port(.pre).mk * Check to make sure MACHINE_ARCH is not defined and make sure it is never tested directly [2] * Fix some grammar nits [3] PR: 64420 [1] Submitted by: eik [1] krion [3] Requested by: kris [2] Notes: svn path=/head/; revision=104817
* Update to 2.5.8.Joe Marcus Clarke2004-03-102-7/+8
| | | | | | | | | | | * Add dirname and egrep direct command use checks * Add a missing '?' in checking for text after bsd.port(.post)?.mk [1] * Add a check to make sure OPTIONS is set before bsd.port.pre.mk Submitted by: eik [1] Notes: svn path=/head/; revision=103500