From d921153291e1a76c5a361b59e34d2e9f5ee6afb6 Mon Sep 17 00:00:00 2001 From: Matthias Thym Date: Wed, 30 Aug 2023 16:03:17 +0200 Subject: [PATCH 1/4] ipscan: fix broken package (core dump) --- pkgs/tools/security/ipscan/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/tools/security/ipscan/default.nix b/pkgs/tools/security/ipscan/default.nix index 7611680c64af..e305547dd6e3 100644 --- a/pkgs/tools/security/ipscan/default.nix +++ b/pkgs/tools/security/ipscan/default.nix @@ -14,7 +14,7 @@ stdenv.mkDerivation rec { version = "3.9.0"; src = fetchurl { - url = "https://github.com/angryip/ipscan/releases/download/${version}/ipscan_${version}_all.deb"; + url = "https://github.com/angryip/ipscan/releases/download/${version}/ipscan_${version}_amd64.deb"; sha256 = "sha256-HpsEp5XSz118cbV2wT81hzQT4cgDEBnpUbpl45ZVvlg="; }; @@ -27,7 +27,7 @@ stdenv.mkDerivation rec { installPhase = '' mkdir -p $out/share - cp usr/lib/ipscan/ipscan-any-${version}.jar $out/share/${pname}-${version}.jar + cp usr/lib/ipscan/ipscan-linux64-${version}.jar $out/share/${pname}-${version}.jar makeWrapper ${jre}/bin/java $out/bin/ipscan \ --prefix LD_LIBRARY_PATH : "$out/lib/:${lib.makeLibraryPath [ swt xorg.libXtst ]}" \ From 23618ec15bb033a9f81dfeab604f9270087973fa Mon Sep 17 00:00:00 2001 From: Matthias Thym Date: Wed, 30 Aug 2023 16:09:38 +0200 Subject: [PATCH 2/4] ipscan: 3.9.0 -> 3.9.1 --- pkgs/tools/security/ipscan/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/tools/security/ipscan/default.nix b/pkgs/tools/security/ipscan/default.nix index e305547dd6e3..9632e7371df3 100644 --- a/pkgs/tools/security/ipscan/default.nix +++ b/pkgs/tools/security/ipscan/default.nix @@ -11,11 +11,11 @@ stdenv.mkDerivation rec { pname = "ipscan"; - version = "3.9.0"; + version = "3.9.1"; src = fetchurl { url = "https://github.com/angryip/ipscan/releases/download/${version}/ipscan_${version}_amd64.deb"; - sha256 = "sha256-HpsEp5XSz118cbV2wT81hzQT4cgDEBnpUbpl45ZVvlg="; + hash = "sha256-UPkUwZV3NIeVfL3yYvqOhm4X5xW+40GOlZGy8WGhYmk="; }; sourceRoot = "."; From e0192b625cf591f12831f2a3752349c8ed8ac775 Mon Sep 17 00:00:00 2001 From: Matthias Thym Date: Wed, 30 Aug 2023 16:10:10 +0200 Subject: [PATCH 3/4] ipscan: refactor meta and add totoroot as maintainer --- pkgs/tools/security/ipscan/default.nix | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/pkgs/tools/security/ipscan/default.nix b/pkgs/tools/security/ipscan/default.nix index 9632e7371df3..72a44a4ab8a1 100644 --- a/pkgs/tools/security/ipscan/default.nix +++ b/pkgs/tools/security/ipscan/default.nix @@ -42,12 +42,13 @@ stdenv.mkDerivation rec { ''; meta = with lib; { - description = "Fast and friendly network scanner"; + description = "Angry IP Scanner - fast and friendly network scanner"; homepage = "https://angryip.org"; + downloadPage = "https://github.com/angryip/ipscan/releases/tag/${version}"; changelog = "https://github.com/angryip/ipscan/blob/${version}/CHANGELOG"; sourceProvenance = with sourceTypes; [ binaryBytecode ]; license = licenses.gpl2Only; platforms = [ "x86_64-linux" ]; - maintainers = with maintainers; [ kylesferrazza ]; + maintainers = with maintainers; [ kylesferrazza totoroot ]; }; } From 1c89afa06e6789e4449cb9eb2a5d6967cffc58d5 Mon Sep 17 00:00:00 2001 From: Matthias Thym Date: Wed, 30 Aug 2023 16:10:43 +0200 Subject: [PATCH 4/4] ipscan: add alias for common name --- pkgs/top-level/aliases.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/pkgs/top-level/aliases.nix b/pkgs/top-level/aliases.nix index 83449b854cba..57cac52f54c7 100644 --- a/pkgs/top-level/aliases.nix +++ b/pkgs/top-level/aliases.nix @@ -81,6 +81,7 @@ mapAliases ({ amuleGui = throw "amuleGui was renamed to amule-gui"; # Added 2022-02-11 amsn = throw "amsn has been removed due to being unmaintained"; # Added 2020-12-09 angelfish = libsForQt5.kdeGear.angelfish; # Added 2021-10-06 + angryipscanner = ipscan; # Added 2023-08-30 ansible_2_12 = throw "Ansible 2.12 goes end of life in 2023/05 and can't be supported throughout the 23.05 release cycle"; # Added 2023-05-16 ansible_2_11 = throw "Ansible 2.11 goes end of life in 2022/11 and can't be supported throughout the 22.05 release cycle"; # Added 2022-03-30 ansible_2_10 = throw "Ansible 2.10 went end of life in 2022/05 and has subsequently been dropped"; # Added 2022-03-30