]>
Commit | Line | Data |
---|---|---|
622bc451 | 1 | # |
44d8c69e JB |
2 | # TODO: consider dropping last optflags.patch hunk and return to SOMAJOR (.so.1) sonames |
3 | # | |
2403ba81 | 4 | # Conditional build: |
d76d59fa JB |
5 | %bcond_without tests # don't perform "make tests" |
6 | %bcond_with purify # Compile openssl with \-DPURIFY, useful when one wants to | |
2403ba81 | 7 | # use valgrind debugger against openssl-linked programs |
dece7a9c | 8 | |
779bb536 | 9 | %include /usr/lib/rpm/macros.perl |
ce2ff00e | 10 | Summary: OpenSSL Toolkit libraries for the "Secure Sockets Layer" (SSL v2/v3) |
e6bfca5b ER |
11 | Summary(de.UTF-8): Secure Sockets Layer (SSL)-Kommunikationslibrary |
12 | Summary(es.UTF-8): Biblioteca C que suministra algoritmos y protocolos criptográficos | |
13 | Summary(fr.UTF-8): Utilitaires de communication SSL (Secure Sockets Layer) | |
14 | Summary(pl.UTF-8): Biblioteki OpenSSL (SSL v2/v3) | |
15 | Summary(pt_BR.UTF-8): Uma biblioteca C que fornece vários algoritmos e protocolos criptográficos | |
16 | Summary(ru.UTF-8): Библиотеки и утилиты для соединений через Secure Sockets Layer | |
17 | Summary(uk.UTF-8): Бібліотеки та утиліти для з'єднань через Secure Sockets Layer | |
56470945 | 18 | Name: openssl |
af30d53f | 19 | Version: 1.0.0 |
92cb1705 | 20 | Release: 6 |
d7fc4164 | 21 | License: Apache-like |
56470945 | 22 | Group: Libraries |
264f738a | 23 | Source0: ftp://ftp.openssl.org/source/%{name}-%{version}.tar.gz |
af30d53f | 24 | # Source0-md5: 89eaa86e25b2845f920ec00ae4c864ed |
62382817 | 25 | Source2: %{name}.1.pl |
ea55f735 | 26 | Source3: %{name}-ssl-certificate.sh |
d231add3 | 27 | Source4: %{name}-c_rehash.sh |
0d1c50df | 28 | Patch0: %{name}-alpha-ccc.patch |
e106ff02 TO |
29 | Patch1: %{name}-optflags.patch |
30 | Patch2: %{name}-globalCA.diff | |
c0cc4a35 | 31 | Patch3: %{name}-include.patch |
6e7b8079 JB |
32 | Patch4: %{name}-man-namespace.patch |
33 | Patch5: %{name}-asflag.patch | |
34 | Patch6: %{name}-ca-certificates.patch | |
44d8c69e | 35 | Patch7: %{name}-ldflags.patch |
bd7f0ef1 | 36 | URL: http://www.openssl.org/ |
741aa025 | 37 | BuildRequires: bc |
9edbb66f | 38 | BuildRequires: perl-devel >= 1:5.6.1 |
39 | BuildRequires: rpm-perlprov >= 4.1-13 | |
20bc1dd7 | 40 | BuildRequires: rpmbuild(macros) >= 1.213 |
31b28434 | 41 | BuildRequires: sed >= 4.0 |
dece7a9c ER |
42 | Requires: ca-certificates >= 20080809-4 |
43 | Requires: rpm-whiteout >= 1.7 | |
04a5ad1f AF |
44 | Obsoletes: SSLeay |
45 | Obsoletes: SSLeay-devel | |
46 | Obsoletes: SSLeay-perl | |
a280467c | 47 | Obsoletes: libopenssl0 |
0f86ef4a | 48 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
21ac4f86 AF |
49 | |
50 | %description | |
51 | The OpenSSL Project is a collaborative effort to develop a robust, | |
b39fed70 | 52 | commercial-grade, full-featured, and Open Source toolkit implementing |
53 | the Secure Sockets Layer (SSL v2/v3) and Transport Layer Security (TLS | |
54 | v1) protocols with full-strength cryptography world-wide. The project | |
55 | is managed by a worldwide community of volunteers that use the | |
56 | Internet to communicate, plan, and develop the OpenSSL tookit and its | |
57 | related documentation. | |
56470945 | 58 | |
b39fed70 | 59 | OpenSSL is based on the excellent SSLeay library developed by Eric A. |
60 | Young and Tim J. Hudson. The OpenSSL toolkit is licensed under an | |
61 | Apache-style licence, which basically means that you are free to get | |
62 | and use it for commercial and non-commercial purposes subject to some | |
63 | simple license conditions. | |
21ac4f86 | 64 | |
fc19f542 | 65 | This package contains shared libraries only, install openssl-tools if |
66 | you want to use openssl cmdline tool. | |
ce2ff00e | 67 | |
30e72515 JR |
68 | %description -l de.UTF-8 |
69 | Openssl enthält das OpenSSL Zertifikatsmanagementtool und shared | |
70 | libraries, die verschiedene Verschlüsselungs- und | |
71 | Entschlüsselungsalgorithmen und -protokolle, wie DES, RC4, RSA und SSL | |
72 | zur Verfügung stellen. | |
453a8bf3 | 73 | |
30e72515 JR |
74 | %description -l es.UTF-8 |
75 | Biblioteca C que suministra algoritmos y protocolos criptográficos. | |
2fad19b0 | 76 | |
30e72515 | 77 | %description -l fr.UTF-8 |
56470945 | 78 | OpenSSL est un outiil de gestion des certificats et les librairies |
79 | partagees qui fournit plusieurs protocoles et algorithmes de | |
80 | codage/decodage, incluant DES, RC4, RSA et SSL. | |
2fad19b0 | 81 | |
30e72515 JR |
82 | %description -l pl.UTF-8 |
83 | Implementacja protokołów kryptograficznych Secure Socket Layer (SSL) | |
78b5e413 TP |
84 | v2/v3 oraz Transport Layer Security (TLS v1). |
85 | ||
30e72515 JR |
86 | %description -l pt_BR.UTF-8 |
87 | Uma biblioteca C que fornece vários algoritmos e protocolos | |
88 | criptográficos, incluindo DES, RC4, RSA e SSL. Inclui bibliotecas | |
89 | compartilhadas e utilitários. | |
453a8bf3 | 90 | |
30e72515 JR |
91 | %description -l ru.UTF-8 |
92 | Программа openssl для работы с сертификатами и разделяемые библиотеки, | |
93 | которые реализуют множетсво криптографических алгоритмов, включая DES, | |
94 | RC4, RSA и SSL. | |
453a8bf3 | 95 | |
30e72515 JR |
96 | %description -l uk.UTF-8 |
97 | Програма openssl для роботи з сертифікатами та бібліотеки спільного | |
98 | користування, що реалізують велику кількість криптографічних | |
99 | алгоритмів, включаючи DES, RC4, RSA та SSL. | |
453a8bf3 | 100 | |
ce2ff00e | 101 | %package tools |
102 | Summary: OpenSSL command line tool and utilities | |
e6bfca5b | 103 | Summary(pl.UTF-8): Zestaw narzędzi i skryptów |
fc19f542 | 104 | Group: Applications/Communications |
82859ae1 | 105 | Requires: %{name} = %{version}-%{release} |
9583cd23 | 106 | Requires: which |
ce2ff00e | 107 | |
108 | %description tools | |
109 | The OpenSSL Toolkit cmdline tool openssl and utility scripts. | |
110 | ||
30e72515 JR |
111 | %description tools -l pl.UTF-8 |
112 | Zestaw narzędzi i skryptów wywoływanych z linii poleceń. | |
78b5e413 | 113 | |
ce2ff00e | 114 | %package tools-perl |
115 | Summary: OpenSSL utilities written in Perl | |
e6bfca5b | 116 | Summary(pl.UTF-8): Narzędzia OpenSSL napisane w perlu |
fc19f542 | 117 | Group: Applications/Communications |
82859ae1 | 118 | Requires: %{name} = %{version}-%{release} |
2b2149ff | 119 | |
ce2ff00e | 120 | %description tools-perl |
d86c2c8b | 121 | OpenSSL Toolkit tools written in Perl. |
2b2149ff | 122 | |
30e72515 JR |
123 | %description tools-perl -l pl.UTF-8 |
124 | Narzędzia OpenSSL napisane w perlu. | |
78b5e413 | 125 | |
faddd309 | 126 | %package devel |
ce2ff00e | 127 | Summary: Development part of OpenSSL Toolkit libraries |
e6bfca5b ER |
128 | Summary(de.UTF-8): Secure Sockets Layer Kommunikationslibrary: statische libraries+header |
129 | Summary(es.UTF-8): Bibliotecas y archivos de inclusión para desarrollo OpenSSL | |
130 | Summary(fr.UTF-8): Librairies statiques, headers et utilitaires pour communication SSL | |
131 | Summary(pl.UTF-8): Część bibiloteki OpenSSL przeznaczona dla programistów | |
132 | Summary(pt_BR.UTF-8): Bibliotecas e arquivos de inclusão para desenvolvimento OpenSSL | |
133 | Summary(ru.UTF-8): Библиотеки, хедеры и утилиты для Secure Sockets Layer | |
134 | Summary(uk.UTF-8): Бібліотеки, хедери та утиліти для Secure Sockets Layer | |
9c05bcac | 135 | Group: Development/Libraries |
82859ae1 | 136 | Requires: %{name} = %{version}-%{release} |
a280467c | 137 | Obsoletes: libopenssl0-devel |
faddd309 AF |
138 | |
139 | %description devel | |
140 | Development part of OpenSSL library. | |
141 | ||
30e72515 JR |
142 | %description devel -l es.UTF-8 |
143 | Bibliotecas y archivos de inclusión para desarrollo OpenSSL | |
453a8bf3 | 144 | |
30e72515 JR |
145 | %description devel -l pl.UTF-8 |
146 | Część biblioteki OpenSSL przeznaczona dla programistów. | |
faddd309 | 147 | |
30e72515 JR |
148 | %description devel -l pt_BR.UTF-8 |
149 | Uma biblioteca C que fornece vários algoritmos e protocolos | |
150 | criptográficos, incluindo DES, RC4, RSA e SSL. Inclui bibliotecas e | |
151 | arquivos de inclusão para desenvolvimento. | |
453a8bf3 | 152 | |
30e72515 JR |
153 | %description devel -l ru.UTF-8 |
154 | Программа openssl для работы с сертификатами и разделяемые библиотеки, | |
155 | которые реализуют множетсво криптографических алгоритмов, включая DES, | |
156 | RC4, RSA и SSL. Включает библиотеки и хедеры для разработки приложений | |
157 | с использованием SSL. | |
453a8bf3 | 158 | |
30e72515 JR |
159 | %description devel -l uk.UTF-8 |
160 | Програма openssl для роботи з сертифікатами та бібліотеки спільного | |
161 | користування, що реалізують велику кількість криптографічних | |
162 | алгоритмів, включаючи DES, RC4, RSA та SSL. Містить бібліотеки та | |
163 | хедери для розробки програм з використанням SSL. | |
453a8bf3 | 164 | |
faddd309 | 165 | %package static |
ce2ff00e | 166 | Summary: Static OpenSSL libraries |
e6bfca5b ER |
167 | Summary(pl.UTF-8): Statyczne wersje bibliotek z OpenSSL |
168 | Summary(pt_BR.UTF-8): Bibliotecas estáticas para desenvolvimento com openssl | |
169 | Summary(ru.UTF-8): Статические библиотеки разработчика для OpenSSL | |
170 | Summary(uk.UTF-8): Статичні бібліотеки програміста для OpenSSL | |
9c05bcac | 171 | Group: Development/Libraries |
82859ae1 | 172 | Requires: %{name}-devel = %{version}-%{release} |
faddd309 AF |
173 | |
174 | %description static | |
ce2ff00e | 175 | Static OpenSSL Toolkit libraries. |
faddd309 | 176 | |
30e72515 | 177 | %description static -l pl.UTF-8 |
ce2ff00e | 178 | Statyczne wersje bibliotek z OpenSSL. |
faddd309 | 179 | |
30e72515 JR |
180 | %description static -l pt_BR.UTF-8 |
181 | Bibliotecas estáticas para desenvolvimento com openssl. | |
453a8bf3 | 182 | |
30e72515 JR |
183 | %description static -l ru.UTF-8 |
184 | Программа openssl для работы с сертификатами и разделяемые библиотеки, | |
185 | которые реализуют множетсво криптографических алгоритмов, включая DES, | |
186 | RC4, RSA и SSL. Включает статические библиотеки для разработки | |
187 | приложений с использованием OpenSSL. | |
453a8bf3 | 188 | |
30e72515 JR |
189 | %description static -l uk.UTF-8 |
190 | Програма openssl для роботи з сертифікатами та бібліотеки спільного | |
191 | користування, що реалізують велику кількість криптографічних | |
192 | алгоритмів, включаючи DES, RC4, RSA та SSL. Містить статичні | |
193 | бібліотеки для розробки програм з використанням SSL. | |
453a8bf3 | 194 | |
21ac4f86 | 195 | %prep |
264f738a | 196 | %setup -q |
44d8c69e JB |
197 | %patch0 -p1 |
198 | %patch1 -p1 | |
05285465 | 199 | %patch2 -p1 |
9d16a74d | 200 | %patch3 -p1 |
44d8c69e JB |
201 | %patch4 -p1 |
202 | %patch5 -p1 | |
1c008d35 | 203 | %patch6 -p1 |
44d8c69e | 204 | %patch7 -p1 |
04a32771 | 205 | |
51e76169 | 206 | %{__perl} -pi -e 's#%{_prefix}/local/bin/perl#%{__perl}#g' \ |
229f14e7 | 207 | `grep -l -r "%{_prefix}/local/bin/perl" *` |
0d1c50df | 208 | |
44d8c69e | 209 | sed -i -e 's|\$prefix/\$libdir/engines|/%{_lib}/engines|g' Configure |
a9839ec4 | 210 | |
d76d59fa | 211 | %build |
00466ad3 | 212 | touch Makefile.* |
04a5ad1f | 213 | |
db17f76a | 214 | %{__perl} util/perlpath.pl %{__perl} |
04a5ad1f | 215 | |
1c008d35 | 216 | OPTFLAGS="%{rpmcflags} %{?with_purify:-DPURIFY}" \ |
9fc51b3c | 217 | ./Configure \ |
c949865a | 218 | %if "%{pld_release}" == "ti" |
219 | --openssldir=%{_var}/lib/%{name} \ | |
220 | %else | |
0fdaa4e3 | 221 | --openssldir=%{_sysconfdir}/%{name} \ |
c949865a | 222 | %endif |
6e7b8079 | 223 | --libdir=%{_lib} \ |
9fc51b3c | 224 | shared threads \ |
215c1d6f AM |
225 | enable-tlsext \ |
226 | enable-seed \ | |
227 | enable-rfc3779 \ | |
228 | enable-cms \ | |
229 | enable-idea \ | |
230 | enable-mdc2 \ | |
05889491 | 231 | enable-md2 \ |
215c1d6f | 232 | enable-rc5 \ |
51e76169 | 233 | %ifarch %{ix86} |
04a32771 | 234 | %ifarch i386 |
9fc51b3c | 235 | 386 linux-elf |
915551a7 | 236 | # ^- allow running on 80386 (default code uses bswapl available on i486+) |
51e76169 | 237 | %else |
9fc51b3c | 238 | linux-elf |
75c27cbe | 239 | %endif |
51e76169 | 240 | %endif |
dfc15f38 | 241 | %ifarch alpha |
9fc51b3c | 242 | linux-alpha+bwx-gcc |
dfc15f38 | 243 | %endif |
20bc1dd7 | 244 | %ifarch %{x8664} |
9fc51b3c | 245 | linux-x86_64 |
e08c1652 | 246 | %endif |
dfc15f38 | 247 | %ifarch ia64 |
9fc51b3c | 248 | linux-ia64 |
dfc15f38 | 249 | %endif |
75c27cbe | 250 | %ifarch ppc |
9fc51b3c JB |
251 | linux-ppc |
252 | %endif | |
253 | %ifarch ppc64 | |
254 | linux-ppc64 | |
75c27cbe | 255 | %endif |
05285465 | 256 | %ifarch sparc |
9fc51b3c | 257 | linux-sparcv8 |
0384baf6 | 258 | %endif |
36db42b5 | 259 | %ifarch sparcv9 |
9fc51b3c | 260 | linux-sparcv9 |
36db42b5 PS |
261 | %endif |
262 | %ifarch sparc64 | |
9fc51b3c | 263 | linux64-sparcv9 |
36db42b5 | 264 | %endif |
05285465 | 265 | |
94d58138 | 266 | %{__make} -j1 all rehash %{?with_tests:tests} \ |
b84cddc8 | 267 | CC="%{__cc}" \ |
c75cb5a1 | 268 | ASFLAG='$(CFLAG) -Wa,--noexecstack' \ |
b84cddc8 | 269 | INSTALLTOP=%{_prefix} |
ce2ff00e | 270 | |
1c008d35 JB |
271 | # Rename POD sources of man pages. "openssl_" prefix is added to each |
272 | # manpage to avoid potential conflicts with other packages. | |
ce2ff00e | 273 | |
7f10be72 | 274 | for dir in doc/{apps,ssl,crypto}; do |
ce2ff00e | 275 | cd $dir || exit 1; |
db17f76a | 276 | %{__perl} -pi -e 's/(\W)((?<!openssl_)\w+)(\(\d\))/$1openssl_$2$3/g; s/openssl_openssl/openssl/g;' *.pod; |
78b5e413 | 277 | |
7f10be72 | 278 | for pod in !(openssl*).pod; do |
78b5e413 | 279 | mv -f $pod openssl_$pod; |
ce2ff00e | 280 | done |
7f10be72 | 281 | cd ../.. |
ce2ff00e | 282 | done |
283 | ||
21ac4f86 | 284 | %install |
04a5ad1f | 285 | rm -rf $RPM_BUILD_ROOT |
ce2ff00e | 286 | install -d $RPM_BUILD_ROOT{%{_sysconfdir}/%{name},%{_libdir}/%{name}} \ |
4b251642 | 287 | $RPM_BUILD_ROOT{%{_mandir}/{pl/man1,man{1,3,5,7}},%{_datadir}/ssl} \ |
c2a98469 | 288 | $RPM_BUILD_ROOT/%{_lib}/engines \ |
4b251642 | 289 | $RPM_BUILD_ROOT%{_pkgconfigdir} |
faddd309 | 290 | |
fe57b0ac | 291 | %{__make} install \ |
faddd309 | 292 | INSTALLTOP=%{_prefix} \ |
027a4889 TO |
293 | INSTALL_PREFIX=$RPM_BUILD_ROOT \ |
294 | MANDIR=%{_mandir} | |
04a5ad1f | 295 | |
44d8c69e JB |
296 | mv -f $RPM_BUILD_ROOT%{_libdir}/engines/* $RPM_BUILD_ROOT/%{_lib}/engines |
297 | mv -f $RPM_BUILD_ROOT%{_libdir}/lib*.so.*.* $RPM_BUILD_ROOT/%{_lib} | |
c2a98469 JR |
298 | ln -sf /%{_lib}/$(basename $RPM_BUILD_ROOT/%{_lib}/libcrypto.*.*) $RPM_BUILD_ROOT%{_libdir}/libcrypto.so |
299 | ln -sf /%{_lib}/$(basename $RPM_BUILD_ROOT/%{_lib}/libssl.*.*) $RPM_BUILD_ROOT%{_libdir}/libssl.so | |
04a5ad1f | 300 | |
c949865a | 301 | %if "%{pld_release}" == "ti" |
302 | ln -sf %{_var}/lib/%{name}/%{name}.cnf \ | |
303 | $RPM_BUILD_ROOT%{_sysconfdir}/%{name}/openssl.cnf | |
304 | ln -sf %{_var}/lib/%{name}/certs \ | |
305 | $RPM_BUILD_ROOT%{_sysconfdir}/%{name}/certs | |
306 | ln -sf %{_var}/lib/%{name}/private \ | |
307 | $RPM_BUILD_ROOT%{_sysconfdir}/%{name}/private | |
308 | mv -f $RPM_BUILD_ROOT%{_var}/lib/%{name}/misc/* $RPM_BUILD_ROOT%{_libdir}/%{name} | |
309 | rm -rf $RPM_BUILD_ROOT%{_var}/lib/%{name}/misc | |
310 | %else | |
0fdaa4e3 JR |
311 | mv -f $RPM_BUILD_ROOT%{_sysconfdir}/%{name}/misc/* $RPM_BUILD_ROOT%{_libdir}/%{name} |
312 | rm -rf $RPM_BUILD_ROOT%{_sysconfdir}/%{name}/misc | |
c949865a | 313 | %endif |
04a5ad1f | 314 | |
1c008d35 JB |
315 | # not installed as individual utilities (see openssl dgst instead) |
316 | %{__rm} $RPM_BUILD_ROOT%{_mandir}/man1/{md2,md4,md5,mdc2,ripemd160,sha,sha1}.1 | |
317 | ||
dece7a9c ER |
318 | cp -a %{SOURCE2} $RPM_BUILD_ROOT%{_mandir}/pl/man1/openssl.1 |
319 | install -p %{SOURCE3} $RPM_BUILD_ROOT%{_bindir}/ssl-certificate | |
320 | install -p %{SOURCE4} $RPM_BUILD_ROOT%{_bindir}/c_rehash.sh | |
9fc51b3c | 321 | |
57dc6058 JB |
322 | %clean |
323 | rm -rf $RPM_BUILD_ROOT | |
61a04a63 | 324 | |
d86c2c8b | 325 | %post -p /sbin/ldconfig |
ce2ff00e | 326 | %postun -p /sbin/ldconfig |
04a5ad1f | 327 | |
c8f5291b ER |
328 | %triggerpostun -- %{name}-tools < 1.0.0-5 |
329 | # the hashing format has changed in 1.0.0 | |
330 | [ ! -x %{_sbindir}/update-ca-certificates ] || %{_sbindir}/update-ca-certificates --fresh || : | |
331 | ||
c949865a | 332 | %if "%{pld_release}" == "ti" |
333 | %triggerin -- %{name}-tools < 0.9.8i-2 | |
334 | if [ -L /var/lib/openssl/openssl.cnf ] ; then | |
335 | echo "Saving old configuration as /var/lib/openssl/openssl.cnf.rpmsave" | |
336 | rm /var/lib/openssl/openssl.cnf | |
337 | mv %{_sysconfdir}/%{name}/openssl.cnf /var/lib/openssl/openssl.cnf.rpmsave 2>/dev/null || : | |
338 | fi | |
339 | %else | |
0fdaa4e3 JR |
340 | %triggerpostun -- %{name} < 0.9.8i-2 |
341 | if [ -d /var/lib/openssl/certs ] ; then | |
342 | mv /var/lib/openssl/certs/* %{_sysconfdir}/%{name}/certs 2>/dev/null || : | |
343 | fi | |
344 | if [ -d /var/lib/openssl/private ] ; then | |
345 | mv /var/lib/openssl/private/* %{_sysconfdir}/%{name}/private 2>/dev/null || : | |
346 | fi | |
347 | if [ -d /var/lib/openssl ] ; then | |
348 | for f in /var/lib/openssl/* ; do | |
349 | [ -f "$f" ] && mv "$f" %{_sysconfdir}/%{name} 2>/dev/null || : | |
350 | done | |
351 | fi | |
c949865a | 352 | %endif |
0fdaa4e3 | 353 | |
21ac4f86 | 354 | %files |
04a5ad1f | 355 | %defattr(644,root,root,755) |
57dc6058 JB |
356 | %doc CHANGES CHANGES.SSLeay LICENSE NEWS README doc/*.txt |
357 | %doc doc/openssl_button.gif doc/openssl_button.html | |
c2a98469 JR |
358 | %attr(755,root,root) /%{_lib}/libcrypto.so.*.*.* |
359 | %attr(755,root,root) /%{_lib}/libssl.so.*.*.* | |
360 | %dir /%{_lib}/engines | |
361 | %attr(755,root,root) /%{_lib}/engines/*.so | |
c949865a | 362 | %if "%{pld_release}" == "ti" |
363 | %dir %{_var}/lib/%{name} | |
364 | %dir %{_var}/lib/%{name}/certs | |
365 | %dir %{_var}/lib/%{name}/private | |
fa6b6d15 | 366 | %dir %{_sysconfdir}/%{name} |
367 | %attr(755,root,root) %{_sysconfdir}/%{name}/certs | |
368 | %attr(755,root,root) %{_sysconfdir}/%{name}/private | |
369 | %else | |
370 | %dir %{_sysconfdir}/%{name} | |
371 | %dir %{_sysconfdir}/%{name}/certs | |
372 | %dir %{_sysconfdir}/%{name}/private | |
c949865a | 373 | %endif |
b87437db | 374 | %dir %{_datadir}/ssl |
ce2ff00e | 375 | |
376 | %files tools | |
377 | %defattr(644,root,root,755) | |
c949865a | 378 | %if "%{pld_release}" == "ti" |
379 | %{_sysconfdir}/%{name}/openssl.cnf | |
380 | %config(noreplace) %verify(not md5 mtime size) %{_var}/lib/%{name}/openssl.cnf | |
381 | %else | |
623d135e | 382 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}/openssl.cnf |
c949865a | 383 | %endif |
d231add3 | 384 | %attr(755,root,root) %{_bindir}/c_rehash.sh |
44d8c69e | 385 | %attr(755,root,root) %{_bindir}/openssl |
ea55f735 | 386 | %attr(754,root,root) %{_bindir}/ssl-certificate |
17a30265 | 387 | |
ce2ff00e | 388 | %dir %{_libdir}/%{name} |
389 | %attr(755,root,root) %{_libdir}/%{name}/CA.sh | |
390 | %attr(755,root,root) %{_libdir}/%{name}/c_hash | |
ce2ff00e | 391 | %attr(755,root,root) %{_libdir}/%{name}/c_info |
392 | %attr(755,root,root) %{_libdir}/%{name}/c_issuer | |
393 | %attr(755,root,root) %{_libdir}/%{name}/c_name | |
8e58a9c7 | 394 | %attr(755,root,root) %{_libdir}/%{name}/tsget |
ce2ff00e | 395 | |
d86c2c8b | 396 | %{_mandir}/man1/openssl.1* |
397 | %{_mandir}/man1/openssl_asn1parse.1* | |
398 | %{_mandir}/man1/openssl_ca.1* | |
399 | %{_mandir}/man1/openssl_ciphers.1* | |
91881b49 | 400 | %{_mandir}/man1/openssl_cms.1* |
d86c2c8b | 401 | %{_mandir}/man1/openssl_crl.1* |
402 | %{_mandir}/man1/openssl_crl2pkcs7.1* | |
403 | %{_mandir}/man1/openssl_dgst.1* | |
404 | %{_mandir}/man1/openssl_dhparam.1* | |
405 | %{_mandir}/man1/openssl_dsa.1* | |
406 | %{_mandir}/man1/openssl_dsaparam.1* | |
9fc51b3c JB |
407 | %{_mandir}/man1/openssl_ec.1* |
408 | %{_mandir}/man1/openssl_ecparam.1* | |
d86c2c8b | 409 | %{_mandir}/man1/openssl_enc.1* |
5d088344 | 410 | %{_mandir}/man1/openssl_errstr.1* |
d86c2c8b | 411 | %{_mandir}/man1/openssl_gendsa.1* |
44d8c69e | 412 | %{_mandir}/man1/openssl_genpkey.1* |
d86c2c8b | 413 | %{_mandir}/man1/openssl_genrsa.1* |
414 | %{_mandir}/man1/openssl_nseq.1* | |
027a4889 | 415 | %{_mandir}/man1/openssl_ocsp.1* |
d86c2c8b | 416 | %{_mandir}/man1/openssl_passwd.1* |
417 | %{_mandir}/man1/openssl_pkcs12.1* | |
418 | %{_mandir}/man1/openssl_pkcs7.1* | |
419 | %{_mandir}/man1/openssl_pkcs8.1* | |
44d8c69e JB |
420 | %{_mandir}/man1/openssl_pkey.1* |
421 | %{_mandir}/man1/openssl_pkeyparam.1* | |
422 | %{_mandir}/man1/openssl_pkeyutl.1* | |
d86c2c8b | 423 | %{_mandir}/man1/openssl_rand.1* |
424 | %{_mandir}/man1/openssl_req.1* | |
425 | %{_mandir}/man1/openssl_rsa.1* | |
57dc6058 | 426 | %{_mandir}/man1/openssl_rsautl.1* |
d86c2c8b | 427 | %{_mandir}/man1/openssl_s_client.1* |
428 | %{_mandir}/man1/openssl_s_server.1* | |
c0cc4a35 | 429 | %{_mandir}/man1/openssl_s_time.1* |
d86c2c8b | 430 | %{_mandir}/man1/openssl_sess_id.1* |
431 | %{_mandir}/man1/openssl_smime.1* | |
432 | %{_mandir}/man1/openssl_speed.1* | |
433 | %{_mandir}/man1/openssl_spkac.1* | |
91881b49 AM |
434 | %{_mandir}/man1/openssl_ts.1* |
435 | %{_mandir}/man1/openssl_tsget.1* | |
d86c2c8b | 436 | %{_mandir}/man1/openssl_verify.1* |
437 | %{_mandir}/man1/openssl_version.1* | |
438 | %{_mandir}/man1/openssl_x509.1* | |
1c008d35 JB |
439 | %{_mandir}/man5/openssl_config.5* |
440 | %{_mandir}/man5/openssl_x509v3_config.5* | |
62382817 | 441 | %lang(pl) %{_mandir}/pl/man1/openssl.1* |
ce2ff00e | 442 | |
443 | %files tools-perl | |
444 | %defattr(644,root,root,755) | |
62313b5e | 445 | %attr(755,root,root) %{_bindir}/c_rehash |
ce2ff00e | 446 | %attr(755,root,root) %{_libdir}/%{name}/CA.pl |
d86c2c8b | 447 | %{_mandir}/man1/openssl_CA.pl.1* |
faddd309 AF |
448 | |
449 | %files devel | |
450 | %defattr(644,root,root,755) | |
f4434df9 PS |
451 | %attr(755,root,root) %{_libdir}/libcrypto.so |
452 | %attr(755,root,root) %{_libdir}/libssl.so | |
ce2ff00e | 453 | %{_includedir}/%{name} |
9fc51b3c JB |
454 | %{_pkgconfigdir}/libcrypto.pc |
455 | %{_pkgconfigdir}/libssl.pc | |
8c362d23 | 456 | %{_pkgconfigdir}/openssl.pc |
027a4889 | 457 | %{_mandir}/man3/openssl*.3* |
1c008d35 | 458 | %{_mandir}/man7/openssl_des_modes.7* |
faddd309 AF |
459 | |
460 | %files static | |
461 | %defattr(644,root,root,755) | |
48e547a4 | 462 | %{_libdir}/lib*.a |