mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-11 15:27:20 +03:00
maildrop: add version 2.6.0
This commit is contained in:
parent
4ad3cc1c6d
commit
ef926f21e6
20
pkgs/tools/networking/maildrop/default.nix
Normal file
20
pkgs/tools/networking/maildrop/default.nix
Normal file
@ -0,0 +1,20 @@
|
||||
{ fetchurl, stdenv, pkgconfig, pcre, perl }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "maildrop-2.6.0";
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://sourceforge/courier/maildrop/2.6.0/maildrop-2.6.0.tar.bz2";
|
||||
sha256 = "1a94p2b41iy334cwfwmzi19557dn5j61abh0cp2rfc9dkc8ibhdg";
|
||||
};
|
||||
|
||||
buildInputs = [ pkgconfig pcre perl ];
|
||||
|
||||
patches = [ ./maildrop.configure.hack.patch ]; # for building in chroot
|
||||
|
||||
meta = {
|
||||
homepage = http://www.courier-mta.org/maildrop/;
|
||||
description = "Mail filter/mail delivery agent that is used by the Courier Mail Server";
|
||||
licenses = [ "GPLv3" ];
|
||||
};
|
||||
}
|
13
pkgs/tools/networking/maildrop/maildrop.configure.hack.patch
Normal file
13
pkgs/tools/networking/maildrop/maildrop.configure.hack.patch
Normal file
@ -0,0 +1,13 @@
|
||||
--- a/maildrop/configure 2012-09-06 01:52:13.000000000 +0100
|
||||
+++ b/maildrop/configure 2013-01-04 03:00:57.095628327 +0000
|
||||
@@ -17562,8 +17562,8 @@
|
||||
check_spooldir() {
|
||||
if test "$CHECKED_SPOOLDIR" != 1
|
||||
then
|
||||
- get_spooldir
|
||||
- MBOX_DIR="$SPOOLDIR"
|
||||
+ MBOX_DIR="/var/spool/mail"
|
||||
+ MBOX_RESET_GID=0
|
||||
CHECKED_SPOOLDIR=1
|
||||
fi
|
||||
}
|
@ -1054,6 +1054,8 @@ let
|
||||
|
||||
lzop = callPackage ../tools/compression/lzop { };
|
||||
|
||||
maildrop = callPackage ../tools/networking/maildrop { };
|
||||
|
||||
mailutils = callPackage ../tools/networking/mailutils {
|
||||
guile = guile_1_8;
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user