Accepting request 437939 from server:mail

OBS-URL: https://build.opensuse.org/request/show/437939
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libvmime?expand=0&rev=16
This commit is contained in:
Dominique Leuenberger 2016-11-14 19:13:16 +00:00 committed by Git OBS Bridge
commit 4d09cf8414
5 changed files with 40 additions and 9 deletions

20
dont-fixup.diff Normal file
View File

@ -0,0 +1,20 @@
References: https://github.com/kisli/vmime/issues/149
libkcinetmapi does a much better fixup on its own.
---
src/vmime/text.cpp | 2 --
1 file changed, 2 deletions(-)
Index: vmime-0.9.2.g500/src/vmime/text.cpp
===================================================================
--- vmime-0.9.2.g500.orig/src/vmime/text.cpp
+++ vmime-0.9.2.g500/src/vmime/text.cpp
@@ -401,8 +401,6 @@ text* text::decodeAndUnfold(const parsin
out->removeAllWords();
std::vector <shared_ptr <word> > words = word::parseMultiple(ctx, in, 0, in.length(), NULL);
- fixBrokenWords(words);
-
copy_vector(words, out->m_words);
return (out);

View File

@ -1,3 +1,11 @@
-------------------------------------------------------------------
Sun Oct 30 18:36:29 UTC 2016 - jengelh@inai.de
- Update to new git snapshot
047cacb1dba516ca902b36a290f2b81555658c1e [0.9.2~g500]
* Skip multiple (bogus) colons after header field name
- Add dont-fixup.diff
------------------------------------------------------------------- -------------------------------------------------------------------
Wed Jun 22 17:05:17 UTC 2016 - jengelh@inai.de Wed Jun 22 17:05:17 UTC 2016 - jengelh@inai.de

View File

@ -16,14 +16,14 @@
# #
%define version_unconverted 0.9.2~g490 %define version_unconverted 0.9.2~g500
Name: libvmime Name: libvmime
%define lname libvmime-suse3 %define lname libvmime-suse3
Summary: Library for working with MIME messages and IMAP/POP/SMTP Summary: Library for working with MIME messages and IMAP/POP/SMTP
License: GPL-3.0+ License: GPL-3.0+
Group: Development/Libraries/C and C++ Group: Development/Libraries/C and C++
Version: 0.9.2~g490 Version: 0.9.2~g500
Release: 0 Release: 0
Url: http://vmime.org/ Url: http://vmime.org/
@ -31,6 +31,7 @@ Url: http://vmime.org/
Source: vmime-%version.tar.xz Source: vmime-%version.tar.xz
Patch1: libvmime-nodatetime.diff Patch1: libvmime-nodatetime.diff
Patch2: libvmime-sotag.diff Patch2: libvmime-sotag.diff
Patch3: dont-fixup.diff
BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: ImageMagick BuildRequires: ImageMagick
%if 0%{?suse_version} < 1310 %if 0%{?suse_version} < 1310
@ -41,10 +42,11 @@ BuildRequires: doxygen
BuildRequires: gcc-c++ BuildRequires: gcc-c++
BuildRequires: inkscape BuildRequires: inkscape
BuildRequires: libgnutls-devel BuildRequires: libgnutls-devel
%if 0%{?is_opensuse}
BuildRequires: libgsasl-devel BuildRequires: libgsasl-devel
%endif
BuildRequires: libopenssl-devel BuildRequires: libopenssl-devel
BuildRequires: pkg-config BuildRequires: pkg-config
BuildRequires: postfix
%if 0%{?suse_version} >= 1130 %if 0%{?suse_version} >= 1130
%define with_pdf 1 %define with_pdf 1
%if 0%{?suse_version} < 1300 %if 0%{?suse_version} < 1300
@ -99,7 +101,7 @@ complete mail client.
%prep %prep
%setup -qn vmime-%version %setup -qn vmime-%version
%patch -P 1 -P 2 -p1 %patch -P 1 -P 2 -P 3 -p1
%build %build
%if 0%{?with_pdf} %if 0%{?with_pdf}
@ -109,11 +111,12 @@ popd
%endif %endif
cf="%optflags -DVMIME_ALWAYS_GENERATE_7BIT_PARAMETER=1" cf="%optflags -DVMIME_ALWAYS_GENERATE_7BIT_PARAMETER=1"
# sendmail's awesome location.
export PATH="$PATH:/usr/sbin"
cmake . \ cmake . \
-DVMIME_SENDMAIL_PATH:STRING="%_sbindir/sendmail" \
-DVMIME_BUILD_SAMPLES:BOOL=OFF \ -DVMIME_BUILD_SAMPLES:BOOL=OFF \
%if 0%{?is_opensuse}
-DVMIME_HAVE_SASL_SUPPORT:BOOL=ON \ -DVMIME_HAVE_SASL_SUPPORT:BOOL=ON \
%endif
-DVMIME_HAVE_TLS_SUPPORT:BOOL=ON \ -DVMIME_HAVE_TLS_SUPPORT:BOOL=ON \
-DVMIME_BUILD_STATIC_LIBRARY:BOOL=OFF \ -DVMIME_BUILD_STATIC_LIBRARY:BOOL=OFF \
-DCMAKE_RELEASE_TYPE:STRING="RelWithDebInfo" \ -DCMAKE_RELEASE_TYPE:STRING="RelWithDebInfo" \

BIN
vmime-0.9.2~g490.tar.xz (Stored with Git LFS)

Binary file not shown.

BIN
vmime-0.9.2~g500.tar.xz (Stored with Git LFS) Normal file

Binary file not shown.