Age | Commit message (Collapse) | Author | Files | Lines |
|
|
|
Replace wait(2) with equivalent waitpid(2); for Linux, reported by wulf@
on tech-pkg.
|
|
defaults to /libkver, and register it there.
This is a convenient one-stop target to use libkver in a sandboxed bulk-build.
(hint for Julio ;)
|
|
(Insert config.h, nbcompat.h, and bracket the other includes with
#if HAVE_<file>.)
|
|
the pkg_admin binary.
|
|
PKG_PREFIX, which was causing the INSTALL script to fail when run from
the post-install-script target.
|
|
- PKGNAME is checked for being a valid package name.
- PLIST files should not contain filenames that match */CVS/*.
- Completely rewrote the check for variable ordering. The new code
operates on a data structure that's easily understandable and
extendable (see the source for an example). It also generates greatly
improved diagnostics. As the old code had been enabled only when
checking with -Wvague or -Wall, it has been seldom used anyway.
|
|
|
|
pkg_install tools. This allows customizing UPDATE_TARGET=package to
produce a binary package instead of just installing the package.
|
|
Also, simplify the package by making use of the PKGMANDIR-handling in
pkgsrc to remove the custom MANDIR code from the package Makefile and
the PLIST.
Technically, this type of a change would require a PKGREVISION bump,
but as this is the pkg_* tools package and there were no changes to the
binaries, we refrain from doing so.
|
|
* check _every_ line of the Makefiles
* warn about the use of ${SED} in {pre,do,post}-install
|
|
|
|
List* later.
|
|
|
|
|
|
|
|
|
|
Welcome to 20051103!
Now with "automatic" support.
|
|
- Removed the hard-coded values for valid tool names.
The detection is good enough.
- Make sure that the domain part NetBSD.org is written like this
in mail addresses.
|
|
- Improved detection of valid tool names.
|
|
output for tool names. Sorted and aligned the list of known tools.
|
|
|
|
|
|
- Added checks for TOOL_* variables.
- Added {pre,do,post}-extract to the list of valid stages.
- Fixed the regular expression for detecting tool names.
- Added a check for invalid syntax in tool names.
- Improved the diagnostic for enumerations.
|
|
- Allow variables as Option.
- Improved the diagnostic for "invalid subdirectory of ${WRKSRC}".
|
|
|
|
- Added many of the variables found in pkgsrc/mk/* to makevars.map.
- Added the function log_fatal, whose output goes to stderr instead of
stdout.
- All files in pkgsrc/mk/ are excluded from checking, as they may use
private variables and do other questionable things.
- Removed the Language type, as it is a simple enumeration.
- Added the Userdefined type to distinguish user-definable and read-only
variables.
|
|
Implemented checking for enumeration types. Added new types Filemask,
Filename, Language, Option, Pathmask, Pathname, Stage, Varname and
WrksrcSubdirectory. Made the check for URLs stricter. Added some
variables to the makevars.map file.
|
|
option. I just didn't think it was pkglint itself. :)
Thanks to Martti for notifying me about that.
|
|
Removed the -Wworkdir option. Added an --import option that replaces
-Wworkdir. Changed the warning about uncleaned work* directories into an
error. Updated the man page.
|
|
Fixed the --autofix handling of category Makefiles. Added an --import
option that helps importing packages from pkgsrc-wip. When checked with
--import, the package is checked as if it weren't part of pkgsrc-wip.
|
|
|
|
|
|
Fixed undefined behavior when reading a file that ends in a continuation
line. Any use of ${WRKSRC}/.. is considered an error, as ${WRKSRC} is
meant to point to the top of the build directories. A proper combination
of WRKSRC, CONFIGURE_DIRS and BUILD_DIRS should be used instead. Sorted
the makevars.map file and added SUBST_CLASSES.
|
|
Changes since 4.32.2:
- Added checks for CATEGORIES.
- Modernized checks for DEPENDS and BUILD_DEPENDS.
- Simplified PLIST directive checks.
|
|
|
|
checking routines don't use physical lines anymore, so there's no need
to distinguish them. Removed deprecated "@" line checks from the PLIST
checker. These lines are all reported as "Unknown PLIST directive" now.
|
|
list of deprecated variables.
|
|
Removed the warning for a single element in DISTFILES, as I don't see
any reason for keeping it.
|
|
number of parameters to many subroutines.
|
|
List, except that no warning is reported for not using the "+="
operator.
|
|
|
|
|
|
inline, as they had only been used once.
|
|
Added a check for invalid uses of MASTER_SITE_* variables.
|
|
Added type check for USE_TOOLS. Fixed false warning about direct use of
tools in comments.
|
|
The --autofix support has been rewritten to be more easily usable.
Automatic fixes are currently restricted to the sort order of SUBDIR
entries in category Makefiles. It had been the complete category
Makefile before. Added a new diagnostic, prefixed with "NOTE:", that is
used for important informational diagnostics, for example autofixed
files.
|
|
one backslash reach the argument to sed(1), the backticks are replaced
with a call to open("... |"). Now the first argument to sed(1) contains
\$ instead of a simple $.
|
|
Added the expected and actual checksums to the diagnostics if they
differ for patches.
|
|
Pkglint::FileUtil::Line, which will be used for the --autofix option.
No user-visible changes.
|