addpkg(main/mkp224o): generates (brute-forces) customised onion addresses
This commit is contained in:
parent
bc888d9a76
commit
ece48b76d1
|
@ -0,0 +1,11 @@
|
|||
--- ./GNUmakefile.in~ 2022-07-01 00:19:56.000000000 +0200
|
||||
+++ ./GNUmakefile.in 2022-07-30 16:12:21.590008564 +0200
|
||||
@@ -69,7 +69,7 @@
|
||||
ALL_C= $(patsubst %.c.o,%.c,$(filter %.c.o %.c,$(ALL_O)))
|
||||
CLEAN_O= $(filter %.o,$(ALL_O))
|
||||
|
||||
-MAIN_LIB= -lpthread -lsodium @MAINLIB@
|
||||
+MAIN_LIB= -lsodium @MAINLIB@
|
||||
UTIL_CALCEST_LIB= -lm
|
||||
TEST_ED25519_LIB= -lsodium
|
||||
|
|
@ -0,0 +1,20 @@
|
|||
TERMUX_PKG_HOMEPAGE=https://github.com/cathugger/mkp224o
|
||||
TERMUX_PKG_DESCRIPTION="Generate vanity ed25519 (hidden service version 3) onion addresses"
|
||||
TERMUX_PKG_LICENSE="CC0-1.0"
|
||||
TERMUX_PKG_MAINTAINER="@termux"
|
||||
TERMUX_PKG_VERSION=1.6.1
|
||||
TERMUX_PKG_SRCURL=https://github.com/cathugger/mkp224o/archive/refs/tags/v${TERMUX_PKG_VERSION}.tar.gz
|
||||
TERMUX_PKG_SHA256=ba6953588b1a683bdaaf065fbbeebfa7a7db1413e8ba9c9a52e7c90d3a7fa348
|
||||
TERMUX_PKG_DEPENDS="libsodium"
|
||||
TERMUX_PKG_AUTO_UPDATE=true
|
||||
|
||||
termux_step_pre_configure() {
|
||||
autoconf -f
|
||||
|
||||
# configure scripts tries to get version from git, or this file:
|
||||
echo "v$TERMUX_PKG_VERSION" > $TERMUX_PKG_SRCDIR/version.txt
|
||||
}
|
||||
|
||||
termux_step_make_install() {
|
||||
install -m700 mkp224o $TERMUX_PREFIX/bin/
|
||||
}
|
Loading…
Reference in New Issue