git: f207ae110fcb - main - ports-mgmt/pkg-devel: update to 2.0 beta1
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 02 Jan 2025 09:15:51 UTC
The branch main has been updated by bapt:
URL: https://cgit.FreeBSD.org/ports/commit/?id=f207ae110fcbe33b4f4e3a3877d4f5abf358c19b
commit f207ae110fcbe33b4f4e3a3877d4f5abf358c19b
Author: Baptiste Daroussin <bapt@FreeBSD.org>
AuthorDate: 2025-01-02 09:14:27 +0000
Commit: Baptiste Daroussin <bapt@FreeBSD.org>
CommitDate: 2025-01-02 09:15:44 +0000
ports-mgmt/pkg-devel: update to 2.0 beta1
Changes:
- the pkg target ABI is now dynamically detected, pkg can be used to cross
install packages among OS.
- macho ABI handling completly rewritten
- ALTABI is not used anywhere anymore, we are now only working with ABI
- Lots of cleanups thanks for compiler sanitizers
- shlibs handling is now portable (and do not depend on elfhints anymore)
- deprecate ALLOW_BASE_SHLIBS, now pkg scans for /lib and /usr/lib (respecting
rootdir) to find the list of shlibs provided by base. This scan is skipped
when using pkgbase.
- new SHLIB_REQUIRE_IGNORE_GLOB and SHLIB_REQUIRE_IGNORE_REGEX to filter out
some librariries to be added to shlibs_required list
- speed up pkg repo by using buffered stdio
- pkg now tracks shlibs with tagging:
libfoo.so.1.0.0 - native (no change to status quo)
libfoo.so.1.0.0:32 - compat 32
libfoo.so.1.0.0:Linux - compat Linux
libfoo.so.1.0.0:Linux:32 - compat Linux 32
- pkg tracks 32bit compat shlibs
- pkg can track linux shlibs for linux compatibility (disabled by default) via
TRACK_LINUX_COMPAT_SHLIBS
---
ports-mgmt/pkg-devel/Makefile | 4 ++--
ports-mgmt/pkg-devel/distinfo | 6 +++---
ports-mgmt/pkg-devel/pkg-plist | 1 +
3 files changed, 6 insertions(+), 5 deletions(-)
diff --git a/ports-mgmt/pkg-devel/Makefile b/ports-mgmt/pkg-devel/Makefile
index 53d641afe5a7..5476e3ed243f 100644
--- a/ports-mgmt/pkg-devel/Makefile
+++ b/ports-mgmt/pkg-devel/Makefile
@@ -1,5 +1,5 @@
PORTNAME= pkg
-DISTVERSION= 1.21.99.4
+DISTVERSION= 2.0.b1
_PKG_VERSION= ${DISTVERSION}
CATEGORIES= ports-mgmt
PKGNAMESUFFIX= -devel
@@ -12,7 +12,7 @@ LICENSE= BSD2CLAUSE
USE_GITHUB= yes
GH_ACCOUNT= freebsd
-GH_TAGNAME= 32d62aec9
+GH_TAGNAME= 2bd24d4e9
CFLAGS+= -O0 -g -Wno-error
USE_LDCONFIG= ${PREFIX}/lib/compat/pkg
diff --git a/ports-mgmt/pkg-devel/distinfo b/ports-mgmt/pkg-devel/distinfo
index 979f4b77479e..8b6dfc437b06 100644
--- a/ports-mgmt/pkg-devel/distinfo
+++ b/ports-mgmt/pkg-devel/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1732089835
-SHA256 (freebsd-pkg-1.21.99.4-32d62aec9_GH0.tar.gz) = 7b600c53fe3ba70a19438a6a2b3e7239bbffb137db5921e1631ef35a96e86aa2
-SIZE (freebsd-pkg-1.21.99.4-32d62aec9_GH0.tar.gz) = 16310344
+TIMESTAMP = 1735809203
+SHA256 (freebsd-pkg-2.0.b1-2bd24d4e9_GH0.tar.gz) = 65c81a2894a6e8e4a16410658dd7e5c90b16e90900428498d327543c90d7d1ce
+SIZE (freebsd-pkg-2.0.b1-2bd24d4e9_GH0.tar.gz) = 16389142
diff --git a/ports-mgmt/pkg-devel/pkg-plist b/ports-mgmt/pkg-devel/pkg-plist
index eb0d0a1efda4..120aaf082a57 100644
--- a/ports-mgmt/pkg-devel/pkg-plist
+++ b/ports-mgmt/pkg-devel/pkg-plist
@@ -7,6 +7,7 @@ etc/periodic/security/460.pkg-checksum
etc/periodic/weekly/400.status-pkg
@sample etc/pkg.conf.sample
include/pkg.h
+include/pkg/vec.h
include/pkg/audit.h
lib/libpkg.a
lib/libpkg.so