summaryrefslogtreecommitdiff
path: root/pkgtools
AgeCommit message (Collapse)AuthorFilesLines
2005-12-13NetBSD capitalization police.wiz5-13/+13
2005-12-12+ ERROR: Other Makefiles must not be included. Use Makefile.common instead.rillig1-1/+11
2005-12-12Sort options in SYNOPSIS, bump date for -S.wiz1-5/+6
2005-12-12Add new option -S to create summary file of binary package directory.dillo3-28/+72
Use this summary file to support using remote binary packages. Okayed by agc and abs.
2005-12-11* check quoting in CFLAGS+= -DPREFIX=\"${PREFIX:Q}\"rillig1-0/+1
2005-12-09Improved diagnostic of the warning for @comment in variables.rillig1-2/+2
2005-12-08- Improved the wording of the explanation regarding relative directories.rillig1-16/+16
- Fixed a bunch of format string bugs. (As this is not C, these were only bugs, not vulnerabilities. ;))
2005-12-08sync with src (revision 1.115):dillo1-6/+6
(pkg_do) When marking already installed package as manually installed, only print message if we succeeded. Noted by wiz.
2005-12-08Updated pkglint to 4.49.rillig1-2/+2
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.
2005-12-08Cleaned up the TODO list.rillig1-5/+0
2005-12-08The option names are now checked if they are inrillig1-3/+0
mk/defaults/options.description.
2005-12-08- Fixed a typo (SUBST_PLIST => PLIST_SUBST) noted by wiz.rillig1-3/+3
2005-12-08- Added a warning that prevents the quoting issues from the recentrillig1-1/+16
"pkglint --autofix" change. Added a long and detailed explanation for it.
2005-12-07- All PKG_OPTIONs are checked whether they are documented in mk/defaults/\rillig1-15/+70
options.description. - Added the checkline_relative_pkgdir() subroutine, as the code is useful in two different places.
2005-12-07- Fixed a comment. The order of subroutines is no longer historical.rillig1-5/+5
2005-12-07I've sent joerg a patch which would fix his TODO item.rillig1-4/+0
2005-12-07- Added a check that exists if RelativePkgDir exists. Suggested by wiz inrillig1-2/+6
a private mail.
2005-12-06- Changed the type of PKG_OPTIONS_VAR from Varname to PkgOptionsVar. Addedrillig2-5/+20
a check that PKGBASE is not used in PKG_OPTIONS_VAR. - Added some macros to the list of portable CPP macro names.
2005-12-06- Moved checkline_mk_varassign() below checkline_mk_vartype() to avoidrillig1-76/+76
forward references.
2005-12-06- Improved the heuristics for shell words by allowing pkgsrc variables withrillig1-36/+25
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.
2005-12-06* IMAKE_MANNEWSUFFIX should be deprecated in PLISTs, says Joerg.rillig1-0/+4
2005-12-06- Removed the checklines_mk() subroutine and copied the code torillig1-33/+14
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.
2005-12-06- Integrated the code from checklines_mk_deprecated_variables() intorillig1-36/+15
checkline_mk_text() and checkline_mk_varassign(). This saves 20 lines and makes the warnings appear ordered by line number.
2005-12-06- Improved the heuristics for detecting direct use of ${TOOL}s.rillig1-154/+157
- Moved the whole complicated code from checklines_package_Makefile() to checkline_mk_shellcmd() and checkline_mk_varassign(). - Reenabled the -Wdirectcmd options by default.
2005-12-06Reordered the complete file. Grouped subroutines by name (checkline_*,rillig1-571/+543
checklines_*, checkfile_*). No functional changes.
2005-12-06Collected the routines that load pkglint-specific data in one section.rillig1-141/+141
No functional changes.
2005-12-06- Renamed get_make_vars_typemap() to get_vartypes_map().rillig1-96/+83
- 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.
2005-12-06- Rewrote the code that checks for direct use of tool names. It isrillig1-105/+57
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.
2005-12-06Specify the full path to tar when unpacking a package.ben4-15/+15
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
2005-12-06- Improved detection of valid shell words once more.rillig1-28/+50
- 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.
2005-12-05- Improved the regular expression for shell words by recognizing make(1)rillig1-1/+2
variables that are not nested.
2005-12-05- The heuristics for unnecessary .undef directives after .for wererillig1-7/+1
unreliable, hence they are not fixed (deleted) automatically.
2005-12-05- Allow the "-" character in the "variable name" part of a ShellWordrillig1-3/+3
that is an assignment. This change extends the quoting checks to CONFIGURE_ARGS in a usable way.
2005-12-05Fixed pkglint warnings. The warnings are mostly quoting issues, forrillig11-26/+26
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
2005-12-05Don't fix patch files automatically, since after patching them the checksumrillig1-3/+1
is changed, and the distinfo file is not updated automatically.
2005-12-04Regenerated distinfo to include the latest change to patch-ac. Contrary torillig1-2/+2
my expectations, NO_CHECKSUM only applies to the downloaded distfiles, not to pkgsrc patches.
2005-12-03- In PLIST files, only suggest replacing @unexec rmdir ... with @dirrmrillig1-18/+18
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.
2005-12-02* check that all values used for the PKG_OPTIONS are documented inrillig1-0/+3
mk/defaults/options.description. Requested by Antoine Reilles via private mail.
2005-12-02- Allow the "?" character in Dependency. It is used as a placeholder forrillig1-9/+9
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.
2005-12-02Added CONFLICTS, CC and CXX. The latter two are marked as read-only.rillig1-1/+4
(Hi hubertf.)
2005-12-02Mark USE_SOCKS as deprecated.wiz2-3/+3
2005-12-02Removed the partial RCS Id tag from patch-ac. Didn't update distinfo, asrillig1-2/+2
NO_CHECKSUM is set in the ../digest/Makefile, which is included, so it won't be checked anyway.
2005-12-02Removed the warning that PKG_JVM was deprecated and PKG_DEFAULT_JVMrillig1-2/+1
should be used instead. The latter has disappeared somewhat surprisingly from pkgsrc.
2005-12-02Allow append-only lists to be initialized using the "?=" operator, inrillig2-4/+4
addition to initializing them to a commented empty value and using the "+=" operator. Reenabled the check for BUILDLINK_RECOMMENDED.
2005-12-02Disabled the type check for BUILDLINK_RECOMMENDED, as it has producedrillig1-2/+2
too many false positive warnings. Too bad that make(1) does not have a "?+=" operator.
2005-12-02Allow direct use of tool names if the tool name is preceded by "${...}/".rillig1-2/+2
2005-12-02Unnecessary .undef directives in Makefiles can be fixed automatically ifrillig1-1/+7
all mentioned variables have been used in .for loops before.
2005-12-02All *.mk and Makefile* files can now be fixed automatically.rillig1-1/+2
2005-12-01Mark USE_RSAREF2 for removal after 2005Q4.wiz1-2/+2
2005-12-01Move USE_OPENLDAP from makevars.map to deprecated.map.wiz2-3/+3