diff options
author | R. RyanTM <ryantm-bot@ryantm.com> | 2022-02-10 13:48:12 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-02-10 22:48:12 +0100 |
commit | 78bdd3bd437281896695e3947a81fa5609e9548c (patch) | |
tree | 5162f27c779f2143ad9a552c4a73d4c17bbe0371 /pkgs/tools/security/thc-hydra | |
parent | df2a9269651e57f6863d0a94bb47e5345e811e14 (diff) |
thc-hydra: 9.2 -> 9.3
* thc-hydra: 9.2 -> 9.3 (#158563) update homepage add meta.changelog and use SPDX 3.0 license identifier drop unnecessary patch for Darwin disable on Darwin (fails to build) Co-authored-by: Renaud <c0bw3b@users.noreply.github.com>
Diffstat (limited to 'pkgs/tools/security/thc-hydra')
-rw-r--r-- | pkgs/tools/security/thc-hydra/darwin-remove-ldflag.patch | 13 | ||||
-rw-r--r-- | pkgs/tools/security/thc-hydra/default.nix | 14 |
2 files changed, 6 insertions, 21 deletions
diff --git a/pkgs/tools/security/thc-hydra/darwin-remove-ldflag.patch b/pkgs/tools/security/thc-hydra/darwin-remove-ldflag.patch deleted file mode 100644 index b19b9ffe8a625..0000000000000 --- a/pkgs/tools/security/thc-hydra/darwin-remove-ldflag.patch +++ /dev/null @@ -1,13 +0,0 @@ -diff --git a/Makefile.am b/Makefile.am -index 1c915f1..83a8e41 100644 ---- a/Makefile.am -+++ b/Makefile.am -@@ -4,7 +4,7 @@ - WARN_CLANG=-Wformat-nonliteral -Wstrncat-size -Wformat-security -Wsign-conversion -Wconversion -Wfloat-conversion -Wshorten-64-to-32 -Wuninitialized -Wmissing-variable-declarations -Wmissing-declarations - WARN_GCC=-Wformat=2 -Wformat-overflow=2 -Wformat-nonliteral -Wformat-truncation=2 -Wnull-dereference -Wstrict-overflow=2 -Wstringop-overflow=4 -Walloca-larger-than=4096 -Wtype-limits -Wconversion -Wtrampolines -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -fno-common -Wcast-align - CFLAGS ?= -g --OPTS=-I. -O3 $(CFLAGS) -fcommon -Wl,--allow-multiple-definition -+OPTS=-I. -O3 $(CFLAGS) -fcommon - # -Wall -g -pedantic - LIBS=-lm - DESTDIR ?= diff --git a/pkgs/tools/security/thc-hydra/default.nix b/pkgs/tools/security/thc-hydra/default.nix index b12daff003871..b6e3056e0232f 100644 --- a/pkgs/tools/security/thc-hydra/default.nix +++ b/pkgs/tools/security/thc-hydra/default.nix @@ -3,19 +3,15 @@ stdenv.mkDerivation rec { pname = "thc-hydra"; - version = "9.2"; + version = "9.3"; src = fetchFromGitHub { owner = "vanhauser-thc"; repo = "thc-hydra"; rev = "v${version}"; - sha256 = "sha256-V9rr5fbJWm0pa+Kp8g95XvLPo/uWcDwyU2goImnIq58="; + sha256 = "sha256-SzbaU52IXw5+ztN/GKD6Ki6/cx2icoZEzLHBu/J8sk0="; }; - patches = lib.optionals stdenv.isDarwin [ - ./darwin-remove-ldflag.patch - ]; - postPatch = let makeDirs = output: subDir: lib.concatStringsSep " " (map (path: lib.getOutput output path + "/" + subDir) buildInputs); in '' @@ -44,9 +40,11 @@ stdenv.mkDerivation rec { meta = with lib; { description = "A very fast network logon cracker which support many different services"; - homepage = "https://www.thc.org/thc-hydra/"; - license = licenses.agpl3; + homepage = "https://github.com/vanhauser-thc/thc-hydra"; # https://www.thc.org/ + changelog = "https://github.com/vanhauser-thc/thc-hydra/raw/v${version}/CHANGES"; + license = licenses.agpl3Plus; maintainers = with maintainers; [ offline ]; platforms = platforms.unix; + badPlatforms = platforms.darwin; # fails to build since v9.3 }; } |