1 |
commit: 9645f0cf2f75834ae139ab8974cedc2395fa5bf1 |
2 |
Author: Matthew Smith <matthew <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Jul 2 09:45:55 2022 +0000 |
4 |
Commit: Matthew Smith <matthew <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Jul 2 09:45:55 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9645f0cf |
7 |
|
8 |
app-crypt/mkp224o: add 1.6.1 |
9 |
|
10 |
Signed-off-by: Matthew Smith <matthew <AT> gentoo.org> |
11 |
|
12 |
app-crypt/mkp224o/Manifest | 1 + |
13 |
app-crypt/mkp224o/mkp224o-1.6.1.ebuild | 36 ++++++++++++++++++++++++++++++++++ |
14 |
2 files changed, 37 insertions(+) |
15 |
|
16 |
diff --git a/app-crypt/mkp224o/Manifest b/app-crypt/mkp224o/Manifest |
17 |
index 7048da480d16..4bd4fdc62350 100644 |
18 |
--- a/app-crypt/mkp224o/Manifest |
19 |
+++ b/app-crypt/mkp224o/Manifest |
20 |
@@ -1 +1,2 @@ |
21 |
DIST mkp224o-1.5.0-src.tar.gz 1378324 BLAKE2B 19d38fbf23328607fa428ec9329cdc909b210b4235d85e14ff372347c9b408ecf22d41dac7122bdae06725d7bca0c3d53c81cc27272c47517e714e9b8e0625dd SHA512 aa5adc91e695dbfd8ece5fdfe3ca370056d4390a5186326b35ee37402040fa24675ede5389c48b79a1e57b624b86024ff72957741fef175602f7721f20c5cc14 |
22 |
+DIST mkp224o-1.6.1-src.tar.gz 1387615 BLAKE2B 271424dcee44b5b1e1a35346a0cc1c37ee5d430231fe93e0b936ac994c892f0406ea361be763732db8a8397684ecad70e26c34f5553a415e7ed0592417672310 SHA512 d0c21ee5fb5f7b2950e1c39af5dc62b1e26aef0917b53169e9c3f9a99a7febe70bb2f96ada612c71bdbdbf8cad9c1f407d175af49fca40eedd68bbe8112970a5 |
23 |
|
24 |
diff --git a/app-crypt/mkp224o/mkp224o-1.6.1.ebuild b/app-crypt/mkp224o/mkp224o-1.6.1.ebuild |
25 |
new file mode 100644 |
26 |
index 000000000000..6a5af08b0f9c |
27 |
--- /dev/null |
28 |
+++ b/app-crypt/mkp224o/mkp224o-1.6.1.ebuild |
29 |
@@ -0,0 +1,36 @@ |
30 |
+# Copyright 1999-2022 Gentoo Authors |
31 |
+# Distributed under the terms of the GNU General Public License v2 |
32 |
+ |
33 |
+EAPI=8 |
34 |
+ |
35 |
+DESCRIPTION="Vanity address generator for v3 Tor hidden service addresses" |
36 |
+HOMEPAGE="https://github.com/cathugger/mkp224o" |
37 |
+SRC_URI="https://github.com/cathugger/${PN}/releases/download/v${PV}/${PN}-${PV}-src.tar.gz" |
38 |
+ |
39 |
+LICENSE="CC0-1.0" |
40 |
+SLOT="0" |
41 |
+KEYWORDS="~amd64" |
42 |
+IUSE="cpu_flags_x86_sse2 pcre2" |
43 |
+ |
44 |
+DEPEND=" |
45 |
+ dev-libs/libsodium:= |
46 |
+ pcre2? ( dev-libs/libpcre2:= ) |
47 |
+" |
48 |
+RDEPEND="${DEPEND}" |
49 |
+ |
50 |
+DOCS=( OPTIMISATION.txt README.md ) |
51 |
+ |
52 |
+src_configure() { |
53 |
+ local myeconfargs=( |
54 |
+ --enable-regex=$(usex pcre2) |
55 |
+ --enable-statistics |
56 |
+ ) |
57 |
+ use cpu_flags_x86_sse2 && myeconfargs+=( --enable-donna-sse2 ) |
58 |
+ |
59 |
+ econf "${myeconfargs[@]}" |
60 |
+} |
61 |
+ |
62 |
+src_install() { |
63 |
+ einstalldocs |
64 |
+ dobin ${PN} |
65 |
+} |