summaryrefslogtreecommitdiff
path: root/pkgtools/pkglint/files
AgeCommit message (Collapse)AuthorFilesLines
2005-06-14pkglint complains about empty DESCR files again. Fixes PR 30509. Updatedrillig1-1/+5
version number to 4.17.1.
2005-06-03Remove USE_GIF.wiz1-2/+1
2005-06-03Remove USE_IDEA.wiz1-2/+1
2005-06-03Remove USE_ESOUND.wiz1-2/+1
2005-06-01Fix grammar in comment.wiz1-2/+2
2005-05-31Added PKG_PRESERVE, NO_PKGTOOLS_REQD_CHECK and NO_PKG_REGISTER.rillig1-1/+4
2005-05-31When checking the type of variables, the variable name must begin at therillig1-3/+3
beginning of a line. This fixes false warnings for variables that are commented out. Added ${JAM_COMMAND} to the commands that may have "install" or "test" as arguments.
2005-05-31Removed unused subroutine abspathname. Added the things it did to the TODOrillig1-62/+1
list.
2005-05-31Removed the -N command line option, which had been deprecated before.rillig3-31/+24
Also removed -Cnewpkg. Instead, the warnings for new packages are only emitted if the files have not yet been committed to CVS.
2005-05-26Renamed -Wexpensive to -Wbl3. By default this option is enabled. Added arillig1-4/+25
subroutine checkfile_buildlink3_mk that performs the basic Makefile checks on buildlink3.mk, if it exists.
2005-05-26Added a command line option -Cexpensive, which enables more expensiverillig1-10/+17
checks. Currently the effects are that buildlink3.mk files are read in. Moved around code in checklines_direct_tools to allow $regex_tools to be used in the list of legitimate shell commands. Added a new rule that legitimates tool names inside double quotes.
2005-05-26Renamed $distinfo to $distinfo_file, to match the pkgsrc variable name.rillig1-16/+17
When calculating the value of $distinfo, PKGDIR gets replaced with $pkgdir.
2005-05-26Reduced the debugging messages to the ones that provide useful contextrillig1-38/+16
or additional information about the further checking process.
2005-05-26Made the regular expression for direct use of tools in shell commandsrillig1-6/+10
stricter. Changed capturing groups into non-capturing groups. Added log messages for legitimate uses of tools in shell commands and variables.
2005-05-26Marked a bunch of warnings as "vague". These warnings are enabled byrillig1-61/+63
default, but can be disabled by using the -Wno-vague command line option. These warnings will be replaced step-by-step with new-style warnings.
2005-05-25Added the dirname($file) to the search path for include files whenrillig1-2/+8
scanning package Makefiles. Changed the output format to include a newline where necessary. Added the search path to the error message. This might fix PR 30322.
2005-05-25Added EXTRACT_USING, INTERACTIVE_STAGE and MANSOURCEPATH to the list ofrillig1-3/+4
variables that accept direct tool names.
2005-05-25In checklines_direct_tools, quote shell commands, too. Unquoted shellrillig1-2/+2
commands are too hard to recognize.
2005-05-25Fixed a regular expression in checklines_direct_tools. Added debuggingrillig1-2/+5
output.
2005-05-24Minor wording fix.rillig1-2/+2
2005-05-24Rewrote the part of detecting direct use of tools in variables and shellrillig1-57/+80
commands. The warnings are precise (file, line, varname, shellcmd) and can be easily translated into Perl code. They might even be placed in external files someday.
2005-05-24When converting USE_PERL5 to USE_TOOLS, the user might want to setrillig1-2/+2
TOOLS_DEPMETHOD.perl=DEPENDS.
2005-05-24Added USE_PERL5. Added a comment when these definitions may be removed.rillig1-1/+3
2005-05-24Replaced the algorithm in check_category with one that is fast, correct andrillig1-10/+14
always terminates. I somehow got the old algorithm into an endless loop.
2005-05-24Renamed category_check to check_category. Using $dir insiderillig1-13/+14
check_directory, as opt_packagedir wasn't named appropriately.
2005-05-24Added stricter checking for the RCS Id tags. Now they are always requiredrillig1-38/+34
to be in the first line of a file, except for MESSAGE files. Rewrote the warning for RCS Ids in patches (binary => no-keyword).
2005-05-24Add "." to the list of .include directories when reading packagerillig1-1/+2
Makefiles. This fixes PR 30322.
2005-05-24Keep all Makefile lines for processing. Replaced the algorithm forrillig1-17/+16
detecting contiguous empty lines. Better checks for pkg/ directory.
2005-05-24Allow multiple USE_TOOLS+= lines.rillig1-2/+2
2005-05-24Marked USE_GNU_TOOLS as deprecated.rillig1-2/+3
2005-05-23Write white-space like in SUSv3 and the man pages.rillig1-3/+3
2005-05-23Added NO_MTREE.rillig1-1/+2
2005-05-23lintpkgsrc(1) honors the PKGLINT_FLAGS environment variable, which can berillig3-20/+34
used together with the -l option.
2005-05-23When opt_dumpmakefile is activated, only print the contents of the Makefilerillig1-3/+1
once, with line numbers.
2005-05-23Only warn about use of $(VARIABLE) if it is not preceded by another $.rillig1-2/+2
This avoids false positives in sed(1) expressions.
2005-05-23Fixed a bug introduced by the message normalization patch (forgot a !rillig1-2/+3
operator). Don't blame the user for using tool names in PKGSRC_USE_TOOLS and USE_TOOLS definitions, as this is what they are for.
2005-05-22Normalized capitalization of log messages.rillig1-181/+171
2005-05-22Reformatted the initial comment. Changed my mail address to NetBSD.org.rillig1-4/+7
2005-05-22Updated the man pages.rillig2-3/+7
2005-05-22Don't check the order of the Makefile sections if a Makefile.common isrillig1-2/+19
included. Also added a command line option -Wno-order to force this.
2005-05-22Made the check for non-empty RCS Id tags independent from the --verboserillig1-2/+2
command line option.
2005-05-22Added NO_BUILD.rillig1-1/+2
2005-05-22Extend the deprecated variables check to the included Makefiles, too.rillig1-8/+16
2005-05-22Added USE_LIBTOOL and USE_PKGLOCALEDIR.rillig1-1/+3
2005-05-22Extended reading of Makefiles to return both---a string containing therillig1-23/+24
complete Makefile with includes and a list of lines, also with includes. This list of lines is the first step towards better error and warning messages (including file and line number). A first effect of this change is that the use of Makefile variables is checked even in the .include'd Makefiles.
2005-05-22Simplified the way individual files are checked.rillig1-31/+8
2005-05-22Removed a check for *.tgz in the package directory. This check has beenrillig1-8/+1
here since revision 1.1, and is very unlikely to occur.
2005-05-21Changed the way trailing empty lines are detected. This adds linerillig1-33/+40
numbers to the warnings and allows to check for trailing empty lines in patch files. Embedded the check for files not ending with newlines into the load_file() subroutine.
2005-05-20Don't include buildlink3.mk files when reading the Makefile. Thisrillig1-2/+3
results in much less false warnings, but sadly adds some to the koffice-18n packages. The main reason for this change is that the execution time of pkglint is reduced by 20%.
2005-05-19Removed misleading comment.rillig1-3/+1