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
This commit is contained in:
Baptiste Daroussin 2025-01-02 10:14:27 +01:00
parent ba57b76448
commit f207ae110f
3 changed files with 6 additions and 5 deletions

View File

@ -1,5 +1,5 @@
PORTNAME= pkg PORTNAME= pkg
DISTVERSION= 1.21.99.4 DISTVERSION= 2.0.b1
_PKG_VERSION= ${DISTVERSION} _PKG_VERSION= ${DISTVERSION}
CATEGORIES= ports-mgmt CATEGORIES= ports-mgmt
PKGNAMESUFFIX= -devel PKGNAMESUFFIX= -devel
@ -12,7 +12,7 @@ LICENSE= BSD2CLAUSE
USE_GITHUB= yes USE_GITHUB= yes
GH_ACCOUNT= freebsd GH_ACCOUNT= freebsd
GH_TAGNAME= 32d62aec9 GH_TAGNAME= 2bd24d4e9
CFLAGS+= -O0 -g -Wno-error CFLAGS+= -O0 -g -Wno-error
USE_LDCONFIG= ${PREFIX}/lib/compat/pkg USE_LDCONFIG= ${PREFIX}/lib/compat/pkg

View File

@ -1,3 +1,3 @@
TIMESTAMP = 1732089835 TIMESTAMP = 1735809203
SHA256 (freebsd-pkg-1.21.99.4-32d62aec9_GH0.tar.gz) = 7b600c53fe3ba70a19438a6a2b3e7239bbffb137db5921e1631ef35a96e86aa2 SHA256 (freebsd-pkg-2.0.b1-2bd24d4e9_GH0.tar.gz) = 65c81a2894a6e8e4a16410658dd7e5c90b16e90900428498d327543c90d7d1ce
SIZE (freebsd-pkg-1.21.99.4-32d62aec9_GH0.tar.gz) = 16310344 SIZE (freebsd-pkg-2.0.b1-2bd24d4e9_GH0.tar.gz) = 16389142

View File

@ -7,6 +7,7 @@ etc/periodic/security/460.pkg-checksum
etc/periodic/weekly/400.status-pkg etc/periodic/weekly/400.status-pkg
@sample etc/pkg.conf.sample @sample etc/pkg.conf.sample
include/pkg.h include/pkg.h
include/pkg/vec.h
include/pkg/audit.h include/pkg/audit.h
lib/libpkg.a lib/libpkg.a
lib/libpkg.so lib/libpkg.so