Link [ pkgsrc | NetBSD | pkgsrc git mirror | PR fulltext-search | netbsd commit viewer ]


   
        usage: [branch:branch] [user:user] [path[@revision]] keyword [... [-excludekeyword [...]]] (e.g. branch:MAIN pkgtools/pkg)




switch to index mode

recent branches: MAIN (28m)  pkgsrc-2024Q1 (15d)  pkgsrc-2023Q4 (43d)  pkgsrc-2023Q2 (75d)  pkgsrc-2023Q3 (155d) 

2024-05-13 20:11:05 UTC Now

2024-05-10 06:52:13 UTC MAIN commitmail json YAML

pkgtools/url2pkg: document PY_TEST_FLAGS to prevent pkglint warning

(rillig)

2024-05-10 06:33:15 UTC MAIN commitmail json YAML

doc: Updated pkgtools/url2pkg to 23.3.1

(rillig)

2024-05-10 06:33:04 UTC MAIN commitmail json YAML

pkgtools/url2pkg: use deterministic filesystem lookups

Some filesystems return the filenames in unsorted order, so sort each
result of a 'glob' call. Reported by Adam Ciarcinski.

When looking for candidates for a package in the pkgsrc tree, only
consider directories that contain a Makefile. One of the url2pkg tests
looks for pkglint, and while a 'cvs update' is running, there is an old
entry 'devel/pkglint' in the filesystem that made the test fail.

(rillig)

2024-05-07 07:24:51 UTC MAIN commitmail json YAML

doc: Updated pkgtools/pkglint to 23.4.2

(rillig)

2024-05-07 07:24:41 UTC MAIN commitmail json YAML

pkgtools/pkglint: update to 23.4.2

Changes since 23.4.1:

Fixed the wrong suggestion that list variables or variables of an
unknown type could be compared using `${LIST} == word` instead of
`${LIST:Mword}`.

Fixed the wrong warning when a value is appended using `+=` to a
variable of unknown type.

(rillig)

2024-04-26 18:50:32 UTC MAIN commitmail json YAML

doc: Updated pkgtools/pkglint to 23.4.1

(rillig)

2024-04-26 18:50:21 UTC MAIN commitmail json YAML

pkgtools/pkglint: update to 23.4.1

Changes since 23.4.0:

Add riscv32 as a known hardware architecture.

Don't suggest a runtime dependency instead of TOOL_DEPENDS.

(rillig)

2024-04-09 20:18:42 UTC MAIN commitmail json YAML

foomatic*-filters: fix pkglint warning about MANINSTALL

(rillig)

2024-03-18 20:55:35 UTC MAIN commitmail json YAML

pkgtools/pkglint: update to 23.4.0

Changes since 23.3.0 from 2024-01-12:

Add riscv64 to the list of known hardware architectures.

Suggest removing parentheses around complete conditions.

Warn about duplicate DESCR files, except when one of the packages is in
pkgsrc-wip and the other is in main pkgsrc.

Fix crash when parsing '.ifndef VAR'.

(rillig)

2024-01-21 14:39:39 UTC MAIN commitmail json YAML

doc: Removed chat/sirc and time/projclock

(rillig)

2024-01-21 14:39:06 UTC MAIN commitmail json YAML

2024-01-21 14:35:24 UTC MAIN commitmail json YAML

2024-01-21 03:12:56 UTC MAIN commitmail json YAML

mk/check-files: actually enable CHECK_FILES_STRICT

The files in ERROR_DIR must not start with a dot, or they are simply
ignored.

No change in the default configuration, since CHECK_FILES_STRICT
defaults to no.

(rillig)

2024-01-21 02:12:20 UTC MAIN commitmail json YAML

mk/check-files: allow detection of packages that install outside PREFIX

An example package that does this is textproc/p5-Publican, many other
packages are fine.

(rillig)

2024-01-21 00:34:26 UTC MAIN commitmail json YAML

mk/check-file: use common filename prefix in WRKDIR

(rillig)

2024-01-21 00:21:42 UTC MAIN commitmail json YAML

mk/check-files: fix indentation of backslashes after ${RUN}

In 2008, when ${_PKG_SILENT}${_PKG_DEBUG} was replaced with the shorter
${RUN}, the backslashes were accidentally moved away from their
canonical position.

(rillig)

2024-01-20 23:39:48 UTC MAIN commitmail json YAML

mk/check-files: clean up redundant 'defined' and variable alignment

(rillig)

2024-01-20 23:22:33 UTC MAIN commitmail json YAML

mk/check-files: avoid leaning toothpicks syndrome

In the :C modifiers, there is no reason to use '/' as delimiter when the
search pattern or the replacement contains a literal '/' as well, which
then has to be escaped as '\/'.

While here, add two more variables to show-all-check-files, as pkglint
started warning about them.

(rillig)

2024-01-19 18:41:16 UTC MAIN commitmail json YAML

mk/check-files: fail more gracefully on typos in MAKE_DIRS_PERMS

Previously, building a package that had the wrong number of words in
MAKE_DIRS_PERMS failed with "can't shift that many", which didn't give a
hint at the underlying problem.  Now it fails immediately, pointing to
the line in check-files.mk that loops over MAKE_DIRS_PERMS and
OWN_DIRS_PERMS.

(rillig)

2024-01-19 00:42:01 UTC MAIN commitmail json YAML

mk/check: clean up check-fakehome and check-files

(rillig)

2024-01-19 00:25:38 UTC MAIN commitmail json YAML

mk/check: remove documentation that was never implemented

(rillig)

2024-01-19 00:01:35 UTC MAIN commitmail json YAML

lang/perl5: fix typo in documentation about PERL5_PACKLIST

(rillig)

2024-01-18 23:49:33 UTC MAIN commitmail json YAML

lang/perl5: add show-all-perl5-packlist target for debugging

(rillig)

2024-01-18 23:38:40 UTC MAIN commitmail json YAML

mk/buildlink3: remove documentation about PKG_PHASE

The PKG_PHASE variable was removed with the addition of
mk/bsd.pkg.barrier.mk 1.1 from 2006-07-05.

(rillig)

2024-01-18 22:13:46 UTC MAIN commitmail json YAML

textproc/p5-Publican: fix destdir references in .packlist

The .packlist file that is installed as part of this package is
completely wrong, as it lists files in '/etc' and '/usr/share' that are
not part of this package.

Bump PKGREVISION.

(rillig)

2024-01-17 21:01:07 UTC MAIN commitmail json YAML

2024-01-17 19:46:47 UTC MAIN commitmail json YAML

pkgtools/url2pkg: test Perl module with several dependencies

(rillig)

2024-01-17 19:09:24 UTC MAIN commitmail json YAML

pkgtools/url2pkg: fix license_default line in generated makefile

Previously, url2pkg generated a 'license_default=...' line in the
package Makefile, which was confusing. That line was supposed to be a
special url2pkg command, not a makefile variable.

Discovered by gdt@ while packaging devel/p5-Devel-Entropy.

(rillig)

2024-01-17 18:36:01 UTC MAIN commitmail json YAML

doc: Updated pkgtools/url2pkg to 23.3.0

(rillig)

2024-01-17 18:35:52 UTC MAIN commitmail json YAML

pkgtools/url2pkg: update to 23.3.0

Changes since 23.2.1:

For Perl and Python packages, use TOOL_DEPENDS instead of BUILD_DEPENDS
for the build-time dependencies.

For Perl modules that use Module::Build, don't add a redundant
dependency to p5-Module-Build.

(rillig)

2024-01-17 18:33:43 UTC MAIN commitmail json YAML

pkgtools/url2pkg: skip p5-Module-Build for Module::Build Perl packages

That dependency is added implicitly whenever PERL5_MODULE_TYPE is
Module::Build.

Suggested by gdt@.

(rillig)

2024-01-17 17:18:15 UTC MAIN commitmail json YAML

2024-01-16 22:57:41 UTC MAIN commitmail json YAML

devel/rt-pgsql: bump revision due to fixed references to stale destdir

(rillig)

2024-01-16 22:56:41 UTC MAIN commitmail json YAML

devel/rt-mysql: fix references to stale destdir, bump revision

(rillig)

2024-01-16 22:55:36 UTC MAIN commitmail json YAML

print/p5-PostScript: fix references to stale destdir, bump revision

(rillig)

2024-01-16 22:16:35 UTC MAIN commitmail json YAML

security/mit-krb5: remove unknown configure option

(rillig)

2024-01-16 20:43:04 UTC MAIN commitmail json YAML

devel/p5-constant-def: remove references to stale destdir

Bump PKGREVISION.

(rillig)

2024-01-16 20:40:27 UTC MAIN commitmail json YAML

devel/p5-DynaLoader-Functions: fix references to stale destdir

Bump PKGREVISION.

(rillig)

2024-01-15 08:23:57 UTC MAIN commitmail json YAML

2024-01-14 22:10:09 UTC MAIN commitmail json YAML

wm/fvwm-themes: remove references to destdir, bump revision

(rillig)

2024-01-14 21:04:49 UTC MAIN commitmail json YAML

math/fftw: skip check for unknown configure options

The package has 3 configure script, and the top-level configure script
knows all of --disable-fortran, --enable-shared and --enable-threads.

(rillig)

2024-01-14 15:56:01 UTC MAIN commitmail json YAML

wm/amiwm: fix references to temporary destdir, bunp revision

(rillig)

2024-01-13 23:21:58 UTC MAIN commitmail json YAML

lang/rust: remove references to build-time DESTDIR

When the package is installed, the temporary DESTDIR directory doesn't
exist anymore, so there's no point referring to it.

Bump PKGREVISION.

(rillig)

2024-01-13 00:12:45 UTC MAIN commitmail json YAML

doc/CHANGES-2023: clean up wrong entries, assisted by pkglint

(rillig)

2024-01-12 23:38:04 UTC MAIN commitmail json YAML

doc: Updated pkgtools/pkglint to 23.3.0

(rillig)

2024-01-12 23:37:54 UTC MAIN commitmail json YAML

pkgtools/pkglint: update to 23.3.0

Changes since 23.2.5:

Do not warn about Meson packages that only use Python as a build-time
tool.

Warn about pkgsrc-wip packages that are missing COMMIT_MSG.

Ignore errors when resolving the username of the current user. This can
happen on systems where the user database uses NIS. In case of an error,
assume that the user is neither maintainer nor owner of any package.

Mark variables from expressions in .info, .warning and .error as used.

Remove the word 'please' from the diagnostics, as the diagnostics are
intended to help the package author, not some unrelated third-party
person.

(rillig)

2024-01-06 00:19:30 UTC MAIN commitmail json YAML

lang/kotlin: fix build on platforms that are missing pax

(rillig)

2024-01-06 00:06:25 UTC MAIN commitmail json YAML

audio/cddbd: remove references to temporary DESTDIR

Detected by building with CHECK_WRKREF=destdir.

While here, remove MESSAGE as the motd is not essential to this package.

Bump PKGREVISION.

(rillig)

2023-12-28 22:27:27 UTC MAIN commitmail json YAML

mk/check-wrkref: allow to disallow DESTDIR in the binary package

When a package is built, it first gets installed into DESTDIR, which is
somewhere below WRKDIR.  From there, a binary package is created, which
is then installed via pkg_add.  After this step, the value of DESTDIR is
no longer relevant, thus there is no reason to refer to that directory
from the final binary package.

This new check is not enabled by default, to allow for an opt-in testing
phase first.

(rillig)

2023-12-18 22:29:43 UTC MAIN commitmail json YAML

games/ufoai: fix stray DESTDIR in binaries

(rillig)

2023-12-18 13:53:18 UTC MAIN commitmail json YAML

pkgtools/pkglint: update to 23.2.5

Changes since 23.2.4:

For Python packages that do not support Python 2, warn that egg.mk is
deprecated and should be replaced with wheel.mk.  Provide detailed
migration instructions.

(rillig)

2023-11-12 16:50:10 UTC MAIN commitmail json YAML

2023-10-16 22:21:55 UTC MAIN commitmail json YAML

lintpkgsrc, regress: update references to pkglint files

The source code of pkglint is no longer stored in pkgsrc itself.

(rillig)

2023-10-16 22:16:55 UTC MAIN commitmail json YAML

lintpkgsrc: fix typo in usage message

(rillig)

2023-09-28 18:40:53 UTC MAIN commitmail json YAML

mk/curses: don't search for makefiles outside the pkgsrc directory

(rillig)

2023-09-10 20:13:05 UTC MAIN commitmail json YAML

doc: Updated pkgtools/pkglint to 23.2.4

(rillig)

2023-09-10 20:12:54 UTC MAIN commitmail json YAML

pkgtools/pkglint: update to 23.2.4

Changes since 23.2.3:

Do not warn about buildlink3 identifiers that are only known when the
package includes a buildlink3.mk file from the infrastructure.

(rillig)

2023-09-07 17:43:18 UTC MAIN commitmail json YAML

doc: Updated pkgtools/pkglint to 23.2.3

(rillig)

2023-09-07 17:43:08 UTC MAIN commitmail json YAML

pkgtools/pkglint: update to 23.2.3

Changes since 23.2.2:

Warn about platform-specific variables in parameterized variables,
except for OPSYS-specific variables in conditions for that particular
operating system.

Allow the tilde character in lists of Go modules.

Use correct plural form in messages about invalid characters.

(rillig)

2023-09-01 23:44:51 UTC MAIN commitmail json YAML

doc: Updated pkgtools/pkglint to 23.2.2

(rillig)

2023-09-01 23:44:41 UTC MAIN commitmail json YAML

pkgtools/pkglint: update to 23.2.2

Changes since 23.2.1:

Do not wrongly warn when adding a tool that is only available on
${OPSYS} to CONFIGURE_ENV.${OPSYS}.

Use proper capitalization for 'makefile' in a few places, when referring
to the general file format instead of a file named exactly 'Makefile'.

(rillig)

2023-08-29 19:25:02 UTC MAIN commitmail json YAML

doc: Updated pkgtools/pkglint to 23.2.1

(rillig)

2023-08-29 19:24:51 UTC MAIN commitmail json YAML

pkgtools/pkglint: update to 23.2.1

Changes since 23.2.0:

Warn about language features that are listed in USE_LANGUAGES but rather
belong in USE_CC_FEATURES or USE_CXX_FEATURES.

Check each addition to GITHUB_SUBMODULES to have the correct number of
words.

(rillig)

2023-08-15 21:20:03 UTC MAIN commitmail json YAML

url2pkg: clean and extract after adjusting the package

The first 'bmake extract' is done only to look at the files from the
package, to determine the dependencies.  In that stage, the package
cannot be built successfully.  To make the whole workflow less
surprising, install the auto-detected dependencies before leaving the
rest of the work to the human package maintainer.  This means that
running url2pkg produces more output and may take significantly more
time, but that time would be spent anyway later, so it's a net win.

Suggested by gdt@.

(rillig)

2023-08-13 21:19:12 UTC MAIN commitmail json YAML

doc: Updated pkgtools/url2pkg to 23.2.0

(rillig)

2023-08-13 21:19:02 UTC MAIN commitmail json YAML

url2pkg: update to 23.2.0

Changes since 23.1.1:

Resolve dependencies from Python modules in more cases.  Suggested by
Greg Troxel for py-slixmpp.

(rillig)

2023-08-13 21:11:31 UTC MAIN commitmail json YAML

url2pkg: add test for Python dependencies from py-slixmpp

(rillig)

2023-08-13 20:46:35 UTC MAIN commitmail json YAML

2023-07-13 13:29:07 UTC MAIN commitmail json YAML

doc/guide: sync binary package creation with reality

For many years now, binary packages have been created before installing
them.

(rillig)

2023-07-09 13:43:02 UTC MAIN commitmail json YAML

doc: Updated pkgtools/pkglint to 23.2.0

(rillig)

2023-07-09 13:42:46 UTC MAIN commitmail json YAML

pkgtools/pkglint: update to 23.2.0

Changes since 23.1.13:

Warn about attempts to set CONFIGURE_ARGS that are already handled by
mk/configure/gnu-configure.mk.

Warn about possible incomplete expressions that are missing the initial
'$'.

(rillig)

2023-06-18 08:43:05 UTC MAIN commitmail json YAML

doc/CHANGES: fix broken entries

(rillig)

2023-06-15 14:47:32 UTC MAIN commitmail json YAML

doc: Updated pkgtools/pkglint to 23.1.12

(rillig)

2023-06-15 14:47:23 UTC MAIN commitmail json YAML

pkgtools/pkglint: update to 23.1.12

Changes since 23.1.11:

No longer warn about the expression ${VAR:=:${VAR2}}. Previously,
pkglint warned that the ':' did not start a new expression modifier.

(rillig)

2023-06-13 21:34:00 UTC MAIN commitmail json YAML

doc: Updated pkgtools/pkglint to 23.1.11

(rillig)

2023-06-13 21:33:50 UTC MAIN commitmail json YAML

pkgtools/pkglint: update to 23.1.11

Changes since 23.1.10:

Warn about packages that append to BUILD_DEPENDS, as in all practical
cases, TOOL_DEPENDS should be used instead.

(rillig)

2023-05-31 20:30:44 UTC MAIN commitmail json YAML

mk/github: use lowercase variable names in .for loop

There is no need to test that the items of a .for loop are '!empty'.

Use lowercase and short names for the .for loop variables, as these
variables are local to the loop.

(rillig)

2023-05-31 20:18:08 UTC MAIN commitmail json YAML

mk/check-interpreter: add cross-reference to documentation

(rillig)

2023-05-31 18:28:53 UTC MAIN commitmail json YAML

doc: Updated pkgtools/pkglint to 23.1.10

(rillig)

2023-05-31 18:28:43 UTC MAIN commitmail json YAML

pkgtools/pkglint: update to 23.1.10

Changes since 23.1.9:

Don't warn about variables that are being appended to, as long as their
names ends with 'S', such as GITHUB_SUBMODULES.

(rillig)

2023-05-20 16:15:42 UTC MAIN commitmail json YAML

mk/bsd.builtin.mk: add keywords for 'make help'

(rillig)

2023-05-20 16:14:07 UTC MAIN commitmail json YAML

mk/help.awk: clean up comments

(rillig)

2023-05-20 15:46:07 UTC MAIN commitmail json YAML

2023-05-20 15:43:53 UTC MAIN commitmail json YAML

doc/guide: move the PREFER section to the user's guide and rewrite it

The variables PREFER_PKGSRC and PREFER_NATIVE are user-settable,
therefore it was confusing to see them documented only in the developer
part.

Rewrite the whole section to sync with reality since neither of these
variables is tested for the word "no".

(rillig)

2023-05-17 12:12:50 UTC MAIN commitmail json YAML

doc: Updated pkgtools/pkglint to 23.1.9

(rillig)

2023-05-17 12:12:38 UTC MAIN commitmail json YAML

pkgtools/pkglint: update to 23.1.9

Changes since 23.1.8:

Warn when REQD variables defined using '=' instead of '+=', even before
bsd.prefs.mk has been included, for consistency and simplicity.

In packages that define PLIST_SRC, don't check for duplicates.

(rillig)

2023-04-25 16:03:01 UTC MAIN commitmail json YAML

doc: Updated pkgtools/pkglint to 23.1.8

(rillig)

2023-04-25 16:02:50 UTC MAIN commitmail json YAML

pkgtools/pkglint: update to 23.1.8

Changes since 23.1.7:

Warn if GCC_REQD is defined using '=' instead of the usual '+=', to
avoid accidentally overwriting previous values.

(rillig)

2023-04-22 14:33:21 UTC MAIN commitmail json YAML

doc: Updated pkgtools/pkglint to 23.1.7

(rillig)

2023-04-22 14:32:50 UTC MAIN commitmail json YAML

2023-04-22 13:22:10 UTC MAIN commitmail json YAML

doc: Updated pkgtools/url2pkg to 23.1.0

(rillig)

2023-04-22 13:21:58 UTC MAIN commitmail json YAML

url2pkg: update to 23.1.0

Changes since 22.4.0:

Be more user-friendly when being passed a URL without version number.

(rillig)

2023-04-22 13:09:28 UTC MAIN commitmail json YAML

doc/guide: reduce indentation in <programlisting>

(rillig)

2023-03-30 21:34:03 UTC MAIN commitmail json YAML

devel/lld: remove sentence about "this document" from DESCR

(rillig)

2023-03-30 12:32:06 UTC MAIN commitmail json YAML

remove unused package option nghttp2-asio

(rillig)

2023-03-30 12:31:25 UTC MAIN commitmail json YAML

nghttp2: remove unused package option

(rillig)

2023-03-30 12:11:22 UTC MAIN commitmail json YAML

2023-03-30 10:06:15 UTC MAIN commitmail json YAML

libxslt: remove unknown configure option

(rillig)

2023-03-30 09:59:18 UTC MAIN commitmail json YAML

libxml2: remove unknown configure option

(rillig)

2023-03-30 07:10:48 UTC MAIN commitmail json YAML

devel/intellij-ue-bin: remove unnecessary backslash from comment

(rillig)

2023-03-29 10:57:16 UTC MAIN commitmail json YAML

mk/subst.mk: clean up documentation

(rillig)

2023-03-29 07:47:19 UTC MAIN commitmail json YAML

2023-03-29 07:12:46 UTC MAIN commitmail json YAML

doc: Updated pkgtools/pkglint to 23.1.0

(rillig)

2023-03-29 07:12:36 UTC MAIN commitmail json YAML

Update pkgtools/pkglint to 23.1.0

Changes since 22.4.1:

In makefiles outside pkgsrc, don't require the first line to contain the
CVS Id.

When simplifying conditions, correctly handle the edge case that a
single-word value may evaluate numerically to zero.

In dependency lines, parse '#' signs correctly.

In error messages about malformed patch files, use the correct plural
form.

(rillig)

2023-03-04 23:29:24 UTC MAIN commitmail json YAML

mk/tools: replace '!empty' conditions with '==' or '!='

Main work done by running 'pkglint -F --only "simpler" --only
"simplified" *.mk', with manual improvements afterwards:

* Removed several redundant ':U' modifiers, as pkglint doesn't know the
  exact order in which the infrastructure files include each other.

* Removed redundant 'defined(X11_TYPE)' and the corresponding comment.

(rillig)

2023-03-04 23:03:34 UTC MAIN commitmail json YAML

mk/check-wrkref: unclutter the documentation

(rillig)

2023-03-02 08:59:29 UTC MAIN commitmail json YAML

doc: Updated pkgtools/pkglint to 22.4.1

(rillig)

2023-03-02 08:58:29 UTC MAIN commitmail json YAML

pkgtools/pkglint: Update to 22.4.1

Changes since 22.4.0:

Allow pkglint to be run outside the pkgsrc top directory, in order to
allow individual makefiles to be formatted and checked as well. The many
pkgsrc-specific checks don't apply in this case. This mode is
experimental, there are still crashes to be expected.

Fix a crash for syntactically invalid conditions in '.if'.

Fix parsing of dependency lines that contain an escaped '#', which is
used for switching to another shell using a '.SHELL: ...' line.

(rillig)

2023-02-04 20:06:37 UTC MAIN commitmail json YAML

regress: remove tests for Haskell PLIST generation

The structure of the Haskell PLIST files has changed in the meantime, so
the tests fail.  Adjusting the tests to the new file structure would be
harder than rewriting them from scratch.

(rillig)

2023-01-29 13:36:32 UTC MAIN commitmail json YAML

pkgtools/pkglint: update to 22.4.0

Changes since 22.3.2:

Numeric comparisons of _PYTHON_VERSION generate an error since that
variable can have the value 'none', which is not numeric.  Furthermore,
the variable is from the internal namespace and thus should not be used
by packages at all.

Warnings about COMPILER_RPATH_FLAG no longer suggest different and
conflicting replacements.

Cleanup: Handling of doc/CHANGES was moved to changes.go, and since
go1.19.4, comments are formatted differently.

(rillig)

2023-01-22 23:36:24 UTC MAIN commitmail json YAML

cwrappers.mk: remove redundant modifier

In a variable that has exactly one word, there cannot be duplicate
words, so ':u' (only keep unique words) is a no-op.

(rillig)

2023-01-22 18:58:56 UTC MAIN commitmail json YAML

doc: Updated pkgtools/url2pkg to 22.4.0

(rillig)

2023-01-22 18:58:46 UTC MAIN commitmail json YAML

pkgtools/url2pkg: update to 22.4.0

Changes since 22.2.1:

In packages that use CMake, no longer set USE_CMAKE=yes but instead
include the build.mk file.

(rillig)

2022-12-31 01:02:26 UTC MAIN commitmail json YAML

CHANGES-2022: fix simple syntax errors

(rillig)

2022-11-28 23:33:48 UTC MAIN commitmail json YAML

doc: Updated pkgtools/pkglint to 22.3.2

(rillig)

2022-11-28 23:33:29 UTC MAIN commitmail json YAML

pkgtools/pkglint: update to 22.3.2

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.

(rillig)

2022-11-19 10:51:20 UTC MAIN commitmail json YAML

doc: Updated pkgtools/pkglint to 22.3.1

(rillig)

2022-11-19 10:51:07 UTC MAIN commitmail json YAML

pkgtools/pkglint: Update to 22.3.1

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.

pkg/2022/11/16/msg026992.html">https://mail-index.netbsd.org/tech-pkg/2022/11/16/msg026992.html

(rillig)

2022-11-18 19:35:03 UTC MAIN commitmail json YAML

guide: document how to test yes/no variables

pkg/2022/11/16/msg026992.html">https://mail-index.netbsd.org/tech-pkg/2022/11/16/msg026992.html

(rillig)

2022-10-02 15:11:19 UTC MAIN commitmail json YAML

pkgtools/pkglint: fix check for package option groups

(rillig)

2022-10-02 14:39:50 UTC MAIN commitmail json YAML

doc: Updated pkgtools/pkglint to 22.3.0

(rillig)

2022-10-02 14:39:37 UTC MAIN commitmail json YAML

2022-09-29 21:26:33 UTC MAIN commitmail json YAML

doc: Updated pkgtools/lintpkgsrc to 2022.09.29

(rillig)

2022-09-29 21:26:23 UTC MAIN commitmail json YAML

lintpkgsrc: fix search path for mk.conf

The variable MAKECONF has the highest precedence, not the lowest one.

Bump version.

(rillig)

2022-09-14 04:04:07 UTC MAIN commitmail json YAML

doc: Updated pkgtools/lintpkgsrc to 2022.09.14

(rillig)

2022-09-14 04:03:51 UTC MAIN commitmail json YAML

pkgtools/lintpkgsrc: ignore exit status from running pkg_info

In case of multi-versioned packages like Python modules, lintpkgsrc
queries the wrong installed packages.

Bump version.

https://mail-index.netbsd.org/pkgsrc-users/2022/09/13/msg036186.html

(rillig)

2022-09-04 21:38:48 UTC MAIN commitmail json YAML

pkgtools/distlint: add early prototype implementation

Do not enable the package yet as it is still under active development
and lacking proper documentation.

(rillig)

2022-08-26 20:14:58 UTC MAIN commitmail json YAML

pkgtools/url2pkg: make distutils.version.LooseVersion more complete

For the benefit of wip/py-torch.

(rillig)

2022-08-26 20:11:35 UTC MAIN commitmail json YAML

pkgtools/url2pkg: clean up Globals.pkgsrc_license

Having a nested function accessing nonlocal variables was more
complicated to understand than the straight-forward copy-and-paste code.

(rillig)

2022-08-25 20:22:29 UTC MAIN commitmail json YAML

doc: Updated pkgtools/url2pkg to 22.2.1

(rillig)

2022-08-25 20:10:43 UTC MAIN commitmail json YAML

2022-08-25 19:56:07 UTC MAIN commitmail json YAML

2022-08-25 19:51:59 UTC MAIN commitmail json YAML

2022-08-20 13:32:06 UTC MAIN commitmail json YAML

pkgtools/distlint: add initial draft document, no package yet

(rillig)

2022-08-19 18:23:41 UTC MAIN commitmail json YAML

lintpkgsrc: fix location of mk.conf

The effective location of mk.conf is not stored in a variable, and there
are several locations where it could be. Noticed by adam@.

(rillig)

2022-08-19 17:35:56 UTC MAIN commitmail json YAML

doc: Updated pkgtools/pkglint to 22.2.6

(rillig)

2022-08-19 17:35:43 UTC MAIN commitmail json YAML

pkgtools/pkglint: update to 22.2.6

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.

(rillig)

2022-08-19 05:20:28 UTC MAIN commitmail json YAML

lintpkgsrc: cleanup: extract 'make show-vars' into subroutine

(rillig)

2022-08-19 05:06:26 UTC MAIN commitmail json YAML

lintpkgsrc: fix parse-guessing of Apache modules

When lintpkgsrc parses the package makefile of an Apache module, it
includes mk/apache.mk, and that file defines APACHE_PKG_PREFIX, thereby
hiding the fallback value from $default_vars.

(rillig)

2022-08-19 04:34:03 UTC MAIN commitmail json YAML

lintpkgsrc: fix handling of Apache modules

(rillig)

2022-08-18 18:30:30 UTC MAIN commitmail json YAML

lintpkgsrc: fix warning about bogus PKGREVISION for Git packages

(Since a few days.)

(rillig)

2022-08-18 18:28:08 UTC MAIN commitmail json YAML

2022-08-18 18:26:46 UTC MAIN commitmail json YAML

lintpkgsrc: cleanup: replace '|| fail' with 'or fail'

(rillig)

2022-08-18 18:13:23 UTC MAIN commitmail json YAML

lintpkgsrc: remove special rule for RESTRICTED

There's no point in saving the fixed value 'NO_BIN_ON_FTP' in the
variable 'RESTRICTED'. The purpose of that code was unclear, as all
packages that define NO_BIN_ON_FTP also define RESTRICTED.

(rillig)

2022-08-18 17:51:14 UTC MAIN commitmail json YAML

lintpkgsrc: normalize package name for Apache Web Server modules

(rillig)

2022-08-18 16:20:15 UTC MAIN commitmail json YAML

cmake/build.mk: add _VARGROUPS section

This allows to run 'make show-all-cmake' in those packages that include
this file.

Sort 'test' and 'install' chronologically.

(rillig)

2022-08-17 20:42:04 UTC MAIN commitmail json YAML

doc: Updated pkgtools/pkglint to 22.2.5

(rillig)

2022-08-17 20:41:51 UTC MAIN commitmail json YAML

pkgtools/pkglint: update to 22.2.5

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.

(rillig)

2022-08-17 19:59:39 UTC MAIN commitmail json YAML

subversion: remove unknown configure option '--with-neon'

(rillig)

2022-08-17 18:53:40 UTC MAIN commitmail json YAML

lintpkgsrc: fix default value of LOCALBASE

LOCALBASE is not related to PKGSRCDIR in any way.

(rillig)

2022-08-17 18:51:43 UTC MAIN commitmail json YAML

lintpkgsrc: cleanup: remove redundant punctuation around declarations

(rillig)

2022-08-17 18:48:09 UTC MAIN commitmail json YAML

lintpkgsrc: prefer clarity over brevity in usage message

(rillig)

2022-08-17 18:45:16 UTC MAIN commitmail json YAML

lintpkgsrc: cleanup: untangle parsing of .include directives

(rillig)

2022-08-17 18:36:10 UTC MAIN commitmail json YAML

lintpkgsrc: cleanup: reduce syntactical verbosity

(rillig)

2022-08-17 18:28:33 UTC MAIN commitmail json YAML

lintpkgsrc: add error handling for files and subprocesses

(rillig)

2022-08-17 18:25:26 UTC MAIN commitmail json YAML

lintpkgsrc: cleanup: reduce indentation of parse_makefile_pkgsrc

(rillig)

2022-08-17 18:22:26 UTC MAIN commitmail json YAML

lintpkgsrc: cleanup: condense guess-parsing of PKGNAME

(rillig)

2022-08-17 18:18:20 UTC MAIN commitmail json YAML

lintpkgsrc: fix parse-guessing of pkgsrc-wip packages using an SCM

(rillig)

2022-08-17 17:47:50 UTC MAIN commitmail json YAML

lintpkgsrc: eliminate common subexpression when parsing package

(rillig)

2022-08-17 17:40:09 UTC MAIN commitmail json YAML

lintpkgsrc: fix loading of package data; condense loading of categories

(rillig)

2022-08-17 17:26:36 UTC MAIN commitmail json YAML

lintpkgsrc: cleanup: move loading and storing of package data together

(rillig)

2022-08-16 20:54:35 UTC MAIN commitmail json YAML

lintpkgsrc: cleanup: rename PkgDb to PkgData

The previous name could be confused with the pkgdb directory that holds
information about the currently installed packages.

(rillig)

2022-08-16 20:28:41 UTC MAIN commitmail json YAML

lintpkgsrc: improve PKGNAME guessing for PHP, Python, Ruby packages

(rillig)

2022-08-16 20:10:32 UTC MAIN commitmail json YAML

lintpkgsrc: fix PKGNAME guessing for Lua packages

Previously, the guessed PKGNAME of devel/lua-busted was '-busted-2.0.0',
now it is 'lua-busted-2.0.0'.

(rillig)

2022-08-16 20:06:06 UTC MAIN commitmail json YAML

lintpkgsrc: cleanup: condense invalid_version

(rillig)

2022-08-16 19:40:24 UTC MAIN commitmail json YAML

lintpkgsrc: cleanup: condense package_globmatch

(rillig)

2022-08-16 19:20:06 UTC MAIN commitmail json YAML

lintpkgsrc: cleanup: rename subroutine

Scanning the distfiles is not the main action.

(rillig)

2022-08-16 19:15:43 UTC MAIN commitmail json YAML

lintpkgsrc: don't chdir unnecessarily

Previously, combining the options '-u' and '-E relative-path' did not
work.

(rillig)

2022-08-16 19:07:53 UTC MAIN commitmail json YAML

lintpkgsrc: split remove_distfiles into manageable pieces

(rillig)

2022-08-16 18:58:00 UTC MAIN commitmail json YAML

lintpkgsrc: clean up loading distfiles for installed package

(rillig)

2022-08-16 18:47:50 UTC MAIN commitmail json YAML

lintpkgsrc: separate loading distinfo from checking distinfo

While here, change the message for checksum mismatch, once again. No
other functional change.

(rillig)

2022-08-15 21:54:53 UTC MAIN commitmail json YAML

lintpkgsrc: clean up stylistically

(rillig)

2022-08-15 21:09:13 UTC MAIN commitmail json YAML

lintpkgsrc: clean up code for listing required packages

(rillig)

2022-08-14 13:13:52 UTC MAIN commitmail json YAML

lintpkgsrc: remove preformatted manual page

Having the preformatted manual page checked in into version control
doesn't make sense. Replacing the placeholders is an ugly hack and leads
to ugly line breaks. If the preformatted manual page is needed, the
better approach is to render it at build time, after the placeholders
have been replaced.

(rillig)

2022-08-14 12:54:01 UTC MAIN commitmail json YAML

lintpkgsrc: accept duplicate strings from brace expansion, for now

Having duplicate expanded strings is not as bad as having missed
alternatives, it's only a question of performance.

(rillig)

2022-08-14 12:46:39 UTC MAIN commitmail json YAML

lintpkgsrc: demonstrate another bug in brace expansion

(rillig)

2022-08-14 12:44:17 UTC MAIN commitmail json YAML

2022-08-14 12:42:38 UTC MAIN commitmail json YAML

2022-08-14 12:40:43 UTC MAIN commitmail json YAML

lintpkgsrc: extract brace expansion, document its various bugs

(rillig)

2022-08-14 03:18:37 UTC MAIN commitmail json YAML

lintpkgsrc: properly clean up after chdir

When running 'lintpkgsrc -I tmp/lp-85 -yro', lintpkgsrc couldn't find
the cache file due to the intermediate chdir($pkgdistdir).

(rillig)

2022-08-14 03:12:02 UTC MAIN commitmail json YAML

lintpkgsrc: clean up variable names and verbose/debug log messages

(rillig)

2022-08-14 03:06:41 UTC MAIN commitmail json YAML

lintpkgsrc: clean up debug logging

(rillig)

2022-08-13 12:30:09 UTC MAIN commitmail json YAML

doc: Updated pkgtools/lintpkgsrc to 2022.08.13

(rillig)

2022-08-13 12:30:00 UTC MAIN commitmail json YAML

lintpkgsrc: update to 2022.08.13

Changes since 2022.08.12:

In package makefiles, the ':U' modifier is evaluated more correctly than
before, handling the values '' and '0' correctly.

Running 'lintpkgsrc --help' produces a clean usage message.

Distinfo files are checked more strictly than before.

Running 'lintpkgsrc -D .' does not produce Perl warnings anymore when
falling back to running bmake to determine the PKGNAME.

When parsing package makefiles, the debug log for evaluating
conditionals is easier to read.

(rillig)

2022-08-13 12:22:20 UTC MAIN commitmail json YAML

2022-08-13 11:34:39 UTC MAIN commitmail json YAML

lintpkgsrc: clean up the output of running 'lintpkgsrc --help'

(rillig)

2022-08-13 11:27:32 UTC MAIN commitmail json YAML

lintpkgsrc: make distinfo parsing stricter

There are no distinfo files anymore in which the filename starts with
'./', so remove that check.

Complain about invalid distinfo lines. This flags a few pkgsrc-wip
packages, but none in main pkgsrc.

Extract load_distinfo into a separate subroutine, improve local variable
names.

Document that only the first distinfo algorithm (currently BLAKE2s) is
ever checked.

(rillig)

2022-08-13 10:51:28 UTC MAIN commitmail json YAML

lintpkgsrc: cleanup: rename cache subroutines to be more expressive

It was easily possible to confuse scan_pkgsrc_makefiles with
load_pkgsrc_makefiles, so rename the latter to load_pkgdb_from_cache.

(rillig)

2022-08-13 10:41:21 UTC MAIN commitmail json YAML

lintpkgsrc: remove extra code for determining the pkg_install version

There is no apparent reason for this code. Lintpkgsrc could already
parse the version of pkg_install, by falling back to running bmake.

When run in debug mode, 'lintpkgsrc -D .' failed because lintpkgsrc used
a wrong regular expression instead of just calling dirname. While here,
fix the variable name 'pkgsrcdir' to simply 'pkgdir', as the previous
name was highly confusing.

(rillig)

2022-08-13 10:23:40 UTC MAIN commitmail json YAML

lintpkgsrc: clean up evaluation of conditions in makefiles

Having a variable named 'false' was confusing. Having a stack of
if-states in which 0 means true and 1 means false was even more
confusing. Using these magic numbers in the debug log without any
explanation was misleading.

The code, as well as the debug log, now uses the strings 'not_yet',
'active' and 'done' for the state of the conditionals. While it still
requires a bit of thought to read the debug log, it's at least possible
now.

(rillig)

2022-08-13 09:33:43 UTC MAIN commitmail json YAML

lintpkgsrc: cleanup: reduce line noise

(rillig)

2022-08-12 22:52:09 UTC MAIN commitmail json YAML

doc: Updated pkgtools/lintpkgsrc to 2022.08.12

(rillig)

2022-08-12 22:51:59 UTC MAIN commitmail json YAML

lintpkgsrc: update to 2022.08.13

Changes since 2022.08.10:

Improve parsing of conditions, continuation lines, comments in
makefiles.

Replace hard-coded paths to /etc/mk.conf and /usr/pkg with the proper
paths that correspond to the pkgsrc installation.

If pkglint is run with unknown or invalid options, exit with an error
status.

(rillig)

2022-08-12 22:45:14 UTC MAIN commitmail json YAML

2022-08-12 22:40:40 UTC MAIN commitmail json YAML

2022-08-12 22:32:21 UTC MAIN commitmail json YAML

2022-08-12 22:18:35 UTC MAIN commitmail json YAML

2022-08-12 20:53:01 UTC MAIN commitmail json YAML

2022-08-11 18:55:35 UTC MAIN commitmail json YAML

lintpkgsrc: use proper exit status when showing usage

(rillig)

2022-08-11 07:20:53 UTC MAIN commitmail json YAML

lintpkgsrc: cleanup: remove unused conf_sysconfdir

It has been replaced with conf_makeconf.

(rillig)