1 |
commit: abfaca134102918ed6904bdd2ed08b6ea3949739 |
2 |
Author: Michael Mair-Keimberger <mmk <AT> levelnine <DOT> at> |
3 |
AuthorDate: Thu Mar 16 17:14:50 2023 +0000 |
4 |
Commit: Sam James <sam <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Mar 19 03:12:42 2023 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=abfaca13 |
7 |
|
8 |
dev-libs/openssl: remove unused file |
9 |
|
10 |
Signed-off-by: Michael Mair-Keimberger <mmk <AT> levelnine.at> |
11 |
Closes: https://github.com/gentoo/gentoo/pull/30156 |
12 |
Signed-off-by: Sam James <sam <AT> gentoo.org> |
13 |
|
14 |
dev-libs/openssl/files/gentoo.config-1.0.3 | 172 ----------------------------- |
15 |
1 file changed, 172 deletions(-) |
16 |
|
17 |
diff --git a/dev-libs/openssl/files/gentoo.config-1.0.3 b/dev-libs/openssl/files/gentoo.config-1.0.3 |
18 |
deleted file mode 100644 |
19 |
index 0662f72b6d80..000000000000 |
20 |
--- a/dev-libs/openssl/files/gentoo.config-1.0.3 |
21 |
+++ /dev/null |
22 |
@@ -1,172 +0,0 @@ |
23 |
-#!/usr/bin/env bash |
24 |
-# Copyright 1999-2020 Gentoo Authors |
25 |
-# Distributed under the terms of the GNU General Public License v2 |
26 |
-# |
27 |
-# Openssl doesn't play along nicely with cross-compiling |
28 |
-# like autotools based projects, so let's teach it new tricks. |
29 |
-# |
30 |
-# Review the bundled 'config' script to see why kind of targets |
31 |
-# we can pass to the 'Configure' script. |
32 |
- |
33 |
- |
34 |
-# Testing routines |
35 |
-if [[ $1 == "test" ]] ; then |
36 |
- for c in \ |
37 |
- "arm-gentoo-linux-uclibc |linux-generic32 -DL_ENDIAN" \ |
38 |
- "armv5b-linux-gnu |linux-armv4 -DB_ENDIAN" \ |
39 |
- "x86_64-pc-linux-gnu |linux-x86_64" \ |
40 |
- "alpha-linux-gnu |linux-alpha-gcc" \ |
41 |
- "alphaev56-unknown-linux-gnu |linux-alpha+bwx-gcc" \ |
42 |
- "i686-pc-linux-gnu |linux-elf" \ |
43 |
- "whatever-gentoo-freebsdX.Y |BSD-generic32" \ |
44 |
- "i686-gentoo-freebsdX.Y |BSD-x86-elf" \ |
45 |
- "sparc64-alpha-freebsdX.Y |BSD-sparc64" \ |
46 |
- "ia64-gentoo-freebsd5.99234 |BSD-ia64" \ |
47 |
- "x86_64-gentoo-freebsdX.Y |BSD-x86_64" \ |
48 |
- "hppa64-aldsF-linux-gnu5.3 |linux-generic32 -DB_ENDIAN" \ |
49 |
- "powerpc-gentOO-linux-uclibc |linux-ppc" \ |
50 |
- "powerpc64-unk-linux-gnu |linux-ppc64" \ |
51 |
- "powerpc64le-linux-gnu |linux-ppc64le" \ |
52 |
- "x86_64-apple-darwinX |darwin64-x86_64-cc" \ |
53 |
- "powerpc64-apple-darwinX |darwin64-ppc-cc" \ |
54 |
- "i686-apple-darwinX |darwin-i386-cc" \ |
55 |
- "i386-apple-darwinX |darwin-i386-cc" \ |
56 |
- "powerpc-apple-darwinX |darwin-ppc-cc" \ |
57 |
- "i586-pc-winnt |winnt-parity" \ |
58 |
- "s390-ibm-linux-gnu |linux-generic32 -DB_ENDIAN" \ |
59 |
- "s390x-linux-gnu |linux64-s390x" \ |
60 |
- ;do |
61 |
- CHOST=${c/|*} |
62 |
- ret_want=${c/*|} |
63 |
- ret_got=$(CHOST=${CHOST} "$0") |
64 |
- |
65 |
- if [[ ${ret_want} == "${ret_got}" ]] ; then |
66 |
- echo "PASS: ${CHOST}" |
67 |
- else |
68 |
- echo "FAIL: ${CHOST}" |
69 |
- echo -e "\twanted: ${ret_want}" |
70 |
- echo -e "\twe got: ${ret_got}" |
71 |
- fi |
72 |
- done |
73 |
- exit 0 |
74 |
-fi |
75 |
-[[ -z ${CHOST} && -n $1 ]] && CHOST=$1 |
76 |
- |
77 |
- |
78 |
-# Detect the operating system |
79 |
-case ${CHOST} in |
80 |
- *-aix*) system="aix";; |
81 |
- *-darwin*) system="darwin";; |
82 |
- *-freebsd*) system="BSD";; |
83 |
- *-hpux*) system="hpux";; |
84 |
- *-linux*) system="linux";; |
85 |
- *-solaris*) system="solaris";; |
86 |
- *-winnt*) system="winnt";; |
87 |
- x86_64-*-mingw*) system="mingw64";; |
88 |
- *mingw*) system="mingw";; |
89 |
- *) exit 0;; |
90 |
-esac |
91 |
- |
92 |
- |
93 |
-# Compiler munging |
94 |
-compiler="gcc" |
95 |
-if [[ ${CC} == "ccc" ]] ; then |
96 |
- compiler=${CC} |
97 |
-fi |
98 |
- |
99 |
- |
100 |
-# Detect target arch |
101 |
-machine="" |
102 |
-chost_machine=${CHOST%%-*} |
103 |
-case ${system} in |
104 |
-linux) |
105 |
- case ${chost_machine}:${ABI} in |
106 |
- aarch64*be*) machine="aarch64 -DB_ENDIAN";; |
107 |
- aarch64*) machine="aarch64 -DL_ENDIAN";; |
108 |
- alphaev56*|\ |
109 |
- alphaev[678]*)machine=alpha+bwx-${compiler};; |
110 |
- alpha*) machine=alpha-${compiler};; |
111 |
- armv[4-9]*b*) machine="armv4 -DB_ENDIAN";; |
112 |
- armv[4-9]*) machine="armv4 -DL_ENDIAN";; |
113 |
- arm*b*) machine="generic32 -DB_ENDIAN";; |
114 |
- arm*) machine="generic32 -DL_ENDIAN";; |
115 |
- avr*) machine="generic32 -DL_ENDIAN";; |
116 |
- bfin*) machine="generic32 -DL_ENDIAN";; |
117 |
- # hppa64*) machine=parisc64;; |
118 |
- hppa*) machine="generic32 -DB_ENDIAN";; |
119 |
- i[0-9]86*|\ |
120 |
- x86_64*:x86) machine=elf;; |
121 |
- ia64*) machine=ia64;; |
122 |
- loongarch64*) machine="generic64 -DL_ENDIAN";; |
123 |
- m68*) machine="latomic -DB_ENDIAN";; |
124 |
- mips*el*) machine="generic32 -DL_ENDIAN";; |
125 |
- mips*) machine="generic32 -DB_ENDIAN";; |
126 |
- powerpc64*le*)machine=ppc64le;; |
127 |
- powerpc64*) machine=ppc64;; |
128 |
- powerpc*le*) machine="generic32 -DL_ENDIAN";; |
129 |
- powerpc*) machine=ppc;; |
130 |
- riscv32*) machine="generic32 -DL_ENDIAN";; |
131 |
- riscv64*) machine="generic64 -DL_ENDIAN";; |
132 |
- # sh64*) machine=elf;; |
133 |
- sh*b*) machine="generic32 -DB_ENDIAN";; |
134 |
- sh*) machine="generic32 -DL_ENDIAN";; |
135 |
- # TODO: Might want to do -mcpu probing like glibc to determine a |
136 |
- # better default for sparc-linux-gnu targets. This logic will |
137 |
- # break v7 and older systems when they use it. |
138 |
- sparc*v7*) machine="generic32 -DB_ENDIAN";; |
139 |
- sparc64*) machine=sparcv9 system=linux64;; |
140 |
- sparc*v9*) machine=sparcv9;; |
141 |
- sparc*v8*) machine=sparcv8;; |
142 |
- sparc*) machine=sparcv8;; |
143 |
- s390x*) machine=s390x system=linux64;; |
144 |
- s390*) machine="generic32 -DB_ENDIAN";; |
145 |
- x86_64*:x32) machine=x32;; |
146 |
- x86_64*) machine=x86_64;; |
147 |
- esac |
148 |
- ;; |
149 |
-BSD) |
150 |
- case ${chost_machine} in |
151 |
- alpha*) machine=generic64;; |
152 |
- i[6-9]86*) machine=x86-elf;; |
153 |
- ia64*) machine=ia64;; |
154 |
- sparc64*) machine=sparc64;; |
155 |
- x86_64*) machine=x86_64;; |
156 |
- *) machine=generic32;; |
157 |
- esac |
158 |
- ;; |
159 |
-aix) |
160 |
- machine=${compiler} |
161 |
- ;; |
162 |
-darwin) |
163 |
- case ${chost_machine} in |
164 |
- powerpc64) machine=ppc-cc; system=${system}64;; |
165 |
- powerpc) machine=ppc-cc;; |
166 |
- i?86*) machine=i386-cc;; |
167 |
- x86_64) machine=x86_64-cc; system=${system}64;; |
168 |
- esac |
169 |
- ;; |
170 |
-hpux) |
171 |
- case ${chost_machine} in |
172 |
- ia64) machine=ia64-${compiler} ;; |
173 |
- esac |
174 |
- ;; |
175 |
-solaris) |
176 |
- case ${chost_machine} in |
177 |
- i386) machine=x86-${compiler} ;; |
178 |
- x86_64*) machine=x86_64-${compiler}; system=${system}64;; |
179 |
- sparcv9*) machine=sparcv9-${compiler}; system=${system}64;; |
180 |
- sparc*) machine=sparcv8-${compiler};; |
181 |
- esac |
182 |
- ;; |
183 |
-winnt) |
184 |
- machine=parity |
185 |
- ;; |
186 |
-mingw*) |
187 |
- # special case ... no xxx-yyy style name |
188 |
- echo ${system} |
189 |
- ;; |
190 |
-esac |
191 |
- |
192 |
- |
193 |
-# If we have something, show it |
194 |
-[[ -n ${machine} ]] && echo ${system}-${machine} |