diff options
author | Thomas Gerbet <thomas@gerbet.me> | 2023-12-19 21:47:04 +0100 |
---|---|---|
committer | Martin Weinelt <mweinelt@users.noreply.github.com> | 2024-01-06 22:38:05 +0100 |
commit | b6a6bca17cb482c832dcf339a0be3b8da357d8e6 (patch) | |
tree | ea43c1ccc12341834974377ca0f6aa9452331114 /pkgs/applications/networking/remote | |
parent | 7602338f2a4dc62b6031b3149a1bc6ff5b3c6ad6 (diff) | |
download | nixlib-b6a6bca17cb482c832dcf339a0be3b8da357d8e6.tar nixlib-b6a6bca17cb482c832dcf339a0be3b8da357d8e6.tar.gz nixlib-b6a6bca17cb482c832dcf339a0be3b8da357d8e6.tar.bz2 nixlib-b6a6bca17cb482c832dcf339a0be3b8da357d8e6.tar.lz nixlib-b6a6bca17cb482c832dcf339a0be3b8da357d8e6.tar.xz nixlib-b6a6bca17cb482c832dcf339a0be3b8da357d8e6.tar.zst nixlib-b6a6bca17cb482c832dcf339a0be3b8da357d8e6.zip |
putty: 0.76 -> 0.80
Includes the mitigation for CVE-2023-48795 (Terrapin attack). https://www.chiark.greenend.org.uk/~sgtatham/putty/changes.html
Diffstat (limited to 'pkgs/applications/networking/remote')
-rw-r--r-- | pkgs/applications/networking/remote/putty/default.nix | 33 |
1 files changed, 6 insertions, 27 deletions
diff --git a/pkgs/applications/networking/remote/putty/default.nix b/pkgs/applications/networking/remote/putty/default.nix index 4d8c1ee9dc40..99a698cf9db0 100644 --- a/pkgs/applications/networking/remote/putty/default.nix +++ b/pkgs/applications/networking/remote/putty/default.nix @@ -1,9 +1,9 @@ -{ stdenv, lib, fetchurl, autoconf, automake, pkg-config, libtool -, gtk2, halibut, ncurses, perl, darwin +{ stdenv, lib, fetchurl, cmake, perl, pkg-config +, gtk3, ncurses, darwin }: stdenv.mkDerivation rec { - version = "0.76"; + version = "0.80"; pname = "putty"; src = fetchurl { @@ -11,33 +11,12 @@ stdenv.mkDerivation rec { "https://the.earth.li/~sgtatham/putty/${version}/${pname}-${version}.tar.gz" "ftp://ftp.wayne.edu/putty/putty-website-mirror/${version}/${pname}-${version}.tar.gz" ]; - sha256 = "0gvi8phabszqksj2by5jrjmshm7bpirhgavz0dqyz1xaimxdjz2l"; + hash = "sha256-IBPIOnIbF1NSnpCQ98ODDo/kyAoHDMznZFObrbP2cIE="; }; - # glib-2.62 deprecations - env.NIX_CFLAGS_COMPILE = "-DGLIB_DISABLE_DEPRECATION_WARNINGS"; - - preConfigure = lib.optionalString stdenv.hostPlatform.isUnix '' - perl mkfiles.pl - ( cd doc ; make ); - ./mkauto.sh - cd unix - '' + lib.optionalString stdenv.hostPlatform.isWindows '' - cd windows - ''; - - TOOLPATH = stdenv.cc.targetPrefix; - makefile = if stdenv.hostPlatform.isWindows then "Makefile.mgw" else null; - - installPhase = if stdenv.hostPlatform.isWindows then '' - for exe in *.exe; do - install -D $exe $out/bin/$exe - done - '' else null; - - nativeBuildInputs = [ autoconf automake halibut libtool perl pkg-config ]; + nativeBuildInputs = [ cmake perl pkg-config ]; buildInputs = lib.optionals stdenv.hostPlatform.isUnix [ - gtk2 ncurses + gtk3 ncurses ] ++ lib.optional stdenv.isDarwin darwin.apple_sdk.libs.utmp; enableParallelBuilding = true; |