forked from mirrors/nixpkgs
Merge pull request #17890 from schneefux/pflogsumm
pflogsumm: init at 1.1.3
This commit is contained in:
commit
6e9c9b25c7
34
pkgs/servers/mail/postfix/pflogsumm.nix
Normal file
34
pkgs/servers/mail/postfix/pflogsumm.nix
Normal 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;
|
||||
};
|
||||
}
|
|
@ -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 { };
|
||||
|
||||
|
|
Loading…
Reference in a new issue