aboutsummaryrefslogtreecommitdiff
path: root/devel/portlint
Commit message (Collapse)AuthorAgeFilesLines
* 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
* * Update to 2.5.7Joe Marcus Clarke2004-01-223-30/+50
| | | | | | | | | | | | | | | | | | | | | | | * Fix some grammar nits in portlint.1 * Add some missing options to the summary in portlint.1 * Reorganize some option descriptions in portlint.1 * Add an ENVIRONMENT section describing PL_CVS_IGNORE and PORTSDIR in portlint.1 * Don't check the MAINTAINER field for direct command use [1] * Add a new PL_CVS_IGNORE environment variable that allows users to filter out certain patterns from the CVS files check [2] * Only warn about CATEGORY problems if the user is in PORTSDIR [3] * Sync new command macros with recent bsd.port.mk changes * Correct a regular expression problem when looking for direct command use [4] PR: 61562 [1] 61449 [2] [3] Submitted by: Sergey Matveychuk <sem@ciam.ru> [1] sergei [3] leeym [4] Notes: svn path=/head/; revision=98823
* Update to 2.5.6.Joe Marcus Clarke2004-01-072-4/+7
| | | | | | | | | | | | * Check to make sure RCS tags begin with capital letters [1] * Do not look direct command use in .for loops [2] PR: 60947 [1] Submitted by: leeym [1] petef [2] Notes: svn path=/head/; revision=97545
* * Update to 2.5.5Joe Marcus Clarke2004-01-023-9/+17
| | | | | | | | | | | | | | | | | * Fix up the usage text * Ignore arguments passed to REINPLACE_CMD so portlint will not complain on things such as ${REINPLACE_CMD} -e 's,/usr/local,${PREFIX},g' [1] * Only match libraries installed into lib when looking for .so's [2] * Try to make the PKGCATEGORY check a little more forgiving to committers checking single ports [3] PR: 60608 [1] 60803 [2] Submitted by: leeym [1] [2] (based on) dougb [3] Notes: svn path=/head/; revision=97059
* Catch the pkg-descr up with reality.Joe Marcus Clarke2003-12-271-1/+3
| | | | Notes: svn path=/head/; revision=96660
* * Update to 2.5.4Joe Marcus Clarke2003-12-272-5/+7
| | | | | | | | | | | * Correct a typo (-n should be -N) [1] * Don't check comments for direct command use [2] Submitted by: pav [1] Sascha Holzleiter <sascha@root-login.org> [2] Notes: svn path=/head/; revision=96659
* Ack, I knew I forgot something. Add a new -C argument that enables pedanticJoe Marcus Clarke2003-11-223-8/+12
| | | | | | | | | | committer mode. This is the identical to -A except it omits the new port checks. Requested by: eik Notes: svn path=/head/; revision=94725
* Standardize all error messages to include the filename at least (and lineJoe Marcus Clarke2003-11-222-196/+213
| | | | | | | | | number where possible). Bump version to 2.5.2. Reviewed by: eik Notes: svn path=/head/; revision=94724
* * Check to make sure new ports do not contain PORTREVISION [1]Joe Marcus Clarke2003-11-212-4/+150
| | | | | | | | | | | | | | | | | * Check to make sure new ports do not contain PORTEPOCH * Throw a FATAL error if an additional file exists in the port directory but not in CVS [2] * Throw a FATAL error if a file is in CVS but not in the port's directory [2] * Throw a FATAL error if a file was deleted from CVS but still in the port's directory [2] * Warn if a new file contains a non-empty RCS Id [2] * Add a missing ``if ($verbose)'' [2] Submitted by: arved [1] eik [2] Notes: svn path=/head/; revision=94591
* Remove EXAMPLESDIR.Joe Marcus Clarke2003-11-171-0/+1
| | | | | | | Submitted by: krion Notes: svn path=/head/; revision=94199
* Update to 2.5.0.Joe Marcus Clarke2003-11-174-45/+135
| | | | | | | | | | | | | | | | | * Add some linenumbers to the whole file search * Hack the direct command use code some more * Add a check for the deprecated USE_MESA * Allow PKGCATEGORY not in CATEGORIES [1] * Allow %B in pkg-plist, as it has a valid prefix [1] * Allow simple rm -f, it needs no redirection [1] * Add portlintgrep.pl, an example on how to use portlint to find certain portlint problems in the ports tree [2] Submitted by: dinoex [1] eik [2] Notes: svn path=/head/; revision=94190
* * Update to 2.4.8Joe Marcus Clarke2003-11-152-6/+45
| | | | | | | | | | | | | | * Add a check to make sure the last line of a slave port's Makefile contains an appropriate MASTERDIR include directive [1] * study() the $whole string to improve performance [1] * Fix the search for direct command use * Check for ports that may break INDEX [1] * Check for GNOME ports that use pre-patch and gnomehack Submitted by: eik [1] Notes: svn path=/head/; revision=94059
* * Add support for the arabic category [1]Joe Marcus Clarke2003-11-092-15/+60
| | | | | | | | | | | | | * Check for variables that are used too late [1] * Rename some of the language variables. Admittedly, this needs more work. * Check for anything after bsd.port(.post).mk [1] * Fix the language category search code * Bump version to 2.4.7 Submitted by: Oliver Eikemeier <eikemeier@fillmore-labs.com> [1] Notes: svn path=/head/; revision=93475
* Whoops. Flush out my CVS repo, and share some missing bug fixes with theJoe Marcus Clarke2003-11-013-6/+5
| | | | | | | | | | | | | | rest of the world. * Fix the -V option in the manpage [1] * Handle the case where parentheses may not exist around NOPORTDOCS [2] * Bump version to 2.4.6 Submitted by: mat [1] Reported by: kris [2] Notes: svn path=/head/; revision=92800
* Recognize .ifndef(NOPORTDOCS) as well as .if !defined(NOPORTDOCS).Joe Marcus Clarke2003-10-272-2/+4
| | | | | | | Reported by: kris Notes: svn path=/head/; revision=92287
* * Add some @unexec checking for plists [1]Joe Marcus Clarke2003-10-262-5/+40
| | | | | | | | | | | | | | | | | | | * Check for the common typo, NOPORTSDOC [2] * Make sure .CURDIR is the primary category [3] * Check for USE_* macros that are user-settable [4] * Try to be a little more intelligent when checking for macros that need to appear earlier * Ignore make directives when checking for extra items in certain sections PR: 55921 [1] 57751 [2] 58292 [3] 58525 [4] Submitted by: edwin [1] Oliver Eikemeier <eikemeier@fillmore-labs.com> [2] [3] [4] Notes: svn path=/head/; revision=92239
* Update to 2.4.4.Joe Marcus Clarke2003-08-162-15/+23
| | | | | | | | | | | * Add support for the Polish locale * Try to add more intelligence to the direct command use code * Fix up the wording about numbered info files [1] Suggested by: gerald [1] Notes: svn path=/head/; revision=87083
* Really fix the bug where portlint looks through COMMENT for direct commandJoe Marcus Clarke2003-08-152-5/+5
| | | | | | | usage. Notes: svn path=/head/; revision=86992
* * Add support for the new INFO macroJoe Marcus Clarke2003-08-152-42/+85
| | | | | | | | | | | | | * Clean up some more Perl warnings * Make sure all the MAN macros are printed in all uppercase * Add perl, ruby, python, and the auto* tools to the list of direct commands [1] PR: 55529 [1] Submitted by: Jens Rehsack <rehsack@liwing.de> [1] Notes: svn path=/head/; revision=86972
* Update to 2.4.1.Joe Marcus Clarke2003-07-284-7/+12
| | | | | | | | | | | | | | * Document the -V option [1] * Properly suggest ${STRIP_CMD} (not ${STRIP}) instead of strip [2] * Correct the version string PR: 54993 [1] Submitted by: Mark Linimon <linimon@lonesome.com> [1] gerald [2] Pointy hat to: me [2] (I should have used Gerald's patch as-is) Notes: svn path=/head/; revision=85789
* Update to 2.4.0.Joe Marcus Clarke2003-07-204-41/+173
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Document the -A option in the usage * Add my name to the list of AUTHORS * Clean up some warnings produced by perl -cwT * Check for the existence of pkg-comment and flag it as FATAL [1] * Add OMF checking support similar to the info checking code * Add support for {DOCS,EXAMPLES}DIR macros [2] * Don't check commented out URLs in MASTER_SITES [3] * Add file, find, strip, and xargs to the list of direct command names [4] * Don't search for command names in COMMENT [5] * Add SITE_PERL support [6] * Add DISTFILE/MASTER_SITE grouping support [7] * Check to make sure the MAINTAINER field contains a valid email address * Add support for {EXTRACT,PATCH}_DEPENDS * Add USE_GETOPT_LONG support [8] PR: 48199 [1] 53371 [2] 43537 [3] 54381 [6] 39487, 44099, 48221 [7] 54497 [8] Submitted by: Sergei Kolobov <sergei@kolobov.com> [2] [8] gerald [4] (file and strip) Oliver Eikemeier <eikemeier@fillmore-labs.com> [6] Reported by: kris and nork [5] Notes: svn path=/head/; revision=85218
* I'll take this.Joe Marcus Clarke2003-07-171-1/+1
| | | | Notes: svn path=/head/; revision=85016
* I don't have the time to maintain this port.Michael Haro2003-07-171-1/+1
| | | | | | | | Whoever takes maintainership should email me as I have some stuff that was in progress. Notes: svn path=/head/; revision=85014
* - warn about incorrect usage of the pre-everything:: targetPete Fritchman2003-03-072-2/+8
| | | | | | | | | | | - don't give a warning to use binary mode because of a possible RCS tag if the tag is $FreeBSD$. - bump PORTREVISION Approved by: maintainer timeout, portmgr (kris) Notes: svn path=/head/; revision=77052
* Clear moonlight beckons.Ade Lovett2003-03-072-1/+1
| | | | | | | | | | Requiem mors pacem pkg-comment, And be calm ports tree. E Nomini Patri, E Fili, E Spiritu Sancti. Notes: svn path=/head/; revision=77045
* Bump PORTREVISION for previous COMMENT changesKris Kennaway2003-02-101-1/+1
| | | | | | | Reminded by: sobomax Notes: svn path=/head/; revision=75249
* Catch up to new COMMENT semantics (contains comment string instead ofKris Kennaway2003-02-101-16/+27
| | | | | | | | | pointing to pkg-comment) Submitted by: lioux Notes: svn path=/head/; revision=75231
* Let the PORTSDIR environment variable override our defaults.Gerald Pfeifer2003-02-023-3/+11
| | | | | | | Approved by: mharo (maintainer) Notes: svn path=/head/; revision=74533
* Add a simple check for MAINTAINER not to include multiple addresses orAkinori MUSHA2003-01-112-2/+8
| | | | | | | | | comments. Approved by: portmgr Notes: svn path=/head/; revision=72877
* Add latest language categories: hungarian, portuguese and ukrainianMario Sergio Fujikawa Ferreira2002-11-181-0/+3
| | | | | | | Approved by: mharo (maintainer) Notes: svn path=/head/; revision=70427
* Bump PORTREVISION.Anders Nordby2002-11-181-0/+1
| | | | Notes: svn path=/head/; revision=70354
* Add -A option for all additional checks.Anders Nordby2002-11-182-6/+8
| | | | | | | Approved by: (silence from) mharo Notes: svn path=/head/; revision=70353