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