From be6bcb2094eb8a989b74a49a715d132b548a373b Mon Sep 17 00:00:00 2001 From: Pawel Salek Date: Wed, 19 Oct 2005 19:07:25 +0000 Subject: [PATCH] - fix crashes on certificates with subjectAltName extension. Fix #166844. --- .cvsignore | 1 + libesmtp.spec | 10 ++++++++-- sources | 1 + 3 files changed, 10 insertions(+), 2 deletions(-) diff --git a/.cvsignore b/.cvsignore index 4e62c6f..3724d8b 100644 --- a/.cvsignore +++ b/.cvsignore @@ -1 +1,2 @@ libesmtp-1.0.3r1.tar.bz2 +libesmtp-ssl.patch diff --git a/libesmtp.spec b/libesmtp.spec index f8d7c26..d4a4197 100644 --- a/libesmtp.spec +++ b/libesmtp.spec @@ -3,12 +3,14 @@ Summary: SMTP client library Name: libesmtp Version: 1.0.3r1 -Release: 3 +Release: 4%{?dist} License: LGPL Group: System Environment/Libraries Source: http://www.stafford.uklinux.net/libesmtp/%{name}-%{version}.tar.bz2 Patch1: libesmtp-build.patch +Patch2: libesmtp-ssl.patch URL: http://www.stafford.uklinux.net/libesmtp/ +Requires: openssl BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: openssl-devel pkgconfig automake libtool @@ -22,7 +24,7 @@ functionality is not the program's primary purpose. %package devel Summary: Headers and development libraries for libESMTP Group: Development/Libraries -Requires: %{name} = %{version} +Requires: %{name} = %{version}, openssl-devel %description devel LibESMTP is a library to manage posting (or submission of) electronic @@ -35,6 +37,7 @@ necessary for building programs against libesmtp. %prep %setup -q %patch1 -p1 -b .build +%patch2 -p1 -b .ssl %build #we run auto* because the distributed configure script is inferior. @@ -81,6 +84,9 @@ rm -rf $RPM_BUILD_ROOT %{_libdir}/libesmtp.a %changelog +* Wed Oct 19 2005 Pawel Salek - 1.0.3r1-4 +- fix crashes on certificates with subjectAltName extension. Fix #166844. + * Sun Jun 12 2005 Pawel Salek - 1.0.3r1-3 - Add libesmtp-build.patch - fix building under FC4. diff --git a/sources b/sources index d5c4ef6..6e0076b 100644 --- a/sources +++ b/sources @@ -1 +1,2 @@ c07aa79293aa36298626fe5e68d6bfba libesmtp-1.0.3r1.tar.bz2 +f018f16cbebc56490d2c3c18a23d3113 libesmtp-ssl.patch