git: 24e8af829449 - main - ports-mgmt/pkg: update to 2.5.0

From: Baptiste Daroussin <bapt_at_FreeBSD.org>
Date: Wed, 17 Dec 2025 08:31:35 UTC
The branch main has been updated by bapt:

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

commit 24e8af829449504a937da9e1a24821bb9a1bb6b5
Author:     Baptiste Daroussin <bapt@FreeBSD.org>
AuthorDate: 2025-12-17 08:30:30 +0000
Commit:     Baptiste Daroussin <bapt@FreeBSD.org>
CommitDate: 2025-12-17 08:31:32 +0000

    ports-mgmt/pkg: update to 2.5.0
    
    Major Changes
    -  unregister: new command to remove the records from an installed package
    -  while keeping the files around
    -  install: new --register-only: record the package as installed without touching
    -  anyfiles on the filesystem
    -  case sensitivity: lots of changes: now the behaviour is conistent accross all
    -  commands and respect the default setting in pkg.conf
    
    Other Changes:
    - update curl to 8.17.0
    - update sqlite to 3.51.1
    - fetch: many imrpovements in debug output
    - set a sane default mode for empty directory in plist
    - improve the error message when not deleting a package due to a lock or a vital flag
---
 ports-mgmt/pkg/Makefile  | 3 +--
 ports-mgmt/pkg/distinfo  | 6 +++---
 ports-mgmt/pkg/pkg-plist | 1 +
 3 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/ports-mgmt/pkg/Makefile b/ports-mgmt/pkg/Makefile
index 181ffc9622e7..1a22ba20d949 100644
--- a/ports-mgmt/pkg/Makefile
+++ b/ports-mgmt/pkg/Makefile
@@ -1,6 +1,5 @@
 PORTNAME=	pkg
-DISTVERSION=	2.4.2
-PORTREVISION=	1
+DISTVERSION=	2.5.0
 _PKG_VERSION=	${DISTVERSION}
 CATEGORIES=	ports-mgmt
 
diff --git a/ports-mgmt/pkg/distinfo b/ports-mgmt/pkg/distinfo
index f173534ef413..1cbe964efe2f 100644
--- a/ports-mgmt/pkg/distinfo
+++ b/ports-mgmt/pkg/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1762331625
-SHA256 (freebsd-pkg-2.4.2_GH0.tar.gz) = 57f9e4c5516d70494a51e520cb9a71c989a24e052de0a75d48ae5b2d4951fc5c
-SIZE (freebsd-pkg-2.4.2_GH0.tar.gz) = 16473749
+TIMESTAMP = 1765960107
+SHA256 (freebsd-pkg-2.5.0_GH0.tar.gz) = 420330f4e8adc25317c98a0657b2ba8ebada7ad782a6273fe3b41768cb7246c0
+SIZE (freebsd-pkg-2.5.0_GH0.tar.gz) = 16511322
diff --git a/ports-mgmt/pkg/pkg-plist b/ports-mgmt/pkg/pkg-plist
index 43866dafd262..7b5f70ad6c94 100644
--- a/ports-mgmt/pkg/pkg-plist
+++ b/ports-mgmt/pkg/pkg-plist
@@ -55,6 +55,7 @@ share/man/man8/pkg-static.8.gz
 share/man/man8/pkg-stats.8.gz
 share/man/man8/pkg-triggers.8.gz
 share/man/man8/pkg-unlock.8.gz
+share/man/man8/pkg-unregister.8.gz
 share/man/man8/pkg-update.8.gz
 share/man/man8/pkg-updating.8.gz
 share/man/man8/pkg-upgrade.8.gz