From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 07A5015808B for ; Sun, 13 Feb 2022 20:37:04 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 51069E081B; Sun, 13 Feb 2022 20:37:03 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id D3F82E081B for ; Sun, 13 Feb 2022 20:37:02 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id DF205342E6D for ; Sun, 13 Feb 2022 20:37:00 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 6D613291 for ; Sun, 13 Feb 2022 20:36:59 +0000 (UTC) From: "Matthew Smith" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Matthew Smith" Message-ID: <1644784595.d334406dd8d20eee8386128f886599d56bc7002c.matthew@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: app-crypt/mkp224o/ X-VCS-Repository: repo/gentoo X-VCS-Files: app-crypt/mkp224o/Manifest app-crypt/mkp224o/metadata.xml app-crypt/mkp224o/mkp224o-1.5.0.ebuild X-VCS-Directories: app-crypt/mkp224o/ X-VCS-Committer: matthew X-VCS-Committer-Name: Matthew Smith X-VCS-Revision: d334406dd8d20eee8386128f886599d56bc7002c X-VCS-Branch: master Date: Sun, 13 Feb 2022 20:36:59 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: c7b006c8-e80e-46c6-b998-e60afda850e9 X-Archives-Hash: b8af9f5635656d62751f7bef6b23504c commit: d334406dd8d20eee8386128f886599d56bc7002c Author: Matthew Smith gentoo org> AuthorDate: Sun Feb 13 20:36:19 2022 +0000 Commit: Matthew Smith gentoo org> CommitDate: Sun Feb 13 20:36:35 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d334406d app-crypt/mkp224o: initial import at 1.5.0 Signed-off-by: Matthew Smith gentoo.org> app-crypt/mkp224o/Manifest | 1 + app-crypt/mkp224o/metadata.xml | 14 +++++++++++++ app-crypt/mkp224o/mkp224o-1.5.0.ebuild | 36 ++++++++++++++++++++++++++++++++++ 3 files changed, 51 insertions(+) diff --git a/app-crypt/mkp224o/Manifest b/app-crypt/mkp224o/Manifest new file mode 100644 index 000000000000..7048da480d16 --- /dev/null +++ b/app-crypt/mkp224o/Manifest @@ -0,0 +1 @@ +DIST mkp224o-1.5.0-src.tar.gz 1378324 BLAKE2B 19d38fbf23328607fa428ec9329cdc909b210b4235d85e14ff372347c9b408ecf22d41dac7122bdae06725d7bca0c3d53c81cc27272c47517e714e9b8e0625dd SHA512 aa5adc91e695dbfd8ece5fdfe3ca370056d4390a5186326b35ee37402040fa24675ede5389c48b79a1e57b624b86024ff72957741fef175602f7721f20c5cc14 diff --git a/app-crypt/mkp224o/metadata.xml b/app-crypt/mkp224o/metadata.xml new file mode 100644 index 000000000000..6bbe7e963edf --- /dev/null +++ b/app-crypt/mkp224o/metadata.xml @@ -0,0 +1,14 @@ + + + + + matthew@gentoo.org + Matthew Smith + + + Search with a regex instead of prefix/suffix matching + + + cathugger/mkp224o + + diff --git a/app-crypt/mkp224o/mkp224o-1.5.0.ebuild b/app-crypt/mkp224o/mkp224o-1.5.0.ebuild new file mode 100644 index 000000000000..0c0578e589f5 --- /dev/null +++ b/app-crypt/mkp224o/mkp224o-1.5.0.ebuild @@ -0,0 +1,36 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +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" + +LICENSE="CC0-1.0" +SLOT="0" +KEYWORDS="~amd64" +IUSE="cpu_flags_x86_sse2 pcre2" + +DEPEND=" + dev-libs/libsodium:= + pcre2? ( dev-libs/libpcre2:= ) +" +RDEPEND="${DEPEND}" + +DOCS=( OPTIMISATION.txt README.txt ) + +src_configure() { + local myeconfargs=( + --enable-regex=$(usex pcre2) + --enable-statistics + ) + use cpu_flags_x86_sse2 && myeconfargs+=( --enable-donna-sse2 ) + + econf "${myeconfargs[@]}" +} + +src_install() { + einstalldocs + dobin ${PN} +}