2012-09-18 16:27:00 -07:00
|
|
|
{ stdenv, fetchurl, openssl }:
|
2012-09-18 16:16:01 -07:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
|
2014-01-25 11:55:12 -08:00
|
|
|
name = "popa3d-1.0.3";
|
2012-09-18 16:16:01 -07:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "http://www.openwall.com/popa3d/${name}.tar.gz";
|
2014-01-25 11:55:12 -08:00
|
|
|
sha256 = "1g48cd74sqhl496wmljhq44iyfpghaz363a1ip8nyhpjz7d57f03";
|
2012-09-18 16:16:01 -07:00
|
|
|
};
|
|
|
|
|
2012-09-18 16:27:00 -07:00
|
|
|
buildInputs = [ openssl ];
|
|
|
|
|
2012-09-18 16:38:07 -07:00
|
|
|
patches = [
|
|
|
|
./fix-mail-spool-path.patch
|
|
|
|
./use-openssl.patch
|
|
|
|
./use-glibc-crypt.patch
|
|
|
|
./enable-standalone-mode.patch
|
|
|
|
];
|
2012-09-18 16:27:00 -07:00
|
|
|
|
|
|
|
configurePhase = ''makeFlags="PREFIX=$out MANDIR=$out/share/man"'';
|
2012-09-18 16:16:01 -07:00
|
|
|
|
|
|
|
meta = {
|
|
|
|
homepage = "http://www.openwall.com/popa3d/";
|
2014-01-25 11:59:31 -08:00
|
|
|
description = "Tiny POP3 daemon with security as the primary goal";
|
2016-08-02 10:50:55 -07:00
|
|
|
platforms = stdenv.lib.platforms.linux;
|
2012-09-18 16:16:01 -07:00
|
|
|
};
|
|
|
|
}
|