2013-12-04 03:41:25 +01:00
|
|
|
{ stdenv, fetchurl, autoreconfHook, zlib, pcre, w3m, man }:
|
2009-10-05 16:15:28 +02:00
|
|
|
|
2020-06-07 23:11:08 +02:00
|
|
|
stdenv.mkDerivation rec {
|
2016-01-30 15:21:20 +01:00
|
|
|
|
2019-08-15 14:41:18 +02:00
|
|
|
pname = "privoxy";
|
2020-12-03 06:34:13 +01:00
|
|
|
version = "3.0.29";
|
2009-10-05 16:15:28 +02:00
|
|
|
|
|
|
|
src = fetchurl {
|
2019-08-15 14:41:18 +02:00
|
|
|
url = "mirror://sourceforge/ijbswa/Sources/${version}%20%28stable%29/${pname}-${version}-stable-src.tar.gz";
|
2020-12-03 06:34:13 +01:00
|
|
|
sha256 = "17a8fbdyb0ixc0wwq68fg7xn7l6n7jq67njpq93psmxgzng0dii5";
|
2009-10-05 16:15:28 +02:00
|
|
|
};
|
|
|
|
|
2016-12-06 14:29:29 +01:00
|
|
|
hardeningEnable = [ "pie" ];
|
|
|
|
|
2016-12-05 13:13:12 +01:00
|
|
|
nativeBuildInputs = [ autoreconfHook w3m man ];
|
|
|
|
buildInputs = [ zlib pcre ];
|
|
|
|
|
2017-08-03 23:17:30 +02:00
|
|
|
makeFlags = [ "STRIP="];
|
|
|
|
|
2016-12-05 13:13:12 +01:00
|
|
|
postInstall = ''
|
|
|
|
rm -rf $out/var
|
|
|
|
'';
|
2009-10-05 16:15:28 +02:00
|
|
|
|
2013-12-04 03:41:25 +01:00
|
|
|
meta = with stdenv.lib; {
|
2020-04-01 03:11:51 +02:00
|
|
|
homepage = "https://www.privoxy.org/";
|
2013-12-04 03:41:25 +01:00
|
|
|
description = "Non-caching web proxy with advanced filtering capabilities";
|
|
|
|
license = licenses.gpl2;
|
|
|
|
platforms = platforms.all;
|
|
|
|
maintainers = [ maintainers.phreedom ];
|
|
|
|
};
|
2016-01-30 15:21:20 +01:00
|
|
|
|
2009-10-05 16:15:28 +02:00
|
|
|
}
|