dnscrypt-proxy: remove

This commit is contained in:
worldofpeace 2020-02-01 19:04:01 -05:00
parent 4c3166b006
commit 39e893c468
4 changed files with 3 additions and 40 deletions

View file

@ -1,37 +0,0 @@
{ stdenv, fetchurl, pkgconfig, libsodium, ldns, openssl, systemd }:
with stdenv.lib;
stdenv.mkDerivation rec {
pname = "dnscrypt-proxy";
version = "1.9.5";
src = fetchurl {
url = "https://launchpad.net/ubuntu/+archive/primary/+files/${pname}-${version}.orig.tar.gz";
sha256 = "1dhvklr4dg2vlw108n11xbamacaryyg3dbrg629b76lp7685p7z8";
};
enableParallelBuilding = true;
configureFlags = optional stdenv.isLinux "--with-systemd";
nativeBuildInputs = [ pkgconfig ];
# <ldns/ldns.h> depends on <openssl/ssl.h>
buildInputs = [ libsodium openssl.dev ldns ] ++ optional stdenv.isLinux systemd;
postInstall = ''
# Previous versions required libtool files to load plugins; they are
# now strictly optional.
rm $out/lib/dnscrypt-proxy/*.la
'';
meta = {
description = "A tool for securing communications between a client and a DNS resolver";
homepage = https://dnscrypt.info/;
license = licenses.isc;
maintainers = with maintainers; [ joachifm ];
# upstream claims OSX support, but Hydra fails
platforms = platforms.linux; # Maybe other non-darwin Unix
};
}

View file

@ -564,4 +564,6 @@ mapAliases ({
'';
oraclejre8psu = oraclejdk8psu;
oraclejdk8psu_distro = oraclejdk8psu;
dnscrypt-proxy = throw "dnscrypt-proxy has been removed. Please use dnscrypt-proxy2."; # added 2020-02-02
})

View file

@ -2770,9 +2770,7 @@ in
djbdns = callPackage ../tools/networking/djbdns { };
dnscrypt-proxy = callPackage ../tools/networking/dnscrypt-proxy/1.x { };
dnscrypt-proxy2 = callPackage ../tools/networking/dnscrypt-proxy/2.x { };
dnscrypt-proxy2 = callPackage ../tools/networking/dnscrypt-proxy2 { };
dnscrypt-wrapper = callPackage ../tools/networking/dnscrypt-wrapper { };