summaryrefslogtreecommitdiff
path: root/pkgtools
AgeCommit message (Collapse)AuthorFilesLines
2006-01-16- In -Wextra mode, emit warnings if a "?=" operator occurs beforerillig1-1/+17
../../bsd.prefs.mk is included. (It is only shown in -Wextra mode because it is still quite unreliable.)
2006-01-15Update pkgtools/pkg_chk to 1.66abs2-4/+4
Fix incorrect quotation in test
2006-01-15- Implemented a first prototype of the diagnostics with character-wiserillig1-24/+121
precision in checkfile_patch for the warning for context diffs. - The --source option produces more condensed output than before. - The diagnostics with character-wise precision are colored using ANSI/VT100 color sequences. Support for other output formats will be added later.
2006-01-14- The pkgdir variable is only defined when checking a pkgsrc package. Forrillig1-2/+3
other directories it is undefined. This avoids some false warnings when checking files in pkgsrc/mk/.
2006-01-14- Reduced the number of false warnings for relative directories.rillig1-5/+8
2006-01-14- Unquoted make variables in shell words can be fixed automatically. Asrillig1-3/+21
with the change from December 2005, when using this feature, care should be taken for variables that are pre-quoted. - In patch files that patch Makefiles, added lines are checked for absolute pathnames.
2006-01-13Added LIBTOOL_OVERRIDE.rillig1-1/+2
2006-01-13- When guessing the type of variables, *_DIRS and *_FILES are both of therillig1-3/+3
type List of Pathmask.
2006-01-12- Added about 50 variable types to makevars.map.rillig2-22/+146
- Added some variable types. - For unknown variables, the type is guessed from the variable name. - Added more checks for relative pathnames. - Improved the shell parser once more.
2006-01-12Bump date for some new features.wiz2-3/+3
2006-01-12When creating the sorted list of binary packages, "ls -t *.tgz" canjoerg2-4/+4
easily overflow the argument space e.g. on DragonFly. Replace this statement with "ls -t | grep '\.tgz$'" to remove this constraint.
2006-01-12Add runtime dependency of xpkgwedge on imake and xmkmf.joerg1-2/+5
When using non-native X11, xpkgwedge could be installed before imake and host.def en up with just the xpkgwedge.def include. This means that ProjectRoot as set by xorg's host.def is not used and wrong path names are used. This run time dependency is the easiest way to ensure proper order, but isn't perfect. Just providing a fixed host.def and a secondary include file for Lesstif to modify breaks with USE_XPKGWEDGE=NO, so keep the old approach. Discussed with jlam@
2006-01-12Updated pkglint to 4.53.rillig1-2/+2
Changes since 4.52: - New warning categories "debug", "space", "quoting" that can be selected independently. - Improved the parsers for shell commands and shell words. - Added warning for using $(...) in shell programs, as the Solaris /bin/sh doesn't support it. - Added some warnings about quoting. - Some other minor changes.
2006-01-12Added APACHE_MODULE.rillig1-1/+2
2006-01-12- Allow '^' to appear unquoted in shell programs, although it ``is anrillig1-3/+13
obsolete synonym for the pipe operator "|", so you must protect it with quotes''. (Kernighan/Pike, The UNIX Programming Environment, 1984.) - $@ is another well-known shell variable. - All substitution arguments to ${SED} and ${PAX} should be quoted whether they contain special characters or not.
2006-01-12- The shell variables $!, $# and $? are recognized as such. All otherrillig1-3/+7
occurences of a $ in double quoted strings result in a warning.
2006-01-12- Improved the parsers for shell words and shell commands. Parsing errorsrillig1-18/+34
are only shown in -Wdebug mode, as the diagnostic messages are too cryptic. - Added detection for the $(...) replacement for backticks, as the Solaris /bin/sh cannot handle them.
2006-01-12- Defining and using make variables starting with an underscore is onlyrillig1-3/+3
worth a warning, not an error. There are worse things at the moment that need to be fixed.
2006-01-12- Added three warning categories "debug", "quoting" and "space" that canrillig3-5/+31
be enabled independently. They are all disabled by default. - A note is emitted if variable definitions are aligned using space instead of tabs.
2006-01-12- Added the package PkgLint::String, which will be used for improving therillig1-1/+227
precision of the diagnostics. It is currently unused.
2006-01-12- Added plist-clash.pl to the list of files that have @PERL@ replaced.rillig1-1/+2
2006-01-11- In the shell command parser, go to state SCST_CONT instead of SCST_STARTrillig1-2/+5
after parsing the command line options of ${INSTALL}. - Don't warn for CFLAGS that reference other make variables.
2006-01-11- In resolve_relative_path, the depth of the path should only be adjustedrillig1-8/+10
in about half the cases -- added an additional parameter.
2006-01-11Fixed spacing issue.rillig2-3/+3
2006-01-11- Renamed PkgLint::FileUtil::Line to PkgLint::Line in preparation to somerillig1-5/+5
upcoming changes.
2006-01-10Use ${ABI} for library files, patterned after what SGI does. This makeschristos2-231/+234
X11 packages work on amd64 linux boxes. From Benjamin Shi.
2006-01-10Updated pkglint to 4.52.rillig1-2/+2
Changes since 4.51: - The occurence of a symlink other than work* inside the pkgsrc tree is not an error, just a warning. - SUBST_MESSAGE should not be quoted. - If -Wextra is enabled, all make variables that are used in shell commands are checked for proper quoting. - Improved the parser for shell commands. - Some other minor changes.
2006-01-09Fixed the simple part of the pkglint -Wall warnings.rillig1-14/+12
2006-01-09- Even in an unquoted shell word, variables should be quoted. For example,rillig1-7/+13
${PREFIX:Q}/foo. - The semicolon after the "for" loop in the shell does not mean that some exitcode is ignored, so don't print warnings for it.
2006-01-09- Only check make variables for deprecation and $(...) instead of ${...}.rillig1-3/+3
2006-01-09- Added "Please use ${FOO} instead of $(FOO)."rillig1-3/+11
- It is an error if the COMMENT has the default value from url2pkg.
2006-01-08Unbreak by adding NO_BUILD=yes.joerg1-1/+2
2006-01-08- Rewrote the state transition of the shell command parser. The sourcerillig1-75/+52
code now needs less lines than before. For unknown state/shellword combinations, warnings are printed (currently none).
2006-01-08- In shell commands, "case" statements are parsed properly. (Fixes a falserillig1-16/+46
positive warning in mk/subst.mk.) - Improved debugging support for parsing shell commands by printing the current state and word in -vv mode.
2006-01-08Sync with usr.sbin/pkg_install 1.58:wiz1-3/+3
Use MaxPathSize instead of PATH_MAX.
2006-01-07- Enabled the quoting warning for SUBST_MESSAGE (this time the otherrillig1-6/+1
direction: it had been quoted too much in the past).
2006-01-07- Added SUBST_MESSAGE to the list of checked variables. The plan is torillig2-3/+20
remove the quoting from the definitions in the Makefiles. - When checking with -Wall, print warnings about possibly misquoted variables in the various states of the shell word parser.
2006-01-06Update to version 1.25.seb3-33/+15
Fix libkver support for pkg_comp's build, auto and install targets, Reported broken and fix tested by salo@. Also ensure libkver is built, if needed, even before digest. Approved by jmmv@
2006-01-06- Moved the code for checking macro names in patch lines into its ownrillig1-47/+52
subroutine, as it has no code that is specific to patch files.
2006-01-06Fixed pkglint warnings about incorrect quoting and unsorted PLIST.rillig2-19/+19
2006-01-06- s/existant/existent/rillig1-2/+2
2006-01-06- Renamed checkfile_patches_patch to checkfile_patch.rillig1-4/+4
2006-01-06Use SUBST framework.joerg1-6/+13
2006-01-06Added an RCS Id and an introductory comment.rillig1-0/+5
2006-01-06Use SUBST framework. Use PERL5 instead of ${PREFIX}/bin/perl to getjoerg2-5/+17
the location of the interpreter.
2006-01-06Use SUBST framework.joerg1-4/+11
2006-01-06- It is not an error to have symlinks in pkgsrc -- just a warning. Anyrillig1-1/+6
directory entry besides regular files, directories and symlinks is still an error.
2006-01-05Depend on cdrtools instead of cdrecord. Bump PKGREVISION.wiz1-3/+3
Update some messages/comments.
2006-01-05Remove GNU Autoconf's configure.lineno file if it's there.xtraeme1-1/+5
2006-01-05Move the PKGCONFIG_OVERRIDE lines after USE_TOOLS, GNU_CONFIGURE, etc.xtraeme1-6/+8