git: f02746ca9e36 - main - ports-mgmt/pkg: update to 2.8.2

From: Baptiste Daroussin <bapt_at_FreeBSD.org>
Date: Mon, 10 Aug 2026 11:54:17 UTC
The branch main has been updated by bapt:

URL: https://cgit.FreeBSD.org/ports/commit/?id=f02746ca9e36bf470907cfc48785424301a167c8

commit f02746ca9e36bf470907cfc48785424301a167c8
Author:     Baptiste Daroussin <bapt@FreeBSD.org>
AuthorDate: 2026-08-10 11:42:24 +0000
Commit:     Baptiste Daroussin <bapt@FreeBSD.org>
CommitDate: 2026-08-10 11:54:09 +0000

    ports-mgmt/pkg: update to 2.8.2
    
    Changes:
    - lots of security improvements
    - repo: keep file lists out of the data catalog
    - rwhich: store filesite as a compressed archive locally.
    - rwhich add global and per repository configuration of the file
      database
    - fix deferred rc script execution
    - fix duplicated reinstall reason
    - fix UAF in additional SAT cycle
    - fix SRV/HTTP mirror handling
    - respect compression level for file database and metadata
---
 ports-mgmt/pkg/Makefile                       |  3 +--
 ports-mgmt/pkg/distinfo                       |  6 +++---
 ports-mgmt/pkg/files/patch-libpkg_pkg__jobs.c | 12 ------------
 3 files changed, 4 insertions(+), 17 deletions(-)

diff --git a/ports-mgmt/pkg/Makefile b/ports-mgmt/pkg/Makefile
index d4bbdcd1fcd3..8064f8a682e6 100644
--- a/ports-mgmt/pkg/Makefile
+++ b/ports-mgmt/pkg/Makefile
@@ -1,6 +1,5 @@
 PORTNAME=	pkg
-DISTVERSION=	2.8.1
-PORTREVISION=	1
+DISTVERSION=	2.8.2
 _PKG_VERSION=	${DISTVERSION}
 CATEGORIES=	ports-mgmt
 
diff --git a/ports-mgmt/pkg/distinfo b/ports-mgmt/pkg/distinfo
index 461584fa8650..fcca697db0fe 100644
--- a/ports-mgmt/pkg/distinfo
+++ b/ports-mgmt/pkg/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1784627675
-SHA256 (freebsd-pkg-2.8.1_GH0.tar.gz) = bdd051f9eb23846f916fbebda4a2c87cf7627992c72cddd7ac5d0e9b65b4488c
-SIZE (freebsd-pkg-2.8.1_GH0.tar.gz) = 12279695
+TIMESTAMP = 1786361851
+SHA256 (freebsd-pkg-2.8.2_GH0.tar.gz) = 173cc7bbf24f971f83e08d53cd54e04913e23566f42a4bb9d985971572de7887
+SIZE (freebsd-pkg-2.8.2_GH0.tar.gz) = 12293323
diff --git a/ports-mgmt/pkg/files/patch-libpkg_pkg__jobs.c b/ports-mgmt/pkg/files/patch-libpkg_pkg__jobs.c
deleted file mode 100644
index 719706e9e5f8..000000000000
--- a/ports-mgmt/pkg/files/patch-libpkg_pkg__jobs.c
+++ /dev/null
@@ -1,12 +0,0 @@
---- libpkg/pkg_jobs.c.orig	2026-07-21 09:50:31 UTC
-+++ libpkg/pkg_jobs.c
-@@ -925,7 +925,8 @@ pkg_jobs_find_upgrade(struct pkg_jobs *j, const char *
- 				"remote repo", pattern);
- 		rc = pkg_jobs_universe_add_pkg(j->universe, p, &unit);
- 		if (rc == EPKG_END) {
--			pkg_free(p);
-+			if (!pkg_in_universe(j->universe, p))
-+				pkg_free(p);
- 			rc = EPKG_OK;
- 		}
- 	}