From owner-svn-ports-head@FreeBSD.ORG Tue Nov 26 14:49:05 2013 Return-Path: Delivered-To: svn-ports-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 34738A69; Tue, 26 Nov 2013 14:49:05 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 2328423AC; Tue, 26 Nov 2013 14:49:05 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.7/8.14.7) with ESMTP id rAQEn59l006839; Tue, 26 Nov 2013 14:49:05 GMT (envelope-from bapt@svn.freebsd.org) Received: (from bapt@localhost) by svn.freebsd.org (8.14.7/8.14.5/Submit) id rAQEn466006835; Tue, 26 Nov 2013 14:49:04 GMT (envelope-from bapt@svn.freebsd.org) Message-Id: <201311261449.rAQEn466006835@svn.freebsd.org> From: Baptiste Daroussin Date: Tue, 26 Nov 2013 14:49:04 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r334937 - in head/ports-mgmt/pkg: . files X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.16 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 26 Nov 2013 14:49:05 -0000 Author: bapt Date: Tue Nov 26 14:49:04 2013 New Revision: 334937 URL: http://svnweb.freebsd.org/changeset/ports/334937 Log: Welcome pkg 1.2 final Changelog: - Improved build system - Allow to hook plugins, before closing the local db if it was opened in RW mode - Allow ARCH to be printed by pkg info - New pkg bootstrap subcommand that is the counter part of the pkg(7) bootstrap subcommand - Use port specified in the SRV entries to connect to a given mirror - Properly support srv priority/weigh when ordering mirrors - Lots of spelling/grammar fixes - Broken incremental pkg repo support was removed. - ABI is now checked again using globs: * a 'noarch' package should just specify: ARCH: 'freebsd:*' * a package working on both i386 and amd64: ARCH: 'freebsd:9:x86:*' - new pkg config subcommand to allow direct query of options - options can now have a description - pkg repo can now take new arguments: pkg repo [path] [rsa_key|'signing_command: '] This allow calling external command to perform the signing and pass the checksum to be signed in the command stdin. - in case pkg info is querying a file or is a single direct match query then default on -f - pkg info -q is now equivalent of pkg info -qa - expat is now always bundled (for vuxml) - vuxml is now the default source for pkg audit - Accept empty/comment only configuration files - Print a pkg name only once - even if multiple vulns were found - when using -q in pkg audit - pkg info now default on glob matching - Support for pkg+foo url scheme where foo can be (http, https, ftp). - pkg add is now able to read the packages from a pipe or a non-regular file '-' is an alias for stdin, this also works from pipes, fifos, unix domain sockets etc. - New 'fingerprint' kind of signature: if a repository is declared using the fingerprint type of signature, a fingerprint directory should also be provided. Inside that fingerprint directory should be 2 directories: trusted and revoked. Those directories will contains files (in yaml/ucl format) containing the fingerprint of the trusted certificated and the revoked ones: --- begins -- function: sha256 fingerprint: an_hex_representation_of_the_fingerprint --- ends --- All unknown attribute will be silently ignored to allow extending in the future. It also support multiple signatures inside the catalog. the catalog should provide the signature in the following form: name.sig name.cert - packagesite in pkg.conf is deprecated in favour using dedicated repository configuration files - REPO_DIR is now a list instead of a simple string - New git like aliases to allow creating custom commands - Allow using '?' operator in pkg query expressions - Fix ssh:// support - New PKG_SSH_ARGS to allow passing custom arguments to ssh command used for the ssh:// protocol - Do not generate catalogs in pkg 1.0 format anymore. - YAML is replaced by UCL format: Both formats are really simular. pkg(8) will falls back on parsing YAML when the UCL parser fail. And will emit a warning to the user showing a syntax that is compatible with both YAML and UCL. More informations on UCL: https://github.com/vstakhov/libucl - Dependencies on library is now automatic via pkg register and pkg create - Auto upgrade of pkg(8) now restart the upgrade process automatically - Lots of bug fixes discovered by Coverity Scan - New debug level traces - Bug fixes in zsh completion - rquery can now take a -I argument to output index like lines (needed for bsdconfig) - Skip self upgrade with -F is passed - Autodetect if libelf should be used bundled - Lots of bug fixes Thanks a lot to all people allowed this release to happen, may that be from providing code, ideas, submitting bugs, documenting or just supporting. Deleted: head/ports-mgmt/pkg/files/ 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 Nov 26 14:33:36 2013 (r334936) +++ head/ports-mgmt/pkg/Makefile Tue Nov 26 14:49:04 2013 (r334937) @@ -1,8 +1,7 @@ # $FreeBSD$ PORTNAME= pkg -DISTVERSION= 1.1.4 -PORTREVISION= 10 +DISTVERSION= 1.2 CATEGORIES= ports-mgmt MASTER_SITES= http://files.etoilebsd.net/pkg/ \ http://mirror.shatow.net/freebsd/${PORTNAME}/ \ @@ -77,7 +76,7 @@ pre-everything:: PKG_DEPENDS= .undef INSTALLS_DEPENDS .if !exists(${LOCALBASE}/sbin/pkg) -PKG_BIN= ${WRKSRC}/pkg-static/pkg-static +PKG_BIN= ${WRKSRC}/pkg/pkg-static .endif .endif Modified: head/ports-mgmt/pkg/distinfo ============================================================================== --- head/ports-mgmt/pkg/distinfo Tue Nov 26 14:33:36 2013 (r334936) +++ head/ports-mgmt/pkg/distinfo Tue Nov 26 14:49:04 2013 (r334937) @@ -1,2 +1,2 @@ -SHA256 (pkg-1.1.4.tar.xz) = d84c9052f18c9d64cb369b9f3e8c1542f79f1152032169b1d28fbc2308c2dcbd -SIZE (pkg-1.1.4.tar.xz) = 1554804 +SHA256 (pkg-1.2.tar.xz) = 1e353780a9f78ab4b962108c8fa245406823467eb81e762cb682c6fb72c60a38 +SIZE (pkg-1.2.tar.xz) = 1802740 Modified: head/ports-mgmt/pkg/pkg-plist ============================================================================== --- head/ports-mgmt/pkg/pkg-plist Tue Nov 26 14:33:36 2013 (r334936) +++ head/ports-mgmt/pkg/pkg-plist Tue Nov 26 14:49:04 2013 (r334937) @@ -1,16 +1,14 @@ -etc/pkg.conf.sample -sbin/pkg -sbin/pkg-static -sbin/pkg2ng -include/pkg.h -lib/libpkg.so.1 -lib/libpkg.so -lib/libpkg.a -etc/periodic/daily/400.status-pkg +etc/bash_completion.d/_pkg.bash etc/periodic/daily/411.pkg-backup etc/periodic/daily/490.status-pkg-changes etc/periodic/security/410.pkg-audit etc/periodic/security/460.pkg-checksum +etc/periodic/weekly/400.status-pkg +etc/pkg.conf.sample +include/pkg.h +lib/libpkg.a +lib/libpkg.so +lib/libpkg.so.1 libdata/pkgconfig/pkg.pc man/man3/pkg_printf.3.gz man/man5/pkg-repository.5.gz @@ -47,11 +45,14 @@ man/man8/pkg-upgrade.8.gz man/man8/pkg-version.8.gz man/man8/pkg-which.8.gz man/man8/pkg.8.gz +sbin/pkg +sbin/pkg-static +sbin/pkg2ng share/zsh/site-functions/_pkg -etc/bash_completion.d/_pkg.bash @dirrmtry etc/bash_completion.d @dirrmtry etc/periodic/daily @dirrmtry etc/periodic/security +@dirrmtry etc/periodic/weekly @dirrmtry etc/periodic @dirrmtry share/zsh/site-functions @dirrmtry share/zsh