Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 10 Oct 2012 08:40:22 +0000 (UTC)
From:      Baptiste Daroussin <bapt@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r305637 - in head: . Mk
Message-ID:  <201210100840.q9A8eMcS088946@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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@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@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@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@FreeBSD.org



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