svn commit: r321663 - head/ports-mgmt/pkg-devel

Baptiste Daroussin bapt at FreeBSD.org
Mon Jun 24 05:55:59 UTC 2013


Author: bapt
Date: Mon Jun 24 05:55:58 2013
New Revision: 321663
URL: http://svnweb.freebsd.org/changeset/ports/321663

Log:
  Update to 1.1 final
  Changes:
  - Fix packing of +UPGRADE scripts
  - Fix pkg update always thinking the repo is up to date if the remote server sends no mtime header
  - Various updates on the manpage
  - New pkg-repository(5) man page

Modified:
  head/ports-mgmt/pkg-devel/Makefile
  head/ports-mgmt/pkg-devel/distinfo

Modified: head/ports-mgmt/pkg-devel/Makefile
==============================================================================
--- head/ports-mgmt/pkg-devel/Makefile	Mon Jun 24 05:29:24 2013	(r321662)
+++ head/ports-mgmt/pkg-devel/Makefile	Mon Jun 24 05:55:58 2013	(r321663)
@@ -1,7 +1,7 @@
 # $FreeBSD$
 
 PORTNAME=	pkg
-DISTVERSION=	1.1.0.rc1
+DISTVERSION=	1.1
 CATEGORIES=	ports-mgmt
 MASTER_SITES=	http://files.etoilebsd.net/pkg/ \
 		http://mirror.shatow.net/freebsd/${PORTNAME}/ \
@@ -57,7 +57,8 @@ MAN8=	pkg.8 \
 	pkg-upgrade.8 \
 	pkg-version.8 \
 	pkg-which.8
-MAN5=	pkg.conf.5
+MAN5=	pkg.conf.5 \
+	pkg-repository.5
 MAN3=	pkg_printf.3
 MLINKS=	pkg-delete.8 pkg-remove.8 \
 	pkg-lock.8 pkg-unlock.8 \
@@ -113,34 +114,12 @@ PKG_BIN=	${WRKSRC}/pkg-static/pkg-static
 .endif
 .endif
 
-.if ${OSVERSION} < 800505
-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
 PERIODIC_ALL=		${PERIODIC_DAILY} ${PERIODIC_SECURITY}
 
 post-install:
-.for periodic in ${PERIODIC_ALL}
-	@${REINPLACE_CMD} -e 's|/usr/local|${PREFIX}|g' ${WRKSRC}/scripts/periodic/${periodic}
-.endfor
-	@${MKDIR} ${PREFIX}/etc/periodic/security
-	@${MKDIR} ${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-devel/distinfo
==============================================================================
--- head/ports-mgmt/pkg-devel/distinfo	Mon Jun 24 05:29:24 2013	(r321662)
+++ head/ports-mgmt/pkg-devel/distinfo	Mon Jun 24 05:55:58 2013	(r321663)
@@ -1,2 +1,2 @@
-SHA256 (pkg-1.1.0.rc1.tar.xz) = 9569e0cfc7245834386d8f07f82a32f40701f70dfe7f1bfdea12abbe037e5bb7
-SIZE (pkg-1.1.0.rc1.tar.xz) = 1551448
+SHA256 (pkg-1.1.tar.xz) = c97b22061ffefc47c6697f97089d292d212d0cacda1a41bb162d051d15b80d7e
+SIZE (pkg-1.1.tar.xz) = 1554488


More information about the svn-ports-all mailing list