pkgng/pkgng cafe79flibpkg pkgdb.c

pkgdb: open read-only databases in immutable mode to fix WAL access

When pkg enables WAL journal mode on the local database (during a
write-access session), the mode is persisted in the database header.
Subsequent read-only opens (e.g. as nobody during poudriere's package
phase) fail because WAL requires -shm/-wal sidecar files which cannot
be created without write access, causing all queries to fail — including
read-only ones like PRAGMA user_version.

This caused actual-package-depends to fail silently, producing packages
with missing dependencies. For example, gmake was packaged without its
gettext-runtime dependency, leading to "libintl.so.8 not found" errors.

Fix by opening the database with sqlite3_open_v2() and immutable=1 URI
parameter when write access is not available. Immutable mode tells
SQLite to bypass WAL/SHM entirely and read directly from the main
database file, which contains all committed data after the last
writer's checkpoint.
DeltaFile
+19-1libpkg/pkgdb.c
+19-11 files

NetBSD/pkgsrc-wip 313cc18sftpgo Makefile TODO, sftpgo/files sftpgo.sh

Add rc.d script for sftpgo
DeltaFile
+29-22sftpgo/files/sftpgo.sh
+5-0sftpgo/Makefile
+0-1sftpgo/TODO
+34-233 files

FreeBSD/ports 4078420www/nginx-acme distinfo Makefile, www/nginx-devel distinfo Makefile

www/nginx-devel: Update to 1.29.5

Changes with nginx 1.29.5                                        04 Feb
2026

    *) Security: an attacker might inject plain text data in the
response
       from an SSL backend (CVE-2026-1642).

    *) Bugfix: use-after-free might occur after switching to the next
gRPC
       or HTTP/2 backend.

    *) Bugfix: an invalid HTTP/2 request might be sent after switching
to
       the next upstream.

    *) Bugfix: a response with multiple ranges might be larger than the
       source response.

    [13 lines not shown]
DeltaFile
+3-3www/nginx-acme/distinfo
+3-3www/nginx-devel/distinfo
+1-1www/nginx-devel/Makefile
+1-1www/nginx-devel/version.mk
+1-1www/nginx-acme/Makefile
+9-95 files

FreeBSD/ports 4ceab82comms/meshcore-cli Makefile

comms/meshcore-cli: Fix typo in COMMENT and bump PORTREVISION

Approved by:    Just fix it
DeltaFile
+2-1comms/meshcore-cli/Makefile
+2-11 files

FreeBSD/ports cdafdfatextproc/bookokrat distinfo Makefile

textproc/bookokrat: Update to 0.3.4

ChangeLog:      https://github.com/bugzmanov/bookokrat/releases/tag/v0.3.4
Reported by:    Dimitry Polivaev <notifications at github.com>
DeltaFile
+3-3textproc/bookokrat/distinfo
+1-1textproc/bookokrat/Makefile
+4-42 files

FreeBSD/ports 57af1cfwww/nginx distinfo version.mk, www/nginx-acme distinfo Makefile

www/nginx: Update to 1.28.2

Changes with nginx 1.28.2                                        04 Feb
2026

    *) Security: an attacker might inject plain text data in the
response
       from an SSL backend (CVE-2026-1642).

    *) Bugfix: use-after-free might occur after switching to the next
gRPC
       or HTTP/2 backend.

    *) Bugfix: fixed warning when compiling with MSVC 2022 x86.

Changes with nginx 1.28.1                                        23 Dec
2025

    *) Security: processing of a specially crafted login/password when

    [37 lines not shown]
DeltaFile
+3-3www/nginx-acme/distinfo
+3-3www/nginx/distinfo
+1-1www/nginx-full/Makefile
+1-1www/nginx/version.mk
+1-1www/nginx-acme/Makefile
+9-95 files

LLVM/project 84ce7b1llvm/lib/Target/X86 X86ISelLowering.cpp, llvm/test/CodeGen/X86 vector-lrint.ll vector-llrint.ll

[X86] Avoid custom lowering `llrint` on non-x87 targets (#181339)

Fixes #181265
DeltaFile
+1,023-0llvm/test/CodeGen/X86/vector-lrint.ll
+727-0llvm/test/CodeGen/X86/vector-llrint.ll
+112-0llvm/test/CodeGen/X86/lrint-conv-i64.ll
+105-0llvm/test/CodeGen/X86/llrint-conv.ll
+2-1llvm/lib/Target/X86/X86ISelLowering.cpp
+1,969-15 files

pkgng/pkgng 0076750libpkg pkgdb.c

pkgdb: skip WAL journal mode on read-only databases

PRAGMA journal_mode = WAL requires write access to create the -wal and
-shm sidecar files. When pkg-static runs as an unprivileged user (e.g.
nobody during poudriere's package phase), the local database is opened
read-only and the WAL pragma fails with "attempt to write a readonly
database".

This caused actual-package-depends to fail silently, producing packages
with missing dependencies. For example, gmake was packaged without its
gettext-runtime dependency, leading to "libintl.so.8 not found" errors
when gmake was later installed as a build dependency.

Use sqlite3_db_readonly() to check the connection mode before attempting
to enable WAL, consistent with other read-only guards in pkgdb.c.

Fixes: a7ccf3c03e92 ("pkgdb: enable WAL journal mode for local databases")
Reported-by: https://github.com/freebsd/pkg/issues/2605
DeltaFile
+2-1libpkg/pkgdb.c
+2-11 files

FreeBSD/ports 068f3e2deskutils/freeplane pkg-plist distinfo

deskutils/freeplane: Update to 1.13.1

ChangeLog:      https://github.com/freeplane/freeplane/releases/tag/release-1.13.1
Reported by:    Dimitry Polivaev <notifications at github.com>
DeltaFile
+16-0deskutils/freeplane/pkg-plist
+3-3deskutils/freeplane/distinfo
+1-1deskutils/freeplane/Makefile
+20-43 files

OpenBSD/ports 7sKVxnfsysutils/awscli/v1 distinfo Makefile

   Update to awscli-1.44.39.
VersionDeltaFile
1.19+2-2sysutils/awscli/v1/distinfo
1.21+2-2sysutils/awscli/v1/Makefile
+4-42 files

OpenBSD/ports K6Yu9r6net/py-boto3 distinfo Makefile

   Update to py3-boto3-1.42.49.
VersionDeltaFile
1.637+2-2net/py-boto3/distinfo
1.649+1-1net/py-boto3/Makefile
+3-32 files

OpenBSD/ports ExcgmQBnet/py-botocore distinfo Makefile

   Update to py3-botocore-1.42.49.
VersionDeltaFile
1.854+2-2net/py-botocore/distinfo
1.864+1-1net/py-botocore/Makefile
+3-32 files

OpenBSD/ports wfzeOuRx11/gnome/librsvg distinfo crates.inc, x11/gnome/librsvg/patches patch-meson_build

   Update to librsvg-2.61.4.
VersionDeltaFile
1.130+10-10x11/gnome/librsvg/distinfo
1.14+4-4x11/gnome/librsvg/crates.inc
1.21+2-2x11/gnome/librsvg/distinfo.old
1.6+1-1x11/gnome/librsvg/patches/patch-meson_build
1.249+1-1x11/gnome/librsvg/Makefile
+18-185 files

OpenBSD/ports Gl3XpAdsysutils/exoscale-cli distinfo Makefile

   Update to exoscale-cli-1.93.0.
VersionDeltaFile
1.144+2-2sysutils/exoscale-cli/distinfo
1.147+1-1sysutils/exoscale-cli/Makefile
+3-32 files

OpenBSD/ports fbytlxWsysutils/terragrunt distinfo Makefile

   Update to terragrunt-0.99.2.
VersionDeltaFile
1.383+2-2sysutils/terragrunt/distinfo
1.390+1-1sysutils/terragrunt/Makefile
+3-32 files

NetBSD/pkgsrc fgQM4gjx11/xfce4-tumbler Makefile

   xfce4-tumbler: update HOMEPAGE
VersionDeltaFile
1.152+2-2x11/xfce4-tumbler/Makefile
+2-21 files

NetBSD/pkgsrc 9VG1rQBgames/tscp Makefile

   tscp: follow redirect
VersionDeltaFile
1.22+3-4games/tscp/Makefile
+3-41 files

NetBSD/pkgsrc UOT7z5Isysutils/tree Makefile

   tree: comment out dead site
VersionDeltaFile
1.14+2-2sysutils/tree/Makefile
+2-21 files

NetBSD/pkgsrc ydBqrJKdevel/tre Makefile

   tre: comment out dead site
VersionDeltaFile
1.20+3-3devel/tre/Makefile
+3-31 files

NetBSD/pkgsrc iNDxmPyaudio/traverso Makefile

   traverso: comment out dead site
VersionDeltaFile
1.49+2-2audio/traverso/Makefile
+2-21 files

NetBSD/pkgsrc 714ovlimultimedia/transcode Makefile

   transcode: comment out dead link
VersionDeltaFile
1.178+3-3multimedia/transcode/Makefile
+3-31 files

NetBSD/pkgsrc 9sgoIUHsysutils/gnome-tracker-miners Makefile

   gnome-tracker-miners: best guess at HOMEPAGE, old one is gone
VersionDeltaFile
1.61+2-2sysutils/gnome-tracker-miners/Makefile
+2-21 files

NetBSD/pkgsrc GOcHQkRmultimedia/totem-pl-parser Makefile

   totem-pl-parser: update HOMEPAGE
VersionDeltaFile
1.97+2-2multimedia/totem-pl-parser/Makefile
+2-21 files

NetBSD/pkgsrc psz5e2Dmultimedia/totem Makefile

   totem: update HOMEPAGE
VersionDeltaFile
1.155+2-2multimedia/totem/Makefile
+2-21 files

NetBSD/pkgsrc tKbLU9umisc/topless Makefile

   topless: comment out dead link
VersionDeltaFile
1.15+2-3misc/topless/Makefile
+2-31 files

NetBSD/pkgsrc XdHKi89sysutils/top Makefile

   top: comment out dead link
VersionDeltaFile
1.44+3-3sysutils/top/Makefile
+3-31 files

OpenBSD/ports M50vvtDdevel/glib2 Makefile distinfo, devel/glib2/pkg PLIST

   Update to glib2-2.86.4.
VersionDeltaFile
1.411+7-7devel/glib2/Makefile
1.188+2-2devel/glib2/distinfo
1.142+2-2devel/glib2/pkg/PLIST
+11-113 files

NetBSD/pkgsrc DYSduFKinputmethod/tomoe Makefile

   tomoe: switch to sourceforge, other page is gone
VersionDeltaFile
1.16+2-3inputmethod/tomoe/Makefile
+2-31 files

NetBSD/pkgsrc 0IcTxAOdatabases/tokyotyrant Makefile

   tokyotyrant: comment out dead link
VersionDeltaFile
1.40+3-4databases/tokyotyrant/Makefile
+3-41 files

NetBSD/pkgsrc J7FfNVXtextproc/tokyodystopia Makefile

   tokyodystopia: comment out dead site
VersionDeltaFile
1.21+3-4textproc/tokyodystopia/Makefile
+3-41 files