pflogsumm: init at 1.1.3

This commit is contained in:
schneefux 2016-08-21 21:18:28 +02:00
parent c2192c664a
commit 509f24f240
No known key found for this signature in database
GPG Key ID: 50F2BF336737C2F0
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

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