1 |
commit: cbda286a2f7c63bf8075cb999e64c26835530c68 |
2 |
Author: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Oct 24 21:41:26 2018 +0000 |
4 |
Commit: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Oct 24 21:41:39 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cbda286a |
7 |
|
8 |
sys-libs/glibc: drop PIE ewarn |
9 |
|
10 |
The ewarn lacks '<gcc-6' guard. Let's drop ewarn completely. |
11 |
|
12 |
Reported-by: Alexander Tsoy |
13 |
Closes: https://bugs.gentoo.org/669410 |
14 |
Signed-off-by: Sergei Trofimovich <slyfox <AT> gentoo.org> |
15 |
Package-Manager: Portage-2.3.51, Repoman-2.3.11 |
16 |
|
17 |
sys-libs/glibc/glibc-2.19-r2.ebuild | 5 +---- |
18 |
sys-libs/glibc/glibc-2.26-r7.ebuild | 5 +---- |
19 |
sys-libs/glibc/glibc-2.27-r6.ebuild | 3 --- |
20 |
sys-libs/glibc/glibc-2.28-r1.ebuild | 3 --- |
21 |
sys-libs/glibc/glibc-2.28.ebuild | 5 +---- |
22 |
sys-libs/glibc/glibc-9999.ebuild | 3 --- |
23 |
6 files changed, 3 insertions(+), 21 deletions(-) |
24 |
|
25 |
diff --git a/sys-libs/glibc/glibc-2.19-r2.ebuild b/sys-libs/glibc/glibc-2.19-r2.ebuild |
26 |
index 3ff1fb95b99..496ac4d5a31 100644 |
27 |
--- a/sys-libs/glibc/glibc-2.19-r2.ebuild |
28 |
+++ b/sys-libs/glibc/glibc-2.19-r2.ebuild |
29 |
@@ -1,4 +1,4 @@ |
30 |
-# Copyright 1999-2018 Gentoo Foundation |
31 |
+# Copyright 1999-2018 Gentoo Authors |
32 |
# Distributed under the terms of the GNU General Public License v2 |
33 |
|
34 |
EAPI=6 |
35 |
@@ -628,9 +628,6 @@ sanity_prechecks() { |
36 |
ewarn "hypervisor, which is probably not what you want." |
37 |
fi |
38 |
|
39 |
- use hardened && ! tc-enables-pie && \ |
40 |
- ewarn "PIE hardening not applied, as your compiler doesn't default to PIE" |
41 |
- |
42 |
# Check for sanity of /etc/nsswitch.conf |
43 |
if [[ -e ${EROOT}/etc/nsswitch.conf ]] ; then |
44 |
local entry |
45 |
|
46 |
diff --git a/sys-libs/glibc/glibc-2.26-r7.ebuild b/sys-libs/glibc/glibc-2.26-r7.ebuild |
47 |
index f912fc41765..75c16e8a73b 100644 |
48 |
--- a/sys-libs/glibc/glibc-2.26-r7.ebuild |
49 |
+++ b/sys-libs/glibc/glibc-2.26-r7.ebuild |
50 |
@@ -1,4 +1,4 @@ |
51 |
-# Copyright 1999-2018 Gentoo Foundation |
52 |
+# Copyright 1999-2018 Gentoo Authors |
53 |
# Distributed under the terms of the GNU General Public License v2 |
54 |
|
55 |
EAPI=6 |
56 |
@@ -164,9 +164,6 @@ pkg_pretend() { |
57 |
ewarn "hypervisor, which is probably not what you want." |
58 |
fi |
59 |
|
60 |
- use hardened && ! tc-enables-pie && \ |
61 |
- ewarn "PIE hardening not applied, as your compiler doesn't default to PIE" |
62 |
- |
63 |
# Make sure host system is up to date #394453 |
64 |
if has_version '<sys-libs/glibc-2.13' && \ |
65 |
[[ -n $(scanelf -qys__guard -F'#s%F' "${EROOT}"/lib*/l*-*.so) ]] |
66 |
|
67 |
diff --git a/sys-libs/glibc/glibc-2.27-r6.ebuild b/sys-libs/glibc/glibc-2.27-r6.ebuild |
68 |
index b176360b42d..fd3b74726e1 100644 |
69 |
--- a/sys-libs/glibc/glibc-2.27-r6.ebuild |
70 |
+++ b/sys-libs/glibc/glibc-2.27-r6.ebuild |
71 |
@@ -638,9 +638,6 @@ sanity_prechecks() { |
72 |
ewarn "hypervisor, which is probably not what you want." |
73 |
fi |
74 |
|
75 |
- use hardened && ! tc-enables-pie && \ |
76 |
- ewarn "PIE hardening not applied, as your compiler doesn't default to PIE" |
77 |
- |
78 |
# Check for sanity of /etc/nsswitch.conf |
79 |
if [[ -e ${EROOT}/etc/nsswitch.conf ]] ; then |
80 |
local entry |
81 |
|
82 |
diff --git a/sys-libs/glibc/glibc-2.28-r1.ebuild b/sys-libs/glibc/glibc-2.28-r1.ebuild |
83 |
index 5d2d8b788b9..8fe52086831 100644 |
84 |
--- a/sys-libs/glibc/glibc-2.28-r1.ebuild |
85 |
+++ b/sys-libs/glibc/glibc-2.28-r1.ebuild |
86 |
@@ -642,9 +642,6 @@ sanity_prechecks() { |
87 |
ewarn "hypervisor, which is probably not what you want." |
88 |
fi |
89 |
|
90 |
- use hardened && ! tc-enables-pie && \ |
91 |
- ewarn "PIE hardening not applied, as your compiler doesn't default to PIE" |
92 |
- |
93 |
# Check for sanity of /etc/nsswitch.conf |
94 |
if [[ -e ${EROOT}/etc/nsswitch.conf ]] ; then |
95 |
local entry |
96 |
|
97 |
diff --git a/sys-libs/glibc/glibc-2.28.ebuild b/sys-libs/glibc/glibc-2.28.ebuild |
98 |
index 8fa03e36304..85d8179bb38 100644 |
99 |
--- a/sys-libs/glibc/glibc-2.28.ebuild |
100 |
+++ b/sys-libs/glibc/glibc-2.28.ebuild |
101 |
@@ -1,4 +1,4 @@ |
102 |
-# Copyright 1999-2018 Gentoo Foundation |
103 |
+# Copyright 1999-2018 Gentoo Authors |
104 |
# Distributed under the terms of the GNU General Public License v2 |
105 |
|
106 |
EAPI=6 |
107 |
@@ -642,9 +642,6 @@ sanity_prechecks() { |
108 |
ewarn "hypervisor, which is probably not what you want." |
109 |
fi |
110 |
|
111 |
- use hardened && ! tc-enables-pie && \ |
112 |
- ewarn "PIE hardening not applied, as your compiler doesn't default to PIE" |
113 |
- |
114 |
# Check for sanity of /etc/nsswitch.conf |
115 |
if [[ -e ${EROOT}/etc/nsswitch.conf ]] ; then |
116 |
local entry |
117 |
|
118 |
diff --git a/sys-libs/glibc/glibc-9999.ebuild b/sys-libs/glibc/glibc-9999.ebuild |
119 |
index 8da63740e85..9284afea866 100644 |
120 |
--- a/sys-libs/glibc/glibc-9999.ebuild |
121 |
+++ b/sys-libs/glibc/glibc-9999.ebuild |
122 |
@@ -642,9 +642,6 @@ sanity_prechecks() { |
123 |
ewarn "hypervisor, which is probably not what you want." |
124 |
fi |
125 |
|
126 |
- use hardened && ! tc-enables-pie && \ |
127 |
- ewarn "PIE hardening not applied, as your compiler doesn't default to PIE" |
128 |
- |
129 |
# Check for sanity of /etc/nsswitch.conf |
130 |
if [[ -e ${EROOT}/etc/nsswitch.conf ]] ; then |
131 |
local entry |