- use the OpenSSL CA bundle

epel10
jorton 17 years ago
parent 1d92096aad
commit d615b49238

@ -1,7 +1,7 @@
Summary: An HTTP and WebDAV client library Summary: An HTTP and WebDAV client library
Name: neon Name: neon
Version: 0.28.1 Version: 0.28.1
Release: 2 Release: 3
License: LGPLv2+ License: LGPLv2+
Group: System Environment/Libraries Group: System Environment/Libraries
URL: http://www.webdav.org/neon/ URL: http://www.webdav.org/neon/
@ -10,6 +10,8 @@ Patch0: neon-0.27.0-multilib.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: expat-devel, gnutls-devel, zlib-devel, krb5-devel BuildRequires: expat-devel, gnutls-devel, zlib-devel, krb5-devel
BuildRequires: pkgconfig, pakchois-devel BuildRequires: pkgconfig, pakchois-devel
# For /etc/pki/tls/certs/ca-bundle.crt:
Requires: openssl
Conflicts: subversion < 0.22.2-4 Conflicts: subversion < 0.22.2-4
%description %description
@ -35,8 +37,10 @@ The development library for the C language HTTP and WebDAV client library.
%build %build
export CC="%{__cc} -pthread" export CC="%{__cc} -pthread"
# Use standard OpenSSL-provided CA bundle:
%define cabundle %{_sysconfdir}/pki/tls/certs/ca-bundle.crt
%configure --with-expat --enable-shared --disable-static \ %configure --with-expat --enable-shared --disable-static \
--enable-warnings \ --enable-warnings --with-ca-bundle=%{cabundle} \
--with-ssl=gnutls --enable-threadsafe-ssl=posix --with-ssl=gnutls --enable-threadsafe-ssl=posix
make %{?_smp_mflags} make %{?_smp_mflags}
@ -72,6 +76,9 @@ rm -rf $RPM_BUILD_ROOT
%{_libdir}/*.so %{_libdir}/*.so
%changelog %changelog
* Wed Apr 2 2008 Joe Orton <jorton@redhat.com> 0.28.1-3
- use the OpenSSL CA bundle
* Mon Mar 10 2008 Joe Orton <jorton@redhat.com> 0.28.1-2 * Mon Mar 10 2008 Joe Orton <jorton@redhat.com> 0.28.1-2
- update to 0.28.1 - update to 0.28.1

Loading…
Cancel
Save