svn commit: r305637 - in head: . Mk

Baptiste Daroussin bapt at FreeBSD.org
Wed Oct 10 08:40:23 UTC 2012


Author: bapt
Date: Wed Oct 10 08:40:21 2012
New Revision: 305637
URL: http://svn.freebsd.org/changeset/ports/305637

Log:
  Switching current to use pkgng by default
  Adding WITHOUT_PKGNG for people not willing to migrate to pkgng now
  
  Hat:		portmgr
  Non-regression:	beat
  Exp-runs:	beat

Modified:
  head/CHANGES
  head/Mk/bsd.port.mk
  head/Mk/bsd.port.subdir.mk
  head/UPDATING

Modified: head/CHANGES
==============================================================================
--- head/CHANGES	Wed Oct 10 08:09:24 2012	(r305636)
+++ head/CHANGES	Wed Oct 10 08:40:21 2012	(r305637)
@@ -10,6 +10,16 @@ in the release notes and/or placed into 
 
 All ports committers are allowed to commit to this file.
 
+20121010:
+AUTHOR: bapt at FreeBSD.org
+
+  * The ports tree is now using pkgng as the default package manager
+    for HEAD.  This only affects users of CURRENT -- users of other
+    branches need not take any action.
+
+    To keep pkg_install as the default package manager, use the new
+    WITHOUT_PKGNG knob in make.conf
+
 20120830:
 AUTHOR: beat at FreeBSD.org
 

Modified: head/Mk/bsd.port.mk
==============================================================================
--- head/Mk/bsd.port.mk	Wed Oct 10 08:09:24 2012	(r305636)
+++ head/Mk/bsd.port.mk	Wed Oct 10 08:40:21 2012	(r305637)
@@ -1209,6 +1209,14 @@ OSVERSION!=	${SYSCTL} -n kern.osreldate
 .endif
 .endif
 
+.if ${OSVERSION} >= 1000017
+.if !defined(WITHOUT_PKGNG)
+WITH_PKGNG=	yes
+.else
+.undef	WITH_PKGNG
+.endif
+.endif
+
 MASTERDIR?=	${.CURDIR}
 
 .if ${MASTERDIR} != ${.CURDIR}

Modified: head/Mk/bsd.port.subdir.mk
==============================================================================
--- head/Mk/bsd.port.subdir.mk	Wed Oct 10 08:09:24 2012	(r305636)
+++ head/Mk/bsd.port.subdir.mk	Wed Oct 10 08:40:21 2012	(r305637)
@@ -77,6 +77,14 @@ OSVERSION!=	${SYSCTL} -n kern.osreldate
 .endif
 .endif
 
+.if ${OSVERSION} >= 1000017
+.if !defined(WITHOUT_PKGNG)
+WITH_PKGNG=	yes
+.else
+.undef	WITH_PKGNG
+.endif
+.endif
+
 .if !defined(_OSRELEASE)
 _OSRELEASE!=			uname -r
 .endif

Modified: head/UPDATING
==============================================================================
--- head/UPDATING	Wed Oct 10 08:09:24 2012	(r305636)
+++ head/UPDATING	Wed Oct 10 08:40:21 2012	(r305637)
@@ -5,6 +5,28 @@ they are unavoidable.
 You should get into the habit of checking this file for changes each time
 you update your ports collection, before attempting any port upgrades.
 
+20121010:
+  AFFECTS: users of CURRENT
+  AUTHOR: bapt at FreeBSD.org
+
+  The ports tree is now using pkgng as the default package manager
+  for HEAD.  This only affects users of CURRENT -- users of other
+  branches need not take any action.
+
+  To keep pkg_install as the default package manager, use the new
+  WITHOUT_PKGNG knob in make.conf
+
+  To make the switch:
+
+  1/ Set WITHOUT_PKGNG=yes in make.conf and upgrade all your ports to
+  the latest available versions using your favourite tools.
+
+  2/ Install ports-mgmt/pkg
+
+  3/ Remove WITHOUT_PKGNG from make.conf and run
+
+ # pkg2ng
+
 20121009:
   AFFECTS: users of multimedia/vdpau-video
   AUTHOR: madpilot at FreeBSD.org


More information about the svn-ports-head mailing list