1 |
commit: b51aa320750166169ba8f8f9d6ecfe9fdfc9cc73 |
2 |
Author: Mikle Kolyada <zlogene <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Jan 28 00:45:01 2018 +0000 |
4 |
Commit: Mikle Kolyada <zlogene <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Jan 28 00:45:01 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b51aa320 |
7 |
|
8 |
app-crypt/nistp224: remove last rited package |
9 |
|
10 |
app-crypt/nistp224/Manifest | 1 - |
11 |
.../nistp224/files/nistp224-0.75-asmfix.patch | 39 ----------- |
12 |
.../files/nistp224-0.75-declare-exit.patch | 18 ----- |
13 |
.../nistp224/files/nistp224-0.75-honour-CC.patch | 79 ---------------------- |
14 |
app-crypt/nistp224/metadata.xml | 11 --- |
15 |
app-crypt/nistp224/nistp224-0.75-r1.ebuild | 56 --------------- |
16 |
6 files changed, 204 deletions(-) |
17 |
|
18 |
diff --git a/app-crypt/nistp224/Manifest b/app-crypt/nistp224/Manifest |
19 |
deleted file mode 100644 |
20 |
index 41a6383be14..00000000000 |
21 |
--- a/app-crypt/nistp224/Manifest |
22 |
+++ /dev/null |
23 |
@@ -1 +0,0 @@ |
24 |
-DIST nistp224-0.75.tar.gz 204747 BLAKE2B b665a477b3e6fea56ddaf663ab0794bf0201de3ed8857173f1328cbf9a4f130cdbbf79b6d02a40f33fe41f9d31ccf9916ad2329124ab11e07762216a25aa97f8 SHA512 1f15000e2d62b4a550599632949728b8c81cae61a91c28685c808263d363ef6985fda343ba982ea6ce48314bc4c245b3f099c5e05d2ebac81a0410f4960ffb88 |
25 |
|
26 |
diff --git a/app-crypt/nistp224/files/nistp224-0.75-asmfix.patch b/app-crypt/nistp224/files/nistp224-0.75-asmfix.patch |
27 |
deleted file mode 100644 |
28 |
index fd6bfa17109..00000000000 |
29 |
--- a/app-crypt/nistp224/files/nistp224-0.75-asmfix.patch |
30 |
+++ /dev/null |
31 |
@@ -1,39 +0,0 @@ |
32 |
-diff -ru math.orig/nistp224-0.75/src/opt-idea64.c math/nistp224-0.75/src/opt-idea64.c |
33 |
---- math.orig/nistp224-0.75/src/opt-idea64.c 2001-10-19 06:39:19.000000000 +1000 |
34 |
-+++ math/nistp224-0.75/src/opt-idea64.c 2007-01-30 11:30:08.000000000 +1100 |
35 |
-@@ -2,7 +2,8 @@ |
36 |
- |
37 |
- static void fpmode(void) |
38 |
- { |
39 |
-- asm volatile("fldcw %0"::"m"(0x137f)); |
40 |
-+ static short int x=0x137f; |
41 |
-+ asm volatile("fldcw %0"::"m"(*&x)); |
42 |
- } |
43 |
- |
44 |
- #define T0 1.0 |
45 |
-diff -ru math.orig/nistp224-0.75/src/opt-pentium.c math/nistp224-0.75/src/opt-pentium.c |
46 |
---- math.orig/nistp224-0.75/src/opt-pentium.c 2001-10-19 06:39:19.000000000 +1000 |
47 |
-+++ math/nistp224-0.75/src/opt-pentium.c 2007-01-30 11:30:44.000000000 +1100 |
48 |
-@@ -129,7 +129,8 @@ |
49 |
- |
50 |
- static inline void fpmode(void) |
51 |
- { |
52 |
-- asm volatile("fldcw %0"::"m"(0x137f)); |
53 |
-+ static short int x=0x137f; |
54 |
-+ asm volatile("fldcw %0"::"m"(*&x)); |
55 |
- } |
56 |
- |
57 |
- static void p_sqrt(double out[8],const double in[8]) |
58 |
-diff -ru math.orig/nistp224-0.75/src/opt-ppro.c math/nistp224-0.75/src/opt-ppro.c |
59 |
---- math.orig/nistp224-0.75/src/opt-ppro.c 2001-10-19 06:39:19.000000000 +1000 |
60 |
-+++ math/nistp224-0.75/src/opt-ppro.c 2007-01-30 11:30:27.000000000 +1100 |
61 |
-@@ -120,7 +120,8 @@ |
62 |
- |
63 |
- static inline void fpmode(void) |
64 |
- { |
65 |
-- asm volatile("fldcw %0"::"m"(0x137f)); |
66 |
-+ static short int x=0x137f; |
67 |
-+ asm volatile("fldcw %0"::"m"(*&x)); |
68 |
- } |
69 |
- |
70 |
- static void p_sqrt(double out[8],const double in[8]) |
71 |
|
72 |
diff --git a/app-crypt/nistp224/files/nistp224-0.75-declare-exit.patch b/app-crypt/nistp224/files/nistp224-0.75-declare-exit.patch |
73 |
deleted file mode 100644 |
74 |
index a1ecb432a02..00000000000 |
75 |
--- a/app-crypt/nistp224/files/nistp224-0.75-declare-exit.patch |
76 |
+++ /dev/null |
77 |
@@ -1,18 +0,0 @@ |
78 |
-diff -Naur nistp224-0.75.orig/src/main.c nistp224-0.75/src/main.c |
79 |
---- math.orig/nistp224-0.75/src/main.c 2008-01-26 21:56:34.000000000 +0100 |
80 |
-+++ math/nistp224-0.75/src/main.c 2008-01-26 22:05:17.000000000 +0100 |
81 |
-@@ -1,4 +1,5 @@ |
82 |
- #include <stdio.h> |
83 |
-+#include <stdlib.h> |
84 |
- #include "nistp224.h" |
85 |
- |
86 |
- unsigned char e[28]; |
87 |
-diff -Naur nistp224-0.75.orig/src/nistp224-56.c nistp224-0.75/src/nistp224-56.c |
88 |
---- math.orig/nistp224-0.75/src/nistp224-56.c 2008-01-26 21:56:34.000000000 +0100 |
89 |
-+++ math/nistp224-0.75/src/nistp224-56.c 2008-01-26 21:57:10.000000000 +0100 |
90 |
-@@ -1,4 +1,5 @@ |
91 |
- #include <stdio.h> |
92 |
-+#include <stdlib.h> |
93 |
- #include "nistp224.h" |
94 |
- |
95 |
- unsigned char e[28]; |
96 |
|
97 |
diff --git a/app-crypt/nistp224/files/nistp224-0.75-honour-CC.patch b/app-crypt/nistp224/files/nistp224-0.75-honour-CC.patch |
98 |
deleted file mode 100644 |
99 |
index 1f5a938c2cc..00000000000 |
100 |
--- a/app-crypt/nistp224/files/nistp224-0.75-honour-CC.patch |
101 |
+++ /dev/null |
102 |
@@ -1,79 +0,0 @@ |
103 |
---- Makefile.orig 2008-11-04 22:36:26.000000000 +0100 |
104 |
-+++ Makefile 2008-11-04 22:40:08.000000000 +0100 |
105 |
-@@ -1,3 +1,5 @@ |
106 |
-+CC=`head -n 1 conf-cc` |
107 |
-+ |
108 |
- default: it |
109 |
- |
110 |
- clean: |
111 |
-@@ -108,7 +110,7 @@ |
112 |
- hasrpcc.h load rts rts.exp speed systype |
113 |
- rm -f sysdeps |
114 |
- echo nistp224 0.75 >> sysdeps |
115 |
-- gcc --version >> sysdeps |
116 |
-+ ${CC} --version >> sysdeps |
117 |
- cat systype compile load >> sysdeps |
118 |
- grep sysdep hasgethr.h >> sysdeps |
119 |
- grep sysdep hasrdtsc.h >> sysdeps |
120 |
---- find-systype.sh.orig 2008-11-04 22:35:18.000000000 +0100 |
121 |
-+++ find-systype.sh 2008-11-04 22:36:51.000000000 +0100 |
122 |
-@@ -79,8 +79,8 @@ |
123 |
- ;; |
124 |
- esac |
125 |
- else |
126 |
-- gcc -c trycpp.c |
127 |
-- gcc -o trycpp trycpp.o |
128 |
-+ ${CC} -c trycpp.c |
129 |
-+ ${CC} -o trycpp trycpp.o |
130 |
- case `./trycpp` in |
131 |
- nextstep) |
132 |
- oper="nextstep-`hostinfo | sed -n 's/^[ ]*NeXT Mach \([^:]*\):.*$/\1/p'`" |
133 |
---- print-cc.sh.orig 2008-11-04 22:34:51.000000000 +0100 |
134 |
-+++ print-cc.sh 2008-11-04 22:35:04.000000000 +0100 |
135 |
-@@ -1,46 +1,5 @@ |
136 |
- cc="`head -n 1 conf-cc`" |
137 |
- systype="`cat systype`" |
138 |
- |
139 |
-- |
140 |
--gcc -c trycpp.c -malign-double >/dev/null 2>&1 \ |
141 |
--&& gccad="-malign-double" |
142 |
-- |
143 |
--gcc -c trycpp.c -mcpu=ultrasparc >/dev/null 2>&1 \ |
144 |
--&& gccus="-mcpu=ultrasparc" |
145 |
-- |
146 |
--gcc -c trycpp.c -mcpu=powerpc >/dev/null 2>&1 \ |
147 |
--&& gccpp="-mcpu=powerpc" |
148 |
-- |
149 |
--gcc -c trycpp.c -mcpu=21164 >/dev/null 2>&1 \ |
150 |
--&& gcc21="-mcpu=21164" |
151 |
-- |
152 |
--rm -f trycpp.o |
153 |
-- |
154 |
-- |
155 |
--gccbase="gcc -fomit-frame-pointer -Wimplicit -Wunused -Wcomment -Wchar-subscripts -Wuninitialized -Wshadow -Wcast-qual -Wcast-align -Wwrite-strings" |
156 |
-- |
157 |
-- |
158 |
--case "$cc:$systype" in |
159 |
-- auto:*:i386-*:*) |
160 |
-- cc="$gccbase -O1 $gccad" |
161 |
-- ;; |
162 |
-- auto:*:sparc-*:*:*:*) |
163 |
-- cc="$gccbase -O1 $gccus" |
164 |
-- ;; |
165 |
-- auto:*:ppc-*:*:*:*) |
166 |
-- cc="$gccbase -O2 $gccpp" |
167 |
-- ;; |
168 |
-- auto:*:alpha-*:*:*:*) |
169 |
-- cc="$gccbase -O2 $gcc21" |
170 |
-- ;; |
171 |
-- auto:aix-*:-:-:*:-) |
172 |
-- cc="$gccbase -O2 $gccpp" |
173 |
-- ;; |
174 |
-- auto:*) |
175 |
-- cc="$gccbase -O2" |
176 |
-- ;; |
177 |
--esac |
178 |
-- |
179 |
-- |
180 |
- cat warn-auto.sh |
181 |
- echo exec "$cc" '-c ${1+"$@"}' |
182 |
|
183 |
diff --git a/app-crypt/nistp224/metadata.xml b/app-crypt/nistp224/metadata.xml |
184 |
deleted file mode 100644 |
185 |
index a97d5c6c924..00000000000 |
186 |
--- a/app-crypt/nistp224/metadata.xml |
187 |
+++ /dev/null |
188 |
@@ -1,11 +0,0 @@ |
189 |
-<?xml version="1.0" encoding="UTF-8"?> |
190 |
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> |
191 |
-<pkgmetadata> |
192 |
-<!-- maintainer-needed --> |
193 |
-<longdescription lang="en"> |
194 |
-nistp224 performs compressed Diffie-Hellman key exchange on the NIST P-224 |
195 |
-elliptic curve at record-setting speeds. It includes an easy-to-use C library |
196 |
-and a command-line tool. nistp224 also supports uncompressed Diffie-Hellman key |
197 |
-exchange on the same curve, with 56-byte public keys, at slightly higher speeds. |
198 |
-</longdescription> |
199 |
-</pkgmetadata> |
200 |
|
201 |
diff --git a/app-crypt/nistp224/nistp224-0.75-r1.ebuild b/app-crypt/nistp224/nistp224-0.75-r1.ebuild |
202 |
deleted file mode 100644 |
203 |
index d89daaef2d3..00000000000 |
204 |
--- a/app-crypt/nistp224/nistp224-0.75-r1.ebuild |
205 |
+++ /dev/null |
206 |
@@ -1,56 +0,0 @@ |
207 |
-# Copyright 1999-2017 Gentoo Foundation |
208 |
-# Distributed under the terms of the GNU General Public License v2 |
209 |
- |
210 |
-EAPI="2" |
211 |
- |
212 |
-inherit eutils toolchain-funcs flag-o-matic fixheadtails |
213 |
- |
214 |
-DESCRIPTION="Performs compressed Diffie-Hellman key exchange on the NIST P-224 elliptic curve" |
215 |
-HOMEPAGE="http://cr.yp.to/nistp224.html" |
216 |
-SRC_URI="http://cr.yp.to/${PN}/${P}.tar.gz" |
217 |
- |
218 |
-LICENSE="all-rights-reserved" |
219 |
-SLOT="0" |
220 |
-KEYWORDS="~x86" |
221 |
-IUSE="" |
222 |
-RESTRICT="mirror bindist" |
223 |
- |
224 |
-DEPEND="" |
225 |
-RDEPEND=${DEPEND} |
226 |
-S="${WORKDIR}/math/${P}/src" |
227 |
- |
228 |
-src_prepare() { |
229 |
- epatch "${FILESDIR}"/${P}-asmfix.patch |
230 |
- epatch "${FILESDIR}"/${P}-declare-exit.patch |
231 |
- cd "${S}" |
232 |
- epatch "${FILESDIR}"/${P}-honour-CC.patch |
233 |
- ht_fix_file Makefile print*.sh |
234 |
-} |
235 |
- |
236 |
-src_configure() { |
237 |
- append-flags -fPIC |
238 |
- echo -n "$(tc-getCC) ${CFLAGS}" > conf-cc |
239 |
- echo -n "$(tc-getCC) ${LDFLAGS}" > conf-ld |
240 |
- if use ppc; then |
241 |
- # untested |
242 |
- echo -n "powerpc" > conf-opt |
243 |
- elif use sparc; then |
244 |
- # untested |
245 |
- echo -n "sparc" > conf-opt |
246 |
- else |
247 |
- # optiminations for ppro and pentium fail |
248 |
- echo -n "idea64" > conf-opt |
249 |
- fi |
250 |
-} |
251 |
- |
252 |
-src_compile() { |
253 |
- emake || die "emake failed" |
254 |
-} |
255 |
- |
256 |
-src_install() { |
257 |
- dobin nistp224 nistp224-56 |
258 |
- mv nistp224.a libnistp224.a |
259 |
- dolib.a libnistp224.a |
260 |
- insinto /usr/include |
261 |
- doins nistp224.h |
262 |
-} |