1 |
commit: 0c93244f0e0069d5e7e771f2ab2f25768268ca8b |
2 |
Author: Sam James <sam <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Jan 1 09:35:15 2022 +0000 |
4 |
Commit: Sam James <sam <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Jan 1 09:38:30 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0c93244f |
7 |
|
8 |
dev-libs/libsodium: drop 1.0.18_p20210421 |
9 |
|
10 |
Signed-off-by: Sam James <sam <AT> gentoo.org> |
11 |
|
12 |
dev-libs/libsodium/Manifest | 2 - |
13 |
.../libsodium/libsodium-1.0.18_p20210421.ebuild | 98 ---------------------- |
14 |
2 files changed, 100 deletions(-) |
15 |
|
16 |
diff --git a/dev-libs/libsodium/Manifest b/dev-libs/libsodium/Manifest |
17 |
index ba4f46480c66..dc10b9fb4f1c 100644 |
18 |
--- a/dev-libs/libsodium/Manifest |
19 |
+++ b/dev-libs/libsodium/Manifest |
20 |
@@ -1,6 +1,4 @@ |
21 |
DIST libsodium-1.0.18.tar.gz 1919817 BLAKE2B a42d898fe77f232dcbb75728e776b88f006e89f734c4d335e75e01d37b1034cc024df2e89d4350ecbe713d3e4b32c08bec537922c81cc63b0e87ee7fd89b2940 SHA512 17e8638e46d8f6f7d024fe5559eccf2b8baf23e143fadd472a7d29d228b186d86686a5e6920385fe2020729119a5f12f989c3a782afbd05a8db4819bb18666ef |
22 |
DIST libsodium-1.0.18.tar.gz.sig 566 BLAKE2B bb892901e2228c93018d79a5c8e70e0ea458513b0fdf99e8f6c015132b618fd0fefbe6a18ed514c20fbe1e56719dd6dd3762bc4bb6348a439146fdaa951090c0 SHA512 ba69d372263e63126d6ce24f67fe85d83f74e558db81391ddcd7eacb6787dcdd5209a149eebca897e9806f295e78f5a8ababa0ab884b85d9a8dd1a54507a8b0c |
23 |
-DIST libsodium-1.0.18_p20210421.tar.gz 1855069 BLAKE2B f9b5843998b0045f97a303589de42b38a7586b4a35571eec9a0b0afd1df101467cb8f82e9a32dbdb9a25058d827a5565ad8d49ad2216d2b6af5b101612a94080 SHA512 ddb77c0608a7e6cacf1923a3d0f5950975511c46d53f6f9c23f80dd99eab84dde2a1292c1e35555f7f1659f25a1b80668516558b83c42effb921fff06c0fb559 |
24 |
-DIST libsodium-1.0.18_p20210421.tar.gz.minisig 311 BLAKE2B 12d00384a2acd9c9ac5cfc2ce984c2254a69be93f9cb891513c2f575fbc0cd2c03c2f323aa4b363f54fd7e1bf6b73887c0919e919142f759f0f7baa8680cdba5 SHA512 80fe3a5d41a5550b310e1fce86eed142288c70bab46c761a21206cd0c441b9355d455df49916b3eca134af60444307baa8c5566f1ea369e79f7326a6fac822bf |
25 |
DIST libsodium-1.0.18_p20210617.tar.gz 1854880 BLAKE2B 5b421c7efacca5b2a2b5a99a04719d708c217bc6f0b344f08d566bde85c4f758862c0ad61924346eac508542c2d9c6313cb1e3e421743e424f396dd1972e8195 SHA512 d7cd64101fed11ce33c4865dec253f1058acab376c3a6097422508087f4449b2f7fd1b38835915843106f620bf86694d846695e0c8a35f921e4f190dea3164bc |
26 |
DIST libsodium-1.0.18_p20210617.tar.gz.minisig 311 BLAKE2B c54b76a9e29f49bccca80466a5aaa77fb8341e8164041331003710de8f9b173fd25de4812157377645d97ba8a97470076a7f5e037501ba8376b285a06461efa9 SHA512 2180beb872716ad6b728a455981b548003b18594c3f28435c5ddc9803ab2a0f8f1945b6c77de5928b948bbb803b4fa7527cc2e72059931364343a2fdf51ca1be |
27 |
|
28 |
diff --git a/dev-libs/libsodium/libsodium-1.0.18_p20210421.ebuild b/dev-libs/libsodium/libsodium-1.0.18_p20210421.ebuild |
29 |
deleted file mode 100644 |
30 |
index 86dba664b6ae..000000000000 |
31 |
--- a/dev-libs/libsodium/libsodium-1.0.18_p20210421.ebuild |
32 |
+++ /dev/null |
33 |
@@ -1,98 +0,0 @@ |
34 |
-# Copyright 1999-2021 Gentoo Authors |
35 |
-# Distributed under the terms of the GNU General Public License v2 |
36 |
- |
37 |
-EAPI=7 |
38 |
- |
39 |
-inherit autotools multilib-minimal |
40 |
- |
41 |
-DESCRIPTION="A portable fork of NaCl, a higher-level cryptographic library" |
42 |
-HOMEPAGE="https://libsodium.org" |
43 |
- |
44 |
-if [[ ${PV} == *_p* ]] ; then |
45 |
- MY_P=${PN}-$(ver_cut 1-3)-stable-$(ver_cut 5-) |
46 |
- MINISIGN_KEY="RWQf6LRCGA9i53mlYecO4IzT51TGPpvWucNSCh1CBM0QTaLn73Y7GFO3" |
47 |
- |
48 |
- # We use _pN to represent 'stable releases' |
49 |
- # These are backports from upstream to the last release branch |
50 |
- # See https://download.libsodium.org/libsodium/releases/README.html |
51 |
- SRC_URI="https://dev.gentoo.org/~sam/distfiles/${CATEGORY}/${PN}/${MY_P}.tar.gz -> ${P}.tar.gz" |
52 |
- |
53 |
- # TODO: Could verify-sig.eclass support minisig? bug #783066 |
54 |
- SRC_URI+=" verify-sig? ( https://dev.gentoo.org/~sam/distfiles/dev-libs/libsodium/${MY_P}.tar.gz.minisig -> ${P}.tar.gz.minisig )" |
55 |
- |
56 |
- S="${WORKDIR}/${PN}-stable" |
57 |
-else |
58 |
- VERIFY_SIG_OPENPGP_KEY_PATH=${BROOT}/usr/share/openpgp-keys/jedisct1.asc |
59 |
- inherit verify-sig |
60 |
- |
61 |
- SRC_URI="https://download.libsodium.org/${PN}/releases/${P}.tar.gz" |
62 |
- SRC_URI+=" verify-sig? ( https://download.libsodium.org/${PN}/releases/${P}.tar.gz.sig )" |
63 |
-fi |
64 |
- |
65 |
-LICENSE="ISC" |
66 |
-SLOT="0/23" |
67 |
-KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86" |
68 |
-IUSE="+asm minimal static-libs +urandom" |
69 |
- |
70 |
-CPU_USE=( cpu_flags_x86_{aes,sse4_1} ) |
71 |
-IUSE+=" ${CPU_USE[@]}" |
72 |
- |
73 |
-if [[ ${PV} == *_p* ]] ; then |
74 |
- IUSE+=" verify-sig" |
75 |
- |
76 |
- BDEPEND+=" verify-sig? ( app-crypt/minisign )" |
77 |
-fi |
78 |
- |
79 |
-PATCHES=( |
80 |
- "${FILESDIR}"/${PN}-1.0.10-cpuflags.patch |
81 |
-) |
82 |
- |
83 |
-src_unpack() { |
84 |
- if [[ ${PV} == *_p* ]] ; then |
85 |
- if use verify-sig ; then |
86 |
- elog "Verifying signature using app-crypt/minisign" |
87 |
- minisign -V \ |
88 |
- -P ${MINISIGN_KEY} \ |
89 |
- -x "${DISTDIR}"/${P}.tar.gz.minisig \ |
90 |
- -m "${DISTDIR}"/${P}.tar.gz || die "Failed to verify distfile using minisign!" |
91 |
- fi |
92 |
- |
93 |
- default |
94 |
- else |
95 |
- verify-sig_src_unpack |
96 |
- fi |
97 |
-} |
98 |
- |
99 |
-src_prepare() { |
100 |
- default |
101 |
- eautoreconf |
102 |
-} |
103 |
- |
104 |
-multilib_src_configure() { |
105 |
- local myeconfargs=( |
106 |
- $(use_enable asm) |
107 |
- $(use_enable cpu_flags_x86_aes aesni) |
108 |
- $(use_enable cpu_flags_x86_sse4_1 sse4_1) |
109 |
- $(use_enable minimal) |
110 |
- $(use_enable static-libs static) |
111 |
- $(use_enable !urandom blocking-random) |
112 |
- ) |
113 |
- |
114 |
- # --disable-pie is needed on x86, see bug #512734 |
115 |
- if [[ "${MULTILIB_ABI_FLAG}" == "abi_x86_32" ]] ; then |
116 |
- myeconfargs+=( --disable-pie ) |
117 |
- |
118 |
- # --disable-ssp is needed on musl x86 |
119 |
- # TODO: Check if still needed? bug #747346 |
120 |
- if use elibc_musl ; then |
121 |
- myeconfargs+=( --disable-ssp ) |
122 |
- fi |
123 |
- fi |
124 |
- |
125 |
- ECONF_SOURCE="${S}" econf "${myeconfargs[@]}" |
126 |
-} |
127 |
- |
128 |
-multilib_src_install_all() { |
129 |
- default |
130 |
- find "${ED}" -type f -name "*.la" -delete || die |
131 |
-} |