summaryrefslogtreecommitdiff
path: root/pkgtools/pkglint
AgeCommit message (Collapse)AuthorFilesLines
2022-12-08Revbump all Go packages after go119 security updatebsiegert1-1/+2
2022-11-28pkgtools/pkglint: update to 22.3.2rillig6-8/+77
Changes since 22.3.1: Complain about conditions of the form '_PYTHON_VERSION < 38', as they lead to 'Malformed conditional' when _PYTHON_VERSION is 'none' instead of a number.
2022-11-19pkgtools/pkglint: Update to 22.3.1rillig8-338/+599
Changes since 22.3.0: In doc/CHANGES files, check for typos in month and day of the dates. In conditions for YesNo variables, suggest to replace the modifier ':M[yY][eE][sS]' with a simpler comparison. https://mail-index.netbsd.org/tech-pkg/2022/11/16/msg026992.html
2022-11-02Revbump all Go packages after go119 security updatebsiegert1-2/+2
2022-10-05Revbump all Go packages after go119 security updatebsiegert1-1/+2
2022-10-02pkgtools/pkglint: fix check for package option groupsrillig1-2/+2
2022-10-02pkgtools/pkglint: update to 22.3.0rillig9-17/+96
Changes since 22.2.7: Pkglint no longer wrongly warns about package options from optional or required option groups. Fixes PR 57038.
2022-09-26Revbump all Go packages after 1.19 became defaultbsiegert1-1/+2
2022-09-17pkglint: use Go module build, simplify Makefilebsiegert5-40/+88
Add a go.mod file to the sources and pull in goyacc through a TOOL_DEPENDS. Bump version to 22.2.7.
2022-09-07Revbump all Go packages after go118 security updatebsiegert1-1/+2
2022-08-19pkgtools/pkglint: update to 22.2.6rillig5-6/+60
Changes since 22.2.5: A makefile that adds a _VARGROUPS section is partly considered part of the infrastructure. It may define and use variables from its own namespace. For example, devel/cmake/build.mk adds _VARGROUPS+=cmake, thereby reserving the namespace '_CMAKE_*' for itself. Dependencies in BUILDLINK_API_DEPENDS and BUILDLINK_ABI_DEPENDS that contain unresolved variable expressions are no longer marked as redundant. They were marked as redundant before because '$', when interpreted as a package version, was smaller than 0.0.
2022-08-17pkgtools/pkglint: update to 22.2.5rillig5-49/+61
Changes since 22.2.4: Makefiles in wip/mk may use internal variables (starting with '_'), just like their counterparts in main mk/. Package versions containing letters are now parsed like in pkg_install.
2022-08-12Revbump all Go packages after go118 security updatebsiegert1-1/+2
2022-07-28pkgtools/pkglint: update to 22.2.4rillig7-29/+162
Changes since 22.2.3: Manual pages must not be listed in the ALTERNATIVES file. Instead, they are handled automatically based on the program in bin/ or sbin/. Detect packages that use the tool pkg-config even though they don't need it.
2022-07-24pkgtools/pkglint: update to 22.2.3rillig13-868/+1073
Changes since 22.2.2: CHECK_WRKREF is known to pkglint, which prevents conditions using this variable from being simplified in a wrong way. For variables that are guaranteed to be defined, suggest to simplify the condition '!empty(VAR:M[Yy][Ee][Ss])' to '${VAR:M[Yy][Ee][Ss]}', as that reduces the number of negations in the condition. Detect redundant WRKSRC definitions and suggest to remove them. Fix wrong "c99 is not valid for USE_LANGUAGES" warnings.
2022-07-13Revbump all Go packages after go118 updatebsiegert1-1/+2
2022-07-09pkgtools/pkglint: update to 22.2.2rillig6-28/+34
Changes since 22.2.1: Require the current checksum algorithms for pkgsrc-wip packages as well. SHA1 and RMD160 are no longer allowed for distfiles. Do not warn about 'Package should not' when checking .mk files in the pkgsrc infrastructure.
2022-07-06pkgtools/pkglint: update to 22.2.1rillig4-16/+49
Changes since 22.2.0: Suggest simpler condition when matching a variable against a pattern (occurs 220 times in pkgsrc). Improve explanation for documenting patches.
2022-06-28*: recursive bump for perl 5.36wiz1-1/+2
2022-06-24pkgtools/pkglint: update to 22.2.0rillig11-60/+112
Changes since 22.1.0: In ALTERNATIVES files, the wrapper path must be either in bin, @PKGMANDIR@ or sbin. This catches typos like "in" instead of "bin", as well as hard-coded "man".
2022-06-02Revbump all Go packages after go118 updatebsiegert1-2/+2
2022-05-11Revbump all Go packages after go118 updatebsiegert1-2/+2
2022-04-13Revbump all Go packages after go117 updatebsiegert1-1/+2
2022-03-21pkgtools/pkglint: update to 22.1.0rillig3-5/+24
Changes since 21.4.4: Python packages that declare 2.7 as an incompatible Python version no longer need to provide a rationale for this since it is common knowledge that Python 2.7 is old and therefore unsupported by many modern packages.
2022-03-12pkgtools/pkglint: update to 21.4.4rillig2-145/+3
Changes since 21.4.3: Do not install the pkglint source code and libraries since no other tool uses them.
2022-03-11pkgtools/pkglint: update to 21.4.3rillig3-15/+20
Changes since 21.4.2: In simple Makefiles, do not allow the GitHub variables like GITHUB_RELEASE to occur above DISTNAME anymore. Previously, these variables had 2 possible places in the "canonical" order.
2022-03-07Revbump all Go packages after go117 updatebsiegert1-2/+2
2022-02-13Revump all Go packages after go117 updatebsiegert1-1/+2
2022-01-28Go has dropped support for Darwin-*-i386.schmonz1-1/+2
2022-01-16pkgtools/pkglint: update to 21.4.2rillig8-42/+164
Changes since 21.4.1: When checking a package, check for naming collision with other packages from the same category, on case-insensitive file systems. For packages from pkgsrc-wip, additionally perform the same check for the main category of the package, to prepare for importing the package.
2022-01-09Revbump all Go packages after go117 updatebsiegert1-1/+2
2022-01-01pkgtools/pkglint: update to 21.4.1rillig32-163/+212
Changes since 21.4.0: Running 'pkglint doc/CHANGES-2021' now warns about issues for this single file. Previously, it was necessary to specify '-Cglobal' as well, but then pkglint also warned about issues in all other CHANGES files. Pkglint no longer warns about the characters '!' and '@' in GO_MODULES_FILES, since these are legitimate. Fixes PR pkg/56595. Small cleanups in the pkglint testing infrastructure.
2021-12-26pkglint: update version number to match the upcoming branchrillig1-3/+2
No changes since 21.3.4.
2021-12-09Revbump all Go packages after go117 updatebsiegert1-1/+2
2021-11-20pkgtools/pkglint: update to 21.3.4rillig2-2/+6
Changes since 21.3.3: For wip packages, allow SHA1 to be used as digest algorithm. An example package that needs this is wip/doomlegacy-devel.
2021-11-13pkgtools/pkglint: update to 21.3.3rillig4-5/+9
Changes since 21.3.2: Explain warning about invalid symlink. Do not warn when a package uses MAKE_JOBS without adding it to BUILD_DEFS, since MAKE_JOBS is supposed to be a build-time only variable.
2021-11-05Revbump all Go packages after go117 updatebsiegert1-1/+2
2021-10-28pkglint: update to 21.3.2rillig7-144/+113
Changes since 21.3.1: Replace RMD160 with BLAKE2s for distfiles in main pkgsrc, keep the previous RMD160 for pkgsrc-wip, at least until 2021Q4.
2021-10-26pkgtools: Replace RMD160 checksums with BLAKE2s checksumsnia1-2/+2
All checksums have been double-checked against existing RMD160 and SHA512 hashes
2021-10-09pkgtools/pkglint: update to 21.3.1rillig10-66/+107
Changes since 21.3.0: When checking a standalone makefile fragment, pkglint reports redundant variable declarations. In pathname patterns, spaces and other escaping is allowed. This is needed for devel/meson. While here, register MESON_REQD. Adjust to the removal of SHA1 for distfiles. Only RMD160, SHA512 and Size remain now. Patches continue to use SHA1 since they don't come via untrusted paths.
2021-10-08Revbump all Go packages after go117 updatebsiegert1-1/+2
2021-10-07parallel: Remove SHA1 hashes for distfilesnia1-2/+1
2021-09-27pkglint: update to 21.3.0rillig1-3/+2
No changes since 21.2.6, the version bump is only to mark it for the upcoming stable branch.
2021-09-17Revbump all Go packages after go117 updatebsiegert1-1/+2
2021-08-14pkgtools/pkglint: update to 21.2.6rillig4-20/+36
Changes since 21.2.5: Do not warn when a variable SITES.* refers to a GitHub URL directly instead of using MASTER_SITE_GITHUB. The variable expression for supporting multiple master sites would become quite complicated for human readers, especially with a leading '-' and a long trailing path.
2021-08-14pkgtools/pkglint: update to 21.2.5rillig9-23/+33
Changes since 21.2.4: Fixed wrong warning about man/man1 in INSTALLATION_DIRS. Fixed outdated warning that preformatted manual pages should end in '.0' since SunOS uses the section prefix for them.
2021-08-14pkgtools/pkglint: update to 21.2.4rillig11-30/+63
Changes since 21.2.3: Fixed loading of the tool definitions. This adds 76 warnings for packages that use tools without adding them to USE_TOOLS. It also fixes the warning about gmake and Meson.
2021-08-12pkgtools/pkglint: update to 21.2.3rillig3-10/+49
Changes since 21.2.2: Temporarily disable the warning about Meson and gmake. It led to a false positive in x11/libxkbcommon, where pkglint wrongly assumed that the package would use gmake. For packages using Meson, do not warn if an included package uses CONFIGURE_ARGS.
2021-08-11Revbump all Go packages after go116 updatebsiegert1-1/+2
2021-08-08pkgtools/pkglint: update to 21.2.2rillig8-92/+336
Changes since 21.2.1: Check the variable names of OPSYS-specific variables for typos, such as 'Dragonfly' with a lowercase 'f'. Suggested by David A. Holland in PR pkg/56352. Warn if variables like CFLAGS are assigned using the operator '='. Suggested by David A. Holland in PR pkg/56352.