pflogsumm: init at 1.1.3
This commit is contained in:
parent
c2192c664a
commit
509f24f240
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;
|
||||||
|
};
|
||||||
|
}
|
@ -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 { };
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user