svn commit: r525794 - in head/ports-mgmt/pkg: . files

Dima Panov fluffy at FreeBSD.org
Fri Feb 28 09:06:56 UTC 2020


Moin!

>> pkg repo now creates meta files in version 2 by default meaning the >> digests.txz (this was only used with pkg up to 1.2).
>> Anyone using that version and willing to upgrade can do it via:
>> pkg bootstrap -f

Bapt, note about ‘pkg bootstrap -f’ will be better to place in UPDATING too.

Many users confusing with error of metadata version mismatch when updates from not-so-recent packages

--
Dima Panov (fluffy at FreeBSD.org (mailto:fluffy at FreeBSD.org))
(X11, KDE, Office)@FreeBSD team

Facebook: http://www.facebook.com/fluffy.khv
twitter: fluffy_khv | skype: dima.panov | telegram: @dima_panov
IRC: fluffy at EFNet, fluffykhv at FreeNode

> On Tuesday, Feb 11, 2020 at 6:36 PM, Baptiste Daroussin <bapt at FreeBSD.org (mailto:bapt at FreeBSD.org)> wrote:
> Author: bapt
> Date: Tue Feb 11 08:36:22 2020
> New Revision: 525794
> URL: https://svnweb.freebsd.org/changeset/ports/525794
>
> Log:
> Release pkg 1.13
> - when installing over a non tracked file (not owned by any package)
> pkg now saves a copy of that file as .pkgsave
> - Fix a chicken/egg problem with the meta being compressed and defining
> the compression format. Now pkg repo will create a meta.conf file
> uncompressed (it is small enough) and fallback on the old meta.txz.
> Note that meta.txz is still created for backward compatibility.
> - pkg repo now creates meta files in version 2 by default meaning the
> digests.txz (this was only used with pkg up to 1.2).
> Anyone using that version and willing to upgrade can do it via:
> pkg bootstrap -f
> - suppress version checking when -j is specified
> - Alphabetically sort packages printed in the output of pkg commands to
> ease readability
> - pkg lock/unlock now allows multiple packages in arguments
> - shell script can now print messages along with pkg-messages by writing
> to ${PKG_MSGFD} file descriptor
> - improve error reporting when parsing vuxml files
> - lua script are now ready for prime time:
> - sanboxed with capsicum on plateforms that support it
> - rootdir native
> - documented
> - Fix pkg backup
> - pkg now gives a hint about running pkg update -f in case of "size mismatch"
> - scripts (lua and shell) can now determine if they are in the process of an
> upgrade or an installation via a variable
> - shell scripts are now fully documented
> - keyword files are now documented
>
> PR: 243564
> exp-run by: antoine
>
> Deleted:
> head/ports-mgmt/pkg/files/patch-libfetch
> Modified:
> head/ports-mgmt/pkg/Makefile
> head/ports-mgmt/pkg/distinfo
> head/ports-mgmt/pkg/pkg-plist
>
> Modified: head/ports-mgmt/pkg/Makefile
> ==============================================================================
> --- head/ports-mgmt/pkg/Makefile Tue Feb 11 08:31:42 2020 (r525793)
> +++ head/ports-mgmt/pkg/Makefile Tue Feb 11 08:36:22 2020 (r525794)
> @@ -1,9 +1,8 @@
> # $FreeBSD$
>
> PORTNAME= pkg
> -DISTVERSION= 1.12.0
> +DISTVERSION= 1.13.0
> _PKG_VERSION= ${DISTVERSION}
> -PORTREVISION= 1
> CATEGORIES= ports-mgmt
> #MASTER_SITES= \
> # http://files.etoilebsd.net/${PORTNAME}/ \
>
> Modified: head/ports-mgmt/pkg/distinfo
> ==============================================================================
> --- head/ports-mgmt/pkg/distinfo Tue Feb 11 08:31:42 2020 (r525793)
> +++ head/ports-mgmt/pkg/distinfo Tue Feb 11 08:36:22 2020 (r525794)
> @@ -1,3 +1,3 @@
> -TIMESTAMP = 1568790737
> -SHA256 (freebsd-pkg-1.12.0_GH0.tar.gz) = 53141c4833a9776d916fb31eff346b8877e687d54edaec59b8472b71f62ec165
> -SIZE (freebsd-pkg-1.12.0_GH0.tar.gz) = 3867210
> +TIMESTAMP = 1581409421
> +SHA256 (freebsd-pkg-1.13.0_GH0.tar.gz) = 9c4a8be80d16562d7acfb95906ab8a8f31620f4d03fa0e8e78fce5e5076bef1f
> +SIZE (freebsd-pkg-1.13.0_GH0.tar.gz) = 3386839
>
> Modified: head/ports-mgmt/pkg/pkg-plist
> ==============================================================================
> --- head/ports-mgmt/pkg/pkg-plist Tue Feb 11 08:31:42 2020 (r525793)
> +++ head/ports-mgmt/pkg/pkg-plist Tue Feb 11 08:36:22 2020 (r525794)
> @@ -12,7 +12,10 @@ lib/libpkg.so.4
> libdata/pkgconfig/pkg.pc
> man/man3/pkg_printf.3.gz
> man/man3/pkg_repos.3.gz
> +man/man5/pkg-keywords.5.gz
> +man/man5/pkg-lua-script.5.gz
> man/man5/pkg-repository.5.gz
> +man/man5/pkg-script.5.gz
> man/man5/pkg.conf.5.gz
> man/man8/pkg-add.8.gz
> man/man8/pkg-alias.8.gz
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 229 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/svn-ports-all/attachments/20200228/5ceb628b/attachment.sig>


More information about the svn-ports-all mailing list