Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 1 May 2013 18:51:47 +0000 (UTC)
From:      Bryan Drewery <bdrewery@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r317043 - in head/ports-mgmt/pkg: . files
Message-ID:  <201305011851.r41IplZG066850@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: bdrewery
Date: Wed May  1 18:51:46 2013
New Revision: 317043
URL: http://svnweb.freebsd.org/changeset/ports/317043

Log:
  - Update to 1.0.12
  
  *** Binary Package Builders: It is recommended to rebuild
      all packages and then run 'pkg check -Ba' and 'pkg
      upgrade' on your client servers once. This will allow
      the new shlib tracking to reinstall packages that have
      changed shlib requirements. This step is optional.
  
  Changes:
      * Always track provided SHLIBS now when packages are
        created
      * Automatically reinstall packages when their needed shlibs
        or dependencies change. This removes the need to run
        'pkg install -Rf' in many, but not all, cases.
      * New DB lock strategy when stored on a network filesystem
      * pkg version: Show ? when package is missing on remote
      * pkg check -s: Return non-zero exit status if a mismatch
        is found
      * pkg audit: Implement -q
      * Add more periodic scripts
      * Add bash completion script
      * pkg audit: Performance optimizations
      * Build fixes
      * Add some forward-compatibility support for upcoming 1.1
  
  Thank you to all contributors, listed in the upstream commits:
      https://github.com/pkgng/pkgng/commits/1.0.12
  
  With hat:	portmgr

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	Wed May  1 18:49:02 2013	(r317042)
+++ head/ports-mgmt/pkg/Makefile	Wed May  1 18:51:46 2013	(r317043)
@@ -1,7 +1,7 @@
 # $FreeBSD$
 
 PORTNAME=	pkg
-DISTVERSION=	1.0.11
+DISTVERSION=	1.0.12
 CATEGORIES=	ports-mgmt
 MASTER_SITES=	LOCAL/portmgr \
 		http://files.etoilebsd.net/pkg/ \
@@ -106,17 +106,30 @@ PKG_BIN=	${WRKSRC}/pkg-static/pkg-static
 IGNORE=		not supported on 7.x or early 8.0
 .endif
 
+PERIODIC_DAILY=		400.status-pkg 411.pkg-backup 490.status-pkg-changes
+PERIODIC_SECURITY=	410.pkg-audit 460.pkg-checksum
+PERIDIC_ALL=		${PERIODIC_DAILY} ${PERIODIC_SECURITY}
+
 post-install:
-	@${REINPLACE_CMD} -e 's|/usr/local|${PREFIX}|g' ${WRKSRC}/scripts/periodic/410.pkg-audit
+.for periodic in ${PERIDIC_ALL}
+	@${REINPLACE_CMD} -e 's|/usr/local|${PREFIX}|g' ${WRKSRC}/scripts/periodic/${periodic}
+.endfor
 	@${MKDIR} ${PREFIX}/etc/periodic/security
 	@${MKDIR} ${PREFIX}/etc/periodic/daily
-	@${INSTALL_SCRIPT} ${WRKSRC}/scripts/periodic/410.pkg-audit ${PREFIX}/etc/periodic/security
-	@${INSTALL_SCRIPT} ${WRKSRC}/scripts/periodic/411.pkg-backup ${PREFIX}/etc/periodic/daily
+.for periodic in ${PERIODIC_DAILY}
+	@${INSTALL_SCRIPT} ${WRKSRC}/scripts/periodic/${periodic} ${PREFIX}/etc/periodic/daily
+.endfor
+.for periodic in ${PERIODIC_SECURITY}
+	@${INSTALL_SCRIPT} ${WRKSRC}/scripts/periodic/${periodic} ${PREFIX}/etc/periodic/security
+.endfor
+	@${INSTALL_SCRIPT} ${WRKSRC}/ports/pkg2ng ${PREFIX}/sbin
 	@${INSTALL_SCRIPT} ${WRKSRC}/ports/pkg2ng ${PREFIX}/sbin
 	@${INSTALL_DATA} ${WRKSRC}/pkg/pkg.conf.sample ${PREFIX}/etc
 	@${INSTALL_DATA} ${WRKSRC}/libpkg/pkg.pc ${PREFIX}/libdata/pkgconfig/
 	@${MKDIR} ${PREFIX}/share/zsh/site-functions
 	@${INSTALL_DATA} ${WRKSRC}/scripts/zsh/_pkg ${PREFIX}/share/zsh/site-functions/
+	@${MKDIR} ${PREFIX}/etc/bash_completion.d
+	@${INSTALL_DATA} ${WRKSRC}/scripts/bash/_pkg.bash ${PREFIX}/etc/bash_completion.d/
 	@${CAT} ${PKGMESSAGE}
 
 .include <bsd.port.post.mk>

Modified: head/ports-mgmt/pkg/distinfo
==============================================================================
--- head/ports-mgmt/pkg/distinfo	Wed May  1 18:49:02 2013	(r317042)
+++ head/ports-mgmt/pkg/distinfo	Wed May  1 18:51:46 2013	(r317043)
@@ -1,2 +1,2 @@
-SHA256 (pkg-1.0.11.tar.xz) = 8297c8d9a4644471b501822e88d54448bd6fad83d0d1057b6dac2720885c172a
-SIZE (pkg-1.0.11.tar.xz) = 1451320
+SHA256 (pkg-1.0.12.tar.xz) = 04b5fe89c9f106b5499056825066df284e5f1bd3bcdf3b46228164c9be3a96b2
+SIZE (pkg-1.0.12.tar.xz) = 1456292

Modified: head/ports-mgmt/pkg/pkg-plist
==============================================================================
--- head/ports-mgmt/pkg/pkg-plist	Wed May  1 18:49:02 2013	(r317042)
+++ head/ports-mgmt/pkg/pkg-plist	Wed May  1 18:51:46 2013	(r317043)
@@ -6,10 +6,15 @@ include/pkg.h
 lib/libpkg.so.0
 lib/libpkg.so
 lib/libpkg.a
+etc/periodic/daily/400.status-pkg
 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
 libdata/pkgconfig/pkg.pc
 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201305011851.r41IplZG066850>