aboutsummaryrefslogtreecommitdiff
path: root/devel/portlint
Commit message (Collapse)AuthorAgeFilesLines
* * 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
* Teach portlint to recognize RUN_DEPENDS=${BUILD_DEPENDS} and the likeMichael Haro2002-09-142-1/+13
| | | | | | | | PR: 27182 Submitted by: Anton Berezin <tobez@tobez.org> Notes: svn path=/head/; revision=66306
* Bring in the enhancements I submitted to mharo some time ago and bumpAkinori MUSHA2001-03-202-17/+48
| | | | | | | | | | | | | | | the version to 2.3.2. - Add checks for empty files, empty directories, core files, more possible backup files, dotfiles, symlinks and CVS directories. - Do not assume PATCHDIR always includes "/files/". Use the best method to check whether a file is added to @checker as a patch file. - Some trivial message style fixes. Notes: svn path=/head/; revision=40122
* o stop checking blank lines for files/patch-*FUJISHIMA Satsuki2001-02-172-3/+3
| | | | | | | | | | o fix getopt arguments: -B takes argument and -N don't. Submitted by: Peter Pentchev <roam@orbitel.bg> Non-responce from: maintainer Notes: svn path=/head/; revision=38423
* Fix docsMichael Haro2001-02-142-10/+25
| | | | | | | Submitted by: olgeni Notes: svn path=/head/; revision=38325
* fix some typos, make some warning messages more verboseMichael Haro2000-12-311-4/+4
| | | | | | | | PR: 23725 Submitted by: Jimmy Olgeni <olgeni@uli.it> Notes: svn path=/head/; revision=36545
* Update to version 2.3.Akinori MUSHA2000-12-123-245/+164
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - 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) Notes: svn path=/head/; revision=35921
* bump versionMichael Haro2000-11-101-1/+1
| | | | Notes: svn path=/head/; revision=34955
* fix a bug, $i = -> $i eqMichael Haro2000-11-101-1/+1
| | | | | | | Submitted by: fenner Notes: svn path=/head/; revision=34954
* Add support for the new PORTEPOCH/PORTREVISION variables, so it won'tWill Andrews2000-10-101-10/+11
| | | | | | | | | | improperly fatal-warn about them being in PORTNAME area. PR: 21747 Submitted by: jeh Notes: svn path=/head/; revision=33693
* sync with bsd.sites.mk, bump version to 2.2.3Michael Haro2000-10-042-11/+96
| | | | | | | Submitted by: jeh Notes: svn path=/head/; revision=33393
* Fix portlint bug where it thinks that missing a files/md5 is fatal but theWill Andrews2000-09-211-1/+1
| | | | | | | | | | | | | | 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 Notes: svn path=/head/; revision=32938
* update to portlint 2.2.2:Michael Haro2000-04-254-75/+147
| | | | | | | | | | | | | | | | | | | | | | | | - 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. Notes: svn path=/head/; revision=28009
* remove warning, version required (no longer needed) and make portlint portMichael Haro2000-04-191-7/+1
| | | | | | | pass portlint (what a concept ;) Notes: svn path=/head/; revision=27763
* Update to 2.2.1Michael Haro2000-04-162-20/+26
| | | | | | | | | | | | 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 Notes: svn path=/head/; revision=27674
* Update portlint so it supports PORTNAME/PORTVERSION. This versionMichael Haro2000-04-162-226/+322
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 Notes: svn path=/head/; revision=27666
* Back out useful `Version required lines' that I'd blindly removed.Akinori MUSHA2000-04-151-0/+1
| | | | Notes: svn path=/head/; revision=27615
* Remove obsolete `Version required' lines.Akinori MUSHA2000-04-141-1/+0
| | | | Notes: svn path=/head/; revision=27534
* PORTNAME/PORTVERSION updateMichael Haro2000-04-111-1/+2
| | | | Notes: svn path=/head/; revision=27452
* warn about not supporting PORTNAME/PORTVERSION yetMichael Haro2000-04-081-0/+6
| | | | Notes: svn path=/head/; revision=27417