2021-01-15 22:18:51 +00:00
|
|
|
{ lib, stdenv, fetchurl, autoreconfHook, zlib, pcre, w3m, man }:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2020-06-18 07:06:33 +00:00
|
|
|
stdenv.mkDerivation rec {
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
pname = "privoxy";
|
2021-02-05 17:12:51 +00:00
|
|
|
version = "3.0.30";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "mirror://sourceforge/ijbswa/Sources/${version}%20%28stable%29/${pname}-${version}-stable-src.tar.gz";
|
2021-02-05 17:12:51 +00:00
|
|
|
sha256 = "sha256-pP4kHF2nAQsoS/ienp4xoyHx8+scx5ZVnT+6ublBXuE=";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
hardeningEnable = [ "pie" ];
|
|
|
|
|
|
|
|
nativeBuildInputs = [ autoreconfHook w3m man ];
|
|
|
|
buildInputs = [ zlib pcre ];
|
|
|
|
|
|
|
|
makeFlags = [ "STRIP="];
|
|
|
|
|
|
|
|
postInstall = ''
|
|
|
|
rm -rf $out/var
|
|
|
|
'';
|
|
|
|
|
2021-01-15 22:18:51 +00:00
|
|
|
meta = with lib; {
|
2020-04-24 23:36:52 +00:00
|
|
|
homepage = "https://www.privoxy.org/";
|
|
|
|
description = "Non-caching web proxy with advanced filtering capabilities";
|
|
|
|
license = licenses.gpl2;
|
|
|
|
platforms = platforms.all;
|
|
|
|
maintainers = [ maintainers.phreedom ];
|
|
|
|
};
|
|
|
|
|
|
|
|
}
|