summaryrefslogtreecommitdiff
path: root/pkgtools/pkglint
AgeCommit message (Collapse)AuthorFilesLines
2008-05-25bsdtar is a valid value for EXTRACT_USING.joerg1-2/+2
2008-05-21update pkglint to 4.86 - necessary bu not sufficient to handle OWNER inabs3-5/+7
Makefiles. As a first pass make MAINTAINER optional and add an optional OWNER directly after it in the same section. This will pass valid OWNER/MAINTAINER combinations but not reject some invalid ones. Full fix (hopefully) coming soon...
2008-04-07Add note about LOCALBASEjoerg1-1/+2
2008-03-10Add a suggestion from Aleksej Saushev.tnn1-1/+4
2008-03-06There's more to do ...rillig1-1/+14
2008-03-06Updated pkglint to 4.85.rillig1-2/+2
Changes since 4.84: - Fixed the splitting of PKGNAME into PKGBASE and PKGVERSION. - Added a warning about usage of LOCALBASE in packages, provided by jlam.
2008-03-06The LOCALBASE variable should not be used in packages, it should just berillig1-1/+32
defined in mk.conf. Suggested by jlam, who also provided the excellent explanation (see "pkglint -e" for it).
2008-03-06After the recent fixes by wiz, the regular expression for splitting arillig1-2/+2
package name into PKGBASE and PKGVERSION has been changed. It treats everything in front of the last hyphen as the package basename and the rest (which will hopefully start with a digit) as the package version. Packages that are affected by this change are for example: * fonts/*-100dpi * lang/elisp-manual: elisp-manual-21-2.8 * mail/postfix-current: postfix-2.6-20080216 * net/flodo: flodo-4-20040907
2008-03-05Add TODO item from PR pkg/38178.tnn1-1/+3
2008-02-27Allow zero white-space in line 4 of buildlink3.mk files. This was hit byrillig1-2/+2
devel/ncursesw.
2008-02-21Updated pkglint to 4.84.rillig1-2/+2
Changes since 4.82: - Whenever a Makefile.common is included by another file, that file should be mentioned in the Makefile.common. - Added spell checker for .if directives. - Added warnings for uncommented patches (only for -Wstyle). - Added spell checker for invalid macro names, like __NetBSD_Version. - Deprecated INSTALLATION_DIRS_FROM_PLIST in favor of AUTO_MKDIRS. - Many more small things.
2008-02-21I don't want others to update the pkglint version number.rillig1-1/+2
2008-02-21Changed an assertion into a fatal error, which is effectively the same,rillig1-2/+2
just without a stack trace. Fixes PR 38074.
2008-02-14Improved the wording of the explanation for empty PLISTs. Related torillig1-5/+6
PR 38022.
2008-02-13Add to explanation for empty PLIST: not needed for meta packages.reed2-4/+4
2008-02-12INSTALLATION_DIRS_FROM_PLIST is deprecated. Use AUTO_MKDIRS instead.rillig1-1/+4
2008-02-08Added a suggestion from Tobias Nygren.rillig1-1/+3
2008-02-05Something more to do.rillig1-1/+3
2008-02-01+ PRIVILEGED_STAGESrillig1-1/+2
2008-01-31Don't require white-space after ${RUN}, since it wasn't required forrillig1-4/+9
${_PKG_SILENT}${_PKG_DEBUG} either.
2008-01-31Directories that are practically empty are skipped.rillig1-1/+3
2008-01-28Added Thomas' explanation for the "PKGREVISION must only be in Makefile"rillig1-1/+7
error message.
2008-01-28pkglint can now automatically add the "used by" clauses torillig1-9/+12
Makefile.common when run with the --autofix option.
2008-01-28When a file is included via .sinclude, it doesn't have to exist.rillig1-12/+12
2008-01-25Some commands like "mktexlsr" and "texconfig" must not be called fromrillig1-4/+9
package Makefiles.
2008-01-10Greg wants me to check for unused license files.rillig1-1/+2
2008-01-10Check misspelled macro names, for example __NetBSD_Version instead ofrillig1-1/+8
__NetBSD_Version__. Inspired by emulators/wine/patches/patch-ac 1.37.
2008-01-06+ REPLACE_LOCALEDIR_PATTERNSrillig1-1/+2
2008-01-06+ BUILD_MAKE_CMDrillig1-1/+2
2008-01-06Deactivated the "NOTE: you can write "tool" instead of "${TOOL}", asrillig1-2/+4
suggested by darcy@.
2008-01-06When a variable is compared to a string in an .if or .elif directive,rillig1-5/+30
check that the string fits to the variable type. Currently, the generated warnings are mainly for X11_TYPE, for which "xorg" is not a valid value. (hi joerg!)
2008-01-05Improved an explanation for an error message, since the previous versionrillig1-2/+5
didn't really explain anything.
2008-01-05Improved the wording of the "Makefiles must not be included" error message.rillig1-2/+2
2008-01-05Don't give a warning for incomplete RCS tags in patch files, as theyrillig1-2/+2
probably will not do any harm.
2008-01-05Reactivated the code to warn about missing comments in patches. It seemsrillig1-5/+5
that the time has come that we can no longer find out what a patch does, unless we document it. The CVS history is not of great help in many cases, patches get moved in the repository and so on. To not scare casual pkglint users, these warnings are only shown if pkglint is run with the -Wstyle or -Wall option.
2008-01-05In the check for variable ordering in package Makefiles, MASTER_SITES isrillig1-2/+2
not required to appear, since META_PACKAGEs don't need to define it.
2008-01-04Added code to analyze the conditions in .if and .elif directives. Thisrillig1-1/+86
will soon be extended to checking for spelling mistakes in PKG_OPTIONS handling.
2008-01-04Whenever a Makefile.common is included by another file, that file shouldrillig1-1/+27
be mentioned in the Makefile.common.
2008-01-04Updated pkglint to 4.82.rillig2-16/+7
Changes since 4.81: - Moved lintpkgsrc to its own package. - Less internal errors when parsing shell code. - White-space checks in PLIST.
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.