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"
|
2018-01-14 22:24:17 +01:00
|
|
|
TERMUX_PKG_VERSION=8.6.20180104
|
2018-09-11 22:43:19 +02:00
|
|
|
TERMUX_PKG_REVISION=1
|
2018-01-14 22:24:17 +01:00
|
|
|
TERMUX_PKG_SHA256=794e5e10e32c9ef3eaf20bbefc0348b997bbb3824dda6de3b5aab91f49beec31
|
|
|
|
TERMUX_PKG_SRCURL=https://github.com/vanhauser-thc/thc-hydra/archive/9597bafb178a57f839502abdd3d62b0b43028993.zip
|
2017-01-31 11:04:39 +01:00
|
|
|
TERMUX_PKG_BUILD_IN_SRC=yes
|
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.
|
2017-01-31 13:52:20 +01:00
|
|
|
CFLAGS+=" -Dindex=strchr -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
|
|
|
|
}
|