summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Mair-Keimberger <mmk@levelnine.at>2023-12-31 18:56:38 +0100
committerConrad Kostecki <conikost@gentoo.org>2024-03-16 13:13:28 +0100
commit021a252a945d8eccf702d7703c2904a35cdad18f (patch)
tree62a9b1368f69b5b232617d8bc1bce72536c9daa2 /app-crypt
parentmedia-libs/libbsb: EAPI8 bump, fix bug #724744 (diff)
downloadgentoo-021a252a945d8eccf702d7703c2904a35cdad18f.tar.gz
gentoo-021a252a945d8eccf702d7703c2904a35cdad18f.tar.bz2
gentoo-021a252a945d8eccf702d7703c2904a35cdad18f.zip
app-crypt/princeprocessor: EAPI8 bump, fix calling cc directly, bug #722044
Signed-off-by: Michael Mair-Keimberger <mmk@levelnine.at> Closes: https://bugs.gentoo.org/722044 Closes: https://github.com/gentoo/gentoo/pull/34587 Signed-off-by: Conrad Kostecki <conikost@gentoo.org>
Diffstat (limited to 'app-crypt')
-rw-r--r--app-crypt/princeprocessor/princeprocessor-0.22-r1.ebuild27
1 files changed, 27 insertions, 0 deletions
diff --git a/app-crypt/princeprocessor/princeprocessor-0.22-r1.ebuild b/app-crypt/princeprocessor/princeprocessor-0.22-r1.ebuild
new file mode 100644
index 000000000000..2d17139bf757
--- /dev/null
+++ b/app-crypt/princeprocessor/princeprocessor-0.22-r1.ebuild
@@ -0,0 +1,27 @@
+# Copyright 2019-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit edo toolchain-funcs
+
+DESCRIPTION="Standalone password candidate generator using the PRINCE algorithm"
+HOMEPAGE="https://github.com/hashcat/princeprocessor"
+SRC_URI="https://github.com/hashcat/princeprocessor/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+S="${WORKDIR}/${P}/src"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+src_compile() {
+ edo $(tc-getCC) -W -Wall -std=c99 ${CFLAGS} ${LDFLAGS} -DLINUX -o ${PN} pp.c mpz_int128.h
+}
+
+src_install() {
+ dobin ${PN}
+ dodoc ../{README.md,CHANGES}
+ #install rules after hashcat is fixed
+ #insinto /usr/share/hashcat
+ #doins ../rules/*.rules
+}