public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] gentoo-x86 commit in sys-apps/portage: ChangeLog portage-2.1.6_rc1.ebuild
@ 2008-11-24 18:03 Zac Medico (zmedico)
  0 siblings, 0 replies; only message in thread
From: Zac Medico (zmedico) @ 2008-11-24 18:03 UTC (permalink / raw
  To: gentoo-commits

zmedico     08/11/24 18:03:57

  Modified:             ChangeLog portage-2.1.6_rc1.ebuild
  Log:
  24 Nov 2008; Zac Medico <zmedico@gentoo.org> portage-2.1.6_rc1.ebuild:
  Add an ewarn message for people downgrading from portage-2.2, reminding
  them to run revdep-rebuild when appropriate.
  (Portage version: 2.1.6_rc1/cvs/Linux 2.6.27-1111-x86-64 i686)

Revision  Changes    Path
1.554                sys-apps/portage/ChangeLog

file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-apps/portage/ChangeLog?rev=1.554&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-apps/portage/ChangeLog?rev=1.554&content-type=text/plain
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-apps/portage/ChangeLog?r1=1.553&r2=1.554

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/sys-apps/portage/ChangeLog,v
retrieving revision 1.553
retrieving revision 1.554
diff -u -r1.553 -r1.554
--- ChangeLog	24 Nov 2008 07:25:24 -0000	1.553
+++ ChangeLog	24 Nov 2008 18:03:57 -0000	1.554
@@ -1,6 +1,10 @@
 # ChangeLog for sys-apps/portage
 # Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/portage/ChangeLog,v 1.553 2008/11/24 07:25:24 zmedico Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/portage/ChangeLog,v 1.554 2008/11/24 18:03:57 zmedico Exp $
+
+  24 Nov 2008; Zac Medico <zmedico@gentoo.org> portage-2.1.6_rc1.ebuild:
+  Add an ewarn message for people downgrading from portage-2.2, reminding
+  them to run revdep-rebuild when appropriate.
 
 *portage-2.1.6_rc1 (23 Nov 2008)
 
@@ -10,7 +14,10 @@
   been removed. In order to ensure that portage-2.1.6 gets sufficient
   testing, portage-2.2 will be masked in package.mask until portage-2.1.6
   has been marked stable. If you would like to continue using portage-2.2
-  then you should unmask it (instead of downgrading to portage-2.1.6).
+  then you should unmask it (instead of downgrading to portage-2.1.6). If
+  you are downgrading from portage-2.2 to portage-2.1.6, do not forget to
+  use revdep-rebuild when appropriate, since the @preserved-rebuild package
+  set is only supported with portage-2.2.
 
 *portage-2.2_rc16 (23 Nov 2008)
 



1.2                  sys-apps/portage/portage-2.1.6_rc1.ebuild

file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-apps/portage/portage-2.1.6_rc1.ebuild?rev=1.2&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-apps/portage/portage-2.1.6_rc1.ebuild?rev=1.2&content-type=text/plain
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-apps/portage/portage-2.1.6_rc1.ebuild?r1=1.1&r2=1.2

Index: portage-2.1.6_rc1.ebuild
===================================================================
RCS file: /var/cvsroot/gentoo-x86/sys-apps/portage/portage-2.1.6_rc1.ebuild,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- portage-2.1.6_rc1.ebuild	24 Nov 2008 05:56:35 -0000	1.1
+++ portage-2.1.6_rc1.ebuild	24 Nov 2008 18:03:57 -0000	1.2
@@ -1,6 +1,6 @@
 # Copyright 1999-2008 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/portage/portage-2.1.6_rc1.ebuild,v 1.1 2008/11/24 05:56:35 zmedico Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/portage/portage-2.1.6_rc1.ebuild,v 1.2 2008/11/24 18:03:57 zmedico Exp $
 
 inherit eutils multilib python
 
@@ -219,6 +219,8 @@
 	if [ -f "${ROOT}/etc/make.globals" ]; then
 		rm "${ROOT}/etc/make.globals"
 	fi
+	has_version ">=${CATEGORY}/${PN}-2.2_pre"
+	DOWNGRADE_FROM_2_2=$?
 }
 
 pkg_postinst() {
@@ -230,6 +232,15 @@
 	elog "For help with using portage please consult the Gentoo Handbook"
 	elog "at http://www.gentoo.org/doc/en/handbook/handbook-x86.xml?part=3"
 	elog
+
+	if [ $DOWNGRADE_FROM_2_2 = 0 ] ; then
+		ewarn
+		echo "Since you have downgraded from portage-2.2, do not forget to" \
+		"use revdep-rebuild when appropriate, since the @preserved-rebuild" \
+		"package set is only supported with portage-2.2." | fmt -w 70 | \
+		while read ; do ewarn "$REPLY" ; done
+		ewarn
+	fi
 }
 
 pkg_postrm() {






^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2008-11-24 18:04 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-11-24 18:03 [gentoo-commits] gentoo-x86 commit in sys-apps/portage: ChangeLog portage-2.1.6_rc1.ebuild Zac Medico (zmedico)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox