summaryrefslogtreecommitdiff
path: root/pkgtools/pkglint
AgeCommit message (Collapse)AuthorFilesLines
2009-08-25Remove BROKEN_IN variable. It was no maintained, and there was nowiz1-2/+1
defined workflow for setting it, removing it, or removing packages depending on it.
2009-07-26Fixed the parser for shell commands, so that it recognizes the $$$$rillig1-2/+4
variable.
2009-07-26Added support for LICENSE_FILE, OPSYSVARS and @pkgdir.rillig1-1/+26
2009-07-22Don't suggest to use obsolete features.rillig1-3/+3
2009-07-22Mark USE_DIRS as deprecated.wiz1-1/+2
2009-07-22Remove USE_DIRS handling.wiz2-54/+8
Warn about obsolete @dirrm. Add an XXX for hicolor-icon-theme check.
2009-07-17Added the ability to resolve simple variable references of the formrillig1-2/+34
${VARNAME} into their values. This was intended to fix the false positive warnings about missing distinfo files, but it cannot handle database/ruby-gdbm for example, because _RUBY_VER_MAJOR uses pattern substitution. Run pkglint with -Dtrace,misc and look for resolve_var to see what happens up to now.
2009-07-17Variables that are defined by the package may be used as shell commands.rillig1-1/+6
2009-06-14Remove @dirrm entries from PLISTsjoerg1-2/+1
2009-06-13Documented the most recent change.rillig1-1/+6
2009-06-13Introduced the emulation framework to pkglint.rillig2-2/+41
2009-05-26Shell comments may be hidden using @, as they have no side effects.rillig1-2/+5
2009-04-26Removed unnecessary code.rillig1-33/+23
2009-04-26Optimized the doc/CHANGES handling to get the get_doc_CHANGES functionrillig1-10/+10
out of the top-15 time consumers, as measured by DProf. The execution time decreased by about 15 percent.
2009-04-26Documented the recent addition of the PkgPath type.rillig1-1/+8
2009-04-26Added a check that ensures that all types in makevars.map actually existrillig1-8/+36
in the code, avoiding "Type not found" fatal errors at runtime. In this case, only the variables *_SPECIFIC_PKGS were affected. The real problem that induced the above change was the unknown type "List of Pathname", which was a bug in the pkglint code itself, introduced three years ago (revision 1.574).
2009-04-26Added <para> tags so the document validates again.rillig2-14/+14
2009-04-26Removed unused functions.rillig1-14/+1
2009-04-09NO_MTREE and NO_PACKAGE are obsolete.joerg2-4/+6
2009-04-09Remove redundant NO_CHECKSUM and EXTRACT_ONLY definitions.joerg1-2/+1
2009-04-05take case-insensitive filesystems into account.rillig1-1/+8
2009-04-04Added a warning for the old buildlink3.mk format.rillig1-1/+7
2009-03-25Improve explanation for missing man pages for sbin/ programs.wiz1-4/+4
2009-03-25Added explanations for all warnings that currently appear in wip/dcc.rillig1-1/+34
2009-03-25+ LICENSE_FILErillig1-1/+2
2009-03-22Added BUILDLINK_CONTENTS_FILTER.*rillig1-1/+2
2009-03-22Fixed the .if/.endif handling in the new buildlink3.mk format.rillig1-2/+2
2009-03-22Oops. :)rillig1-2/+2
2009-03-22Updated pkglint to 4.91.rillig1-2/+2
Important changes since 4.90: - Fixed some issues with "package has been downgraded" warnings. - The doc/CHANGES-* files can be checked individually now. - Emit a warning if a package does not define PKG_DESTDIR_SUPPORT. - In patch files, warnings about absolute pathnames, CPP macros and the like are only emitted if the line starts with a "+". If the -Wextra option is given, the context lines (starting with a " ") are also checked. - Added support for the new buildlink3.mk format.
2009-03-22Adjusted pkglint to the new format of the buildlink3.mk files, which isrillig2-14/+173
pretty neat.
2009-03-10Implemented the suggestion by abs@ of reducing the number of warnings inrillig1-21/+34
patch files. Up to now, the lines that only provide the context for the patches have been checked for absolute pathnames and the like. Now, only those lines that really add something to the patched file are checked. The context lines are checked when the -Wextra option is given. While here, added some comments to help me understand the code that I wrote years ago.
2009-02-14Remind the package developers that AUTO_MKDIRS is more convenient thanrillig1-9/+15
using the INSTALL_*_DIR commands or the INSTALLATION_DIRS variable. Suggested by abs@ on tech-pkg@.
2009-02-09Remove Python 2.1 support.joerg1-2/+2
2009-01-26Packages that install *.desktop files should includerillig1-3/+14
sysutils/desktop-file-utils/desktopdb.mk. Suggested by Matthias Drochner.
2009-01-26Added but disabled a check that tests whether the PKGNAME and therillig1-1/+6
package directory match. There is much work to do until this can be enabled.
2009-01-04Recognize CMAKE_ARGS.wiz1-1/+2
2008-12-21Warn about missing PKG_DESTDIR_SUPPORT definition. Every package shouldrillig1-1/+5
have one.
2008-12-15TOOLS_DEPENDS.* names a dependency, and all the directories that arerillig2-3/+10
mentioned in it must actually contain a Makefile.
2008-12-14Changed one of the explanations to be more permissive. Fixed arillig1-3/+3
grammatical mistake in the same sentence.
2008-12-05Make complaints about hicolor icon themes directories errors.wiz1-2/+2
Ok rillig
2008-12-04Added explicit checks for share/icons/hicolor directories in PLISTs, asrillig1-1/+7
suggested by wiz.
2008-12-02Removed unused code. Changed one constructor call to match the patternrillig1-56/+5
of all the others. Explained how to get an overview of the code.
2008-11-30Banned the warnings about SUBST_* groups into the -Wextra option, sincerillig1-18/+18
they are used less strict than pkglint wants them.
2008-11-25more to do.rillig1-1/+5
2008-11-24Allowed pkglint to check doc/CHANGES-* files individually.rillig1-26/+34
2008-11-19Fixed the (hopefully) last issue with the downgrading warning.rillig1-4/+8
2008-11-18It's pretty tricky to get the bmake substitution right. At least ifrillig1-2/+7
you're a lazy programmer. Now the ${DISTNAME:S...} is interpreted correctly.
2008-11-18Updated pkglint to 4.90.rillig1-2/+2
Changes since 4.89: - Packages are checked whether they are being downgraded. - Several small fixes and improvements.
2008-11-18Get rid of the false positive warnings for downgrading, by doing morerillig1-1/+8
magic to the PKGNAME and DISTNAME in the package Makefile. Thanks, wiz, for insisting on this.
2008-11-18Emit a note instead of a warning when the :Q operator is used in placesrillig1-6/+12
where it isn't necessary. The :Q operator is necessary for URLs, since they may contain ampersands.