From 6864a65edb96e98f2af9f7540bef4ecd214554d3 Mon Sep 17 00:00:00 2001 From: Michael Gehring Date: Sun, 17 Sep 2017 09:15:37 +0000 Subject: [PATCH] thc-hydra: update to 8.6. --- srcpkgs/thc-hydra/patches/musl.patch | 17 +++++++++++++++++ srcpkgs/thc-hydra/template | 8 ++++---- 2 files changed, 21 insertions(+), 4 deletions(-) create mode 100644 srcpkgs/thc-hydra/patches/musl.patch diff --git a/srcpkgs/thc-hydra/patches/musl.patch b/srcpkgs/thc-hydra/patches/musl.patch new file mode 100644 index 00000000000..efacd7ec144 --- /dev/null +++ b/srcpkgs/thc-hydra/patches/musl.patch @@ -0,0 +1,17 @@ +--- pw-inspector.c.orig 2017-07-21 11:35:56.000000000 +0000 ++++ pw-inspector.c 2017-09-17 09:14:00.560000916 +0000 +@@ -1,4 +1,5 @@ + #include ++#include + #include + #include + #include +@@ -36,7 +37,7 @@ + exit(-1); + } + +-int32_t main(int32_t argc, char *argv[]) { ++int main(int argc, char *argv[]) { + int32_t i, j, k; + int32_t sets = 0, countsets = 0, minlen = 0, maxlen = MAXLENGTH, count = 0; + int32_t set_low = 0, set_up = 0, set_no = 0, set_print = 0, set_other = 0; diff --git a/srcpkgs/thc-hydra/template b/srcpkgs/thc-hydra/template index bf734c9bee8..015c670ba01 100644 --- a/srcpkgs/thc-hydra/template +++ b/srcpkgs/thc-hydra/template @@ -1,7 +1,7 @@ # Template file for 'thc-hydra' pkgname=thc-hydra -version=8.5 -revision=2 +version=8.6 +revision=1 nocross=yes build_style=gnu-configure makedepends="zlib-devel libressl-devel libidn-devel ncurses-devel pcre-devel @@ -11,5 +11,5 @@ short_desc="A tool to guess/crack valid login/password pairs" maintainer="Nicklaus McClendon " license="AGPL-3" homepage="https://github.com/vanhauser-thc/${pkgname}" -distfiles="${homepage}/archive/v${version}.tar.gz" -checksum=69b69d16ce9499f3a941836b4d8a1c8a3ff9b905c921cc8c588a3af7f65a3b4b +distfiles="${homepage}/archive/${version}.tar.gz" +checksum=05a87eb018507b24afca970081f067e64441460319fb75ca1e64c4a1f322b80b