Commit graph

5775 commits

Author SHA1 Message Date
bsiegert
69b9f4cba9 Revbump all Go packages after go117 update 2022-01-09 20:10:29 +00:00
rillig
1a356738ae url2pkg: improve MASTER_SITES and HOMEPAGE for PyPI packages
https://mail-index.netbsd.org/tech-pkg/2021/12/31/msg025908.html

Bump version.
2022-01-01 15:29:14 +00:00
rillig
f029d070dd url2pkg: test current behavior for PyPI downloads 2022-01-01 15:04:58 +00:00
rillig
06d90fdb80 url2pkg: remove interactivity
In the first phase, url2pkg generates a minimal package Makefile, barely
enough for downloading the distfile from the given URL.  That part runs
fully automated in almost all cases, so there is no need to invoke the
editor at this point.

After adjusting the package Makefile based on the downloaded and
extracted distfile, url2pkg has done its job, so there is no reason to
run the editor there as well.

Bump version.
2022-01-01 14:04:11 +00:00
rillig
c95b00ad0b lintpkgsrc: fix bogus warning for devel/lua-moses
The warning was:

	Bogus: -${DISTNAME:tl:S/-1$//1}
	    (from /.../devel/lua-moses/Makefile)

Previously, lintpkgsrc searched for the package name and version by
looking for '-' followed by a digit.  This was too naive, as in the
above expression, the '-1' does not mark the beginning of the version
number.  Fix this by resorting to 'make show-vars' in all cases in which
the PKGNAME still contains a '$'.

When running 'lintpkgsrc -Dp devel/lua-moses' with a relative directory
as argument, lintpkgsrc tried 'cd /lua-moses' and ignored the failure,
running 'make show-vars' in the current directory instead, which in my
case was the top-level pkgsrc directory.

Bump version.
2022-01-01 13:27:37 +00:00
rillig
f4f2d9ce42 pkgtools/pkglint: update to 21.4.1
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.
2022-01-01 12:44:24 +00:00
rillig
368db9a7f4 pkglint: update version number to match the upcoming branch
No changes since 21.3.4.
2021-12-26 16:56:47 +00:00
nia
22dd74af0b pkg_install: only enable IPv6 on operating systems that support it
needed for UnixWare, reported by Boyd Lynn Gerber
2021-12-24 11:37:38 +00:00
bsiegert
169637478c Revbump all Go packages after go117 update 2021-12-09 17:50:09 +00:00
adam
b6d9bd86bc revbump for icu and libffi 2021-12-08 16:01:42 +00:00
wiz
ea868f230b pbulk: make rsync dependency a default-on option 2021-12-06 11:21:19 +00:00
jperkin
a158da9ea3 pkgin: Update to 21.12.0.
## Version 21.12.0 (2021-12-01)

 * Manual page fixes.
 * Avoid crash when FILE_SIZE is invalid in a remote repository.
2021-12-01 12:20:58 +00:00
rillig
415c192a00 pkgtools/pkglint: update to 21.3.4
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-20 18:06:13 +00:00
jperkin
a448fba183 pkg_install: Switch to posix_spawn() on newer macOS.
vfork() no longer works on Monterey and causes serious intermittent issues
when upgrading pkg_install.  Forking the INSTALL and DEINSTALL scripts can
sometimes fail, due to the underlying pkg_add/pkg_delete binaries having
been changed or removed, leaving the system broken with no package tools.

The manual page suggests using posix_spawn() instead and that appears to
work correctly.  The code has been laid out so that it's easy enough to
switch other platforms to posix_spawn() too if required, or for improved
performance, and has been verified to work successfully on SmartOS.

Bump pkg_install version to 20211115.
2021-11-15 12:48:23 +00:00
rillig
a5d9d94af5 pkgtools/url2pkg: update to 21.3.0
Changes since 21.1.0:

When creating a package from a GitHub archive URL, make the generated
package simpler and place the distfile in the main directory instead of
using DIST_SUBDIR.
2021-11-14 09:20:15 +00:00
rillig
9fd3cbb08f pkgtools/url2pkg: add test for overly complicated package definition
Seen in wip/netmask.
2021-11-14 08:57:15 +00:00
rillig
31fa2308f3 pkgtools/pkglint: update to 21.3.3
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-13 21:20:59 +00:00
christos
9df3ff53c7 abstract check for "*path == '/'" to isabs(*path) 2021-11-07 12:38:12 +00:00
bsiegert
41533c256a Revbump all Go packages after go117 update 2021-11-05 20:02:39 +00:00
jperkin
720775716e pkg_install: Add an explicit dummy DEINSTALL script.
Even with DEINSTALL_SRC set empty, changes in the pkgsrc infrastructure over
the past few years will now create a dynamic +DEINSTALL script regardless,
and while only containing "exit 0", may have a #! using a shell from pkgsrc.

This can lead to upgrade issues if that shell happens to be unavailable
while pkg_install is being upgraded.  Creating our own dummy script that
explicitly uses /bin/sh avoids that problem.
2021-11-03 13:37:25 +00:00
rillig
f674d1d912 pkglint: update to 21.3.2
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-28 20:15:25 +00:00
nia
406ad3b7c1 pkgtools: Replace RMD160 checksums with BLAKE2s checksums
All checksums have been double-checked against existing RMD160 and
SHA512 hashes
2021-10-26 11:11:07 +00:00
nia
febf721231 digest: match b2sum in terms of capitalizing BLAKE2s/BLAKE2b 2021-10-23 18:09:13 +00:00
jperkin
c188c2a6c8 pkg_install: Update to 20211021.
Apply patch from Michal Maruska in NetBSD/pkgsrc#95 to ensure package files
are correctly cleaned up should the POST-INSTALL script phase fail.
2021-10-21 13:05:25 +00:00
jperkin
97ff1a0fcd pkgin: Update to 21.10.1.
## Version 21.10.1 (2021-10-20)

 * Free memory correctly when building package lists for printing.  Reduces
   memory usage considerably when operating on a large number of packages.

 * Avoid infinite loop in package linked list when handling pkg_install.
2021-10-20 08:18:57 +00:00
nia
87598c1aa3 pkgin: Prefer gzip on more 32-bit archs. 2021-10-17 10:06:28 +00:00
jperkin
9275429f08 pkgin: Update to 21.10.0.
Add new pkgin-prefer-gzip option to support the feature listed below, and
activate it by default on what I believe are MACHINE_ARCH that would most
benefit from it - no offence intended ;)

## Version 21.10.0 (2021-10-12)

 * Support building with -DPREFER_GZIP_SUMMARY which will attempt to fetch
   pkg_summary.gz first, useful on slower machines with limited memory.
2021-10-12 12:46:14 +00:00
rillig
34ceab78b3 pkgtools/pkglint: update to 21.3.1
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-09 08:33:09 +00:00
bsiegert
a235babfa8 Revbump all Go packages after go117 update 2021-10-08 18:55:02 +00:00
nia
d171eeaf22 parallel: Remove SHA1 hashes for distfiles 2021-10-07 14:46:45 +00:00
nia
ed8b04124a digest: Remove _POSIX_C_SOURCE. PR pkg/56439 2021-10-05 15:38:48 +00:00
nia
3ad627bc4b digest: correct hash size of blake2s 2021-09-29 13:10:40 +00:00
nia
3a767dae04 digest: Add blake2s hash. 2021-09-28 13:05:08 +00:00
rillig
023df4868b pkglint: update to 21.3.0
No changes since 21.2.6, the version bump is only to mark it for the
upcoming stable branch.
2021-09-27 09:24:59 +00:00
bsiegert
a7061b5550 Revbump all Go packages after go117 update 2021-09-17 13:52:45 +00:00
khorben
59c52efd5e rc.subr: update to version 20210830
This introduces the function load_rc_config_var(), as provided by NetBSD's own
rc.subr.

Tested on NetBSD/amd64 (unprivileged).
2021-08-30 21:45:02 +00:00
nia
ec204f8acc pkg_comp1: update default pkgdb dir 2021-08-20 06:39:41 +00:00
nia
aad16b4dcc pbulk: update default pkgdb location 2021-08-20 06:38:31 +00:00
rillig
0deb555a03 pkgtools/pkglint: update to 21.2.6
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-14 15:11:30 +00:00
rillig
0ed122293a pkgtools/pkglint: update to 21.2.5
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-14 09:46:11 +00:00
rillig
d42d69e1a0 pkgtools/pkglint: update to 21.2.4
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-14 08:19:49 +00:00
rillig
a86463007e pkgtools/pkglint: update to 21.2.3
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-12 05:29:41 +00:00
bsiegert
624af70d8a Revbump all Go packages after go116 update 2021-08-11 19:35:03 +00:00
rillig
f5affbdeda pkgtools/pkglint: update to 21.2.2
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.
2021-08-08 22:04:15 +00:00
gutteridge
31576ff9f2 pkgdiff: remove stale line (NFC) 2021-08-06 01:29:27 +00:00
jperkin
5a5e86cbb0 pkgin: Update to 21.7.0.
## Version 21.7.0 (2021-07-22)

 * Syncronise latest humanize_number() from NetBSD, sizes greater than 64PB
   are now printed correctly.
 * Regenerate for autoconf-2.71 and fix "make distcheck".
 * Fix inconsistent output when using globs.
 * Fix out-of-srcdir builds.
 * Improve fetch failure error messages.
 * Update documentation to reflect IRC migration to Libera.
2021-07-22 14:47:46 +00:00
bsiegert
267ed82d11 Revbump all Go packages after go116 update 2021-07-13 11:36:30 +00:00
gutteridge
2745faac23 x11-links: NetBSD -current now has libXfixes.so.4.1
Ride package version bump from an hour ago.
2021-07-13 01:38:02 +00:00
mrg
b083a7d4e0 netbsd -current has libfontconfig.so.2.3. not sure why this isn't
causing more build issues, but i just tripped on one.

bump version.
2021-07-13 00:32:22 +00:00
dholland
679b48acef verifypc 1.8: another adjustment for input format.
not sure if this was a missed part of the changes in 1.7, or if the
output format of pkg-config changed again.
2021-07-10 23:02:09 +00:00