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