SHA256
1
0
forked from pool/libvmime

- Update to snapshot 0.9.2+git188 (c3c6242ed)

OBS-URL: https://build.opensuse.org/package/show/server:mail/libvmime?expand=0&rev=38
This commit is contained in:
Jan Engelhardt 2024-02-20 11:05:29 +00:00 committed by Git OBS Bridge
parent 472f0fc305
commit 87e759bce3
10 changed files with 24 additions and 47 deletions

View File

@ -1,31 +0,0 @@
From a30f0677dc199bc85e78fc8e97760ed97231d444 Mon Sep 17 00:00:00 2001
From: Jan Engelhardt <jengelh@inai.de>
Date: Mon, 18 Dec 2023 04:44:45 +0100
Subject: [PATCH] Avoid generating illegal Envelope-From with sendmail://
transport
References: https://github.com/kisli/vmime/pull/285
When the ``sender`` function argument is the empty object, vmime
would still attempt to use it at ``sender.getEmail().generate()``,
but that produces just ``@``. As sendmail is called with ``-f @``,
this shows up in postfix's logs as ``<""@>``.
---
src/vmime/net/sendmail/sendmailTransport.cpp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/vmime/net/sendmail/sendmailTransport.cpp b/src/vmime/net/sendmail/sendmailTransport.cpp
index 8b8b7272..75508ee4 100644
--- a/src/vmime/net/sendmail/sendmailTransport.cpp
+++ b/src/vmime/net/sendmail/sendmailTransport.cpp
@@ -165,7 +165,7 @@ void sendmailTransport::send(
args.push_back("-i");
args.push_back("-f");
- if (!sender.isEmpty()) {
+ if (sender.isEmpty()) {
args.push_back(expeditor.getEmail().generate());
} else {
args.push_back(sender.getEmail().generate());
--
2.43.0

View File

@ -1,14 +1,14 @@
<services> <services>
<service name="tar_scm" mode="disabled"> <service name="tar_scm" mode="manual">
<param name="scm">git</param> <param name="scm">git</param>
<param name="url">https://github.com/kisli/vmime</param> <param name="url">https://github.com/kisli/vmime</param>
<param name="revision">fc69321d5304c73be685c890f3b30528aadcfeaf</param> <param name="revision">c3c6242ed135f9eca805380394791d17b0fc7a63</param>
<param name="parent-tag">v0.9.2</param> <param name="parent-tag">v0.9.2</param>
<param name="versionformat">0.9.2.@TAG_OFFSET@</param> <param name="versionformat">0.9.2+g@TAG_OFFSET@</param>
</service> </service>
<service name="recompress" mode="disabled"> <service name="recompress" mode="manual">
<param name="file">*.tar</param> <param name="file">*.tar</param>
<param name="compression">xz</param> <param name="compression">xz</param>
</service> </service>
<service name="set_version" mode="disabled"/> <service name="set_version" mode="manual"/>
</services> </services>

View File

@ -1,4 +1,4 @@
libvmime (0.9.2.175-0) unstable; urgency=low libvmime (0.9.2+g188-0) unstable; urgency=low
* Initial package. * Initial package.

View File

@ -19,7 +19,7 @@ Index: vmime-0.9.2.165/CMakeLists.txt
# . Interfaces added (upward-compatible changes): AGE++ # . Interfaces added (upward-compatible changes): AGE++
# . Interfaces removed: AGE=0 # . Interfaces removed: AGE=0
-SET(VMIME_API_VERSION_CURRENT 1) -SET(VMIME_API_VERSION_CURRENT 1)
+SET(VMIME_API_VERSION_CURRENT 5) +SET(VMIME_API_VERSION_CURRENT 6)
SET(VMIME_API_VERSION_REVISION 0) SET(VMIME_API_VERSION_REVISION 0)
SET(VMIME_API_VERSION_AGE 0) SET(VMIME_API_VERSION_AGE 0)

View File

@ -1,3 +1,12 @@
-------------------------------------------------------------------
Sun Dec 31 16:19:00 UTC 2023 - Jan Engelhardt <jengelh@inai.de>
- Update to snapshot 0.9.2+git188 (c3c6242ed)
* Fix emission of bugs Envelope-From to sendmail:// transports.
* Add parsing feedback via parsingContext
- Drop 0001-Avoid-generating-illegal-Envelope-From-with-sendmail.patch
(merged)
------------------------------------------------------------------- -------------------------------------------------------------------
Mon Dec 18 03:46:09 UTC 2023 - Jan Engelhardt <jengelh@inai.de> Mon Dec 18 03:46:09 UTC 2023 - Jan Engelhardt <jengelh@inai.de>

View File

@ -1,7 +1,7 @@
Format: 1.0 Format: 1.0
Source: libvmime Source: libvmime
Architecture: any Architecture: any
Version: 0.9.2.175 Version: 0.9.2+g188
DEBTRANSFORM-RELEASE: 1 DEBTRANSFORM-RELEASE: 1
Maintainer: openSUSE <opensuse@opensuse.org> Maintainer: openSUSE <opensuse@opensuse.org>
Homepage: https://opensuse.org/ Homepage: https://opensuse.org/

View File

@ -1,7 +1,7 @@
# #
# spec file for package libvmime # spec file for package libvmime
# #
# Copyright (c) 2023 SUSE LLC # Copyright (c) 2024 SUSE LLC
# #
# All modifications and additions to the file contributed by third parties # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@ -17,8 +17,8 @@
Name: libvmime Name: libvmime
%define lname libvmime-suse5 %define lname libvmime-suse6
Version: 0.9.2.175 Version: 0.9.2+g188
Release: 0 Release: 0
Summary: Library for working with RFC 5322, MIME messages and IMAP/POP/SMTP Summary: Library for working with RFC 5322, MIME messages and IMAP/POP/SMTP
License: GPL-3.0-or-later License: GPL-3.0-or-later
@ -29,7 +29,6 @@ URL: http://vmime.org/
Source: vmime-%version.tar.xz Source: vmime-%version.tar.xz
Patch1: libvmime-nodatetime.diff Patch1: libvmime-nodatetime.diff
Patch2: libvmime-soname.diff Patch2: libvmime-soname.diff
Patch3: 0001-Avoid-generating-illegal-Envelope-From-with-sendmail.patch
BuildRequires: cmake >= 2.8.3 BuildRequires: cmake >= 2.8.3
BuildRequires: gcc-c++ BuildRequires: gcc-c++
%if 0%{?centos_version} %if 0%{?centos_version}
@ -136,7 +135,7 @@ mkdir -p "$b/%_datadir"
%files -n %lname %files -n %lname
%license COPYING %license COPYING
%_libdir/libvmime-suse.so.5* %_libdir/libvmime-suse.so.6*
%files devel %files devel
%_includedir/vmime %_includedir/vmime

BIN
vmime-0.9.2+g188.tar.xz (Stored with Git LFS) Normal file

Binary file not shown.

BIN
vmime-0.9.2.175.tar.xz (Stored with Git LFS)

Binary file not shown.