Hello community, here is the log from the commit of package libetpan for openSUSE:Factory checked in at 2018-01-13 21:44:15 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/libetpan (Old) and /work/SRC/openSUSE:Factory/.libetpan.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "libetpan" Sat Jan 13 21:44:15 2018 rev:24 rq:557304 version:1.8 Changes: -------- --- /work/SRC/openSUSE:Factory/libetpan/libetpan.changes 2015-02-16 21:46:56.000000000 +0100 +++ /work/SRC/openSUSE:Factory/.libetpan.new/libetpan.changes 2018-01-13 21:44:25.115105837 +0100 @@ -1,0 +2,21 @@ +Thu Dec 14 18:26:51 UTC 2017 - [email protected] + +- Update RPM groups. Fix linguistic errors in description. + +------------------------------------------------------------------- +Thu Dec 14 11:15:35 UTC 2017 - [email protected] + +- update to version 1.8 + * LMTP support + * workaround for QIP IMAP Server + * compatibility with NDK 13 + * fixed crash (CVE-2017-8825) + * Fixed so name for Linux + +------------------------------------------------------------------- +Thu Dec 7 10:45:43 UTC 2017 - [email protected] + +- added libetpan-1.6-openssl11.patch: make autodetection of OpenSSL + 1.1 work fix compilation error with OpenSSL 1.1 (boo#1070912) + +------------------------------------------------------------------- Old: ---- 1.6.tar.gz New: ---- 1.8.tar.gz libetpan-1.6-openssl11.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ libetpan.spec ++++++ --- /var/tmp/diff_new_pack.fWz2fv/_old 2018-01-13 21:44:26.123058855 +0100 +++ /var/tmp/diff_new_pack.fWz2fv/_new 2018-01-13 21:44:26.127058669 +0100 @@ -1,7 +1,7 @@ # # spec file for package libetpan # -# Copyright (c) 2015 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -16,16 +16,18 @@ # -%define soname 17 +%define soname 20 Name: libetpan -Version: 1.6 +Version: 1.8 Release: 0 Summary: Mail Handling Library License: BSD-3-Clause -Group: System/Libraries +Group: Development/Libraries/C and C++ Url: http://www.etpan.org/libetpan.html Source0: https://github.com/dinhviethoa/libetpan/archive/%{version}.tar.gz +# PATCH-FIX-UPSTREAM -- make autodetection and compilation work for OpenSSL 1.1 +Patch0: libetpan-1.6-openssl11.patch BuildRequires: autoconf BuildRequires: automake BuildRequires: cyrus-sasl-devel @@ -38,9 +40,9 @@ %description libEtPan is a mail purpose library. It will be used for low-level mail -handling : network protocols (IMAP/NNTP/POP3/SMTP over TCP/IP and -SSL/TCP/IP, already implemented), local storage (mbox/MH/maildir), -message / MIME parse +handling: network protocols (IMAP/NNTP/POP3/SMTP over TCP/IP and +SSL/TCP/IP, already implemented), local storage (mbox/MH/maildir) and +and message / MIME parsing. %package -n libetpan%{soname} Summary: Mail handling library @@ -50,12 +52,12 @@ %description -n libetpan%{soname} libEtPan is a mail purpose library. It will be used for low-level mail -handling : network protocols (IMAP/NNTP/POP3/SMTP over TCP/IP and -SSL/TCP/IP, already implemented), local storage (mbox/MH/maildir), -message / MIME parse +handling: network protocols (IMAP/NNTP/POP3/SMTP over TCP/IP and +SSL/TCP/IP, already implemented), local storage (mbox/MH/maildir) +and message / MIME parsing. %package -n libetpan-devel -Summary: Mail handling library +Summary: Development files for libetpan, a mail handling library Group: Development/Libraries/C and C++ Requires: cyrus-sasl-devel Requires: db-devel @@ -64,12 +66,13 @@ %description -n libetpan-devel libEtPan is a mail purpose library. It will be used for low-level mail -handling : network protocols (IMAP/NNTP/POP3/SMTP over TCP/IP and -SSL/TCP/IP, already implemented), local storage (mbox/MH/maildir), -message / MIME parse +handling: network protocols (IMAP/NNTP/POP3/SMTP over TCP/IP and +SSL/TCP/IP, already implemented), local storage (mbox/MH/maildir) +and message / MIME parsing. %prep %setup -q +%patch0 -p1 %build touch README INSTALL COPYING @@ -78,7 +81,7 @@ make %{?_smp_mflags} %install -make install DESTDIR=%{?buildroot} +%make_install # remove unneeded *.la files rm %{buildroot}%{_libdir}/libetpan.la ++++++ 1.6.tar.gz -> 1.8.tar.gz ++++++ ++++ 26572 lines of diff (skipped) ++++++ libetpan-1.6-openssl11.patch ++++++ diff -ur libetpan-1.6.orig/configure.ac libetpan-1.6/configure.ac --- libetpan-1.6.orig/configure.ac 2014-10-31 22:41:02.000000000 +0100 +++ libetpan-1.6/configure.ac 2017-12-05 22:10:29.592052378 +0100 @@ -200,7 +200,7 @@ AC_CHECK_HEADER(openssl/ssl.h, [ AC_CHECK_LIB(rsaref, main, [SSLLIBS="-lrsaref"]) AC_CHECK_LIB(crypto, main, [SSLLIBS="-lcrypto $SSLLIBS"], [], [$SSLLIBS]) - AC_CHECK_LIB(ssl, SSL_library_init, with_openssl=yes, [], [$SSLLIBS])]) + AC_CHECK_LIB(ssl, SSL_CTX_new, with_openssl=yes, [], [$SSLLIBS])]) if test "x$with_openssl" != "xyes"; then CPPFLAGS="$OCPPFLAGS" LDFLAGS="$OLDFLAGS" diff -ur libetpan-1.6.orig/src/data-types/mailstream_ssl.c libetpan-1.6/src/data-types/mailstream_ssl.c --- libetpan-1.6.orig/src/data-types/mailstream_ssl.c 2014-10-31 22:41:02.000000000 +0100 +++ libetpan-1.6/src/data-types/mailstream_ssl.c 2017-12-05 22:12:59.276059622 +0100 @@ -371,7 +371,7 @@ static int mailstream_openssl_client_cert_cb(SSL *ssl, X509 **x509, EVP_PKEY **pkey) { - struct mailstream_ssl_context * ssl_context = (struct mailstream_ssl_context *)SSL_CTX_get_app_data(ssl->ctx); + struct mailstream_ssl_context * ssl_context = (struct mailstream_ssl_context *)SSL_CTX_get_app_data(SSL_get_SSL_CTX(ssl)); if (x509 == NULL || pkey == NULL) { return 0;
