3
0
Fork 0
forked from mirrors/nixpkgs

GNU Mailutils 2.2.

svn path=/nixpkgs/trunk/; revision=23713
This commit is contained in:
Ludovic Courtès 2010-09-10 11:50:11 +00:00
parent 7ff37213b7
commit 9fd0fdebd9
2 changed files with 22 additions and 7 deletions

View file

@ -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;

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