1 |
vapier 08/03/10 15:22:13 |
2 |
|
3 |
Modified: ChangeLog glibc-2.7.ebuild glibc-2.7-r1.ebuild |
4 |
glibc-2.6.1.ebuild |
5 |
Log: |
6 |
Only check for downgrades on the native glibc version ... let people screw up any other system #212912. |
7 |
(Portage version: 2.2_pre2) |
8 |
|
9 |
Revision Changes Path |
10 |
1.573 sys-libs/glibc/ChangeLog |
11 |
|
12 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-libs/glibc/ChangeLog?rev=1.573&view=markup |
13 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-libs/glibc/ChangeLog?rev=1.573&content-type=text/plain |
14 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-libs/glibc/ChangeLog?r1=1.572&r2=1.573 |
15 |
|
16 |
Index: ChangeLog |
17 |
=================================================================== |
18 |
RCS file: /var/cvsroot/gentoo-x86/sys-libs/glibc/ChangeLog,v |
19 |
retrieving revision 1.572 |
20 |
retrieving revision 1.573 |
21 |
diff -u -r1.572 -r1.573 |
22 |
--- ChangeLog 16 Jan 2008 22:46:12 -0000 1.572 |
23 |
+++ ChangeLog 10 Mar 2008 15:22:13 -0000 1.573 |
24 |
@@ -1,6 +1,11 @@ |
25 |
# ChangeLog for sys-libs/glibc |
26 |
# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 |
27 |
-# $Header: /var/cvsroot/gentoo-x86/sys-libs/glibc/ChangeLog,v 1.572 2008/01/16 22:46:12 vapier Exp $ |
28 |
+# $Header: /var/cvsroot/gentoo-x86/sys-libs/glibc/ChangeLog,v 1.573 2008/03/10 15:22:13 vapier Exp $ |
29 |
+ |
30 |
+ 10 Mar 2008; Mike Frysinger <vapier@g.o> glibc-2.6.1.ebuild, |
31 |
+ glibc-2.7.ebuild, glibc-2.7-r1.ebuild: |
32 |
+ Only check for downgrades on the native glibc version ... let people screw |
33 |
+ up any other system #212912. |
34 |
|
35 |
16 Jan 2008; Mike Frysinger <vapier@g.o> glibc-2.7-r1.ebuild: |
36 |
Add some ~sparc love. |
37 |
|
38 |
|
39 |
|
40 |
1.10 sys-libs/glibc/glibc-2.7.ebuild |
41 |
|
42 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-libs/glibc/glibc-2.7.ebuild?rev=1.10&view=markup |
43 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-libs/glibc/glibc-2.7.ebuild?rev=1.10&content-type=text/plain |
44 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-libs/glibc/glibc-2.7.ebuild?r1=1.9&r2=1.10 |
45 |
|
46 |
Index: glibc-2.7.ebuild |
47 |
=================================================================== |
48 |
RCS file: /var/cvsroot/gentoo-x86/sys-libs/glibc/glibc-2.7.ebuild,v |
49 |
retrieving revision 1.9 |
50 |
retrieving revision 1.10 |
51 |
diff -u -r1.9 -r1.10 |
52 |
--- glibc-2.7.ebuild 18 Nov 2007 03:49:31 -0000 1.9 |
53 |
+++ glibc-2.7.ebuild 10 Mar 2008 15:22:13 -0000 1.10 |
54 |
@@ -1,6 +1,6 @@ |
55 |
-# Copyright 1999-2007 Gentoo Foundation |
56 |
+# Copyright 1999-2008 Gentoo Foundation |
57 |
# Distributed under the terms of the GNU General Public License v2 |
58 |
-# $Header: /var/cvsroot/gentoo-x86/sys-libs/glibc/glibc-2.7.ebuild,v 1.9 2007/11/18 03:49:31 vapier Exp $ |
59 |
+# $Header: /var/cvsroot/gentoo-x86/sys-libs/glibc/glibc-2.7.ebuild,v 1.10 2008/03/10 15:22:13 vapier Exp $ |
60 |
|
61 |
inherit eutils versionator libtool toolchain-funcs flag-o-matic gnuconfig multilib |
62 |
|
63 |
@@ -190,7 +190,7 @@ |
64 |
pkg_setup() { |
65 |
# prevent native builds from downgrading ... maybe update to allow people |
66 |
# to change between diff -r versions ? (2.3.6-r4 -> 2.3.6-r2) |
67 |
- if [[ ${ROOT} != "/" ]] && ! tc-is-cross-compiler ; then |
68 |
+ if [[ ${ROOT} == "/" ]] && [[ ${CBUILD} == ${CHOST} ]] && [[ ${CHOST} == ${CTARGET} ]] ; then |
69 |
if has_version '>'${CATEGORY}/${PF} ; then |
70 |
eerror "Sanity check to keep you from breaking your system:" |
71 |
eerror " Downgrading glibc is not supported and a sure way to destruction" |
72 |
|
73 |
|
74 |
|
75 |
1.10 sys-libs/glibc/glibc-2.7-r1.ebuild |
76 |
|
77 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-libs/glibc/glibc-2.7-r1.ebuild?rev=1.10&view=markup |
78 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-libs/glibc/glibc-2.7-r1.ebuild?rev=1.10&content-type=text/plain |
79 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-libs/glibc/glibc-2.7-r1.ebuild?r1=1.9&r2=1.10 |
80 |
|
81 |
Index: glibc-2.7-r1.ebuild |
82 |
=================================================================== |
83 |
RCS file: /var/cvsroot/gentoo-x86/sys-libs/glibc/glibc-2.7-r1.ebuild,v |
84 |
retrieving revision 1.9 |
85 |
retrieving revision 1.10 |
86 |
diff -u -r1.9 -r1.10 |
87 |
--- glibc-2.7-r1.ebuild 10 Feb 2008 00:24:29 -0000 1.9 |
88 |
+++ glibc-2.7-r1.ebuild 10 Mar 2008 15:22:13 -0000 1.10 |
89 |
@@ -1,6 +1,6 @@ |
90 |
# Copyright 1999-2008 Gentoo Foundation |
91 |
# Distributed under the terms of the GNU General Public License v2 |
92 |
-# $Header: /var/cvsroot/gentoo-x86/sys-libs/glibc/glibc-2.7-r1.ebuild,v 1.9 2008/02/10 00:24:29 vapier Exp $ |
93 |
+# $Header: /var/cvsroot/gentoo-x86/sys-libs/glibc/glibc-2.7-r1.ebuild,v 1.10 2008/03/10 15:22:13 vapier Exp $ |
94 |
|
95 |
inherit eutils versionator libtool toolchain-funcs flag-o-matic gnuconfig multilib |
96 |
|
97 |
@@ -190,7 +190,7 @@ |
98 |
pkg_setup() { |
99 |
# prevent native builds from downgrading ... maybe update to allow people |
100 |
# to change between diff -r versions ? (2.3.6-r4 -> 2.3.6-r2) |
101 |
- if [[ ${ROOT} != "/" ]] && ! tc-is-cross-compiler ; then |
102 |
+ if [[ ${ROOT} == "/" ]] && [[ ${CBUILD} == ${CHOST} ]] && [[ ${CHOST} == ${CTARGET} ]] ; then |
103 |
if has_version '>'${CATEGORY}/${PF} ; then |
104 |
eerror "Sanity check to keep you from breaking your system:" |
105 |
eerror " Downgrading glibc is not supported and a sure way to destruction" |
106 |
|
107 |
|
108 |
|
109 |
1.19 sys-libs/glibc/glibc-2.6.1.ebuild |
110 |
|
111 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-libs/glibc/glibc-2.6.1.ebuild?rev=1.19&view=markup |
112 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-libs/glibc/glibc-2.6.1.ebuild?rev=1.19&content-type=text/plain |
113 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-libs/glibc/glibc-2.6.1.ebuild?r1=1.18&r2=1.19 |
114 |
|
115 |
Index: glibc-2.6.1.ebuild |
116 |
=================================================================== |
117 |
RCS file: /var/cvsroot/gentoo-x86/sys-libs/glibc/glibc-2.6.1.ebuild,v |
118 |
retrieving revision 1.18 |
119 |
retrieving revision 1.19 |
120 |
diff -u -r1.18 -r1.19 |
121 |
--- glibc-2.6.1.ebuild 28 Feb 2008 17:48:05 -0000 1.18 |
122 |
+++ glibc-2.6.1.ebuild 10 Mar 2008 15:22:13 -0000 1.19 |
123 |
@@ -1,6 +1,6 @@ |
124 |
-# Copyright 1999-2007 Gentoo Foundation |
125 |
+# Copyright 1999-2008 Gentoo Foundation |
126 |
# Distributed under the terms of the GNU General Public License v2 |
127 |
-# $Header: /var/cvsroot/gentoo-x86/sys-libs/glibc/glibc-2.6.1.ebuild,v 1.18 2008/02/28 17:48:05 vapier Exp $ |
128 |
+# $Header: /var/cvsroot/gentoo-x86/sys-libs/glibc/glibc-2.6.1.ebuild,v 1.19 2008/03/10 15:22:13 vapier Exp $ |
129 |
|
130 |
inherit eutils versionator libtool toolchain-funcs flag-o-matic gnuconfig multilib |
131 |
|
132 |
@@ -189,7 +189,7 @@ |
133 |
pkg_setup() { |
134 |
# prevent native builds from downgrading ... maybe update to allow people |
135 |
# to change between diff -r versions ? (2.3.6-r4 -> 2.3.6-r2) |
136 |
- if [[ ${ROOT} != "/" ]] && ! tc-is-cross-compiler ; then |
137 |
+ if [[ ${ROOT} == "/" ]] && [[ ${CBUILD} == ${CHOST} ]] && [[ ${CHOST} == ${CTARGET} ]] ; then |
138 |
if has_version '>'${CATEGORY}/${PF} ; then |
139 |
eerror "Sanity check to keep you from breaking your system:" |
140 |
eerror " Downgrading glibc is not supported and a sure way to destruction" |
141 |
|
142 |
|
143 |
|
144 |
-- |
145 |
gentoo-commits@l.g.o mailing list |