Age | Commit message (Collapse) | Author | Files | Lines |
|
|
|
|
|
|
|
Use this summary file to support using remote binary packages.
Okayed by agc and abs.
|
|
|
|
|
|
- Fixed a bunch of format string bugs. (As this is not C, these were
only bugs, not vulnerabilities. ;))
|
|
(pkg_do) When marking already installed package as manually installed,
only print message if we succeeded.
Noted by wiz.
|
|
Changes since 4.48:
- Added a check for .include lines in all Makefiles and *.mk files to make
sure that only existant files are referenced and that pkgsrc packages do
not contain references to packages in pkgsrc-wip.
- Extended the --autofix option to all Makefile* and *.mk files. Before, only the
package Makefile could be fixed.
- Rewrote the detection of direct use of tool names.
- Append-only lists may be initialized using the "?=" operator.
- The typical form of ShellWords for CONFIGURE_ARGS, --foo=${FOODIR}, is checked for
quoting errors.
- All PKG_OPTIONs are checked whether they are documented in mk/defaults/\
options.description.
- Many small fixes and improvements.
|
|
|
|
mk/defaults/options.description.
|
|
|
|
"pkglint --autofix" change. Added a long and detailed explanation for it.
|
|
options.description.
- Added the checkline_relative_pkgdir() subroutine, as the code is useful
in two different places.
|
|
|
|
|
|
a private mail.
|
|
a check that PKGBASE is not used in PKG_OPTIONS_VAR.
- Added some macros to the list of portable CPP macro names.
|
|
forward references.
|
|
a "$" in the modifier part, as long as they don't contain references to
other variables.
- Removed checkline_mk_direct_tool_use().
- Renamed checkline_mk_shellcmd() to checkline_mk_shelltext(). This sub-
routine is also used for checking the right hand side of variable assign-
ments.
- Renamed direct_tools_ok_vars to non_shellcode_vars, which is more
appropriate. Added some variables to it that produced false positive
warnings.
|
|
|
|
checklines_package_Makefile(). Then, renamed
checklines_package_Makefile() to checklines_mk(), as it not only
applies to the main package Makefile.
- Fixed the regular expression for detecting ambiguous variables like
$f, which could mean either ${f} or $$f.
- When checking for deprecated variables, also mention the ones that
don't have modifiers.
|
|
checkline_mk_text() and checkline_mk_varassign(). This saves 20 lines
and makes the warnings appear ordered by line number.
|
|
- Moved the whole complicated code from checklines_package_Makefile() to
checkline_mk_shellcmd() and checkline_mk_varassign().
- Reenabled the -Wdirectcmd options by default.
|
|
checklines_*, checkfile_*). No functional changes.
|
|
No functional changes.
|
|
- Added specialized subroutines for checking a single line.
- Removed checklines_Makefile_varuse().
- Removed checklines_direct_tools(), which has been replaced by the
specialized routines mentioned above.
|
|
disabled by default, as I am currently working on it, and neither the
current nor the previous version is good enough for the end user.
- Pkglint can now distinguish the two kinds of tools: The ones that
should be used like ${TOOL} and the ones that are provided in the
.tools/bin directory. The list of the first kind of tools is extracted
from the mk/tools/ directory instead of being hard-coded. This adds
a whole lot of new warnings.
|
|
Modify pfcexec so the new process file name can be different from argv[0].
This fix is from Peter Postma, and it addresses PR#32228
|
|
- Rewrote the code for loading the deprecated.map file. It is only
loaded once now. The code that checks for use of deprecated variables
can handle multiple variables in a single line now.
|
|
variables that are not nested.
|
|
unreliable, hence they are not fixed (deleted) automatically.
|
|
that is an assignment. This change extends the quoting checks to
CONFIGURE_ARGS in a usable way.
|
|
example MAKE_ENV+=FOO=${BAR} is changed to MAKE_ENV+=FOO=${BAR:Q}. Some
other changes are outlined in
http://mail-index.netbsd.org/tech-pkg/2005/12/02/0034.html
|
|
is changed, and the distinfo file is not updated automatically.
|
|
my expectations, NO_CHECKSUM only applies to the downloaded distfiles, not
to pkgsrc patches.
|
|
for directories starting with %D.
- Converted load_make_vars_typemap() to the common form of caching
subroutine. This makes pkglint about 10 percent faster.
- Added explanations for the :Q and the :M*:Q operators in Makefiles.
|
|
mk/defaults/options.description. Requested by Antoine Reilles via
private mail.
|
|
a single character. Seen in some package versions like "pkg-200211??".
- Allow the "," and the "@" in filenames.
- Allow the "gopher" scheme in URLs.
- Don't warn for unexpected PERL5_PACKLIST, bases on PKGNAME, if the latter
contains references to other variables.
- When PKGNAME is equal to DISTNAME, this is not a warning, only a note.
|
|
(Hi hubertf.)
|
|
|
|
NO_CHECKSUM is set in the ../digest/Makefile, which is included, so it
won't be checked anyway.
|
|
should be used instead. The latter has disappeared somewhat surprisingly
from pkgsrc.
|
|
addition to initializing them to a commented empty value and using the
"+=" operator. Reenabled the check for BUILDLINK_RECOMMENDED.
|
|
too many false positive warnings. Too bad that make(1) does not have a
"?+=" operator.
|
|
|
|
all mentioned variables have been used in .for loops before.
|
|
|
|
|
|
|