Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package mailutils for openSUSE:Factory checked in at 2024-10-25 19:18:54 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/mailutils (Old) and /work/SRC/openSUSE:Factory/.mailutils.new.2020 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "mailutils" Fri Oct 25 19:18:54 2024 rev:22 rq:1218057 version:3.17 Changes: -------- --- /work/SRC/openSUSE:Factory/mailutils/mailutils.changes 2024-02-25 14:05:17.115089433 +0100 +++ /work/SRC/openSUSE:Factory/.mailutils.new.2020/mailutils.changes 2024-10-25 19:19:18.541791284 +0200 @@ -1,0 +2,29 @@ +Thu Oct 24 12:41:23 UTC 2024 - Dr. Werner Fink <werner@suse.de> + +- Add patch MALLOC_PERTURB_.patch + * Fix memory pool handling which otherwise cause failing + mimeview due missing mime types due set MALLOC_PERTURB_ + environment variable + +------------------------------------------------------------------- +Thu Oct 24 09:38:14 UTC 2024 - Dr. Werner Fink <werner@suse.de> + +- Update to mailutils 3.17: + * Use of TLS in pop3d and imap4d + If not explicitly specified, the TLS mode to use (ondemand, connect, + etc.) is derived from the configured port. E.g., for imap4d, port 143 + implies ondemand mode, and port 993 implies connection mode. + The global tls-mode setting is used only when the mode cannot be + detemined otherwise, i.e. neither per-server tls-mode is given nor + the port gives any clues as to the TLS mode to use. + * Bugfixes + + movemail: fix handling of -P option. + + pop3d, imap4d: fix global timeout and transcript configuration statements + + pop3d, imap4d: global tls-mode is used only when the mode to use cannot + be determined otherwise. + + pop3d, imap4d: if not set explicitly, derive tls mode from the port used. + + Improve file safety checking routine. + + Fix compilation with new gcc versions. +- There is no mu-mailx ... only a mailx from package mailx + +------------------------------------------------------------------- Old: ---- mailutils-3.16.tar.xz mailutils-3.16.tar.xz.sig New: ---- MALLOC_PERTURB_.patch mailutils-3.17.tar.xz mailutils-3.17.tar.xz.sig BETA DEBUG BEGIN: New: - Add patch MALLOC_PERTURB_.patch * Fix memory pool handling which otherwise cause failing BETA DEBUG END: ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ mailutils.spec ++++++ --- /var/tmp/diff_new_pack.OCHi57/_old 2024-10-25 19:19:20.521873898 +0200 +++ /var/tmp/diff_new_pack.OCHi57/_new 2024-10-25 19:19:20.521873898 +0200 @@ -1,7 +1,7 @@ # # spec file for package mailutils # -# Copyright (c) 2023 SUSE LLC +# Copyright (c) 2024 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -27,8 +27,9 @@ # Currently disabled suid/sgid program dotlock and maidag %bcond_with set_user_identity %bcond_with guile_22 +%bcond_with check Name: mailutils -Version: 3.16 +Version: 3.17 Release: 0 Summary: GNU Mailutils License: GPL-3.0-or-later AND LGPL-3.0-or-later @@ -42,11 +43,15 @@ Patch0: lisp-load-silent.patch Patch2: silent-rpmlint-with_initgroups.patch Patch3: mailutils-3.5-guile-2.0.patch -BuildRequires: autoconf +Patch4: MALLOC_PERTURB_.patch +BuildRequires: autoconf > 2.71 BuildRequires: automake BuildRequires: bison BuildRequires: cpio BuildRequires: cyrus-sasl-gssapi +%if %{with check} +BuildRequires: emacs-nox +%endif BuildRequires: fdupes BuildRequires: flex BuildRequires: gcc-c++ @@ -67,7 +72,7 @@ BuildRequires: pkgconfig(gnutls) BuildRequires: pkgconfig(krb5-gssapi) BuildRequires: pkgconfig(kyotocabinet) -BuildRequires: pkgconfig(libgsasl) +BuildRequires: pkgconfig(libgsasl) > 2 BuildRequires: pkgconfig(python3) %if %{with libalternatives} BuildRequires: alts @@ -186,6 +191,7 @@ %setup -q %patch -P 0 %patch -P 2 +%patch -P 4 set -- %(rpm -q --queryformat '%%{VERSION}' guile-devel | sed -r 's@\.@ @g') (cat > guile.list)<<-EOF %dir %{_datadir}/guile/site/$1.$2/ @@ -359,8 +365,8 @@ %endif mkdir -p %{buildroot}%{_datadir}/libalternatives/Mail cat > %{buildroot}%{_datadir}/libalternatives/Mail/10.conf <<EOF -binary=%{_bindir}/mu-mailx -man=mu-mail.1 +binary=%{_bindir}/mailx +man=mailx.1 group=mail, Mail EOF ln -sf %{_bindir}/alts %{buildroot}%{_bindir}/mail @@ -379,7 +385,14 @@ %find_lang %{name} +%if %{with check} +%check +make check +%endif + +%if ! %{with libalternatives} || %{with set_user_identity} %post +%endif %if ! %{with libalternatives} %{_sbindir}/update-alternatives --quiet --force \ --install %{_bindir}/mail mail %{_bindir}/mu-mail 10 \ ++++++ MALLOC_PERTURB_.patch ++++++ --- libmailutils/base/opool.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) --- libmailutils/base/opool.c +++ libmailutils/base/opool.c 2024-10-24 12:31:48.591157738 +0000 @@ -61,7 +61,7 @@ struct _mu_opool static union mu_opool_bucket * alloc_bucket (struct _mu_opool *opool, size_t size) { - union mu_opool_bucket *p = malloc (sizeof (*p) + size); + union mu_opool_bucket *p = calloc (1, sizeof (*p) + size); if (!p) { if (opool->flags & MU_OPOOL_ENOMEMABRT) @@ -114,7 +114,7 @@ copy_chars (mu_opool_t opool, const char int mu_opool_create (mu_opool_t *pret, int flags) { - struct _mu_opool *x = malloc (sizeof (x[0])); + struct _mu_opool *x = calloc (1, sizeof (x[0])); if (!x) { if (flags & MU_OPOOL_ENOMEMABRT) @@ -534,7 +534,7 @@ opitr_data_dup (void **ptr, void *owner) { struct opool_iterator *itr = owner; - *ptr = malloc (sizeof (struct opool_iterator)); + *ptr = calloc (1, sizeof (struct opool_iterator)); if (*ptr == NULL) return ENOMEM; memcpy (*ptr, owner, sizeof (struct opool_iterator)); ++++++ mailutils-3.16.tar.xz -> mailutils-3.17.tar.xz ++++++ ++++ 28645 lines of diff (skipped) ++++++ mailutils-3.5-guile-2.0.patch ++++++ --- /var/tmp/diff_new_pack.OCHi57/_old 2024-10-25 19:19:21.465913287 +0200 +++ /var/tmp/diff_new_pack.OCHi57/_new 2024-10-25 19:19:21.469913453 +0200 @@ -8,7 +8,7 @@ --- configure.ac +++ configure.ac 2021-10-20 07:42:21.724689930 +0000 -@@ -1191,7 +1191,7 @@ AC_SUBST([GUILE_BINDIR]) +@@ -1175,7 +1175,7 @@ AC_SUBST([GUILE_BINDIR]) AC_SUBST([LIBMU_SCM]) AC_SUBST([LIBMU_SCM_DEPS]) AC_SUBST([MU_GUILE_SIEVE_MOD_DIR]) @@ -17,7 +17,7 @@ [useguile=yes AC_DEFINE([WITH_GUILE],1,[Enable Guile support]) GUILE_BINDIR=`guile-config info bindir` -@@ -1404,7 +1404,6 @@ MU_CONFIG_TESTSUITE(mh) +@@ -1389,7 +1389,6 @@ MU_CONFIG_TESTSUITE(mh) MU_CONFIG_TESTSUITE(comsat) MU_CONFIG_TESTSUITE(imap4d) MU_CONFIG_TESTSUITE(mimeview) ++++++ mailutils-rpmlintrc ++++++ --- /var/tmp/diff_new_pack.OCHi57/_old 2024-10-25 19:19:21.497914622 +0200 +++ /var/tmp/diff_new_pack.OCHi57/_new 2024-10-25 19:19:21.501914789 +0200 @@ -1,7 +1,5 @@ addFilter(".*E:.*subdir-in-bin.*/usr/bin/mu-mh/.*") addFilter(".*W:.*name-repeated-in-summary.*Mailutils.*") addFilter(".*W:.*files-duplicate.*mailutils-mh\.el.*mailutils-mh\.el.*") -addFilter(".*W:.*binary-or-shlib-calls-gethostbyname.*lib.*\.so.*") addFilter(".*W:.*bin-sh-syntax-error.*/usr/bin/guim.*") -addFilter(".*W:.*binary-or-shlib-calls-gethostbyname.*/usr/sbin/imap4d.*")