2 # - other language's descriptions look weird, backslashes and quotes
4 %define APACHEVER 1.3.33
5 %define apxs /usr/sbin/apxs1
7 Summary: An SSL module for the Apache Web server
8 Summary(cs): Modul s podporou silného ¹ifrování pro WWW server Apache
9 Summary(da): Krypteringsunderstøttelse for webtjeneren Apache
10 Summary(de): SSL-Modul für den Apache-Webserver
11 Summary(es): Soporte criptofráfico para el servidor de WWW Apache
12 Summary(fr): Un module SSL pour le serveur Web Apache
13 Summary(id): Interpreter Perl untuk web server Apache
14 Summary(is): Perl túlkur fyrir Apache vefþjóninn
15 Summary(it): Supporto di crittografia per il server Web Apache
16 Summary(ja): Apache Web ¥µ¡¼¥Ð¡¼ÍѤΰŹ極¥Ý¡¼¥È
17 Summary(nb): Krypteringsstøtte for webtjeneren Apache
18 Summary(pl): Modu³ SSL dla serwera WWW Apache
19 Summary(pt): O suporte de cifra para o servidor Web Apache
20 Summary(ru): íÏÄÕÌØ ÐÏÄÄÅÒÖËÉ SSL × Apache
21 Summary(sl): Podpora za ¹ifriranje za spletni stre¾nik Apache
22 Summary(sv): Kryptografistöd till webbservern Apache
23 Summary(uk): íÏÄÕÌØ Ð¦ÄÔÒÉÍËÉ SSL × Apache
24 Name: apache1-mod_%{mod_name}
25 Version: %{SSLVER}_%{APACHEVER}
28 Group: Networking/Daemons
29 Source0: http://www.modssl.org/source/mod_%{mod_name}-%{SSLVER}-%{APACHEVER}.tar.gz
30 # Source0-md5: cdfdf1f576f77768c90825b43b462405
32 Source2: %{name}-server.crt
33 Source3: %{name}-server.key
34 Source4: %{name}-sxnet.html
35 Source5: %{name}.logrotate
36 Patch1: mod_%{mod_name}-cca-openssl-path.patch
37 Patch2: mod_%{mod_name}-db3.patch
38 Patch3: %{name}-nohttpd.patch
39 URL: http://www.modssl.org/
40 BuildRequires: %{apxs}
41 BuildRequires: apache1-devel = %{APACHEVER}
42 BuildRequires: apache1-devel >= 1.3.33-2
43 BuildRequires: db-devel >= 4.1
44 BuildRequires: openssl-devel >= 0.9.7d
45 BuildRequires: openssl-tools >= 0.9.7d
46 BuildRequires: sed >= 4.0
47 Requires(post,preun): apache1
48 Requires(post,preun): grep
49 Requires(preun): fileutils
50 Requires: apache1 >= %{APACHEVER}
51 Conflicts: apache1 < 1.3.33-2
53 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
55 %define _pkglibdir %(%{apxs} -q LIBEXECDIR)
56 %define _sysconfdir %(%{apxs} -q SYSCONFDIR)
59 The mod_ssl project provides strong cryptography for the Apache 1.3
60 webserver via the Secure Sockets Layer (SSL v2/v3) and Transport Layer
61 Security (TLS v1) protocols by the help of the Open Source SSL/TLS
62 toolkit OpenSSL, which is based on SSLeay from Eric A. Young and Tim
65 The mod_ssl package was created in April 1998 by Ralf S. Engelschall
66 and was originally derived from software developed by Ben Laurie for
67 use in the Apache-SSL HTTP server project. The mod_ssl package is
68 licensed under a BSD-style licence, which basically means that you are
69 free to get and use it for commercial and non-commercial purposes.
72 "Modul mod_ssl pro WWW server Apache umo¾òuje pou¾ití silného
73 ¹ifrování\n" "komunikace klienta (WWW prohlí¾eè) a serveru - SSL
74 (Secure Sockets Layer)\n" "a TLS (Transport Layer Security)
78 Das mod_ssl-Projekt stellt kryptographie für den Apache 1.3-Webserver
79 über Secure Sockets Layer (SSL v2/v3) und Transport Layer Security
80 (TLS v1)-Protokolle zur Verfügung. Dazu wird das Open Source
81 SSL/TLS-Toolkit OpenSSL, das auf SSLeay basiert, verwendet.
84 El módulo mod_ssl proporciona la criptografía para el servidor Web
85 Apache, los sockets seguros, los protocolos de la seguridad (SSL) y
86 de la capa tranparente (TLS).
89 Le projet mod_ssl fournit de la forte cryptographie pour le serveur
90 web Apache 1.3 via les protocoles Secure Sockets Layer (SSL v2/v3) et
91 Transport Layer Security (TLS v1) avec l'aide du kit d'outils Open
92 Source SSL/TLS, OpenSSL, base sur SSLeay d'Eric A. Young et Tim J.
96 "Il modulo mod_ssl fornisce un supporto di crittografia molto potente
97 per\n" "il server Web Apache tramite i protocolli SSL (Secure Sockets
98 Layer) e i\n" "protocolli TLS (Transport Layer Security)."
101 "mod_ssl ¥â¥¸¥å¡¼¥ë¤Ï¡¢SSL (Secure Sockets Layer) ¤ª¤è¤Ó TLS
102 (Transport \n" "Layer Security) ¥×¥í¥È¥³¥ë¤ò²ð¤·¤Æ Apache Web
103 ¥µ¡¼¥Ð¡¼ÍѤζ¯ÎϤʰŹ沽\n" "µ¡Ç½¤òÄ󶡤·¤Þ¤¹¡£"
106 Projekt mod_ssl ma za zadanie zapewniæ serwerowi WWW Apache 1.3 wysoki
107 poziom szyfrowania dziêki protoko³om Secure Sockets Layer (SSL v2/v3)
108 i Transport Layer Security (TLS v1) przy pomocy pakiety narzêdziowego
109 Open Source SSL/TSL -- OpenSSL, stworzonego na podstawie SSLeay Erica
110 A.Younga i Tima J.Hudsona.
113 "O módulo mod_ssl oferece uma criptografia robusta para o servidor
114 Web\n" "Apache através dos protocolos SSL (Secure Sockets Layer) e TLS
115 (Transport\n" "Layer Security)."
118 Apache -- ÍÏÝÎÙÊ Ó×ÏÂÏÄÎÏ ÒÁÓÐÒÏÓÔÒÁÎÑÅÍÙÊ ÓÅÒ×ÅÒ Á ÔÁËÖÅ É ÓÁÍÙÍ
119 ÐÏÐÕÌÑÒÎÙÊ × Internet'Å (ÏÎ ÉÓÐÏÌØÚÕÅÔÓÑ ÎÁ ÂÏÌÅÅ, ÞÅÍ 50%% ÓÅÒ×ÅÒÏ× ×
120 ÍÉÒÅ). üÔÁ ×ÅÒÓÉÑ ×ËÌÀÞÁÅÔ × ÓÅÂÑ ÐÏÄÄÅÒÖËÕ SSL v2, v3 É TLS v1.
123 "Modulen mod_ssl förser webbservern Apache med stark kryptografi
124 via\n" "protokollen SSL (Secure Sockets Layer) och TLS (Transport
125 Layer\n" "Security)."
128 Apache -- ÐÏÔÕÖÎÉÊ ×¦ÌØÎÏ ÒÏÚÐÏ×ÓÀÄÖÕ×ÁÎÉÊ ÓÅÒ×ÅÒ HTTP. ãÅ
129 ÎÁÊÐÏÐÕÌÑÒΦÛÉÊ ÓÅÒ×ÅÒ Õ ÓצԦ (×ÉËÏÒÉÓÔÏ×Õ¤ÔØÓÑ Â¦ÌØÛ ÑË ÎÁ 50%%
130 ÓÅÒ×ÅÒ¦×). ãÑ ×ÅÒÓ¦Ñ Í¦ÓÔÉÔØ Ð¦ÄÔÒÉÍËÕ SSL v2, v3 ÔÁ TLS v1.
133 Summary: Header files for mod_ssl
134 Summary(pl): Pliki nag³ówkowe dla mod_ssl
135 Group: Development/Building
136 Requires: apache1-devel >= %{APACHEVER}
139 Header files for mod_ssl.
141 %description devel -l pl
142 Pliki nag³ówkowe dla mod_ssl.
144 %package -n apache1-mod_sxnet
145 Summary: Strong Extranet module for mod_ssl and apache
146 Summary(fr): Module d'Extranet Fort pour Apache et mod_ssl
147 Summary(pl): Modu³ Strong Extranet dla pakietu mod_ssl i serwera WWW Apache
148 Group: Networking/Daemons
149 Requires(post,preun): %{apxs}
150 Requires: apache1(EAPI) >= %{APACHEVER}
152 %description -n apache1-mod_sxnet
153 The Strong Extranet allows you to use digital certificates to
154 authenticate users on your web server. Typically, your users enroll in
155 your Strong Extranet, under your control, through the Thawte Personal
158 %description -n apache1-mod_sxnet -l fr
159 L'Extranet Fort vous permet d'utiliser des certificats numeriques pour
160 authentifier les usagers sur votre serveur web. Typiquement, vos
161 usagers s'enrolent dans votre Extranet Fort, sous votre controle, a
162 travers le Thawte Personal Cert System.
164 %description -n apache1-mod_sxnet -l pl
165 Pakiet Strong Extranet umo¿liwia u¿ywanie cyfrowych certyfikatów dla
166 uwierzytelniania u¿ytkowników serwera WWW. Zwykle u¿ytkownicy
167 rejestruj± siê pod opiek± administratora poprzez Thawte Personal Cert
171 %setup -q -n mod_%{mod_name}-%{SSLVER}-%{APACHEVER}
176 %{__perl} -pi -e 's@ /lib /usr/lib @ /%{_lib} /usr/%{_lib} @' pkg.sslmod/libssl.module
179 SSL_BASE=SYSTEM; export SSL_BASE
181 --with-apxs=%{apxs} \
182 --enable-shared=ssl \
183 --with-ssl=%{_prefix}
190 %{apxs} -DMalloc=malloc -DFree=free -I%{_includedir}/openssl -L%{_libdir} -l ssl -l crypto -c mod_sxnet.c
193 rm -rf $RPM_BUILD_ROOT
194 install -d $RPM_BUILD_ROOT{%{_libdir}/mod_%{mod_name},%{_pkglibdir}} \
195 $RPM_BUILD_ROOT%{_includedir}/apache1 \
196 $RPM_BUILD_ROOT%{_sysconfdir}/conf.d \
197 $RPM_BUILD_ROOT/etc/logrotate.d
199 install pkg.sslmod/libssl.so $RPM_BUILD_ROOT%{_pkglibdir}
200 install pkg.contrib/sxnet/mod_sxnet.so $RPM_BUILD_ROOT%{_pkglibdir}
202 install pkg.contrib/*.sh $RPM_BUILD_ROOT%{_libdir}/mod_%{mod_name}
203 install %{SOURCE1} $RPM_BUILD_ROOT%{_sysconfdir}/conf.d/40_mod_%{mod_name}.conf
204 install %{SOURCE2} $RPM_BUILD_ROOT%{_sysconfdir}/server.crt
205 install %{SOURCE3} $RPM_BUILD_ROOT%{_sysconfdir}/server.key
206 install %{SOURCE5} $RPM_BUILD_ROOT/etc/logrotate.d/apache-mod_%{mod_name}
208 cp -a pkg.ssldoc ssl-doc
210 install %{SOURCE4} sxnet.html
211 CFG="$RPM_BUILD_ROOT%{_sysconfdir}/conf.d"
212 echo "LoadModule sxnet_module modules/mod_sxnet.so" > $CFG/41_mod_sxnet.conf
214 install pkg.sslmod/*.h $RPM_BUILD_ROOT%{_includedir}/apache1
217 rm -rf $RPM_BUILD_ROOT
220 if [ -f /var/lock/subsys/apache ]; then
221 /etc/rc.d/init.d/apache restart 1>&2
223 echo "Run \"/etc/rc.d/init.d/apache start\" to start apache HTTP daemon."
227 if [ "$1" = "0" ]; then
228 if [ -f /var/lock/subsys/apache ]; then
229 /etc/rc.d/init.d/apache restart 1>&2
233 %triggerpostun -- apache1-mod_ssl < 2.8.22_1.3.33-1.7
234 if grep -q '^Include conf.d' /etc/apache/apache.conf; then
236 /^Include.*mod_%{mod_name}.conf/d
237 ' /etc/apache/apache.conf
239 # they're still using old apache.conf
241 s,^Include.*mod_%{mod_name}.conf,Include %{_sysconfdir}/conf.d/*_mod_%{mod_name}.conf,
242 ' /etc/apache/apache.conf
245 %triggerpostun -- apache1-mod_sxnet < 2.8.22_1.3.33-1.9
246 # check that they're not using old apache.conf
247 if ! grep -q '^Include conf.d' /etc/apache/apache.conf; then
248 %{apxs} -e -A -n sxnet %{_pkglibdir}/mod_sxnet.so 1>&2
251 %post -n apache1-mod_sxnet
252 if [ -f /var/lock/subsys/apache ]; then
253 /etc/rc.d/init.d/apache restart 1>&2
256 %preun -n apache1-mod_sxnet
257 if [ "$1" = "0" ]; then
258 if [ -f /var/lock/subsys/apache ]; then
259 /etc/rc.d/init.d/apache restart 1>&2
264 %defattr(644,root,root,755)
265 %doc ANNOUNCE CHANGES CREDITS NEWS README* ssl-doc
266 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/conf.d/*_mod_ssl.conf
267 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/server.crt
268 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/server.key
269 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) /etc/logrotate.d/*
271 %attr(755,root,root) %{_pkglibdir}/libssl.so
273 %dir %{_libdir}/mod_%{mod_name}
274 %attr(755,root,root) %{_libdir}/mod_%{mod_name}/*.sh
277 %defattr(644,root,root,755)
278 %{_includedir}/apache1/*.h
280 %files -n apache1-mod_sxnet
281 %defattr(644,root,root,755)
283 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/conf.d/*_mod_sxnet.conf
284 %attr(755,root,root) %{_pkglibdir}/mod_sxnet.so