summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthew Smith <matthew@gentoo.org>2024-01-23 17:18:56 +0000
committerMatthew Smith <matthew@gentoo.org>2024-01-23 17:18:56 +0000
commit875f87c7a83aaf528bc00d904b44f0848713b5b6 (patch)
tree659d2c872f84a661dd5f2858cf1ee3a6f24f4939 /app-crypt
parentsec-keys/openpgp-keys-cathugger: new package, add 20240123 (diff)
downloadgentoo-875f87c7a83aaf528bc00d904b44f0848713b5b6.tar.gz
gentoo-875f87c7a83aaf528bc00d904b44f0848713b5b6.tar.bz2
gentoo-875f87c7a83aaf528bc00d904b44f0848713b5b6.zip
app-crypt/mkp224o: add 1.7.0
Signed-off-by: Matthew Smith <matthew@gentoo.org>
Diffstat (limited to 'app-crypt')
-rw-r--r--app-crypt/mkp224o/Manifest2
-rw-r--r--app-crypt/mkp224o/mkp224o-1.7.0.ebuild43
2 files changed, 45 insertions, 0 deletions
diff --git a/app-crypt/mkp224o/Manifest b/app-crypt/mkp224o/Manifest
index 2a6e1efd6262..bf211390453a 100644
--- a/app-crypt/mkp224o/Manifest
+++ b/app-crypt/mkp224o/Manifest
@@ -1 +1,3 @@
DIST mkp224o-1.6.1-src.tar.gz 1387615 BLAKE2B 271424dcee44b5b1e1a35346a0cc1c37ee5d430231fe93e0b936ac994c892f0406ea361be763732db8a8397684ecad70e26c34f5553a415e7ed0592417672310 SHA512 d0c21ee5fb5f7b2950e1c39af5dc62b1e26aef0917b53169e9c3f9a99a7febe70bb2f96ada612c71bdbdbf8cad9c1f407d175af49fca40eedd68bbe8112970a5
+DIST mkp224o-1.7.0-src.tar.gz 1388765 BLAKE2B 63b99d29ec1f1e971926417c14a77aa32f620dc0983eec4761ac9a40aa55ff6fb6182554377b4629e90c157de6eee25c9fac7250b55e51e1c7d68e705631d8d5 SHA512 3585a6708b32420f594b4aa27db2ad4aaeb84dedd5b6109b3440b575e4573909079f0ac477b709af6b5e33084b2098cff5fb59101155d9e905da2caf215856c8
+DIST mkp224o-1.7.0-src.tar.gz.sig 585 BLAKE2B 0454257e35fd9433374551416ece13fd5f7e0ae5fc50c4ad10d336768afbde231090bf1355c750f7302f753f2a2dcc25be6433afc18ad4d015cad9aadd0d5fa3 SHA512 906972a347e8b8111adf80bd358da007b71d8deab2d55a6f78d84793f1f91001d0e807d0f09fe429d03bc3a0ea610792ea58bdcd347fb0d1a360600f1be7df2e
diff --git a/app-crypt/mkp224o/mkp224o-1.7.0.ebuild b/app-crypt/mkp224o/mkp224o-1.7.0.ebuild
new file mode 100644
index 000000000000..0a71180ad77a
--- /dev/null
+++ b/app-crypt/mkp224o/mkp224o-1.7.0.ebuild
@@ -0,0 +1,43 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+VERIFY_SIG_OPENPGP_KEY_PATH=/usr/share/openpgp-keys/cathugger.gpg
+inherit verify-sig
+
+DESCRIPTION="Vanity address generator for v3 Tor hidden service addresses"
+HOMEPAGE="https://github.com/cathugger/mkp224o"
+SRC_URI="
+ https://github.com/cathugger/${PN}/releases/download/v${PV}/${PN}-${PV}-src.tar.gz
+ verify-sig? ( https://github.com/cathugger/${PN}/releases/download/v${PV}/${PN}-${PV}-src.tar.gz.sig )
+"
+
+LICENSE="CC0-1.0"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE="cpu_flags_x86_sse2 pcre"
+
+DEPEND="
+ dev-libs/libsodium:=
+ pcre? ( dev-libs/libpcre2:= )
+"
+RDEPEND="${DEPEND}"
+BDEPEND="verify-sig? ( sec-keys/openpgp-keys-cathugger )"
+
+DOCS=( OPTIMISATION.txt README.md )
+
+src_configure() {
+ local myeconfargs=(
+ --enable-regex=$(usex pcre)
+ --enable-statistics
+ )
+ use cpu_flags_x86_sse2 && myeconfargs+=( --enable-donna-sse2 )
+
+ econf "${myeconfargs[@]}"
+}
+
+src_install() {
+ einstalldocs
+ dobin ${PN}
+}