You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
19 lines
856 B
19 lines
856 B
8 years ago
|
TERMUX_PKG_HOMEPAGE=https://github.com/vanhauser-thc/thc-hydra
|
||
|
TERMUX_PKG_DESCRIPTION="Network logon cracker supporting different services"
|
||
|
TERMUX_PKG_VERSION=8.4
|
||
8 years ago
|
TERMUX_PKG_REVISION=1
|
||
8 years ago
|
TERMUX_PKG_SRCURL=https://github.com/vanhauser-thc/thc-hydra/archive/v${TERMUX_PKG_VERSION}.tar.gz
|
||
|
TERMUX_PKG_SHA256=b478157618e602e0a8adc412efacc1c2a5d95a8f5bfb30579fbf5997469cd8b4
|
||
|
TERMUX_PKG_FOLDERNAME=thc-hydra-$TERMUX_PKG_VERSION
|
||
|
TERMUX_PKG_BUILD_IN_SRC=yes
|
||
8 years ago
|
TERMUX_PKG_DEPENDS="openssl, pcre, libssh"
|
||
8 years ago
|
|
||
|
termux_step_configure() {
|
||
|
# Skip the ./configure file (which does not support cross compilation)
|
||
|
# and configure the build manually.
|
||
8 years ago
|
CFLAGS+=" -Dindex=strchr -DLIBOPENSSL -DNO_RINDEX -DHAVE_MATH_H -DHAVE_PCRE -DLIBSSH"
|
||
8 years ago
|
export MANDIR=/share/man/man1
|
||
8 years ago
|
export XLIBS="-lcrypto -lssl -lpcre -lssh"
|
||
8 years ago
|
cat Makefile.am | sed 's/^install:.*/install: all/' >> Makefile
|
||
|
}
|