2017-01-31 11:04:39 +01:00
|
|
|
TERMUX_PKG_HOMEPAGE=https://github.com/vanhauser-thc/thc-hydra
|
|
|
|
TERMUX_PKG_DESCRIPTION="Network logon cracker supporting different services"
|
2019-01-21 13:53:58 +01:00
|
|
|
TERMUX_PKG_LICENSE="GPL-3.0"
|
2020-08-09 00:37:23 +02:00
|
|
|
TERMUX_PKG_VERSION=9.1
|
2019-01-11 00:55:41 +01:00
|
|
|
TERMUX_PKG_SRCURL=https://github.com/vanhauser-thc/thc-hydra/archive/v$TERMUX_PKG_VERSION.tar.gz
|
2020-08-09 00:37:23 +02:00
|
|
|
TERMUX_PKG_SHA256=ce08a5148c0ae5ff4b0a4af2f7f15c5946bc939a57eae1bbb6dda19f34410273
|
2019-08-12 17:28:41 +02:00
|
|
|
TERMUX_PKG_BUILD_IN_SRC=true
|
2017-01-31 13:52:20 +01:00
|
|
|
TERMUX_PKG_DEPENDS="openssl, pcre, libssh"
|
2017-01-31 11:04:39 +01:00
|
|
|
|
|
|
|
termux_step_configure() {
|
|
|
|
# Skip the ./configure file (which does not support cross compilation)
|
|
|
|
# and configure the build manually.
|
2020-08-09 00:37:23 +02:00
|
|
|
CFLAGS+=" -Dindex=strchr -Drindex=strrchr -DLIBOPENSSL -DNO_RINDEX -DHAVE_MATH_H -DHAVE_PCRE -DLIBSSH"
|
2017-01-31 11:04:39 +01:00
|
|
|
export MANDIR=/share/man/man1
|
2017-01-31 13:52:20 +01:00
|
|
|
export XLIBS="-lcrypto -lssl -lpcre -lssh"
|
2017-01-31 11:04:39 +01:00
|
|
|
cat Makefile.am | sed 's/^install:.*/install: all/' >> Makefile
|
|
|
|
}
|