Compare commits
9 Commits
| Author | SHA256 | Date | |
|---|---|---|---|
| a5492eccc2 | |||
| 1b917e134b | |||
| f6375e521a | |||
| fdfbde2d38 | |||
| 4fa583ad32 | |||
| 6412893a27 | |||
| 43b3547023 | |||
| 8a78be389a | |||
| bee7aff6da |
33
MALLOC_PERTURB_.patch
Normal file
33
MALLOC_PERTURB_.patch
Normal file
@@ -0,0 +1,33 @@
|
||||
---
|
||||
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));
|
||||
BIN
mailutils-3.16.tar.xz
LFS
BIN
mailutils-3.16.tar.xz
LFS
Binary file not shown.
Binary file not shown.
3
mailutils-3.21.tar.xz
Normal file
3
mailutils-3.21.tar.xz
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:e47c1edc699b8d6675fdbc77db3a84ae837f18e1f2094fe29d48bb58a97ef5e9
|
||||
size 3381076
|
||||
BIN
mailutils-3.21.tar.xz.sig
Normal file
BIN
mailutils-3.21.tar.xz.sig
Normal file
Binary file not shown.
@@ -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)
|
||||
|
||||
@@ -1,6 +1,4 @@
|
||||
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.*")
|
||||
|
||||
@@ -1,3 +1,91 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon Jan 19 08:40:50 UTC 2026 - Dirk Müller <dmueller@suse.com>
|
||||
|
||||
- update to 3.21:
|
||||
* Optionally create intermediate directories when creating
|
||||
mailboxes.
|
||||
* New stream flag is introduced: MU_STREAM_INTERDIR. Used
|
||||
together with
|
||||
* MU_STREAM_CREAT, it instructs mailutils to create any missing
|
||||
intermediate directories, when creating file.
|
||||
* New configuration statement "homedir" declares the action to
|
||||
take if a user home directory does not exits.
|
||||
* The statement is used by imap4d, lmtpd, mda, and putmail
|
||||
utilities.
|
||||
* The option informs fileinto that it should create missing
|
||||
intermediate directories when creating a mailbox.
|
||||
* Variable expansions in configuration statements.
|
||||
* New commands in string expansions
|
||||
* Sieve: fix coredump on parsing "fileinto :permission"
|
||||
action.
|
||||
* Sieve: fix optimizer.
|
||||
* Library: fix parsing ls-compatible permission strings.
|
||||
* Library: fix mu_sieve_machine_clone function.
|
||||
* Configuration: use '\' to escape delimiters in some
|
||||
statements.
|
||||
* This affects statements whose arguments are colon- or comma-
|
||||
delimited strings, e.g. ldap.field-map.
|
||||
* ** Library: fix localized help output
|
||||
* Help entries now use the correct translation domain. The bug
|
||||
was originally reported and discussed in
|
||||
* Setting synchronization mode allows the user to keep messages
|
||||
in remote source mailbox, while downloading only recently
|
||||
received messages. The mode is defined via the "--sync"
|
||||
command line option or "sync" configuration statement.
|
||||
* ** The --reverse option removed
|
||||
* The option made little sense for movemail and was never used.
|
||||
* ** The --max-messages option
|
||||
* This options sets the maximum number of latest messages to
|
||||
process.
|
||||
* New Sieve test: uidnew
|
||||
* The "uidnew" test keeps track of the processed messages. It
|
||||
evaluates to true if the current message was not processed
|
||||
before.
|
||||
* filters: revise buffer requirements when requesting more
|
||||
input/output
|
||||
* libproto tests: link using the libtool archives
|
||||
* Fix testsuite (mda & mail) to work with arbitrary default
|
||||
mailbox type
|
||||
* Minor fix in handling of EHLO command in smtp client.
|
||||
* Improve docs.
|
||||
* Minor fix in mhn and related tests.
|
||||
* mail utility: use the "mailer" configuration capability.
|
||||
- update mailutils.keyring
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Apr 21 09:20:38 UTC 2025 - Friedrich Haubensak <hsk17@mail.de>
|
||||
|
||||
- add -std=gnu17 to CFLAGS to fix gcc15 compile time error
|
||||
|
||||
-------------------------------------------------------------------
|
||||
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
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Feb 23 11:31:43 UTC 2024 - pgajdos@suse.com
|
||||
|
||||
@@ -27,7 +115,7 @@ Tue Aug 9 18:55:18 UTC 2022 - Dirk Müller <dmueller@suse.com>
|
||||
* Bugfixes in quoted-printable and fromrd filters
|
||||
* Various fixes in mbox and dotmail format libraries
|
||||
* Fix compilation with flex version 2.6.1
|
||||
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Jun 20 13:39:33 UTC 2022 - Dr. Werner Fink <werner@suse.de>
|
||||
|
||||
@@ -231,14 +319,14 @@ Wed Oct 30 10:27:43 UTC 2019 - Ondřej Súkup <mimi.vx@gmail.com>
|
||||
-------------------------------------------------------------------
|
||||
Fri Nov 30 08:41:21 UTC 2018 - Dr. Werner Fink <werner@suse.de>
|
||||
|
||||
- Dynamic determine and use guile version in spec file
|
||||
- Dynamic determine and use guile version in spec file
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Nov 21 10:32:35 UTC 2018 - Dr. Werner Fink <werner@suse.de>
|
||||
|
||||
- Add mailutils-3.5-guile-2.0.patch and mailutils-3.5-guile-2.0.tar.xz
|
||||
to port the guile-2.0 interface of mailutils-3.4 back to mailutils-3.5
|
||||
as it seems that guile-2.2 is currently not doable
|
||||
as it seems that guile-2.2 is currently not doable
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Nov 19 10:24:58 UTC 2018 - Dr. Werner Fink <werner@suse.de>
|
||||
@@ -263,7 +351,7 @@ Tue Oct 30 10:40:54 UTC 2018 - Dr. Werner Fink <werner@suse.de>
|
||||
* Define sieve variables from the command line
|
||||
The sieve utility now allows you to supply initial values for
|
||||
RFC 5229 variables using the --variable command line option, e.g.
|
||||
sieve --variable mailbox=outgoing
|
||||
sieve --variable mailbox=outgoing
|
||||
* Support for Berkeley DB versions 5 and 6
|
||||
* headline variable in the mail utility
|
||||
The new %D specifier has been implemented, which allows the user to
|
||||
@@ -287,13 +375,13 @@ Tue Oct 30 10:40:54 UTC 2018 - Dr. Werner Fink <werner@suse.de>
|
||||
-------------------------------------------------------------------
|
||||
Fri Aug 3 09:45:20 UTC 2018 - werner@suse.de
|
||||
|
||||
- Add some more conflicts to other imap/pop3 services
|
||||
- Add some more conflicts to other imap/pop3 services
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Jul 31 10:56:24 UTC 2018 - werner@suse.de
|
||||
|
||||
- Generate soem manual pages with help2man
|
||||
- Move manual pages of system binaries to the appropiate package
|
||||
- Move manual pages of system binaries to the appropiate package
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sun Jun 10 23:33:31 UTC 2018 - jengelh@inai.de
|
||||
@@ -322,7 +410,7 @@ Thu Jun 7 08:36:16 UTC 2018 - werner@suse.de
|
||||
-------------------------------------------------------------------
|
||||
Tue May 29 16:14:43 UTC 2018 - werner@suse.de
|
||||
|
||||
- Initial package mailutils as required by GNU Emacs
|
||||
- Initial package mailutils as required by GNU Emacs
|
||||
Added two patches
|
||||
* mimeview_lexer_format-security.patch
|
||||
* lisp-load-silent.patch
|
||||
|
||||
Binary file not shown.
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package mailutils
|
||||
#
|
||||
# Copyright (c) 2023 SUSE LLC
|
||||
# Copyright (c) 2026 SUSE LLC and contributors
|
||||
#
|
||||
# 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.21
|
||||
Release: 0
|
||||
Summary: GNU Mailutils
|
||||
License: GPL-3.0-or-later AND LGPL-3.0-or-later
|
||||
@@ -42,11 +43,15 @@ Source4: %{name}.keyring
|
||||
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,14 +72,14 @@ BuildRequires: pkgconfig(fribidi)
|
||||
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
|
||||
Requires: alts
|
||||
%else
|
||||
Requires(post): update-alternatives
|
||||
Requires(postun):update-alternatives
|
||||
Requires(postun): update-alternatives
|
||||
%endif
|
||||
Requires: guile = %(rpm -q --queryformat '%%{VERSION}' guile-devel)
|
||||
%if 0
|
||||
@@ -83,7 +88,7 @@ BuildRequires: freeradius-server-devel
|
||||
%endif
|
||||
%if %{with set_user_identity}
|
||||
Requires(post): permissions
|
||||
Requires(verify):permissions
|
||||
Requires(verify): permissions
|
||||
%endif
|
||||
# Hard requirement as mimeview uses /usr/share/cups/mime/mime.types
|
||||
Requires: cups
|
||||
@@ -186,6 +191,7 @@ implementations: UNIX mailbox, Maildir, MH, POP3, IMAP4, even SMTP.
|
||||
%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/
|
||||
@@ -249,7 +255,7 @@ CXX=g++
|
||||
#
|
||||
# In frm/frm.h wrong definition of MB_LEN_MAX if not defined
|
||||
#
|
||||
CFLAGS="-Wall %{optflags} -fexceptions -D_GNU_SOURCE -DMB_LEN_MAX=16 -fno-strict-aliasing"
|
||||
CFLAGS="-Wall %{optflags} -fexceptions -D_GNU_SOURCE -DMB_LEN_MAX=16 -fno-strict-aliasing -std=gnu17"
|
||||
CXXFLAGS="-Wall %{optflags} -D_GNU_SOURCE -DMB_LEN_MAX=16 -fno-strict-aliasing"
|
||||
export PATH CC CXX CFLAGS CXXFLAGS
|
||||
%configure --enable-ipv6 \
|
||||
@@ -359,8 +365,8 @@ ln -sf %{_bindir}/alts %{buildroot}/bin/Mail
|
||||
%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 @@ EOF
|
||||
|
||||
%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 \
|
||||
|
||||
Reference in New Issue
Block a user