summaryrefslogtreecommitdiff
path: root/pkgtools/pkglint
AgeCommit message (Collapse)AuthorFilesLines
2008-01-04Prepared pkglint for the upcoming cleanup of the .include directives inrillig1-2/+2
mk/*.
2008-01-03Added a way to determine the PKGPATH when checking a package.rillig1-3/+22
2008-01-01If one of the NO_*_ON_* variables contains something other thatrillig1-2/+7
${RESTRICTED}, print the variable name in the warning message. While here, added an explanation for the warning.
2008-01-01All characters in PLIST files are relevant, so make trailing white-spacerillig1-2/+6
an error. Who would ever want to install files whose name ends in white-space?
2007-12-22Prevent internal errors when one-letter variables are used. The warningrillig1-2/+3
to disambiguate them is still printed. PR: 37593
2007-12-22Updated pkglint to 4.81.rillig1-2/+2
Changes since 4.80: - Stricter CVS Id check - REQD_FILES_PERMS, META_PACKAGE, PKGSRC_COMPILER - Warning if info pages are installed into share/info.
2007-12-22GNU info pages should not be installed into share/info.rillig1-3/+7
2007-12-21+ REDQ_FILES_PERMSrillig1-1/+2
2007-12-21Updated the list of pkgsrc compilers (+hp, +pcc).rillig1-2/+6
2007-12-19Improved the wording of an explanation, to avoid confusion.rillig1-4/+4
2007-12-19- Added support for the new META_PACKAGE variable.rillig2-4/+8
- Warn about duplicate entries in PLISTs.
2007-12-13Made the CVS Id check stricter, to catch many mistakes in pkgsrc-wip.rillig1-2/+2
2007-12-07Updated pkglint to 4.80.rillig1-3/+3
Important changes since 4.79: - Fixed some internal errors. - Adjusted pkglint to changes in the pkgsrc infrastructure: SUBST_VARS.*, PKG_USERS_VARS, PKG_GROUPS_VARS. - Improved the parser for shell code. - Cleaned up the handling of the :Q operator, so that pkglint warns about it places where it is not required. - ${RUN} has deprecated ${_PKG_SILENT}${_PKG_DEBUG}.
2007-12-07+ AUTO_MKDIRSrillig1-1/+2
2007-11-30Catch some common mistakes in dependency patterns.rillig1-16/+21
2007-11-29(typo:) When checking PLIST.common_end and loading PLIST.common,rillig1-2/+2
actually load that file.
2007-11-22Fixed code duplication. When canonicalizing package names, also do itrillig1-26/+17
for PHP.
2007-11-20Removed USE_TOOLS+=perl:run, since Perl is not used as a tool, only as arillig1-3/+1
dependency which is included automatically by the various Perl modules. I wonder why the PERL5 variable is still defined without perl being in USE_TOOLS.
2007-11-16The type of BUILTIN_FIND_GREP.* had been wrong. It's not List ofrillig1-2/+2
ShellWord, but a simple String. This has led to some confusion in db1.builtin.mk.
2007-11-14Properly check the return value of load_lines("PLIST.common").rillig1-2/+9
2007-11-07Mention that RUN does more error checking than _PKG_SILENT + _PKG_DEBUG.rillig1-3/+3
2007-11-07In variable assignments in the shell you can sometimes leave out therillig1-1/+9
double quotes.
2007-11-07Filemasks and Pathmasks may very well contain special characters, so therillig1-3/+3
:Q operator should not be removed from them.
2007-11-07In shell commands, handle backticks inside double quotes. By the way,rillig1-3/+15
double quotes inside backticks inside double quotes are error prone.
2007-11-07When checking a single *.mk file, determine the used variables. Thisrillig1-1/+3
avoids many false positive warnings when checking files in the mk/ directory.
2007-11-07Fixed the XXX from the last commit. PLIST conditionals are read in whenrillig1-1/+19
a package is checked and discarded for the directory and filename checks.
2007-11-07Directories may be removed in a PLIST if there is a corresponding @execrillig1-2/+9
${MKDIR}. In PLIST.common_end, directories that have been populated in PLIST.common may also be removed. XXX: The PLIST_SUBST macros that may expand to "@comment " are currently not distinguished from pathname macros. This leads to some false positive warnings.
2007-11-07Warn about removal of unrelated directories in the PLIST.rillig1-3/+16
2007-11-06The "short" names for tools may only be used in the predefinedrillig1-2/+2
{pre,do,post}-* targets, not in user-defined ones.
2007-11-04The fifth field in a CVS/Entries file is the keyword mode. It doesn'trillig1-3/+3
have to be always empty.
2007-11-03Reverted the deprecation of USE_NCURSES.rillig2-3/+4
XXX: To discuss: How is this variable different from PREFER_PKGSRC=ncurses? Why do we need it at all? Why isn't it documented anywhere?
2007-11-03USE_NCURSES is deprecated. It has no effects anymore.rillig2-3/+5
2007-10-31"Safe" variables should not have the :Q operator, since it only makesrillig1-4/+9
the code harder to read and does not have any effect anyway.
2007-10-31Do not print warnings about missing PLIST definitions for Perl modulesrillig1-1/+2
and other packages that set GENERATE_PLIST.
2007-10-31Added a function for checking bmake conditionals.rillig1-2/+11
2007-10-31Second try to deprecate LICENCE. ACCEPTABLE_LICENCES continues to exist,rillig1-3/+3
since the reasons for keeping two variables for one purpose seem to be greater than the ones for simplicity. Don't ask _me_ why.
2007-10-25Reverted the deprecation of LICENCE and ACCEPTABLE_LICENCES, since thererillig1-3/+5
is no consensus among the pkgsrc developers about them. Some want to keep them (proper British spelling), others want to eliminate them (redundancy).
2007-10-25It's not very useful to have empty PLIST files, so warn about it. Thisrillig1-1/+15
may happen when a package has been newly created and the print-PLIST target has not yet been run.
2007-10-17LICENCE and ACCEPTABLE_LICENCES (British English) are deprecated.rillig1-3/+5
2007-10-13Whew. pkglint didn't know FAIL_MSG at all.rillig1-1/+2
2007-10-13FAIL_MSG may be a hidden command.rillig1-2/+32
2007-10-12As pointed out in PR 37113, it is dangerous to set MAINTAINERrillig1-2/+2
unconditionally in Makefile.common, so warn about it.
2007-10-12X11_TYPE=xorg is no longer supported.rillig1-2/+2
2007-10-07fix obsolete URLs for www.NetBSD.orgkano2-4/+4
close PR pkg/37071 reviewd by xtraeme@
2007-10-01+ MISSING_FEATURESrillig1-1/+2
2007-10-01Marked _PKG_SILENT and _PKG_DEBUG as deprecated, added USE_FEATURES.rillig2-2/+7
2007-09-29Honour the setting of MANINSTALL.rillig1-2/+4
2007-09-20Finally fixed the bogus warnings in PHP extension packages concerningrillig1-19/+30
the patch files.
2007-09-20Variables mentioned in SUBST_VARS.* are marked as used. An assertion inrillig1-22/+55
that code had been proven wrong as is now gone. PKG_USERS_VARS and PKG_GROUPS_VARS are added to BUILD_DEFS by the infrastructure, so no warnings should be emitted for "unused" variables in this case. The comment for USE_LANGUAGE in combination with GNU_CONFIGURE is considered to be intentional if it contains either of the words "c", "empty" or "none".
2007-09-11All variables named by SUBST_VARS.* are marked as being used.rillig1-2/+9
Quoting warnings are only printed when -Wquoting is enabled.