summaryrefslogtreecommitdiff
path: root/pkgtools
AgeCommit message (Collapse)AuthorFilesLines
2006-02-28- The :Q operator should not be applied to tools.rillig1-4/+15
2006-02-28Added the INSTALL_* commands and the MASTER_SITE_* URL lists.rillig1-1/+36
2006-02-27Added RCS Id.rillig1-0/+2
2006-02-27Quoting bugfix.rillig1-2/+2
2006-02-27- Added a list of forbidden commands that must not be used in packages.rillig1-1/+12
Currently this list contains ktrace, strace and truss, as these are too platform-specific. Suggested by tron.
2006-02-26Added the book ``Design and implementation of pkglint''.rillig10-0/+806
2006-02-26- Improved checking of sed commands that are used in the SUBSTrillig2-6/+56
framework. Now, unescaped shell special characters are detected.
2006-02-26- Got rid of 810 warnings in -Wall mode by assuming that certain variablesrillig1-6/+4
like *DIR, *PATH, *FILE, PKGNAME will never contain one of the $\"'` characters. With greetings to Alistair, who convinced me that pkglint need not be the most pedantic tool. (It will stay _very_ pedantic, though. :))
2006-02-26- The type SubstMessage was redundant and has been replaced with Message.rillig2-9/+4
- Improved a diagnostic.
2006-02-25Fixed pkglint warnings.rillig1-8/+8
2006-02-25Added sed quotesadam1-8/+8
2006-02-24Fixed pkglint warnings.rillig1-10/+10
2006-02-24PKGMANDIR instead of man.reed1-3/+3
2006-02-24PKGMANDIR instead of "man".reed1-6/+6
(When do I use PKGMANDIR:Q or no :Q??)
2006-02-24PKGMANDIR instead of "man".reed1-3/+3
2006-02-24DECOMPRESS_CMD is deprecated.rillig1-1/+2
2006-02-24- builtin.mk files must not be included directly.rillig1-3/+4
2006-02-24- Fixed path handling when ${PKGSRCDIR} appears in Makefiles.rillig1-4/+20
- Be stricter when checking for Identifiers (e.g. BUILD_TARGET). Variable assignments are not allowed here and should go to BUILD_MAKE_FLAGS. - Check for quoting in assignments to list variables. - gettext-lib/builtin.mk must not be included directly. - .orig files should not be in the PLIST.
2006-02-19- The simplification from the last commit was wrong, but those statementsrillig1-8/+11
that could have revealed the defect had been commented out. Now they can be enabled with -Wspace. - The state traces are only shown in -dvv mode.
2006-02-19- Simplified checking for the RCS Id in the first line of patches.rillig1-5/+2
2006-02-19- Completely rewrote the parser for patch files. The new parser can parserillig1-81/+320
context diffs as well as unified diffs and report much better warnings. However, most of the warnings are currently disabled, as they are just too many. It cannot parse ed diffs, but produces warnings for them.
2006-02-18Update pkg_chk to 1.69abs3-25/+37
- Deprecate -i -and -c (recommend -u -n and -a -n respectively
2006-02-18Update pkg_chk to 1.68abs2-20/+26
- When listing binary packages with '-l', simplify logic and ensure if a dependency is missing the package which required it is shown. Also list all missing packages rather than stopping after the first - If -n is given with -u do not -
2006-02-18- Installing documentation to share/doc/html is deprecated. By default, norillig3-108/+96
warnings are shown for this, as this would produce more than 20000 new warnings for the current pkgsrc tree. You need to specify -Wplist-depr (new) to see them. Of course, -Wall will work, too. - Updated the documentation and cleaned it up.
2006-02-18Added EGDIR.rillig1-1/+4
2006-02-18- The checkline_mk_vartype_basic routine needs to know whether the valuerillig1-10/+14
it is checking is used in list context or in scalar context -- just like in Perl. - The :Q operator should only be used in list context or in shell commands.
2006-02-18- Disabled the warning that all substiution commands should be enclosed inrillig1-2/+2
quotes. -- I've changed my mind.
2006-02-18Distinguish between Pathnames and Pathlists. The latter are lists ofrillig1-5/+16
pathnames, separated by a colon.
2006-02-18Added some variables.rillig1-1/+8
2006-02-18Updated pkglint to 4.57.rillig1-2/+2
Changes since 4.56: - Added warnings for variables that are defined, but not used. This is a simple spell-checker. - Variables that appear as a single shell word should be quoted unless they have the type "List of something". - Many small enhancements.
2006-02-18- Guess the data type of *PATH variables to be Pathname, of *PATHS to berillig1-1/+3
List of Pathname.
2006-02-17The use of DOWNLOADED_DISTFILE is deprecated because there is no way ofrillig1-1/+2
quoting it correctly. The shell variable extract_file should be used instead.
2006-02-17- Be stricter when checking whether a shell word consists of exactly onerillig1-2/+2
variable or not.
2006-02-17- Text alignment with spaces is changed to tabs if the --autofix option isrillig1-2/+25
selected and the alignment can be done solely with tabs, that is, the alignment leads to a column that is a multiple of 8.
2006-02-17Solaris su(1) does not have an -m argument; re-work so that this can besketch1-5/+7
supported.
2006-02-16Update to 1.27:jmmv2-6/+4
- Allow empty variables to be added to the mk.conf file (useful for, e.g., BINPKG_SITES). Requested by Lans Nordlund in private mail.
2006-02-16- Allow the values -c99 for CFLAGS and -static for LDFLAGS.rillig1-1/+8
2006-02-16Added XMKMF_FLAGS.rillig1-2/+2
2006-02-15TODO: reinvent the pkglint type system.rillig1-1/+24
2006-02-15- Marked the latest :Q warning as experimental. It currently suggests torillig1-7/+7
quote even ${CC} and ${CXX}, which is wrong. The warning is not printed for the other TOOLS, but that is only because the tool variables have not been assigned proper types. - Reduced the number of negations in a condition.
2006-02-15- Some more typed variables.rillig2-6/+20
- Variables that are not of type "List of something" should be quoted when used in shell programs. - In mail addresses, a "+" is allowed.
2006-02-15- Added some more variables and a new data type, LdFlags.rillig2-6/+77
2006-02-14Added some more variables.rillig1-2/+34
2006-02-14- Added experimental support for detecting defined, but unused variables.rillig2-2/+62
The main task is now to filter out the false positives (that is, all system-defined variables) and add them to makevars.map.
2006-02-13Oops. The last change modified the behavior of an if-then-elsif chain in arillig1-5/+7
way that I didn't intend. Fixed.
2006-02-13- Including "options.mk" does not qualify to using common Makefiles, whichrillig1-2/+5
would suppress the variable order checking. - Added an additional debugging statement to the variable ordering.
2006-02-13- Even if the type of a variable is guessed based on its name, report itrillig1-4/+6
as untyped when in --debug mode. This allows the --debug mode to be used for detecting spelling mistakes.
2006-02-12Correctly handle Python and Ruby prefixes in binary package names. Patchrillig1-4/+11
provided by YOMURA Masanori in private mail.
2006-02-12- ${COMPILER_RPATH_FLAG} should be used instead of the various -Wl,...rillig1-2/+8
flags. - [Brackets] are allowed in pathname masks.
2006-02-11- Changed the wording of the warning message for misquoted variables. Therillig1-3/+5
wording had been completely mysterious. Now it gives a direct advise on how to fix the problem.