diff options
author | ajs124 <git@ajs124.de> | 2022-05-26 02:44:37 +0200 |
---|---|---|
committer | ajs124 <git@ajs124.de> | 2022-11-13 21:16:18 +0100 |
commit | d204d44cc81ae801137b117e71ccb2b773bafcc5 (patch) | |
tree | dac03893b98a2f40d14979be8250e09c09d93c6d | |
parent | b8e83fd7e16529ee331313993508c3bf918f1d57 (diff) |
ike: remove
last release from 2013. for an ipsec implementation. has been failing to build on hydra since 2022-04-06 / https://hydra.nixos.org/build/172502720
-rw-r--r-- | pkgs/applications/networking/ike/default.nix | 62 | ||||
-rw-r--r-- | pkgs/top-level/aliases.nix | 1 | ||||
-rw-r--r-- | pkgs/top-level/all-packages.nix | 2 |
3 files changed, 1 insertions, 64 deletions
diff --git a/pkgs/applications/networking/ike/default.nix b/pkgs/applications/networking/ike/default.nix deleted file mode 100644 index d4709e6655f06..0000000000000 --- a/pkgs/applications/networking/ike/default.nix +++ /dev/null @@ -1,62 +0,0 @@ -{ lib, stdenv, fetchurl, fetchpatch, cmake, openssl, libedit, flex, bison, qt4, makeWrapper -, gcc, nettools, iproute2, linuxHeaders }: - -# NOTE: use $out/etc/iked.conf as sample configuration and also set: dhcp_file "/etc/iked.dhcp"; -# launch with "iked -f /etc/iked.conf" - -# NOTE: my testings reveal that kernels 3.11.10 and 3.12.6 won't let the traffic through the tunnel, -# so I'm sticking with 3.4 - -stdenv.mkDerivation rec { - pname = "ike"; - version = "2.2.1"; - - src = fetchurl { - url = "https://www.shrew.net/download/ike/${pname}-${version}-release.tgz"; - sha256 = "0fhyr2psd93b0zf7yfb72q3nqnh65mymgq5jpjcsj9jv5kfr6l8y"; - }; - - patches = [ - # required for openssl 1.1.x compatibility - (fetchpatch { - name = "openssl-1.1.0.patch"; - url = "https://aur.archlinux.org/cgit/aur.git/plain/openssl-1.1.0.patch?h=ike&id=3a56735ddc26f750df4720f4baba0728bb4cb458"; - sha256 = "1hw8q4xy858rivpjkq5288q3mc75d52bg4w3n30y99h05wik0h51"; - }) - ]; - - nativeBuildInputs = [ cmake flex bison makeWrapper ]; - buildInputs = [ openssl libedit qt4 nettools iproute2 ]; - - postPatch = '' - # fix build with bison3 - sed -i 's/define "parser_class_name"/define parser_class_name/' source/iked/conf.parse.yy - ''; - - configurePhase = '' - mkdir -p $out/{bin,sbin,lib} - cmake -DQTGUI=YES -DETCDIR=$out/etc -DLIBDIR=$out/lib -DSBINDIR=$out/sbin -DBINDIR=$out/bin \ - -DKRNINC="${linuxHeaders}/include/" -DTESTS=YES \ - -DMANDIR=$out/man -DNATT=YES -DCMAKE_INSTALL_PREFIX:BOOL=$out - ''; - - buildPhase = '' - make - ''; - - installPhase = '' - make install - for file in "$out"/bin/* "$out"/sbin/*; do - wrapProgram $file --prefix LD_LIBRARY_PATH ":" "$out/lib:${lib.makeLibraryPath [ openssl gcc.cc stdenv.cc.libc libedit qt4 ]}" - done - ''; - - meta = with lib; { - broken = (stdenv.isLinux && stdenv.isAarch64); - homepage = "https://www.shrew.net/software"; - description = "IPsec Client for FreeBSD, NetBSD and many Linux based operating systems"; - platforms = platforms.unix; - maintainers = [ ]; - license = licenses.sleepycat; - }; -} diff --git a/pkgs/top-level/aliases.nix b/pkgs/top-level/aliases.nix index e104b7ecb856a..3894b850d8eea 100644 --- a/pkgs/top-level/aliases.nix +++ b/pkgs/top-level/aliases.nix @@ -628,6 +628,7 @@ mapAliases ({ icu59 = throw "icu59 has been removed, use a more recent version instead"; # Added 2022-05-14 icu65 = throw "icu65 has been removed, use a more recent version instead"; # Added 2022-05-14 idea = throw "'idea' has been renamed to/replaced by 'jetbrains'"; # Converted to throw 2022-02-22 + ike = throw "ike has been removed, because it was unmaintained"; # Added 2022-05-26 imapproxy = throw "imapproxy has been removed because it did not support a supported openssl version"; # added 2021-12-15 imagemagick7Big = imagemagickBig; # Added 2021-02-22 imagemagick7 = imagemagick; # Added 2021-02-22 diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index a70dd9e0494c6..2e6c0ee91cfe3 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -29500,8 +29500,6 @@ with pkgs; stdenv = gccStdenv; }; - ike = callPackage ../applications/networking/ike { }; - ikiwiki = callPackage ../applications/misc/ikiwiki { python = python3; inherit (perlPackages.override { pkgs = pkgs // { imagemagick = imagemagickBig;}; }) ImageMagick; |