testing/mailutils: upgrade to 3.18

This commit is contained in:
Celeste 2025-01-06 03:08:22 +00:00
parent a4f54e1e93
commit b3e5bd2375
2 changed files with 27 additions and 6 deletions

View File

@ -2,8 +2,8 @@
# Maintainer: Celeste <cielesti@protonmail.com>
maintainer="Celeste <cielesti@protonmail.com>"
pkgname=mailutils
pkgver=3.17
pkgrel=1
pkgver=3.18
pkgrel=0
pkgdesc="GNU swiss army knife of electronic mail handling"
url="https://mailutils.org/"
arch="all"
@ -26,6 +26,7 @@ subpackages="
"
source="https://ftp.gnu.org/gnu/mailutils/mailutils-$pkgver.tar.xz
disable-koi8-r-test.patch
format-security.patch
"
# they pretty much all pass, but the test suite takes an hour
options="!check"
@ -53,10 +54,9 @@ package() {
make DESTDIR="$pkgdir" install
cd "$pkgdir"
# rm usr/lib/charset.alias
# No need for these to be suid/sgid root.
chmod u-s usr/sbin/mda
chmod g-s usr/bin/dotlock
chmod -c u-s usr/sbin/mda
chmod -c g-s usr/bin/dotlock
}
libs() {
@ -83,6 +83,7 @@ servers() {
}
sha512sums="
e4080d9674444c3e077aa72f825a0373a4750d187a04a488449e89f6fec19d9309a118412e91745575eb90d05fa541f8d2626a8fd5e8ac10710aa1f7a0ff3193 mailutils-3.17.tar.xz
77718e41d77556b59d7eeee4b80fca658c32f949dd87e09848a559eb6470254c9562208e49b62e5027522eebb5eaaf7eb9dc12ec02424f4144cceee5ef695ca9 mailutils-3.18.tar.xz
fd628287a8b70b84e4fe477f3fed157308f1a0e803dfd65390d90a7ad40023155559b284e29ceb95dd3c854fce4e3a22a651d8de99b49db7c9d4b3682003cf2c disable-koi8-r-test.patch
4a73fd79d01efcf94dd3f6853afc796521f2867f977b0579a94a81bfc4671bac9173ee2747f6c1296a5a8b1877881036cc31e6c67929b2b7d9c692f05cb9d180 format-security.patch
"

View File

@ -0,0 +1,20 @@
--- a/libmailutils/diag/debug.c
+++ b/libmailutils/diag/debug.c
@@ -511,7 +511,7 @@
{
if (delim)
{
- rc = mu_stream_printf (str, delim);
+ rc = mu_stream_printf (str, "%s", delim);
if (rc)
break;
}
@@ -564,7 +564,7 @@
{
if (delim)
{
- rc = mu_stream_printf (str, delim);
+ rc = mu_stream_printf (str, "%s", delim);
if (rc)
break;
}