about summary refs log tree commit diff
path: root/pkgs/tools
diff options
context:
space:
mode:
authorMichele Guerini Rocco <rnhmjoj@users.noreply.github.com>2021-09-29 07:58:38 +0200
committerGitHub <noreply@github.com>2021-09-29 07:58:38 +0200
commita46a8a13deefc3744a62efa0a83cab2b353f173a (patch)
tree9662d88c54c513a9c26741ba717b3698cf51bfa9 /pkgs/tools
parent895f3956d266e2e90b66d03ea97ebc082bffd12c (diff)
parentb0815e9825ded6cccabe0a93c95b8ec646ddf155 (diff)
Merge pull request #139796 from rnhmjoj/privoxy
privoxy: switch to openssl
Diffstat (limited to 'pkgs/tools')
-rw-r--r--pkgs/tools/networking/privoxy/default.nix8
1 files changed, 4 insertions, 4 deletions
diff --git a/pkgs/tools/networking/privoxy/default.nix b/pkgs/tools/networking/privoxy/default.nix
index 9fce8d7a5f415..9fc159d810c11 100644
--- a/pkgs/tools/networking/privoxy/default.nix
+++ b/pkgs/tools/networking/privoxy/default.nix
@@ -2,7 +2,7 @@
 , nixosTests
 , fetchurl, autoreconfHook
 , zlib, pcre, w3m, man
-, mbedtls, brotli
+, openssl, brotli
 }:
 
 stdenv.mkDerivation rec {
@@ -18,11 +18,11 @@ stdenv.mkDerivation rec {
   hardeningEnable = [ "pie" ];
 
   nativeBuildInputs = [ autoreconfHook w3m man ];
-  buildInputs = [ zlib pcre mbedtls brotli ];
+  buildInputs = [ zlib pcre openssl brotli ];
 
   makeFlags = [ "STRIP=" ];
   configureFlags = [
-    "--with-mbedtls"
+    "--with-openssl"
     "--with-brotli"
     "--enable-external-filters"
     "--enable-compression"
@@ -39,7 +39,7 @@ stdenv.mkDerivation rec {
     description = "Non-caching web proxy with advanced filtering capabilities";
     # When linked with mbedtls, the license becomes GPLv3 (or later), otherwise
     # GPLv2 (or later). See https://www.privoxy.org/user-manual/copyright.html
-    license = licenses.gpl3Plus;
+    license = licenses.gpl2Plus;
     platforms = platforms.all;
     maintainers = [ maintainers.phreedom ];
   };