svn commit: r305920 - in head: . ports-mgmt/portmaster
Bryan Drewery
bdrewery at FreeBSD.org
Mon Oct 15 16:14:36 UTC 2012
Author: bdrewery
Date: Mon Oct 15 16:14:35 2012
New Revision: 305920
URL: http://svn.freebsd.org/changeset/ports/305920
Log:
- Add ports-mgmt/pkg as a RUN_DEPENDS if enabling pkgng support
- Add UPDATING entry and pkg-message to assist in converting
Feature safe: yes
Added:
head/ports-mgmt/portmaster/pkg-message (contents, props changed)
Modified:
head/UPDATING
head/ports-mgmt/portmaster/Makefile
Modified: head/UPDATING
==============================================================================
--- head/UPDATING Mon Oct 15 16:08:57 2012 (r305919)
+++ head/UPDATING Mon Oct 15 16:14:35 2012 (r305920)
@@ -6,6 +6,19 @@ You should get into the habit of checkin
you update your ports collection, before attempting any port upgrades.
20121015:
+ AFFECTS: users of ports-mgmt/portmaster
+ AUTHOR: bdrewery at FreeBSD.org
+
+ Portmaster now support pkgng. To use pkgng, enable the patch in the port,
+ enable pkgng in your make.conf, and convert your existing /var/db/pkg
+ database. Also see UPDATING entry 20121010 if you are on a recent CURRENT
+ and do not want to use pkg.
+
+ # make -C /usr/ports/ports-mgmt/portmaster config build deinstall install clean
+ # echo 'WITH_PKGNG=yes' >> /etc/make.conf
+ # pkg2ng
+
+20121015:
AFFECTS: users of ports-mgmt/portupgrade
AUTHOR: bdrewery at FreeBSD.org
Modified: head/ports-mgmt/portmaster/Makefile
==============================================================================
--- head/ports-mgmt/portmaster/Makefile Mon Oct 15 16:08:57 2012 (r305919)
+++ head/ports-mgmt/portmaster/Makefile Mon Oct 15 16:14:35 2012 (r305920)
@@ -2,7 +2,7 @@
PORTNAME= portmaster
PORTVERSION= 3.14
-PORTREVISION= 2
+PORTREVISION= 3
CATEGORIES= ports-mgmt
MASTER_SITES= GH \
http://mirror.shatow.net/freebsd/portmaster/
@@ -30,6 +30,7 @@ MAN8= portmaster.8
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MPKGNGPATCH}
+RUN_DEPENDS+= pkg>0:${PORTSDIR}/ports-mgmt/pkg
PATCH_SITES+= http://mirror.shatow.net/freebsd/portmaster/
PATCHFILES+= patch-portmaster-pkgng.gz
.endif
@@ -67,5 +68,8 @@ post-install:
${INSTALL_DATA} ${WRKSRC}/files/zsh-completions \
${PREFIX}/share/zsh/site-functions/_portmaster
.endif
+.if ${PORT_OPTIONS:MPKGNGPATCH}
+ ${CAT} ${PKGMESSAGE}
+.endif
.include <bsd.port.mk>
Added: head/ports-mgmt/portmaster/pkg-message
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/ports-mgmt/portmaster/pkg-message Mon Oct 15 16:14:35 2012 (r305920)
@@ -0,0 +1,10 @@
+If you are upgrading from the old package format, there are 2
+extra steps required.
+
+Enable PKGNG as your package format:
+
+ # echo 'WITH_PKGNG=yes' >> /etc/make.conf
+
+Then convert your /var/db/pkg database to the new pkg format:
+
+ # pkg2ng
More information about the svn-ports-all
mailing list