mailutils: 3.2 -> 3.8
This commit is contained in:
parent
ad7c7cfe7a
commit
e19e95d86d
@ -1,15 +1,15 @@
|
|||||||
{ stdenv, fetchurl, fetchpatch, autoreconfHook, dejagnu, gettext, pkgconfig
|
{ stdenv, fetchurl, fetchpatch, autoreconfHook, dejagnu, gettext, pkgconfig
|
||||||
, gdbm, pam, readline, ncurses, gnutls, guile, texinfo, gnum4, sasl, fribidi, nettools
|
, gdbm, pam, readline, ncurses, gnutls, guile, texinfo, gnum4, sasl, fribidi, nettools
|
||||||
, python, gss, libmysqlclient, system-sendmail }:
|
, python3, gss, libmysqlclient, system-sendmail }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "${project}-${version}";
|
name = "${project}-${version}";
|
||||||
project = "mailutils";
|
project = "mailutils";
|
||||||
version = "3.2";
|
version = "3.8";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "mirror://gnu/${project}/${name}.tar.xz";
|
url = "mirror://gnu/${project}/${name}.tar.xz";
|
||||||
sha256 = "0zh7xn8yvnw9zkc7gi5290i34viwxp1rn0g1q9nyvmckkvk59lwn";
|
sha256 = "1wkn9ch664477r4d8jk9153w5msljsbj99907k7zgzpmywbs6ba7";
|
||||||
};
|
};
|
||||||
|
|
||||||
postPatch = ''
|
postPatch = ''
|
||||||
@ -29,17 +29,11 @@ stdenv.mkDerivation rec {
|
|||||||
|
|
||||||
buildInputs = [
|
buildInputs = [
|
||||||
gdbm pam readline ncurses gnutls guile texinfo gnum4 sasl fribidi nettools
|
gdbm pam readline ncurses gnutls guile texinfo gnum4 sasl fribidi nettools
|
||||||
gss libmysqlclient python
|
gss libmysqlclient python3
|
||||||
];
|
];
|
||||||
|
|
||||||
patches = [
|
patches = [
|
||||||
(fetchpatch {
|
|
||||||
url = "https://git.savannah.gnu.org/cgit/mailutils.git/patch/?id=afbb33cf9ff";
|
|
||||||
excludes = [ "NEWS" ];
|
|
||||||
sha256 = "0yzkfx3j1zkkb43fhchjqphw4xznbclj39bjzjggv32gppy6d1db";
|
|
||||||
})
|
|
||||||
./fix-build-mb-len-max.patch
|
./fix-build-mb-len-max.patch
|
||||||
./fix-test-ali-awk.patch
|
|
||||||
./path-to-cat.patch
|
./path-to-cat.patch
|
||||||
];
|
];
|
||||||
|
|
||||||
|
@ -1,16 +0,0 @@
|
|||||||
diff --git a/mh/tests/ali.at b/mh/tests/ali.at
|
|
||||||
index 28c0e5451..c76cf9363 100644
|
|
||||||
--- a/mh/tests/ali.at
|
|
||||||
+++ b/mh/tests/ali.at
|
|
||||||
@@ -85,9 +85,9 @@ ali -a ./mh_aliases korzen | tr -d ' '
|
|
||||||
[expout])
|
|
||||||
|
|
||||||
MH_CHECK([ali: group id],[ali05 ali-group-id ali-gid],[
|
|
||||||
-cat /etc/passwd | awk -F : '/^#/ { next } $4==0 { print $1 }' > expout
|
|
||||||
+cat /etc/passwd | awk -F : '/^#/ { next } $4==0 { print $1; exit }' > expout
|
|
||||||
test -s expout || AT_SKIP_TEST
|
|
||||||
-name=`awk -F : '/^#/ { next } $3==0 { print $1 }' /etc/group < /dev/null`
|
|
||||||
+name=`awk -F : '/^#/ { next } $3==0 { print $1; exit }' /etc/group < /dev/null`
|
|
||||||
test -z "$name" && AT_SKIP_TEST
|
|
||||||
|
|
||||||
echo "korzen: +$name" > mh_aliases
|
|
Loading…
x
Reference in New Issue
Block a user