ports-mgmt/pkg: update to 1.19.2

This release only deals with RSA signature for people using the PUBKEY
mechanism.
With openssl3 the signature had to change, in this release we make pkg
accept both the new signatures and the old ones.

if built with openssl 1 (aka freebsd 12 and 13) pkg will continue issueing
the usual signatures aka no changes.
if built with openssl 3 (aka freebsd 14) pkg will issue a new format of
signature.

The version of pkg older than 1.19.2 will not be able to use a signature
issued witg pkg running on freebsd 14

All system running 1.19.2 and above will be able to accept any of the
signatures.

If a user get stuck, for any reason, pkg bootstrap -f will fix the
situation as long as it installs 1.19.2 and above.

Note that is only concens PUBKEY which is not the default.

No changes at all for users of the official FreeBSD repositories.
This commit is contained in:
Baptiste Daroussin 2023-06-29 16:08:22 +02:00
commit 6bef385a56

View file

@ -1,6 +1,5 @@
PORTNAME= pkg
DISTVERSION= 1.19.1
PORTREVISION= 3
DISTVERSION= 1.19.2
_PKG_VERSION= ${DISTVERSION}
CATEGORIES= ports-mgmt

View file

@ -1,3 +1,3 @@
TIMESTAMP = 1675345444
SHA256 (freebsd-pkg-1.19.1_GH0.tar.gz) = 6cf51347635bc81e45bc093ce2580fc87f207e234587b9d85a5b63e0fb4970dc
SIZE (freebsd-pkg-1.19.1_GH0.tar.gz) = 4091916
TIMESTAMP = 1688046061
SHA256 (freebsd-pkg-1.19.2_GH0.tar.gz) = 4838c6bee5cab64dc8376d75e5dc8086130928dca0d5ac6e3648c701942cd006
SIZE (freebsd-pkg-1.19.2_GH0.tar.gz) = 4092059

View file

@ -1,11 +0,0 @@
--- auto.def.orig 2023-02-01 15:55:57 UTC
+++ auto.def
@@ -5,7 +5,7 @@ set med_ver 19
set maj_ver 1
set med_ver 19
-set min_ver 0
+set min_ver 1
set dev_ver 0
define PKG_API [expr $maj_ver * 1000000 + $med_ver * 1000 + $min_ver]
define VERSION $maj_ver.$med_ver.$min_ver[expr {$dev_ver ? ".$dev_ver" : ""}]