2013-12-04 02:41:25 +00:00
|
|
|
{ stdenv, fetchurl, autoreconfHook, zlib, pcre, w3m, man }:
|
2009-10-05 15:15:28 +01:00
|
|
|
|
2016-01-30 14:21:20 +00:00
|
|
|
stdenv.mkDerivation rec{
|
|
|
|
|
2016-12-05 12:13:12 +00:00
|
|
|
name = "privoxy-${version}";
|
|
|
|
version = "3.0.26";
|
2009-10-05 15:15:28 +01:00
|
|
|
|
|
|
|
src = fetchurl {
|
2016-12-05 12:13:12 +00:00
|
|
|
url = "mirror://sourceforge/ijbswa/Sources/${version}%20%28stable%29/${name}-stable-src.tar.gz";
|
|
|
|
sha256 = "1n4wpxmahl8m2y3d1azxa8lrdbpaad007k458skxrpz57ss1br2p";
|
2009-10-05 15:15:28 +01:00
|
|
|
};
|
|
|
|
|
2016-12-06 13:29:29 +00:00
|
|
|
hardeningEnable = [ "pie" ];
|
|
|
|
|
2016-12-05 12:13:12 +00:00
|
|
|
nativeBuildInputs = [ autoreconfHook w3m man ];
|
|
|
|
buildInputs = [ zlib pcre ];
|
|
|
|
|
|
|
|
postInstall = ''
|
|
|
|
rm -rf $out/var
|
|
|
|
'';
|
2009-10-05 15:15:28 +01:00
|
|
|
|
2013-12-04 02:41:25 +00:00
|
|
|
meta = with stdenv.lib; {
|
|
|
|
homepage = http://www.privoxy.org/;
|
|
|
|
description = "Non-caching web proxy with advanced filtering capabilities";
|
|
|
|
license = licenses.gpl2;
|
|
|
|
platforms = platforms.all;
|
|
|
|
maintainers = [ maintainers.phreedom ];
|
|
|
|
};
|
2016-01-30 14:21:20 +00:00
|
|
|
|
2009-10-05 15:15:28 +01:00
|
|
|
}
|