diff options
| author | Maxim Cournoyer <maxim.cournoyer@gmail.com> | 2021-09-09 13:38:53 -0400 |
|---|---|---|
| committer | Maxim Cournoyer <maxim.cournoyer@gmail.com> | 2021-09-09 20:48:31 -0400 |
| commit | 173b6f6f154ab214b89f063ff3a67ea3207347ec (patch) | |
| tree | 53ad46f32c559ddd4a0f6c9ce2b558a8fefa2f2a | |
| parent | d8a184f086fb1b434628f8e486c14c2daf716ce9 (diff) | |
gnu: mailutils: Update to 3.13.
* gnu/packages/patches/mailutils-fix-uninitialized-variable.patch: Remove
patch.
* gnu/local.mk (dist_patch_DATA): De-register it.
* gnu/packages/mail.scm (mailutils): Update to 3.13. Remove the 2013
--with-sql option TODO comment; if someone needs that, they can send a patch.
[source]: Remove above patch.
[phases]{prepare-test-suite}: Also patch shell shebang in
'libmailutils/tests/lock.at' and 'imap4d/tests/testclient.c'.
[parallel-tests?]: Reinstate parallel tests.
[inputs]: Move m4 to...
[native-inputs]: ... here. Add the autoconf, automake, gettext and libtool
quartet.
| -rw-r--r-- | gnu/local.mk | 1 | ||||
| -rw-r--r-- | gnu/packages/mail.scm | 35 | ||||
| -rw-r--r-- | gnu/packages/patches/mailutils-fix-uninitialized-variable.patch | 26 |
3 files changed, 19 insertions, 43 deletions
diff --git a/gnu/local.mk b/gnu/local.mk index 2a56c4a9e2d..7141fcd31e9 100644 --- a/gnu/local.mk +++ b/gnu/local.mk | |||
| @@ -1433,7 +1433,6 @@ dist_patch_DATA = \ | |||
| 1433 | %D%/packages/patches/luajit-no_ldconfig.patch \ | 1433 | %D%/packages/patches/luajit-no_ldconfig.patch \ |
| 1434 | %D%/packages/patches/luit-posix.patch \ | 1434 | %D%/packages/patches/luit-posix.patch \ |
| 1435 | %D%/packages/patches/lvm2-static-link.patch \ | 1435 | %D%/packages/patches/lvm2-static-link.patch \ |
| 1436 | %D%/packages/patches/mailutils-fix-uninitialized-variable.patch \ | ||
| 1437 | %D%/packages/patches/mailutils-variable-lookup.patch \ | 1436 | %D%/packages/patches/mailutils-variable-lookup.patch \ |
| 1438 | %D%/packages/patches/make-impure-dirs.patch \ | 1437 | %D%/packages/patches/make-impure-dirs.patch \ |
| 1439 | %D%/packages/patches/marble-qt-add-qt-headers.patch \ | 1438 | %D%/packages/patches/marble-qt-add-qt-headers.patch \ |
diff --git a/gnu/packages/mail.scm b/gnu/packages/mail.scm index bf0ae0041c6..0ccd719d68a 100644 --- a/gnu/packages/mail.scm +++ b/gnu/packages/mail.scm | |||
| @@ -260,18 +260,16 @@ example, modify the message headers or body, or encrypt or sign the message.") | |||
| 260 | (define-public mailutils | 260 | (define-public mailutils |
| 261 | (package | 261 | (package |
| 262 | (name "mailutils") | 262 | (name "mailutils") |
| 263 | (version "3.10") | 263 | (version "3.13") |
| 264 | (source (origin | 264 | (source (origin |
| 265 | (method url-fetch) | 265 | (method url-fetch) |
| 266 | (uri (string-append "mirror://gnu/mailutils/mailutils-" | 266 | (uri (string-append "mirror://gnu/mailutils/mailutils-" |
| 267 | version ".tar.xz")) | 267 | version ".tar.xz")) |
| 268 | (sha256 | 268 | (sha256 |
| 269 | (base32 | 269 | (base32 |
| 270 | "17smrxjdgbbzbzakik30vj46q4iib85ksqhb82jr4vjp57akszh9")) | 270 | "1iwl82d6aa2acsdxbqh1s5xx44sg83b4yxqik408m1s9rcfrf86r")) |
| 271 | (patches | 271 | (patches |
| 272 | ;; Fixes https://issues.guix.gnu.org/43088. | 272 | (search-patches "mailutils-variable-lookup.patch")))) |
| 273 | (search-patches "mailutils-fix-uninitialized-variable.patch" | ||
| 274 | "mailutils-variable-lookup.patch")))) | ||
| 275 | (build-system gnu-build-system) | 273 | (build-system gnu-build-system) |
| 276 | (arguments | 274 | (arguments |
| 277 | `(#:phases | 275 | `(#:phases |
| @@ -295,8 +293,9 @@ example, modify the message headers or body, or encrypt or sign the message.") | |||
| 295 | ;; The 'pipeact.at' tests generate a shell script; make | 293 | ;; The 'pipeact.at' tests generate a shell script; make |
| 296 | ;; sure it uses the right shell. | 294 | ;; sure it uses the right shell. |
| 297 | (substitute* '("sieve/tests/testsuite" | 295 | (substitute* '("sieve/tests/testsuite" |
| 298 | "mh/tests/testsuite") | 296 | "mh/tests/testsuite" |
| 299 | (("#! /bin/sh") | 297 | "libmailutils/tests/lock.at") |
| 298 | (("#! ?/bin/sh") | ||
| 300 | (string-append "#!" (which "sh")))) | 299 | (string-append "#!" (which "sh")))) |
| 301 | 300 | ||
| 302 | (substitute* "mh/tests/testsuite" | 301 | (substitute* "mh/tests/testsuite" |
| @@ -328,8 +327,9 @@ example, modify the message headers or body, or encrypt or sign the message.") | |||
| 328 | (format port "Path: ~a/Mail-for-tests~%" | 327 | (format port "Path: ~a/Mail-for-tests~%" |
| 329 | (getcwd)))) | 328 | (getcwd)))) |
| 330 | 329 | ||
| 331 | #t))) | 330 | (substitute* "imap4d/tests/testclient.c" |
| 332 | ;; TODO: Add `--with-sql'. | 331 | (("\"/bin/sh\"") |
| 332 | (string-append "\"" (which "sh") "\"")))))) | ||
| 333 | #:configure-flags | 333 | #:configure-flags |
| 334 | (list "--sysconfdir=/etc" | 334 | (list "--sysconfdir=/etc" |
| 335 | 335 | ||
| @@ -341,16 +341,20 @@ example, modify the message headers or body, or encrypt or sign the message.") | |||
| 341 | (package-inputs this-package)) | 341 | (package-inputs this-package)) |
| 342 | (("guile" guile) | 342 | (("guile" guile) |
| 343 | (version-major+minor | 343 | (version-major+minor |
| 344 | (package-version guile)))))) | 344 | (package-version guile)))))))) |
| 345 | |||
| 346 | #:parallel-tests? #f)) | ||
| 347 | (native-inputs | 345 | (native-inputs |
| 348 | `(("perl" ,perl) ;for 'gylwrap' | 346 | ;; Regeneration of the build system is triggered by touching the |
| 347 | ;; 'libmailutils/tests/lock.at' file. | ||
| 348 | `(("autoconf" ,autoconf) | ||
| 349 | ("automake" ,automake) | ||
| 350 | ("gettext" ,gettext-minimal) | ||
| 351 | ("libtool" ,libtool) | ||
| 352 | ("m4" ,m4) | ||
| 353 | ("perl" ,perl) ;for 'gylwrap' | ||
| 349 | ("texinfo" ,texinfo) | 354 | ("texinfo" ,texinfo) |
| 350 | ("dejagnu" ,dejagnu))) | 355 | ("dejagnu" ,dejagnu))) |
| 351 | (inputs | 356 | (inputs |
| 352 | `(("m4" ,m4) | 357 | `(("guile" ,guile-3.0) |
| 353 | ("guile" ,guile-3.0) | ||
| 354 | ("gsasl" ,gsasl) | 358 | ("gsasl" ,gsasl) |
| 355 | ("gnutls" ,gnutls) | 359 | ("gnutls" ,gnutls) |
| 356 | ("ncurses" ,ncurses) | 360 | ("ncurses" ,ncurses) |
| @@ -358,7 +362,6 @@ example, modify the message headers or body, or encrypt or sign the message.") | |||
| 358 | ("linux-pam" ,linux-pam) | 362 | ("linux-pam" ,linux-pam) |
| 359 | ("libltdl" ,libltdl) | 363 | ("libltdl" ,libltdl) |
| 360 | ("gdbm" ,gdbm) | 364 | ("gdbm" ,gdbm) |
| 361 | |||
| 362 | ;; Required for SEARCH CHARSET. | 365 | ;; Required for SEARCH CHARSET. |
| 363 | ("libiconv" ,libiconv) | 366 | ("libiconv" ,libiconv) |
| 364 | ("libunistring" ,libunistring))) | 367 | ("libunistring" ,libunistring))) |
diff --git a/gnu/packages/patches/mailutils-fix-uninitialized-variable.patch b/gnu/packages/patches/mailutils-fix-uninitialized-variable.patch deleted file mode 100644 index 2a1c81648bf..00000000000 --- a/gnu/packages/patches/mailutils-fix-uninitialized-variable.patch +++ /dev/null | |||
| @@ -1,26 +0,0 @@ | |||
| 1 | From 5ca6382fe8adb5bc436a6d873c8b86c69d5abfd1 Mon Sep 17 00:00:00 2001 | ||
| 2 | From: Sergey Poznyakoff <gray@gnu.org> | ||
| 3 | Date: Sun, 13 Sep 2020 14:43:46 +0300 | ||
| 4 | Subject: [PATCH] Fix uninitialized variable in readmsg | ||
| 5 | |||
| 6 | * readmsg/readmsg.c (main): Initialize weedc. | ||
| 7 | --- | ||
| 8 | readmsg/readmsg.c | 2 +- | ||
| 9 | 1 file changed, 1 insertion(+), 1 deletion(-) | ||
| 10 | |||
| 11 | diff --git a/readmsg/readmsg.c b/readmsg/readmsg.c | ||
| 12 | index 9f305bb9c..3a9f420db 100644 | ||
| 13 | --- a/readmsg/readmsg.c | ||
| 14 | +++ b/readmsg/readmsg.c | ||
| 15 | @@ -466,7 +466,7 @@ main (int argc, char **argv) | ||
| 16 | mu_mailbox_t mbox = NULL; | ||
| 17 | struct mu_wordsplit ws; | ||
| 18 | char **weedv; | ||
| 19 | - int weedc; | ||
| 20 | + int weedc = 0; | ||
| 21 | int unix_header = 0; | ||
| 22 | |||
| 23 | /* Native Language Support */ | ||
| 24 | -- | ||
| 25 | 2.28.0 | ||
| 26 | |||
