GNU Mailutils 2.2.
svn path=/nixpkgs/trunk/; revision=23713
This commit is contained in:
parent
7ff37213b7
commit
9fd0fdebd9
|
@ -1,20 +1,22 @@
|
|||
{ fetchurl, stdenv, gettext, gdbm, libtool, pam, readline
|
||||
, ncurses, gnutls, mysql, guile, texinfo, gnum4 }:
|
||||
, ncurses, gnutls, mysql, guile, texinfo, gnum4, dejagnu }:
|
||||
|
||||
/* TODO: Add GNU SASL, GNU GSSAPI, and FreeBidi. */
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "mailutils-2.1";
|
||||
name = "mailutils-2.2";
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://gnu/mailutils/${name}.tar.bz2";
|
||||
sha256 = "09c4cb7w8z0gaxsqg1wgn2w8kgmqcqpahv7mw3ygw3nagcfh84cs";
|
||||
sha256 = "0szbqa12zqzldqyw97lxqax3ja2adis83i7brdfsxmrfw68iaf65";
|
||||
};
|
||||
|
||||
buildInputs = [
|
||||
gettext gdbm libtool pam readline ncurses
|
||||
gnutls mysql guile texinfo gnum4
|
||||
];
|
||||
patches = [ ./path-to-cat.patch ];
|
||||
|
||||
buildInputs =
|
||||
[ gettext gdbm libtool pam readline ncurses
|
||||
gnutls mysql guile texinfo gnum4 ]
|
||||
++ stdenv.lib.optional doCheck dejagnu;
|
||||
|
||||
doCheck = true;
|
||||
|
||||
|
|
13
pkgs/tools/networking/mailutils/path-to-cat.patch
Normal file
13
pkgs/tools/networking/mailutils/path-to-cat.patch
Normal file
|
@ -0,0 +1,13 @@
|
|||
Fix absolute path to `cat'.
|
||||
|
||||
--- mailutils-2.2/testsuite/lib/mailutils.exp 2010-09-10 13:39:58.000000000 +0200
|
||||
+++ mailutils-2.2/testsuite/lib/mailutils.exp 2010-09-10 13:40:00.000000000 +0200
|
||||
@@ -719,7 +719,7 @@ proc mu_test_file {args} {
|
||||
set pattern [lrange $args 1 end]
|
||||
}
|
||||
|
||||
- set res [remote_spawn host "/bin/cat $filename"]
|
||||
+ set res [remote_spawn host "cat $filename"]
|
||||
if { $res < 0 || $res == "" } {
|
||||
perror "Reading $filename failed."
|
||||
return 1;
|
Loading…
Reference in a new issue