e160af1
Name:      mod_gnutls
e160af1
Version:   0.5.5
e160af1
Release:   5%{?dist}
e160af1
Summary:   GnuTLS module for the Apache HTTP server
e160af1
Group:     System Environment/Daemons
e160af1
License:   ASL 2.0
e160af1
URL:       http://www.outoforder.cc/projects/apache/mod_gnutls
e160af1
Source0:   http://www.outoforder.cc/downloads/mod_gnutls/%{name}-%{version}.tar.bz2
e160af1
Source1:   mod_gnutls.conf
e160af1
BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)
e160af1
BuildRequires: gnutls-devel httpd-devel
e160af1
Requires:  httpd
e160af1
e160af1
%description
e160af1
mod_gnutls uses the GnuTLS library to provide SSL 3.0, TLS 1.0 and TLS 1.1
e160af1
encryption for Apache HTTPD.  It is similar to mod_ssl in purpose, but does
e160af1
not use OpenSSL.  A primary benefit of using this module is the ability to
e160af1
configure multiple SSL certificates for a single IP-address/port combination
e160af1
(useful for securing virtual hosts).
e160af1
    
e160af1
Features
e160af1
    * Support for SSL 3.0, TLS 1.0 and TLS 1.1.
e160af1
    * Support for client certificates.
e160af1
    * Support for RFC 5081 OpenPGP certificate authentication.
e160af1
    * Support for Server Name Indication.
e160af1
    * Distributed SSL Session Cache via Memcached
e160af1
    * Local SSL Session Cache using DBM
e160af1
    * Sets enviromental vars for scripts (compatible with mod_ssl vars)
e160af1
    * Small and focused code base:
e160af1
         Lines of code in mod_gnutls: 3,593
e160af1
         Lines of code in mod_ssl: 15,324
e160af1
e160af1
%prep
e160af1
%setup -q
e160af1
cp %{SOURCE1} .
e160af1
e160af1
%build
e160af1
%configure --disable-srp
e160af1
%{__make} %{?_smp_mflags}
e160af1
e160af1
%check
e160af1
%{__make} check
e160af1
e160af1
%install
e160af1
rm -rf %{buildroot}
e160af1
%{__install} -m 755 -D src/.libs/libmod_gnutls.so %{buildroot}%{_libdir}/httpd/modules/mod_gnutls.so
e160af1
%{__install} -m 644 -D %{SOURCE1} %{buildroot}%{_sysconfdir}/httpd/conf.d/mod_gnutls.conf
e160af1
%{__install} -d -m 0700 %{buildroot}%{_localstatedir}/cache/mod_gnutls
e160af1
e160af1
%clean
e160af1
rm -rf %{buildroot}
e160af1
e160af1
%files
e160af1
%defattr(-,root,root,-)
e160af1
%doc README NEWS NOTICE LICENSE README.ENV
e160af1
%{_libdir}/httpd/modules/*.so
e160af1
%config(noreplace) %{_sysconfdir}/httpd/conf.d/mod_gnutls.conf
e160af1
%{_localstatedir}/cache/mod_gnutls
e160af1
e160af1
%changelog
e160af1
* Thu Sep 17 2009 Erick Calder <rpm@arix.com> - 0.5.5-5
e160af1
- removed use of define {ooo}
e160af1
e160af1
* Thu Sep 17 2009 Erick Calder <rpm@arix.com> - 0.5.5-4
e160af1
- dependency generator missed need for httpd.  added by hand.
e160af1
- abstracted Source0:
e160af1
e160af1
* Tue Sep 15 2009 Erick Calder <rpm@arix.com> - 0.5.5-3
e160af1
- mention of SRP removed from description of package
e160af1
- added httpd-devel to build requires
e160af1
- fixed license (harmonized with httpd)
e160af1
e160af1
* Tue Sep 15 2009 Erick Calder <rpm@arix.com> - 0.5.5-2
e160af1
- Added BuildRequires
e160af1
- removed comments stating the specfile was generated by cpan2rpm
e160af1
- added BuildRoot
e160af1
- added install clean
e160af1
e160af1
* Fri Sep 11 2009 Erick Calder <rpm@arix.com> - 0.5.5-2
e160af1
- Initial build
e160af1