1 |
commit: 64045b6b9bfc70542981af55765f0e931e3a90f1 |
2 |
Author: Andreas K. Hüttel <dilfridge <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed May 1 18:46:34 2019 +0000 |
4 |
Commit: Andreas K. Hüttel <dilfridge <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed May 1 18:46:34 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=64045b6b |
7 |
|
8 |
sys-libs/glibc: Remove old |
9 |
|
10 |
Package-Manager: Portage-2.3.64, Repoman-2.3.12 |
11 |
Signed-off-by: Andreas K. Hüttel <dilfridge <AT> gentoo.org> |
12 |
|
13 |
sys-libs/glibc/Manifest | 2 - |
14 |
sys-libs/glibc/glibc-2.22-r4.ebuild | 148 ------------------------------------ |
15 |
2 files changed, 150 deletions(-) |
16 |
|
17 |
diff --git a/sys-libs/glibc/Manifest b/sys-libs/glibc/Manifest |
18 |
index 49cc077e29f..9b881cd1c83 100644 |
19 |
--- a/sys-libs/glibc/Manifest |
20 |
+++ b/sys-libs/glibc/Manifest |
21 |
@@ -2,8 +2,6 @@ DIST gcc-4.7.3-r1-multilib-bootstrap.tar.bz2 8064097 BLAKE2B 3cc5c82cd57d0fbd26d |
22 |
DIST gcc-multilib-bootstrap-20180511.tar.xz 2392908 BLAKE2B f3cf614399368acd8908f60d894c6344a2fa09383b30c1633a0682bc668367c8a2f8c6fec2d41b6e2178d709a2bd8db57e8b2ab56ba263c7d56f819c15acd061 SHA512 98c766e913693ab42ff790557acde2a36a8001e2648046a685b21964200df8d4d52d8452d499c0068c6648284d086ce062c2d36e2c6c2fd8aacd232d193f2853 |
23 |
DIST glibc-2.19-patches-9.tar.bz2 24584 BLAKE2B a96e930a5bd20fa75d9f259cc2117fa5ce98072274a24a5823bf877e3739fa4c001a94d7865e065ee0527f3974430d27da8038e042340a451ad2052c62724f26 SHA512 a95b3063ade974a3556480b798b317d33c7423a8cb9e69f67249ffb8b3d3c671d70d2d5f782c1efadc0bec4cc49a96d4fe89911f3dfcd85b459f69f3b4f38f0e |
24 |
DIST glibc-2.19.tar.xz 12083312 BLAKE2B 9dc03346e0f0df4bf009a92d894b0a9f964ff92b7f4c9663cedf1cb6cf90435f28a15539d33791ecf43ee578fa4e26f916af0367651312ef8f9c1c38ce0dafa2 SHA512 9e021fcb3afbb9ace2a0e37fded231a62de861bd766e29d47163a03182e37add718b7acc3963d1c525f9556773e842297725715acde48dcfbaab6e756af1a23d |
25 |
-DIST glibc-2.22-patches-13.tar.bz2 74479 BLAKE2B 1ab31614e8334508a63c842f503a395ff3ebeaa33d1890eab1d9e2985cb39064960053f2bbf99ec3bdec0ba5a80d259ca6b964fcaed9d99dcb6da84ddb8dd364 SHA512 73517fc1502b0733d67ade1d1ba6168415f5da64f37045fac0b10ef57155bf6dfbe1876e4742d2543fcea0c935c179426f6fbb94f0205968392ef903d2f83897 |
26 |
-DIST glibc-2.22.tar.xz 12969072 BLAKE2B 36a2e08cf4c5c9396c414fcf5cf5f32d0a78a61e06a1309fbc5f560bed7a7f25a084f5f5c1097014d0911239c710ac9c06f6b6d603238b9c928dd286ebd05bbf SHA512 a8719f3a4f8aa5fa81711116fdafbea5082c6dfd85bd8c4cdce60571910263ab422b35bb8b55a84d37ccb146442133ba60a84d453ca4a439c8ccd35419bd051b |
27 |
DIST glibc-2.23-patches-8.tar.bz2 304199 BLAKE2B 693e40090dbe43f0e9c1faa0bce75e43d5d3924b40c141f9d00ef147fd285b03e2c3bab6a32d1bf6978ca139c3f071f685d5caf1bffb1cce7e1d1f3c346e5c50 SHA512 470814bbbd9d4ee5fa2dd7570a2e14b0229723e373e801472856fd6c2f089499eddc300f69b49af8ba0edbdca583ee3ca521fdb5c642509717cafea0ad925fd2 |
28 |
DIST glibc-2.23.tar.xz 13455260 BLAKE2B 6658e9d2d07c5cd71be94ef399bfe4d18ef462e4154e2e02aa69c34198e881cc65ac8f89abcb37b3d01c56b10e2f47c036492c20e4991a54bd03e56db703fbd2 SHA512 b82953388cd028e174cb08f082557bbce0dad8b67b17d31b29f90102fd52a51e03d591448ecb64882a1c1d5303afffc7f6ede85cee4c784a9284fbc9b4ad26cf |
29 |
DIST glibc-2.24-patches-10.tar.bz2 73586 BLAKE2B f42cc78b907e7cb5c8ba1672c845cdc0959f4d29f89ff642bd2efa795d7ac69409b514338ac1f4235ce2fbc0c9c9bb2d152f55fd14c02997517dc048a306e1c1 SHA512 fc9191a85da53a2515bbaab228648936682e04267284049468e0c82284f618ab2907b9247baca701e16edc50640199ff6d8e2a6a93ccbd5a9d3b0eb73cc484ca |
30 |
|
31 |
diff --git a/sys-libs/glibc/glibc-2.22-r4.ebuild b/sys-libs/glibc/glibc-2.22-r4.ebuild |
32 |
deleted file mode 100644 |
33 |
index d6b644dd754..00000000000 |
34 |
--- a/sys-libs/glibc/glibc-2.22-r4.ebuild |
35 |
+++ /dev/null |
36 |
@@ -1,148 +0,0 @@ |
37 |
-# Copyright 1999-2018 Gentoo Foundation |
38 |
-# Distributed under the terms of the GNU General Public License v2 |
39 |
- |
40 |
-EAPI="4" |
41 |
- |
42 |
-inherit toolchain-glibc |
43 |
- |
44 |
-DESCRIPTION="GNU libc6 (also called glibc2) C library" |
45 |
-HOMEPAGE="https://www.gnu.org/software/libc/libc.html" |
46 |
- |
47 |
-LICENSE="LGPL-2.1+ BSD HPND ISC inner-net rc PCRE" |
48 |
-KEYWORDS="alpha amd64 arm arm64 hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86" |
49 |
-RESTRICT="strip" # strip ourself #46186 |
50 |
-EMULTILIB_PKG="true" |
51 |
- |
52 |
-# Configuration variables |
53 |
-RELEASE_VER="" |
54 |
-case ${PV} in |
55 |
-9999*) |
56 |
- EGIT_REPO_URIS="git://sourceware.org/git/glibc.git" |
57 |
- inherit git-r3 |
58 |
- ;; |
59 |
-*) |
60 |
- RELEASE_VER=${PV} |
61 |
- ;; |
62 |
-esac |
63 |
-GCC_BOOTSTRAP_VER="4.7.3-r1" |
64 |
-PATCH_VER="13" # Gentoo patchset |
65 |
-: ${NPTL_KERN_VER:="2.6.32"} # min kernel version nptl requires |
66 |
- |
67 |
-IUSE="debug gd hardened multilib nscd selinux systemtap profile suid vanilla headers-only" |
68 |
- |
69 |
-# Here's how the cross-compile logic breaks down ... |
70 |
-# CTARGET - machine that will target the binaries |
71 |
-# CHOST - machine that will host the binaries |
72 |
-# CBUILD - machine that will build the binaries |
73 |
-# If CTARGET != CHOST, it means you want a libc for cross-compiling. |
74 |
-# If CHOST != CBUILD, it means you want to cross-compile the libc. |
75 |
-# CBUILD = CHOST = CTARGET - native build/install |
76 |
-# CBUILD != (CHOST = CTARGET) - cross-compile a native build |
77 |
-# (CBUILD = CHOST) != CTARGET - libc for cross-compiler |
78 |
-# CBUILD != CHOST != CTARGET - cross-compile a libc for a cross-compiler |
79 |
-# For install paths: |
80 |
-# CHOST = CTARGET - install into / |
81 |
-# CHOST != CTARGET - install into /usr/CTARGET/ |
82 |
- |
83 |
-export CBUILD=${CBUILD:-${CHOST}} |
84 |
-export CTARGET=${CTARGET:-${CHOST}} |
85 |
-if [[ ${CTARGET} == ${CHOST} ]] ; then |
86 |
- if [[ ${CATEGORY} == cross-* ]] ; then |
87 |
- export CTARGET=${CATEGORY#cross-} |
88 |
- fi |
89 |
-fi |
90 |
- |
91 |
-is_crosscompile() { |
92 |
- [[ ${CHOST} != ${CTARGET} ]] |
93 |
-} |
94 |
- |
95 |
-# Why SLOT 2.2 you ask yourself while sippin your tea ? |
96 |
-# Everyone knows 2.2 > 0, duh. |
97 |
-SLOT="2.2" |
98 |
- |
99 |
-# General: We need a new-enough binutils/gcc to match upstream baseline. |
100 |
-# arch: we need to make sure our binutils/gcc supports TLS. |
101 |
-DEPEND=">=app-misc/pax-utils-0.1.10 |
102 |
- !<sys-apps/sandbox-1.6 |
103 |
- !<sys-apps/portage-2.1.2 |
104 |
- selinux? ( sys-libs/libselinux )" |
105 |
-RDEPEND="!sys-kernel/ps3-sources |
106 |
- sys-apps/gentoo-functions |
107 |
- selinux? ( sys-libs/libselinux ) |
108 |
- !sys-libs/nss-db" |
109 |
- |
110 |
-if [[ ${CATEGORY} == cross-* ]] ; then |
111 |
- DEPEND+=" !headers-only? ( |
112 |
- >=${CATEGORY}/binutils-2.24 |
113 |
- >=${CATEGORY}/gcc-4.6 |
114 |
- )" |
115 |
- [[ ${CATEGORY} == *-linux* ]] && DEPEND+=" ${CATEGORY}/linux-headers" |
116 |
-else |
117 |
- DEPEND+=" |
118 |
- >=sys-devel/binutils-2.24 |
119 |
- >=sys-devel/gcc-4.6 |
120 |
- virtual/os-headers" |
121 |
- RDEPEND+=" vanilla? ( !sys-libs/timezone-data )" |
122 |
- PDEPEND+=" !vanilla? ( sys-libs/timezone-data )" |
123 |
-fi |
124 |
- |
125 |
-upstream_uris() { |
126 |
- echo mirror://gnu/glibc/$1 ftp://sourceware.org/pub/glibc/{releases,snapshots}/$1 mirror://gentoo/$1 |
127 |
-} |
128 |
-gentoo_uris() { |
129 |
- local devspace="HTTP~vapier/dist/URI HTTP~azarah/glibc/URI" |
130 |
- devspace=${devspace//HTTP/https://dev.gentoo.org/} |
131 |
- echo mirror://gentoo/$1 ${devspace//URI/$1} |
132 |
-} |
133 |
-SRC_URI=$( |
134 |
- [[ -z ${EGIT_REPO_URIS} ]] && upstream_uris ${P}.tar.xz |
135 |
- [[ -n ${PATCH_VER} ]] && gentoo_uris ${P}-patches-${PATCH_VER}.tar.bz2 |
136 |
-) |
137 |
-SRC_URI+=" ${GCC_BOOTSTRAP_VER:+multilib? ( $(gentoo_uris gcc-${GCC_BOOTSTRAP_VER}-multilib-bootstrap.tar.bz2) )}" |
138 |
- |
139 |
-src_unpack() { |
140 |
- [[ -n ${GCC_BOOTSTRAP_VER} ]] && use multilib && unpack gcc-${GCC_BOOTSTRAP_VER}-multilib-bootstrap.tar.bz2 |
141 |
- # Bug 558636 we don't apply the pie works around for 2.22. It shoud have the support. #558636 |
142 |
- GLIBC_PATCH_EXCLUDE+=" 00_all_0002-workaround-crash-when-handling-signals-in-static-PIE.patch" |
143 |
- GLIBC_PATCH_EXCLUDE+=" 00_all_0012-disable-PIE-when-checking-for-PIC-default.patch" |
144 |
- |
145 |
- toolchain-glibc_src_unpack |
146 |
-} |
147 |
- |
148 |
-src_prepare() { |
149 |
- toolchain-glibc_src_prepare |
150 |
- |
151 |
- cd "${S}" |
152 |
- |
153 |
- epatch "${FILESDIR}"/2.19/${PN}-2.19-ia64-gcc-4.8-reloc-hack.patch #503838 |
154 |
- |
155 |
- if use hardened ; then |
156 |
- # We don't enable these for non-hardened as the output is very terse -- |
157 |
- # it only states that a crash happened. The default upstream behavior |
158 |
- # includes backtraces and symbols. |
159 |
- einfo "Installing Hardened Gentoo SSP and FORTIFY_SOURCE handler" |
160 |
- cp "${FILESDIR}"/2.20/glibc-2.20-gentoo-stack_chk_fail.c debug/stack_chk_fail.c || die |
161 |
- cp "${FILESDIR}"/2.20/glibc-2.20-gentoo-chk_fail.c debug/chk_fail.c || die |
162 |
- |
163 |
- if use debug ; then |
164 |
- # Allow SIGABRT to dump core on non-hardened systems, or when debug is requested. |
165 |
- sed -i \ |
166 |
- -e '/^CFLAGS-backtrace.c/ iCPPFLAGS-stack_chk_fail.c = -DSSP_SMASH_DUMPS_CORE' \ |
167 |
- -e '/^CFLAGS-backtrace.c/ iCPPFLAGS-chk_fail.c = -DSSP_SMASH_DUMPS_CORE' \ |
168 |
- debug/Makefile || die |
169 |
- fi |
170 |
- |
171 |
- # Build various bits with ssp-all |
172 |
- sed -i \ |
173 |
- -e 's:-fstack-protector$:-fstack-protector-all:' \ |
174 |
- */Makefile || die |
175 |
- fi |
176 |
- |
177 |
- case $(gcc-fullversion) in |
178 |
- 4.8.[0-3]|4.9.0) |
179 |
- eerror "You need to switch to a newer compiler; gcc-4.8.[0-3] and gcc-4.9.0 miscompile" |
180 |
- eerror "glibc. See https://bugs.gentoo.org/547420 for details." |
181 |
- die "need to switch compilers #547420" |
182 |
- ;; |
183 |
- esac |
184 |
-} |