maildrop: add version 2.6.0

This commit is contained in:
Jan Malakhovski 2013-01-04 03:07:46 +00:00
parent 4ad3cc1c6d
commit ef926f21e6
3 changed files with 35 additions and 0 deletions

View 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" ];
};
}

View 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
}

View File

@ -1054,6 +1054,8 @@ let
lzop = callPackage ../tools/compression/lzop { };
maildrop = callPackage ../tools/networking/maildrop { };
mailutils = callPackage ../tools/networking/mailutils {
guile = guile_1_8;
};