From 5bf7485023758b43ce70a7fd1c074e8bb84b9734 Mon Sep 17 00:00:00 2001 From: Michael Aldridge Date: Sat, 5 Jan 2019 12:11:14 -0800 Subject: [PATCH] thc-hydra: update to 8.8 --- srcpkgs/thc-hydra/patches/musl.patch | 17 ----------------- srcpkgs/thc-hydra/template | 21 ++++++++++++--------- 2 files changed, 12 insertions(+), 26 deletions(-) delete mode 100644 srcpkgs/thc-hydra/patches/musl.patch diff --git a/srcpkgs/thc-hydra/patches/musl.patch b/srcpkgs/thc-hydra/patches/musl.patch deleted file mode 100644 index efacd7ec144..00000000000 --- a/srcpkgs/thc-hydra/patches/musl.patch +++ /dev/null @@ -1,17 +0,0 @@ ---- 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 f87fa9b59a5..fa36b7be696 100644 --- a/srcpkgs/thc-hydra/template +++ b/srcpkgs/thc-hydra/template @@ -1,15 +1,18 @@ # Template file for 'thc-hydra' pkgname=thc-hydra -version=8.6 -revision=4 -nocross=yes +version=8.8 +revision=1 build_style=gnu-configure +make_install_args="MANDIR=/share/man/man1" makedepends="zlib-devel libressl-devel libidn-devel ncurses-devel pcre-devel postgresql-libs-devel libmysqlclient-devel libssh-devel" -make_install_args="MANDIR=/share/man/man1" -short_desc="A tool to guess/crack valid login/password pairs" -maintainer="Michael Aldridge " +short_desc="Tool to guess/crack valid login/password pairs" +maintainer="Michael Aldridge " license="AGPL-3" -homepage="https://github.com/vanhauser-thc/${pkgname}" -distfiles="${homepage}/archive/${version}.tar.gz" -checksum=05a87eb018507b24afca970081f067e64441460319fb75ca1e64c4a1f322b80b +homepage="https://github.com/vanhauser-thc/thc-hydra" +distfiles="${homepage}/archive/v${version}.tar.gz" +checksum=bc895a7aebdf0279186d40140f0dc1546ac6f3a5c5bc9d13b13766bffea3e966 + +post_install() { + vlicense LICENSE +}