]>
Commit | Line | Data |
---|---|---|
2c1b5642 ER |
1 | # TODO |
2 | # - with apr_memcache: http://www.outoforder.cc/projects/libs/apr_memcache | |
3 | # - make tries to make cert using /dev/random (slow! and perhaps unneccessary) | |
4 | %define mod_name gnutls | |
5 | %define apxs /usr/sbin/apxs | |
6 | Summary: SSL v3, TLS 1.0 and TLS 1.1 encryption for Apache HTTPD | |
961dafb6 | 7 | Summary(pl.UTF-8): Szyfrowanie SSL v3, TLS 1.0 i TLS 1.1 dla serwera HTTP Apache |
2c1b5642 ER |
8 | Name: apache-mod_%{mod_name} |
9 | Version: 0.2.0 | |
10 | Release: 0.1 | |
11 | License: Apache Group License | |
12 | Group: Networking/Daemons | |
13 | Source0: http://www.outoforder.cc/downloads/mod_gnutls/mod_gnutls-%{version}.tar.bz2 | |
14 | # Source0-md5: 80ab766a7b9cfbb730e789032ff26d68 | |
15 | URL: http://www.outoforder.cc/projects/apache/mod_gnutls/ | |
16 | BuildRequires: apache-devel >= 2.0.42 | |
17 | BuildRequires: gnutls-devel >= 1.2.0 | |
1bc6813a | 18 | Requires: apache(modules-api) = %apache_modules_api |
2c1b5642 ER |
19 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
20 | ||
21 | %description | |
22 | mod_gnutls uses the GnuTLS library to provide SSL v3, TLS 1.0 and TLS | |
23 | 1.1 encryption for Apache HTTPD. It is similar to mod_ssl in purpose, | |
24 | but does not use OpenSSL. | |
25 | ||
26 | Features: | |
49e968a7 | 27 | - Support for SSL v3, TLS 1.0 and TLS 1.1. |
2c1b5642 ER |
28 | - Support for Server Name Indication |
29 | - Distributed SSL Session Cache via Memcached | |
30 | - Local SSL Session Cache using DBM | |
31 | ||
961dafb6 JR |
32 | %description -l pl.UTF-8 |
33 | mod_gnutls używa biblioteki GnuTLS do obsługi szyfrowania SSL v3, TLS | |
34 | 1.0 i TLS 1.1 dla serwera HTTP Apache. Pod względem przeznaczenia jest | |
35 | podobny do mod_ssl, ale nie używa biblioteki OpenSSL. | |
49e968a7 | 36 | |
961dafb6 JR |
37 | Możliwości: |
38 | - obsługa SSL v3, TLS 1.0 i TLS 1.1 | |
39 | - obsługa identyfikacji nazwy serwera (Server Name Indication) | |
40 | - rozproszona pamięć podręczna sesji SSL poprzez Memcached | |
41 | - lokalna pamięć podręczna sesji SSL korzystająca z DBM | |
49e968a7 | 42 | |
2c1b5642 ER |
43 | %prep |
44 | %setup -q -n mod_%{mod_name}-%{version} | |
45 | ||
46 | %build | |
47 | %configure \ | |
48 | --with-apxs=%{apxs} \ | |
49 | --with-libgnutls=%{_prefix} \ | |
50 | --without-apr-memcache | |
51 | %{__make} | |
52 | ||
53 | %install | |
54 | rm -rf $RPM_BUILD_ROOT | |
55 | ||
56 | %{__make} install \ | |
57 | DESTDIR=$RPM_BUILD_ROOT | |
58 | ||
59 | %clean | |
60 | rm -rf $RPM_BUILD_ROOT | |
61 | ||
62 | %files | |
63 | %defattr(644,root,root,755) |