git: e497a16a2869 - main - ports-mgmt/pkg*: Release 1.17.0

Stefan Esser se at freebsd.org
Thu Jul 22 09:01:27 UTC 2021


Am 22.07.21 um 10:06 schrieb Baptiste Daroussin> The branch main has been
updated by bapt:
> 
> URL: https://cgit.FreeBSD.org/ports/commit/?id=e497a16a286972bfcab908209b11ee6a13d99dc9
> 
> commit e497a16a286972bfcab908209b11ee6a13d99dc9
> Author:     Baptiste Daroussin <bapt at FreeBSD.org>
> AuthorDate: 2021-07-22 07:54:38 +0000
> Commit:     Baptiste Daroussin <bapt at FreeBSD.org>
> CommitDate: 2021-07-22 08:05:59 +0000
> 
>     ports-mgmt/pkg*: Release 1.17.0
>     
>     TL;DR: new uniq package file extension: '.pkg'
>     
>     Full changelog for pkg:
>     - add a new "snap" prefix, to deal with pkg base snapshots
>     - pkg repo now accepts packages with different compression formats
>     - pkg now have a single extension: ".pkg" and a backward compatible
>       symlink is created when the package is created to help transitioning
>     - Default compression level for zstd is now set to 19
>     - the default compression level is now a configuration option
>     - plenty of portability fixes
>     - fix plenty of typos
>     - expose the name of the package to lua and shell scripts
>     - plist:
>       remove internal support for @*exec (this is now in the ports tree)
>       remove support for @ignore
>       remove support for @dirrm/@dirrmtry
>       remove support for @pkgdep
>       remove stub support for @stopdaemon
>       remove stub support for @display
>       remove stub support for @mtree
>       remove stub support for @conflict
>     - VUXML: fetch .xz compressed version of the file by default
>     - triggers are deferred to later command (firstboot is planned) if run
>       with pkg -r
>     - pkg triggers commands has been added and can execute the deferred
>       triggers for example at firstboot
>     
>     Changes in the framework:
>     - Add a backward compatibility layer, so people are not forced to move
>       to pkg 1.17 yet (new quarter we will enforce the switch for triggers
>       anyway, but it gives time to people to switch)
>     - Introduce a new PKG_COMPRESSION_FORMAT for users to specify the
>       compression format they are willing to use when creating packages:
>       txz, tar, tgz, tbz, tzst are the valid ones (note that tzst is only
>       usable on FreeBSD 13 and 14)
>     - Add a backward compatibility for people who specified the compression
>       format already via PKG_SUFX and issue a warning to tell them about the
>       deprecation of PKG_SUFX

Building the new pkg version I got at the end:

[...]
====> Running Q/A tests (stage-qa)
Warning: 'lib/libpkg.so.4' is not stripped consider trying
INSTALL_TARGET=install-strip or using ${STRIP_CMD}
Warning: 'sbin/pkg' is not stripped consider trying
INSTALL_TARGET=install-strip or using ${STRIP_CMD}
Warning: 'sbin/pkg-static' is not stripped consider trying
INSTALL_TARGET=install-strip or using ${STRIP_CMD}
===>  Building package for pkg-1.17.0
install -l rs /usr/packages/All/pkg-1.17.0.pkg /usr/packages/All/pkg-1.17.0.txz
install -l rs /usr/packages/All/pkg-1.17.0.pkg /usr/packages/Latest/pkg.pkg
install -l rs /usr/packages/All/pkg-1.17.0.txz /usr/packages/Latest/pkg.txz
install -l rs pkg.pkg.sig /usr/packages/Latest/pkg.txz.sig

# file /usr/packages/Latest/pkg.txz.sig
/usr/packages/Latest/pkg.txz.sig: broken symbolic link to pkg.pkg.sig

It seems that no pkg.pkg.sig has been copied to /usr/packages/Latest ...


A re-run of the build after installation of pkg-1.17.0 resulted in:

[...]
====> Running Q/A tests (stage-qa)
Warning: 'sbin/pkg' is not stripped consider trying
INSTALL_TARGET=install-strip or using ${STRIP_CMD}
Warning: 'lib/libpkg.so.4' is not stripped consider trying
INSTALL_TARGET=install-strip or using ${STRIP_CMD}
===>  Building package for pkg-1.17.0
install -l rs pkg.pkg.sig /usr/packages/Latest/pkg.txz.sig

# file /usr/packages/Latest/pkg.txz.sig
/usr/packages/Latest/pkg.txz.sig: broken symbolic link to pkg.pkg.sig

Still no pkg.pkg.sig at the expected location ...

Regards, STefan

-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_signature
Type: application/pgp-signature
Size: 495 bytes
Desc: OpenPGP digital signature
URL: <http://lists.freebsd.org/pipermail/dev-commits-ports-main/attachments/20210722/101b1094/attachment.sig>


More information about the dev-commits-ports-main mailing list