Merge pull request #17890 from schneefux/pflogsumm

pflogsumm: init at 1.1.3
This commit is contained in:
Jaka Hudoklin 2016-08-24 23:37:54 +02:00 committed by GitHub
commit 6e9c9b25c7
2 changed files with 35 additions and 0 deletions

View File

@ -0,0 +1,34 @@
{ stdenv, fetchurl, buildPerlPackage, perlPackages
}:
buildPerlPackage rec {
name = "pflogsumm-${version}";
version = "1.1.3";
src = fetchurl {
url = "http://jimsun.linxnet.com/downloads/${name}.tar.gz";
sha256 = "0hkim9s5f1yg5sfs5048jydhy3sbxafls496wcjk0cggxb113py4";
};
outputs = [ "out" "man" ];
buildInputs = [ perlPackages.DateCalc ];
preConfigure = ''
touch Makefile.PL
'';
doCheck = false;
installPhase = ''
mkdir -p "$out/bin"
mv "pflogsumm.pl" "$out/bin/pflogsumm"
mkdir -p "$out/share/man/man1"
mv "pflogsumm.1" "$out/share/man/man1"
'';
meta = {
homepage = "http://jimsun.linxnet.com/postfix_contrib.html";
description = "Postfix activity overview";
license = stdenv.lib.licenses.gpl2Plus;
};
}

View File

@ -10454,6 +10454,7 @@ in
rspamd = callPackage ../servers/mail/rspamd { };
pfixtools = callPackage ../servers/mail/postfix/pfixtools.nix { };
pflogsumm = callPackage ../servers/mail/postfix/pflogsumm.nix { };
pshs = callPackage ../servers/http/pshs { };