Age | Commit message (Collapse) | Author | Files | Lines |
|
for lists of something, this can lead to unexpected behavior. Currently,
only the variables BUILDLINK_DEPENDS, BUILDLINK_PACKAGES and PKG_OPTIONS
may be looked at during load time.
This warning reveals the bad practice to "patch" CONFIGURE_ARGS at load
time, for example:
> CONFIGURE_ARGS:= ${CONFIGURE_ARGS:S/--disable-esd/--enable-esd/}
WARN: audio/bmp-esound/Makefile:14: CONFIGURE_ARGS should not be
evaluated at load time.
|
|
|
|
into a single subroutine, checkline_mk_varuse, which replaces the
various ad-hoc checks. Added the class PkgLint::VarUseContext that tries
to model the context in which a make(1) variable can appear. The checks
are much better now than before, but there's still work to do. Added a
new type FileMode for file permissions.
Currently no warnings are printed for untyped variables (that is,
user-defined and not following the common naming schemes). This includes
the iteration variables of .for loops. Since many of the warnings have
been overly strict, this is not a big loss.
|
|
|
|
|
|
confused make.
|
|
uncomment libnbcompat, mtree and xpkgwedge.
|
|
into get_variable_type(). Added a new field PkgLint::Type::is_guessed
that can be checked later.
|
|
|
|
deprecated.
- CONFLICT is just a spelling mistake and therefore should not appear
in the list of deprecated variables.
- Made handling of parameterized variables more uniform.
|
|
I find too much time.
|
|
it will live with other "check" targets run after package installation.
Get rid of SHLIB_HANDLING, whose meaning had mutated over the years
from one thing to another. Currently, it is used to basically note
whether the system's "ldd" command can be usefully run on the package's
binaries and libraries. Rename this variable to CHECK_SHLIBS_SUPPORTED
for more clarity.
CHECK_SHLIBS is now a variable set exclusively by the user in /etc/mk.conf
to note whether the check for missing run-time search paths is performed
after a package is installed. It defaults to "no" unless PKG_DEVELOPER
is set.
|
|
to *.mk.
|
|
data types and permissions.
- Changed the way that permissions are determined a bit, so that
unspecified permissions can be detected.
- Renamed -Wacl to -Wperm.
- When no applicable permissions are found, "?" is returned.
- When checking for unused variables, parameterized variables don't have to
be matched exactly but only by basename.
- Added an explanation for the permissions warning.
|
|
|
|
- Variables called *_HOME are assumed to contain a single pathname.
|
|
|
|
|
|
|
|
explain_warning(), which aborted the program.
- Added support for a wip-specific TODO file where suggested package
updates are recorded.
|
|
Changes since 4.61:
- Bug fixes.
|
|
|
|
|
|
Fixed them. Added explain_note().
|
|
|
|
Changes since 4.60:
- Added ACL-based checks that restrict the files which may define
variables.
- Many, many small improvements.
|
|
time, the !empty(BUILDLINK_DEPTH:M+) lines confused me, so I changed
them to be ${BUILDLINK_DEPTH} == "+", which has the same effect. Changed
the version number to 3.12.
|
|
- Renamed explain() to explain_warning() and added explain_info().
- Added some code to distinguish FOO from FOO.* in the makevars.map file.
- Allow an alternative form of checking the inclusion depth in
buildlink3.mk files.
|
|
"@".
|
|
many people on pkgsrcCon 2006.
|
|
|
|
- Removed some legacy definitions for ACL subjects.
|
|
|
|
|
|
|
|
|
|
- Added checks for deprecated and nonexistent licenses. (suggested by gdt)
- Added detection for /foo/s/bar/baz/ sed command that appears without a
leading "-e" in a SedCommands variable. (suggested by wiz)
|
|
looks nicer.
|
|
- Aligned the ACL permission letters with the documentation. The old "c"
letter has been removed because from the definition's point of view,
there is no difference between the "=" and the ":=" operator. All the
differences lie on the right hand side, which will be covered later.
- Updated the variables in makevars.map with mk/defaults/mk.conf, 1.118.
|
|
this specification.
|
|
|
|
- Added the -Wacl command line option, which is disabled by default.
- Extended the type definitions in makevars.map by ACLs, which specify
in which files the variables may be defined.
- Trailing white-space in DESCR files can be fixed automatically.
- Use of the $$ shell variable is not flagged as "strange" anymore.
- Added ACL-based checks for variable definitions.
- PKGREVISION should not be set to 0.
- Improved the diagnostics text for RESTRICTED.
- Added the types Unchecked and Version.
- Dashes are allowed in library names in wrapper reordering commands.
- More than one DISTFILES definition is allowed in the variable ordering
check.
|
|
format modifier. We include "defs.h" in the files that use PRIu64 as
that is the header that contains stand-in definition.
|
|
|
|
|
|
|
|
Make it use pkg_summary(5) (with a fallback to the old pkg_chk-summary).
Retire capability to create pkg_chk-summary.
|
|
affected by multiple-inclusion guards.
|
|
|
|
|