SHA256
1
0
forked from pool/libvmime

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

View File

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