aboutsummaryrefslogtreecommitdiffstats
path: root/ports-mgmt/portlint
Commit message (Collapse)AuthorAgeFilesLines
* Update to 2.16.4marcus2015-05-182-11/+30
| | | | | | | | | | | | | | | | | * 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]
* Update to 2.16.3.marcus2015-04-132-3/+16
| | | | | | | | * 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
* Update to 2.16.2.marcus2015-02-052-13/+36
| | | | | | | | | | | | | | * 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]
* Update "BSD" license.feld2014-12-071-1/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* Change the way Perl modules are installed, update the default Perl to 5.18.mat2014-11-261-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* Update to 2.16.1.marcus2014-10-282-7/+7
| | | | | | Add an additional check for EXTRACT_SUFX. Submitted by: ak
* Update to 2.16.0marcus2014-10-272-390/+136
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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
* Update to 2.15.6.marcus2014-10-132-8/+10
| | | | | | * Check to make sure each instance of USES is properly sorted. PR: 193792
* Update to 2.15.5.marcus2014-10-092-26/+81
| | | | | | | | | | | | | | | | | | | | | | * 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]
* Update to 2.15.4.marcus2014-07-282-4/+7
| | | | | | | Use File::Basename so that only the patch filename is checked for the 100 character limit. PR: 192161
* Add missing EXAMPLES and DOCS to a couple ports thatadamw2014-07-161-0/+2
| | | | already honour PORTDOCS and PORTEXAMPLES in the plist.
* Update to 2.15.3.marcus2014-07-122-14/+10
| | | | | | | | | | | | | | * 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]
* Convert GMAKE to MAKE_CMDbapt2014-06-251-4/+4
| | | | | | | 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
* Update to 2.15.2.marcus2014-06-222-8/+20
| | | | | | | | | | | * 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]
* Update to 2.15.1.marcus2014-04-202-44/+38
| | | | | | | | | | | | | | | | | | | | * 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
* Update to 2.15.0.marcus2014-02-242-222/+177
| | | | | | | | | | | | | | | | | | | | | | | - 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
* Update to 2.14.10.marcus2014-02-092-5/+32
| | | | | | | | | | * Check for old-style LIB_DEPENDS * Don't emit a warning if there is only one MASTER_SITE, but that MASTER_SITE is known in our list of site macros. [1] * Attempt to find corrupt DESKTOP_ENTRIES that do not specify a proper startupnotify value. [1] Reported by: Hardy Schumacher <hardy.schumacher@gmx.de>
* Update to 2.14.9.marcus2014-01-052-19/+38
| | | | | | | | * Correct some unitialized problems that pop up with certain ports * Replace USE_DOS2UNIX with USES=dos2unix * Do not check for direct use of commands in OPTIONS descriptions Reported by: Hardy Schumacher <hardy.schumacher@gmx.de>
* Update to 2.14.8.marcus2013-12-292-8/+16
| | | | | | | | | | | * Do not warn on direct use of "false" if it is found in DESKTOP_ENTRIES. [1] * Make sure the DESKTOP_ENTRIES true/false parameter does not include quotes. * Remove an unreferenced variable dereference. [2] * Add some additional variables to avoid explicit command use checks. [3] PR: 185086 [1] 185225 [2] 185110 [3]
* Update to 2.14.7.marcus2013-10-262-7/+7
| | | | | | | | | | | * Fix a typo resulting in an undefined function [1] * Add X11 to the list of common OPTIONS [2] * Remove an errant space [2] * Do not warn on empty .svn directories. [2] PR: 183330 [1] Submitted by: Kubilay Kocak <koobs.freebsd@gmail.com> [1] Reported by: eadler [2]
* * Fix install into a stage directory [1]marcus2013-10-201-14/+5
| | | | | | * Define LICENSE to BSD to make this port portlint-clean :-) Submitted by: ak [1]
* Update to 2.14.6.marcus2013-10-202-91/+143
| | | | | | | | | | | | | | | | * Mute svn warnings if .svn doesn't exist. [1] * Add check for ${OPTION}_* (option helpers) [1] * Suggest LICENSE as warning [1] * Fix get_makevar and use instead of direct calls to make(1) [1] * Remove MAKE_JOBS_SAFE [1] * Remove vestiages of old OPTIONS [1] * Suggest converting to stage if NO_STAGE is defined. [1] * Check for use of MANCOMPRESSED when STAGE support is enabled. * Do not warn about man pages in the plist if the port is built with stage support. * Do not flag .svn in the search for dotfiles. Submitted by: ak [1]
* Properly bump the version of portlint.marcus2013-10-132-5/+7
|
* * Support stagingmarcus2013-10-131-10/+15
| | | | | | | * Adjust COMMENT PR: 182919 Submitted by: bdrewery
* - Update to 2.14.5bdrewery2013-10-122-4/+6
| | | | | | | | | | | | | | | Changes: * Fix recommending to replace USES=gmake with ${GMAKE} [1] * Ignore USES when recommending to replace direct commands [1] * Fix COMMENT check so it checks for length even if it is not formatted properly [2] PR: ports/181359 [1] Submitted by: Alan Hicks <ahicks@p-o.co.uk> [1] Reported by: many PR: ports/181730 [2] Submitted by: gerald Approved by: maintainer timeout (> 1 month)
* Add NO_STAGE all over the place in preparation for the staging support (cat: ↵bapt2013-09-211-3/+1
| | | | ports-mgmt)
* - convert to the new perl5 frameworkaz2013-09-071-1/+2
| | | | Approved by: portmgr (bapt@, blanket)
* Update to 2.14.4.marcus2013-07-153-100/+111
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Fix some minor issues in the portlint man page [1] * Warn about using ${SITE_PERL} in depends [2] * Add a check to see that OPTIONS_{RADIO/SINGLE/MULTI/GROUP}_SOMETHING exists if OPTIONS_{RADIO/SINGLE/MULTI/GROUP} is defined [3] * Join all lines with a backslash before doing anything to fix parsing of comments [4] * Stop looping through MASTER_SITES as soon as a comment is seen [4] * Detect plain ftp/http sites and print a warning if none have been found [4] * Opt for USES=pkgconfig instead of USE_PKGCONFIG [5] * Add check for ${TRUE}/${FALSE} in DESKTOP_ENTRIES [5] * Remove CDRTOOLS check [5] * Remove USE_REINPLACE check [5] * Remove USE_GETOPT_LONG check [5] * Modify USE_GETTEXT -> USES gettext [5] * Remove WITHOUT_NLS check [5] * Relax headers check for $FreeBSD$ + $MCom$ case [5] * Fix URL suggestion for CPAN so that it ends with a '/' [6] PR: 178952 [2] 179262 [3] 179338 [5] 180260 [6] Submitted by: eadler [1] "Anton Yuzhaninov" <ayuzhaninov@openstat.ru> [2] "Ilya A. Arkhipov" <rum1cro@yandex.ru> [3] tijl [4] Alex Kozlov <spam@rm-rf.kiev.ua> [5] Anes Mukhametov <anes@anes.su> [6]
* Update to 2.14.3.marcus2013-04-293-8/+26
| | | | | | | | | | | | | * Add support for the PL_SVN_IGNORE environment variable. [1] * Promote PORT_OPTIONS:MDOCS to NOPORTDOCS. [2] * Add a check for pure FTP or HTTP mirrors in MASTER_SITES. [3] PR: 177043 [1] 177048 [2] 177805 [3] Submitted by: tota [1] pclin [2] Tijl Coosemans <tijl@coosemans.org> [3]
* Bump to version 2.14.2.marcus2013-03-101-2/+1
| | | | | | | | | | | | | | | * Add a missing comma to fix a really weird error on checking certain ports. [1] * Remove unused PL_CVS_IGNORE [2] * Add check for a single space after WWW: in pkg-descr [2] * Clarify 'Created by:' warning message [2] * Add new OPTIONS_* knobs to @options_early [2] * Add supported for USE_GCC=yes. [3] PR: 175186 [1] 175317 [2] 174758 [3] Submitted by: gerald [1] [3] ak [2]
* Bump to version 2.14.2.marcus2013-03-101-8/+15
| | | | | | | | | | | | | | | * Add a missing comma to fix a really weird error on checking certain ports. [1] * Remove unused PL_CVS_IGNORE [2] * Add check for a single space after WWW: in pkg-descr [2] * Clarify 'Created by:' warning message [2] * Add new OPTIONS_* knobs to @options_early [2] * Add supported for USE_GCC=yes. [3] PR: 175186 [1] 175317 [2] 174758 [3] Submitted by: gerald [1] [3] ak [2]
* - Switch the VCS tool for the ports tree from CVS to SVNtota2013-03-022-1/+2
| | | | | | | | | | - Pet portlint in porttools * Use PORT_OPTIONS:MDOCS instead of NOPORTDOCS * Replace tab with space WWW: line in pkg-descr PR: ports/174860 Submitted by: tota (myself) Approved by: maintainers (timeout > 2 months)
* Update to 2.14.1.marcus2012-12-302-5/+5
| | | | | Remove the check for empty header comments. I think this is too restrictive. There are a number of ports that do this for various reasons.
* Update to 2.14.0.marcus2012-12-282-158/+120
| | | | | | | | | | | | | | | | | | | | | | | | | | * Add a test for empty(${VARIABLE}) (instead of empty(VARIABLE)) [1] * Add a test for NOPORTDOCS and point to PORT_OPTIONS:MDOCS [1] * Add GitHub to the MASTERSITES whitelist (as this is a cloud service). [2] * Add a warning about .DS_Store files appearing in the port directory. [3] * Add a check for the new style Makefile headers. [4] * Remove the CVS checks now that the ports tree has been converted to SVN. Note: we need SVN checks. [5] * Add support for optionsNG [6] * Deprecate USE_GNOME=pkgconfig [6] * Add missing period at the end of some sentences [6] PR: 172621 [1] 172834 [2] 173649 [3] 174688 [4] 174693 [5] 174697 [6] Submitted by: Alan Hicks <ahicks@p-o.co.uk> [1] "Steven Kreuzer" <skreuzer@exit2shell.com> [2] ehaupt [3] crees [4] tota [5] Alex Kozlov <spam@rm-rf.kiev.ua> [6]
* Update to 2.13.13.marcus2012-10-092-16/+13
| | | | | | | | | | | | | | | | * Reduce false alarms when checking for MAN* and MAN*PREFIX. [1] * Don't over-warn when using PORT_OPTIONS:MDOCS with ${PREFIX}/share/doc/${PORTNAME}. [2] * Remove spurious warnings about CPPFLAGS and LDFLAGS. [3] * Make sure we do not throw a warning if USE_GCC=any is used. [4] PR: 169745 [1] 171535 [2] 172335 [3] Submitted by: sunpoet [1] Hung-te Liang <lhd@cs.nctu.edu.tw> [2] glarkin [3] Suggested by: eadler [4]
* Update to 2.13.12.marcus2012-08-062-5/+8
| | | | | | Replace some of the CVS verbiage with SVN. Submitted by: beat
* Update to 2.13.11.marcus2012-07-092-10/+35
| | | | | | | | | | | | * Fix typo. [1] * Add support for DOCS/NLS using optionsNG. [2] * Remove references to PATCHDIR. [3] PR: 169110 [1] 168364 [3] Submitted by: Hung-te Liang <lhd@cs.nctu.edu.tw> [1] ak [2] crees [3]
* Correct a typo.marcus2012-05-212-1/+2
| | | | Reported by: adamw
* Upgrade to 2.13.10.marcus2012-05-202-10/+17
| | | | | | | | | | | | | * Add a check for over-specific shared lib dependencies [1] * Add support for TEST_DEPENDS [2] * Make the error for NO_CHECKSUM to be scarier [3] PR: 165851 [1] 166173 [2] 167923 [3] Submitted by: matthew [1] sunpoet [2] "Bryan Drewery" <bryan@shatow.net> [3]
* Update to 2.13.9.marcus2012-03-052-32/+19
| | | | | | | | | | | | | * Include LICENSE_FILE and LICENSE_GROUPS in the regexp check. [1] * Add LICENSE_DISTFILES. [1] * Add a check for the reassignment of ECHO_MSG [2] * Remove old X.Org checks [3] * Add PROJECTHOST to the PORTNAME section [4] Reminded by: Jan Beich <jbeich@tormail.net> [1] Requested by: jgh [2] Submitted by: eadler [3] Alex Kozlov <spam@rm-rf.kiev.ua> [3]
* Update to 2.13.8.marcus2011-12-272-18/+78
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Complete the check for CPPFLAGS being set indirectly by checking MAKE_ENV in addition to CONFIGURE_ENV. [1] * Remove checks for port file headers as we are phasing them out in FreeBSD. [2] * Check to make sure CPAN URLs end with a '/'. [3] * Check for LDFLAGS being overridden just as we do for CPPFLAGS [4] * Suggest += instead of = to override CPPFLAGS and LDFLAGS [4] * Check for any overriding use of *FLAGS and suggest an alternative [4] * Do not warn of direct command use for WX_COMPS. [5] * Add support for named license macros when checking for order. [6] * Make the check for the direct Apache dependency more strict. [7] PR: 160448 [1] 159272 [3] 160959 [4] 161971 [5] 163617 [6] 163523 [7] Submitted by: gjb [2] amdmi3 [4]
* Update to 2.13.7.marcus2011-08-222-5/+15
| | | | | | | | | | | | | * Change a comment to relfect the check number [1] * Add a check to see if a file that ends in ".core" was checked into CVS [2] * Do a proper check for 2 or 3 tuple depends [3] * Correct the detection of the WWW string in pkg-descr [4] PR: 159057 [3] 159522 [4] Reported by: Ilya A. Arkhipov <micro@heavennet.ru> [1] Requested by: netchild [2] Sbumitted by: sunpoet [4]
* Now that the Java 1.3 and Java 1.4 ports are deprecated and will expire soon,linimon2011-07-211-2/+1
| | | | | | | | | | | | | | | | remove support for them from bsd.java.mk. As Jikes is not available in Java 1.5 or higher, remove it from bsd.java.mk too (suggested by hq@) and from the ports which used it (only occurences were USE_JIKES=no). Support for the Blackdown VM is also removed, as it is not available in Java 1.5 and higher. Also remove the mapping from Java 1.1-1.4 to Java 1.5+ in bsd.java.mk to detect old, broken ports; therefore bump the minimal value of JAVA_VERSION to 1.5. While here, replace static values of JAVA_VERSION in files/*.in by %%JAVA_VERSION%% . PR: ports/158969 Submitted by: rene Tested on: pointyhat-west -exp
* Update to 2.13.6.marcus2011-06-273-31/+74
| | | | | | | | | | | | | | | | | | | * Be more careful is searching for WITH(OUT)_FOO OPTIONS checks so to avoid false positive warnings. [1] * Support := in the *_DEPENDS section. [2] * Make sure we expand DISTNAME to catch potential superfluous uses of it. [3] * Fix the error seen when one passes CPPFLAGS to CONFIGURE_ENV. [4] * Add the license block check after the MAINTAINER block [5] * Add a check for use of ${FIND}...${XARGS} ${RM}. [6] PR: 156164 [1] 155753 [2] 154320 [3] 158305 [5] 157566 [6] Submitted by: sahil [1] "Ilya A. Arkhipov" <micro@heavennet.ru> [5] Reported by: pav [4]
* Update to 2.13.5.marcus2011-03-212-6/+17
| | | | | | | | | | * Check for the direct assignment of BUILD_DEPENDS to RUN_DEPENDS [1] * Add a deprecated pointer for USE_XPM. [2] * CPPFLAGS is now passed to CONFIGURE_ENV automatically. [3] PR: 154896 [1] 155550 [3] Submitted by: eadler [2]
* Remove a debugging line that was left in.marcus2011-02-162-2/+2
| | | | Reported by: lwhsu
* Update to 2.13.4.marcus2011-02-142-11/+14
| | | | | | | | | | | | * Check for duplicate MANx macros [1] * Add a warning if the wrong CPAN URL is used for the WWW URL [2] * Remove an obsolete CPAN warning [3] PR: 154069 [1] 154149 [2] 154724 [3] Submitted by: skreuzer [2] milki@rescomp.berkeley.edu [3]
* Use ${BINMODE} instead of 555 to fix INSTALL_AS_USER installations.marcus2011-02-141-1/+1
| | | | PR: 154552
* Update to 2.13.3marcus2011-01-102-6/+11
| | | | | | | | | | * Do not warn when the "work" directory is not in CVS. [1] * Improve Ruby docs and examples handling. [2] PR: 152053 [1] 153596 [2] Submitted by: Eitan Adler <lists@eitanadler.com> [1] tota [2]
* Sync to new bsd.autotools.mkade2010-12-041-21/+1
|
* Update to 2.13.2.marcus2010-11-082-7/+24
| | | | | | | | | | | | | | * Correct the UIDs passwd file format. * Parse out comments when checking dependency format. [1] * Added check for the case when LICENSE contains multiple tokens but LICENSE_COMB do not set or equal to 'single' (instead of correct 'multi' or 'dual'). [2] * Add support for @rmtry. [3] PR: 150997 [1] 151966 [2] 151301 [3] Submitted by: skv [2]
* Bump PORTREVISION for the MD5 changes that went in.wxs2010-11-051-0/+1
|
* Deprecate md5 in favour of sha256 checksums. md5 checksums will no longererwin2010-10-291-4/+4
| | | | | | | | | | be generated or checked, and will be silently ignored for now. Also, generalize the MD5_FILE macro to DISTINFO_FILO. PR: 149657 Submitted by: rene Approved by: portmgr Tested on: pointyhat i386 7-exp
* Update to 2.13.1.marcus2010-06-162-9/+8
| | | | | | | | * USE_APACHE=yes is now fatal * Clean up WITH_APACHEX=X variants. WITH_APACHE=yes is now the only allowed one PR: 146988 Submitted by: pgollucci
* Update to 2.13.0.marcus2010-04-053-23/+131
| | | | | | | | | | | | | | | | | * Only make checks for PORTVERSION/DISTVERSION, MAINTAINER, COMMENT, and CATEGORIES fatal if they are not set elsewhere. Instead, print a warning for non-slave ports. [1] * Make the check for an Apache dependency case-sensitive to fix an issue with false positives. [2] * Add support for checking for the need for USE_DOS2UNIX, and for ports which may need MASTER_SITE*CPAN. [3] * Add a new -m flag which enables checks for MOVED, UIDs, and GIDs. This flag is disabled by default, but can be enabled with -c, -C, or -A. [4] PR: 142381 [2] Submitted by: wen [2] hrs [4] Requested by: chukharev@mail.ru [1] [3]
* Update to 2.12.2.marcus2009-12-203-8/+15
| | | | | | | | | | | | | | | * 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]
* Update to 2.12.1.marcus2009-07-192-8/+8
| | | | | | | | | | * 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]
* Update to 2.12.0.marcus2009-07-093-12/+49
| | | | | | | | | | | | | | | | | * 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]
* Update to 2.11.2.marcus2009-05-242-6/+34
| | | | | | | | | | | | | | * 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]
* Update to 2.11.1.marcus2009-04-132-6/+20
| | | | | | | | | | | | | * 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]
* Update to 2.11.0.marcus2009-03-232-31/+48
| | | | | | | | | | | | | | | | | | | | | | | * 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]
* Fix some typos in the CONFIGURE_ENV section.marcus2009-01-192-5/+6
| | | | Submitted by: gerald
* Update to 2.10.2.marcus2009-01-192-9/+61
| | | | | | | | | | | * 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]
* Correct a typo.marcus2008-10-232-2/+3
| | | | Reported by: amdmi3
* Update to 2.10.1marcus2008-10-222-5/+10
| | | | | | | | | * 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]
* Update to 2.10.0.marcus2008-08-252-144/+164
| | | | | | | | | | | | * 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]
* Update to 2.9.10.marcus2008-07-202-4/+52
| | | | | | | | | | * 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]
* Update to 2.9.9.marcus2008-07-052-3/+9
| | | | | | | | Check for misuse of the %%XXXDIR%% constructs in order to help with the QA Tinderbox build reports. PR: 125037 Submitted by: leeym
* Update to 2.9.8.marcus2008-03-232-18/+19
| | | | | | | | | | | * 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]
* Quick bump to 2.9.7.marcus2007-12-162-4/+4
| | | | | | | Allow comments to start with a '[' (e.g. [X]Emacs). PR: 117832 Submitted by: "Philip M. Gollucci" <pgollucci@p6m7g8.com>
* Update to 2.9.6.marcus2007-12-162-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]
* Update to 2.9.5.marcus2007-08-182-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]
* - Remove the DESTDIR modifications from individual ports as we have a new,gabor2007-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)
* Update to 2.9.4.marcus2007-06-102-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]
* Update to 2.9.3.marcus2007-02-122-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]
* Populate a new ports-mgmt category. List of moved ports:pav2007-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
* Update to 2.9.2.marcus2006-11-262-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]
* Respect DESTDIR.marcus2006-08-111-1/+1
| | | | | PR: 101675 Submitted by: gabor
* Actually check to see if $seen_special is set before checking the numbermarcus2006-08-072-2/+3
| | | | of plist items.
* Update to 2.9.1.marcus2006-08-072-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]
* Remove the hard-to-maintain usage from pkg-descr, and replace it with amarcus2006-05-311-15/+2
| | | | reference to portlint(1).
* Update to 2.9.0.marcus2006-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
* Remove USE_REINPLACE to give portlint a better self-image.marcus2006-04-071-1/+0
| | | | | PR: 95448 Submitted by: Alexander Botero-Lowry <alex@foxybanana.com>
* Update to 2.8.7.marcus2006-03-132-4/+4
| | | | | | * Remove support for PERL_{BUILD,RUN}_DEPENDS Approved by: portmgr (implicit)
* Update to 2.8.6, and sync with my own CVS repo.marcus2006-02-252-5/+4
| | | | | Pointy hat to: ade Approved by: portmgr (implicit)
* Conversion to a single libtool environment.ade2006-02-231-8/+0
| | | | Approved by: portmgr (kris)
* Update to 2.8.5.marcus2006-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]
* Update to 2.8.4.marcus2006-02-122-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]
* Update to 2.8.3.marcus2006-01-222-4/+4
| | | | * Add support for PERL_{RUN,BUILD}_DEPENDS
* Update to 2.8.2.marcus2006-01-222-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]
* Update to 2.8.1.marcus2005-12-182-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]
* * Add some additional verbose messagesmarcus2005-11-202-2/+13
| | | | | | | * Work around a crash in Perl that can be triggered with complex regular expressions [1] Reported by: thierry and aspell [1]
* Update to 2.8.0.marcus2005-11-202-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]
* Correct compilation with perl 5.005.marcus2005-10-252-2/+3
|
* Update to 2.7.5.marcus2005-10-232-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]
* Update to 2.7.4.marcus2005-10-102-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]
* Update to 2.7.3.marcus2005-09-092-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
* We only need Perl5 at runtime.marcus2005-07-301-1/+1
| | | | | PR: 84029 Submitted by: edwin
* Fix a mismerge in the last OPTIONS patch. I forgot a line, but perl -cwmarcus2005-07-032-1/+3
| | | | | didn't catch the missing ';'. This should fix the erroneous messages about OPTIONS misuse.
* Update to 2.7.2.marcus2005-07-032-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]
* Add '+' to the list of recommended file name characters.marcus2005-04-172-2/+3
| | | | Reported by: many
* Update to 2.7.1marcus2005-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]
* Update to 2.7.0.marcus2005-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]
* Update to 2.6.11marcus2005-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]
* Don't check for DISTVERSION as apart of %makevars since it will be setmarcus2004-12-182-6/+7
| | | | | | | internally when PORTVERSION is set. Instead, just scour the Makefile to see if both PORTVERSION and DISTVERSION are defined. Reported by: krion
* * Update to 2.6.10marcus2004-12-172-18/+32
| | | | | | * Add support for the new DISTVERSION macro Submitted by: lioux (plus some additional checks)
* Update to 2.6.9.marcus2004-11-232-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]
* Support .ifndef and !defined when doing OPTIONS checking.marcus2004-10-132-1/+2
|
* * Update to 2.6.8marcus2004-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]
* Update to 2.6.7marcus2004-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]
* Update to 2.6.6marcus2004-06-282-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]
* Update to 2.6.5.marcus2004-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]
* Update to 2.6.4.marcus2004-06-072-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]
* Update to 2.6.3.marcus2004-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]
* Update to 2.6.2.marcus2004-05-312-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]
* Update to 2.6.1.marcus2004-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]
* Update to 2.6.0marcus2004-03-272-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]
* Update to 2.5.9.marcus2004-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]
* Update to 2.5.8.marcus2004-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]
* * Update to 2.5.7marcus2004-01-233-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]
* Update to 2.5.6.marcus2004-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]
* * Update to 2.5.5marcus2004-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]
* Catch the pkg-descr up with reality.marcus2003-12-271-1/+3
|
* * Update to 2.5.4marcus2003-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]
* Ack, I knew I forgot something. Add a new -C argument that enables pedanticmarcus2003-11-233-8/+12
| | | | | | | committer mode. This is the identical to -A except it omits the new port checks. Requested by: eik
* Standardize all error messages to include the filename at least (and linemarcus2003-11-232-196/+213
| | | | | | number where possible). Bump version to 2.5.2. Reviewed by: eik
* * Check to make sure new ports do not contain PORTREVISION [1]marcus2003-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]
* Remove EXAMPLESDIR.marcus2003-11-181-0/+1
| | | | Submitted by: krion
* Update to 2.5.0.marcus2003-11-184-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]
* * Update to 2.4.8marcus2003-11-162-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]
* * Add support for the arabic category [1]marcus2003-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]
* Whoops. Flush out my CVS repo, and share some missing bug fixes with themarcus2003-11-023-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]
* Recognize .ifndef(NOPORTDOCS) as well as .if !defined(NOPORTDOCS).marcus2003-10-272-2/+4
| | | | Reported by: kris
* * Add some @unexec checking for plists [1]marcus2003-10-272-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]
* Update to 2.4.4.marcus2003-08-172-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]
* Really fix the bug where portlint looks through COMMENT for direct commandmarcus2003-08-162-5/+5
| | | | usage.
* * Add support for the new INFO macromarcus2003-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]
* Update to 2.4.1.marcus2003-07-294-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)
* Update to 2.4.0.marcus2003-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]
* I'll take this.marcus2003-07-171-1/+1
|
* I don't have the time to maintain this port.mharo2003-07-171-1/+1
| | | | | Whoever takes maintainership should email me as I have some stuff that was in progress.
* - warn about incorrect usage of the pre-everything:: targetpetef2003-03-082-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)
* Clear moonlight beckons.ade2003-03-072-1/+1
| | | | | | | Requiem mors pacem pkg-comment, And be calm ports tree. E Nomini Patri, E Fili, E Spiritu Sancti.
* Bump PORTREVISION for previous COMMENT changeskris2003-02-111-1/+1
| | | | Reminded by: sobomax
* Catch up to new COMMENT semantics (contains comment string instead ofkris2003-02-101-16/+27
| | | | | | pointing to pkg-comment) Submitted by: lioux
* Let the PORTSDIR environment variable override our defaults.gerald2003-02-033-3/+11
| | | | Approved by: mharo (maintainer)
* Add a simple check for MAINTAINER not to include multiple addresses orknu2003-01-112-2/+8
| | | | | | comments. Approved by: portmgr
* Add latest language categories: hungarian, portuguese and ukrainianlioux2002-11-191-0/+3
| | | | Approved by: mharo (maintainer)
* Bump PORTREVISION.anders2002-11-181-0/+1
|
* Add -A option for all additional checks.anders2002-11-182-6/+8
| | | | Approved by: (silence from) mharo
* Teach portlint to recognize RUN_DEPENDS=${BUILD_DEPENDS} and the likemharo2002-09-152-1/+13
| | | | | PR: 27182 Submitted by: Anton Berezin <tobez@tobez.org>
* Bring in the enhancements I submitted to mharo some time ago and bumpknu2001-03-212-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.
* o stop checking blank lines for files/patch-*sf2001-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
* Fix docsmharo2001-02-142-10/+25
| | | | Submitted by: olgeni
* fix some typos, make some warning messages more verbosemharo2001-01-011-4/+4
| | | | | PR: 23725 Submitted by: Jimmy Olgeni <olgeni@uli.it>
* Update to version 2.3.knu2000-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)
* bump versionmharo2000-11-101-1/+1
|
* fix a bug, $i = -> $i eqmharo2000-11-101-1/+1
| | | | Submitted by: fenner
* Add support for the new PORTEPOCH/PORTREVISION variables, so it won'twill2000-10-111-10/+11
| | | | | | | improperly fatal-warn about them being in PORTNAME area. PR: 21747 Submitted by: jeh
* sync with bsd.sites.mk, bump version to 2.2.3mharo2000-10-042-11/+96
| | | | Submitted by: jeh
* Fix portlint bug where it thinks that missing a files/md5 is fatal but thewill2000-09-221-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
* update to portlint 2.2.2:mharo2000-04-264-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.
* remove warning, version required (no longer needed) and make portlint portmharo2000-04-201-7/+1
| | | | pass portlint (what a concept ;)
* Update to 2.2.1mharo2000-04-172-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
* Update portlint so it supports PORTNAME/PORTVERSION. This versionmharo2000-04-172-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
* Back out useful `Version required lines' that I'd blindly removed.knu2000-04-151-0/+1
|
* Remove obsolete `Version required' lines.knu2000-04-151-1/+0
|
* PORTNAME/PORTVERSION updatemharo2000-04-121-1/+2
|
* warn about not supporting PORTNAME/PORTVERSION yetmharo2000-04-091-0/+6
|
* bump version number to reflect new featuresmharo2000-03-301-1/+1
|
* * Fix Makefile so portlint is more happy with this port (what a concept, themharo2000-03-282-17/+101
| | | | | | | | | | | | | portlint port passing portlint) New portlint features: * Allow pkg/COMMENT to start with a digit * Warn about .la files in pkg/PLIST * Better support for comments in the Makefile - fixes the section off by 1 error (DISTNAME needs to exist, and so on, when it does) * don't report "FATAL: no MAINTAINER listed in Makefile" when it does exist * other random minor bug fixes
* - fix a bug in pkg/* checkingmharo2000-03-212-8/+44
| | | | | | | | | | | - enforce pkg/COMMENT style - better info file checking in pkg/PLIST - don't warn about @unexec rmdir foo || true - the handbook says this is fine - allow CATEGORIES+= - warn about www.freebsd.org/~user needing to be people.freebsd.org - warn about PKGNAME being set from another variable instead of being a fatal error - understand both $(PORTSDIR) and ${PORTSDIR}
* I'll maintain thismharo2000-02-051-1/+1
|
* issue a warning when @owner or @group are found in the PLISTmharo2000-02-031-12/+2
|
* bump version number slightly to reflect recent changesmharo2000-01-231-1/+1
|
* add support for @owner and @group in PLISTmharo2000-01-231-0/+12
|
* Fixes:shige2000-01-121-11/+17
| | | | | | | | - Allow "MAINTAINER?=". - Allow "CATEGORIES?=" and "CATEGORIES+=". PR: ports/16064 Submitted by: KIRIYAMA Kazuhiko <kiri@pis.toba-cmt.ac.jp>
* switch maintainer to ports@freebsd.org, as I'm unable to do it for a long time.itojun2000-01-111-1/+1
|
* added the following checking:sumikawa1999-09-292-1/+9
| | | | | | | | "in *_DEPENDS, ${PREFIX} must not be used. use ${LOCALBASE}/${X11BASE} instead of it." Commented by: asami Reviewed by: taoka
* Recently we must use $FreeBSD instead of $Id in Makefile.taoka1999-09-281-2/+2
| | | | | | So portlint needs this modification. Approved by: maintainer
* $Id$ -> $FreeBSD$peter1999-08-292-2/+2
|
* Change Id->FreeBSD.obrien1999-08-251-1/+1
|
* manpage fixitojun1999-08-143-10/+10
| | | | | | family name change for itojun (s/Itoh/Hagino/) Submitted by: "Alexey M. Zelkin" <phantom@cris.net>
* typo fixitojun1999-07-241-3/+3
| | | | From: "Oleg V. Volkov" <rover@lglobus.ru>
* As threatened, enforce the "Capital, no period" rule. Ellipses arehoek1999-06-271-1/+1
| | | | | permitted. Note that, given current numeric motif of PW, this is done in four equally-sized commits of 393 files each.
* remove the first comment lines in a section properly.itojun1999-04-221-1/+3
|
* remove pathname for bsd.port.mk.itojun1999-04-051-3/+11
| | | | | Reviewed by: maintainer (myself) Submitted by: ben@scientia.demon.co.uk
* It seems 'sane' was not mispelled, but was a little confusing. Let's trysteve1999-04-051-2/+2
| | | | | | 'correct' instead. Submitted by: asami
* Fix a spelling nit: sane -> same.steve1999-04-021-2/+2
|
* Handle x11-* categories correctly.steve1999-02-221-6/+7
| | | | Reviewed by: maintainer
* avoid NO_WRKDIR.itojun1999-01-071-6/+7
| | | | Submitted by: Sheldon Hearn <axl@iafrica.com>
* remove old ftp site (ftp.foretune.co.jp) from comment.itojun1999-01-051-2/+1
|
* being tired of maintaining portlint only by myself, I decided toitojun1999-01-053-11/+1474
| | | | | | | | | | | | | put the source code for "portlint" into FreeBSD port tree. The imported revision is 1.65 (in my local RCS file). (pseudo) version number for the port is now 2.0. Whoever make changes to bsd.port.mk is advised to update portlint.pl too :-) Note that portlint.pl MUST be portable enough to handle (Net|Open|Free)BSD bsd.port.mk. There are people using portlint.pl on non-FreeBSD platforms.
* Remove manpages define in MAN? fom PLIST for all the devel ports.asami1998-08-121-1/+0
| | | | | I'm going to leave p5-* alone for now (where the version stuff is going to land is still unclear).
* Remove NO_CONFIGURE and NO_PATCH, they never meant anything.asami1998-06-271-2/+1
|
* original distribution updated (1.60 -> 1.61)itojun1997-11-251-3/+3
|
* original distribution updated (1.59->1.60)itojun1997-11-201-3/+3
|
* Original distribution updated. (1.58 -> 1.59)itojun1997-11-131-3/+3
|
* original distribution updated (1.57->1.58)itojun1997-11-111-3/+3
|
* original distribution updated. (1.56 -> 1.57)itojun1997-11-091-3/+3
|
* original distribution updated to 1.56.itojun1997-11-051-3/+3
|
* original distribution updated to 1.55.itojun1997-10-131-3/+3
|
* original distribution updated to 1.54.itojun1997-10-121-3/+3
|
* original distribution updated to 1.51.itojun1997-10-081-2/+2
| | | | Submitted by: itojun
* original distribution updated to 1.49.itojun1997-09-211-3/+3
| | | | added check for *_DEPENDS.
* original distribution upgraded to 1.48.itojun1997-09-141-3/+3
|
* original distribution updated to release 1.46.itojun1997-08-161-3/+3
|
* original distribution updated to version 1.44.itojun1997-08-081-3/+3
|
* original distribution updated to 1.43.itojun1997-08-061-3/+3
|
* Original distribution updated to r1.33.itojun1997-07-172-8/+9
| | | | | It now have "committers mode", which will tell us ports/LEGAL should be updated!
* original distribution of portlint has updated to 1.32.itojun1997-07-132-7/+14
|
* Upgrade, 1.26 -> 1.28.max1997-07-071-4/+4
|
* Upgrade 1.9 -> 1.26.max1997-07-061-4/+4
| | | | (So many additional checks have been added. Porters gotta check this out!)
* New port, portlint:max1997-06-154-0/+32
portlint makes a small set of sanity checks for port directory. usage: Submitted by: Jun-ichiro ITOH <itojun@itojun.org> PR: 3863