use https url
[packages/openssl.git] / openssl.spec
CommitLineData
a81c34a3
ER
1# TODO
2# - consider dropping last optflags.patch hunk and return to SOMAJOR (.so.1) sonames
0419ee51 3# - find a way to simplify (drop) openssl-optflags.patch, it's pain to update here in pld
b3914c80 4# - pass our cflags (currently built with -O3)
44d8c69e 5#
2403ba81 6# Conditional build:
d76d59fa 7%bcond_without tests # don't perform "make tests"
d343076c
AO
8%bcond_without zlib # zlib: note - enables CVE-2012-4929 vulnerability
9%bcond_without sslv2 # SSLv2: note - many flaws http://en.wikipedia.org/wiki/Transport_Layer_Security#SSL_2.0
10%bcond_without sslv3 # SSLv3: note - enables CVE-2014-3566 vulnerability
55af9845 11%bcond_with purify # Compile openssl with "-DPURIFY", useful when one wants to
2403ba81 12 # use valgrind debugger against openssl-linked programs
81e27b7e 13%bcond_with snap # use GitHub snapshot to build branch release
dece7a9c 14
155b2eda 15%define rel 0.1
779bb536 16%include /usr/lib/rpm/macros.perl
ce2ff00e 17Summary: OpenSSL Toolkit libraries for the "Secure Sockets Layer" (SSL v2/v3)
e6bfca5b
ER
18Summary(de.UTF-8): Secure Sockets Layer (SSL)-Kommunikationslibrary
19Summary(es.UTF-8): Biblioteca C que suministra algoritmos y protocolos criptográficos
20Summary(fr.UTF-8): Utilitaires de communication SSL (Secure Sockets Layer)
21Summary(pl.UTF-8): Biblioteki OpenSSL (SSL v2/v3)
22Summary(pt_BR.UTF-8): Uma biblioteca C que fornece vários algoritmos e protocolos criptográficos
23Summary(ru.UTF-8): Библиотеки и утилиты для соединений через Secure Sockets Layer
24Summary(uk.UTF-8): Бібліотеки та утиліти для з'єднань через Secure Sockets Layer
56470945 25Name: openssl
b3914c80 26# Version 1.1.0 will be supported until 2018-08-31.
55af9845 27# https://www.openssl.org/about/releasestrat.html
b3914c80 28Version: 1.1.0a
11de7a96 29Release: 1
d7fc4164 30License: Apache-like
56470945 31Group: Libraries
81e27b7e 32%if %{without snap}
56fc3686 33Source0: https://www.openssl.org/source/%{name}-%{version}.tar.gz
11de7a96 34# Source0-md5: 38a0bf2883ab4951acb15b1886b7f5aa
81e27b7e 35%else
b3914c80 36Source1: https://github.com/openssl/openssl/archive/OpenSSL_1_1_0-stable/%{name}-%{version}-dev.tar.gz
81e27b7e 37%endif
62382817 38Source2: %{name}.1.pl
ea55f735 39Source3: %{name}-ssl-certificate.sh
d231add3 40Source4: %{name}-c_rehash.sh
0d1c50df 41Patch0: %{name}-alpha-ccc.patch
e106ff02 42Patch1: %{name}-optflags.patch
76855748
AO
43Patch2: %{name}-include.patch
44Patch3: %{name}-man-namespace.patch
45Patch4: %{name}-asflag.patch
46Patch5: %{name}-ca-certificates.patch
47Patch6: %{name}-ldflags.patch
48Patch7: %{name}-find.patch
49Patch8: pic.patch
76855748 50Patch10: %{name}_fix_for_x32.patch
2a83d92e 51Patch11: engines-dir.patch
bd7f0ef1 52URL: http://www.openssl.org/
af59ed59 53BuildRequires: perl-devel >= 1:5.10.0
1543104d 54BuildRequires: pkgconfig
9edbb66f 55BuildRequires: rpm-perlprov >= 4.1-13
20bc1dd7 56BuildRequires: rpmbuild(macros) >= 1.213
31b28434 57BuildRequires: sed >= 4.0
1ecb3a25 58BuildRequires: zlib-devel
e9e51fab 59Requires: ca-certificates >= 20120623-1.1
dece7a9c 60Requires: rpm-whiteout >= 1.7
04a5ad1f
AF
61Obsoletes: SSLeay
62Obsoletes: SSLeay-devel
63Obsoletes: SSLeay-perl
a280467c 64Obsoletes: libopenssl0
4ec787ae 65%if "%{pld_release}" == "ac"
7bb98c5d 66Conflicts: neon < 0.26.3-3
e21ec158 67Conflicts: ntpd < 4.2.4p8-10
f3136daa 68Conflicts: openssh-clients < 2:5.8p1-9
4ec787ae
ER
69Conflicts: openssh-server < 2:5.8p1-9
70%else
3a24c9cc
ER
71Conflicts: neon < 0.29.6-8
72Conflicts: openssh-clients < 2:6.2p2-3
73Conflicts: openssh-server < 2:6.2p2-3
c04ce0eb 74%endif
0f86ef4a 75BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
21ac4f86
AF
76
77%description
78The OpenSSL Project is a collaborative effort to develop a robust,
b39fed70 79commercial-grade, full-featured, and Open Source toolkit implementing
80the Secure Sockets Layer (SSL v2/v3) and Transport Layer Security (TLS
81v1) protocols with full-strength cryptography world-wide. The project
82is managed by a worldwide community of volunteers that use the
83Internet to communicate, plan, and develop the OpenSSL tookit and its
84related documentation.
56470945 85
b39fed70 86OpenSSL is based on the excellent SSLeay library developed by Eric A.
87Young and Tim J. Hudson. The OpenSSL toolkit is licensed under an
88Apache-style licence, which basically means that you are free to get
89and use it for commercial and non-commercial purposes subject to some
90simple license conditions.
21ac4f86 91
fc19f542 92This package contains shared libraries only, install openssl-tools if
93you want to use openssl cmdline tool.
ce2ff00e 94
30e72515
JR
95%description -l de.UTF-8
96Openssl enthält das OpenSSL Zertifikatsmanagementtool und shared
97libraries, die verschiedene Verschlüsselungs- und
98Entschlüsselungsalgorithmen und -protokolle, wie DES, RC4, RSA und SSL
99zur Verfügung stellen.
453a8bf3 100
30e72515
JR
101%description -l es.UTF-8
102Biblioteca C que suministra algoritmos y protocolos criptográficos.
2fad19b0 103
30e72515 104%description -l fr.UTF-8
56470945 105OpenSSL est un outiil de gestion des certificats et les librairies
106partagees qui fournit plusieurs protocoles et algorithmes de
107codage/decodage, incluant DES, RC4, RSA et SSL.
2fad19b0 108
30e72515
JR
109%description -l pl.UTF-8
110Implementacja protokołów kryptograficznych Secure Socket Layer (SSL)
78b5e413
TP
111v2/v3 oraz Transport Layer Security (TLS v1).
112
30e72515
JR
113%description -l pt_BR.UTF-8
114Uma biblioteca C que fornece vários algoritmos e protocolos
115criptográficos, incluindo DES, RC4, RSA e SSL. Inclui bibliotecas
116compartilhadas e utilitários.
453a8bf3 117
30e72515
JR
118%description -l ru.UTF-8
119Программа openssl для работы с сертификатами и разделяемые библиотеки,
120которые реализуют множетсво криптографических алгоритмов, включая DES,
121RC4, RSA и SSL.
453a8bf3 122
30e72515
JR
123%description -l uk.UTF-8
124Програма openssl для роботи з сертифікатами та бібліотеки спільного
125користування, що реалізують велику кількість криптографічних
126алгоритмів, включаючи DES, RC4, RSA та SSL.
453a8bf3 127
182f9d23
TP
128%package engines
129Summary: OpenSSL optional crypto engines
545f4646 130Summary(pl.UTF-8): Opcjonalne silniki kryptograficzne dla OpenSSL-a
182f9d23
TP
131Group: Libraries
132Requires: %{name} = %{version}-%{release}
133
134%description engines
135With OpenSSL 0.9.6, a new component was added to support alternative
545f4646
JB
136cryptography implementations, most commonly for interfacing with
137external crypto devices (eg. accelerator cards). This component is
138called ENGINE.
182f9d23
TP
139
140There are currently built-in ENGINE implementations for the following
141crypto devices:
142
143- CryptoSwift
144- Compaq Atalla
145- nCipher CHIL
146- Nuron
147- Broadcom uBSec
148
149In addition, dynamic binding to external ENGINE implementations is now
3a24c9cc 150provided by a special ENGINE called "dynamic".
182f9d23 151
545f4646
JB
152%description engines -l pl.UTF-8
153Począwszy od OpenSSL-a 0.9.6 został dodany nowy komponent, mający
154wspierać alternatywne implementacje kryptografii, przeważnie
155współpracujące z zewnętrznymi urządzeniami kryptograficznymi (np.
3a24c9cc
ER
156kartami akceleratorów). Komponent ten jest nazywany SILNIKIEM (ang.
157ENGINE).
545f4646
JB
158
159Obecnie istnieją wbudowane implementacje silników dla następujących
160urządzeń kryptograficznych:
161- CryptoSwift
162- Compaq Atalla
163- nCipher CHIL
164- Nuron
165- Broadcom uBSec
166
167Ponadto zapewnione jest dynamiczne wiązanie dla zewnętrznych
168implementacji silników poprzez specjalny silnik o nazwie "dynamic".
169
ce2ff00e 170%package tools
171Summary: OpenSSL command line tool and utilities
e6bfca5b 172Summary(pl.UTF-8): Zestaw narzędzi i skryptów
fc19f542 173Group: Applications/Communications
82859ae1 174Requires: %{name} = %{version}-%{release}
9583cd23 175Requires: which
ce2ff00e 176
177%description tools
178The OpenSSL Toolkit cmdline tool openssl and utility scripts.
179
30e72515
JR
180%description tools -l pl.UTF-8
181Zestaw narzędzi i skryptów wywoływanych z linii poleceń.
78b5e413 182
ce2ff00e 183%package tools-perl
184Summary: OpenSSL utilities written in Perl
e6bfca5b 185Summary(pl.UTF-8): Narzędzia OpenSSL napisane w perlu
fc19f542 186Group: Applications/Communications
82859ae1 187Requires: %{name} = %{version}-%{release}
2b2149ff 188
ce2ff00e 189%description tools-perl
d86c2c8b 190OpenSSL Toolkit tools written in Perl.
2b2149ff 191
30e72515
JR
192%description tools-perl -l pl.UTF-8
193Narzędzia OpenSSL napisane w perlu.
78b5e413 194
faddd309 195%package devel
ce2ff00e 196Summary: Development part of OpenSSL Toolkit libraries
e6bfca5b
ER
197Summary(de.UTF-8): Secure Sockets Layer Kommunikationslibrary: statische libraries+header
198Summary(es.UTF-8): Bibliotecas y archivos de inclusión para desarrollo OpenSSL
199Summary(fr.UTF-8): Librairies statiques, headers et utilitaires pour communication SSL
200Summary(pl.UTF-8): Część bibiloteki OpenSSL przeznaczona dla programistów
201Summary(pt_BR.UTF-8): Bibliotecas e arquivos de inclusão para desenvolvimento OpenSSL
202Summary(ru.UTF-8): Библиотеки, хедеры и утилиты для Secure Sockets Layer
203Summary(uk.UTF-8): Бібліотеки, хедери та утиліти для Secure Sockets Layer
9c05bcac 204Group: Development/Libraries
82859ae1 205Requires: %{name} = %{version}-%{release}
a280467c 206Obsoletes: libopenssl0-devel
faddd309
AF
207
208%description devel
209Development part of OpenSSL library.
210
30e72515
JR
211%description devel -l es.UTF-8
212Bibliotecas y archivos de inclusión para desarrollo OpenSSL
453a8bf3 213
30e72515
JR
214%description devel -l pl.UTF-8
215Część biblioteki OpenSSL przeznaczona dla programistów.
faddd309 216
30e72515
JR
217%description devel -l pt_BR.UTF-8
218Uma biblioteca C que fornece vários algoritmos e protocolos
219criptográficos, incluindo DES, RC4, RSA e SSL. Inclui bibliotecas e
220arquivos de inclusão para desenvolvimento.
453a8bf3 221
30e72515
JR
222%description devel -l ru.UTF-8
223Программа openssl для работы с сертификатами и разделяемые библиотеки,
224которые реализуют множетсво криптографических алгоритмов, включая DES,
225RC4, RSA и SSL. Включает библиотеки и хедеры для разработки приложений
226с использованием SSL.
453a8bf3 227
30e72515
JR
228%description devel -l uk.UTF-8
229Програма openssl для роботи з сертифікатами та бібліотеки спільного
230користування, що реалізують велику кількість криптографічних
231алгоритмів, включаючи DES, RC4, RSA та SSL. Містить бібліотеки та
232хедери для розробки програм з використанням SSL.
453a8bf3 233
faddd309 234%package static
ce2ff00e 235Summary: Static OpenSSL libraries
e6bfca5b
ER
236Summary(pl.UTF-8): Statyczne wersje bibliotek z OpenSSL
237Summary(pt_BR.UTF-8): Bibliotecas estáticas para desenvolvimento com openssl
238Summary(ru.UTF-8): Статические библиотеки разработчика для OpenSSL
239Summary(uk.UTF-8): Статичні бібліотеки програміста для OpenSSL
9c05bcac 240Group: Development/Libraries
82859ae1 241Requires: %{name}-devel = %{version}-%{release}
faddd309
AF
242
243%description static
ce2ff00e 244Static OpenSSL Toolkit libraries.
faddd309 245
30e72515 246%description static -l pl.UTF-8
ce2ff00e 247Statyczne wersje bibliotek z OpenSSL.
faddd309 248
30e72515
JR
249%description static -l pt_BR.UTF-8
250Bibliotecas estáticas para desenvolvimento com openssl.
453a8bf3 251
30e72515
JR
252%description static -l ru.UTF-8
253Программа openssl для работы с сертификатами и разделяемые библиотеки,
254которые реализуют множетсво криптографических алгоритмов, включая DES,
255RC4, RSA и SSL. Включает статические библиотеки для разработки
256приложений с использованием OpenSSL.
453a8bf3 257
30e72515
JR
258%description static -l uk.UTF-8
259Програма openssl для роботи з сертифікатами та бібліотеки спільного
260користування, що реалізують велику кількість криптографічних
261алгоритмів, включаючи DES, RC4, RSA та SSL. Містить статичні
262бібліотеки для розробки програм з використанням SSL.
453a8bf3 263
21ac4f86 264%prep
81e27b7e
ER
265%if %{with snap}
266%setup -qcT -a1
b3914c80 267mv %{name}-OpenSSL_1_1_0-stable/* .
81e27b7e 268%else
155b2eda 269%setup -q %{?subver:-n %{name}-%{version}-%{subver}}
81e27b7e 270%endif
155b2eda
ER
271#%patch0 -p1 # alpha patch from year 2000 - drop it
272#%patch1 -p1 # flags list has been nuked (thank god!)
273#%patch2 -p1 # openssl include subdir. check this
274#%patch3 -p1 # patched Makefile.org no longer exists
275#%patch4 -p1 # patched Makefile.org no longer exists
276#%patch5 -p1 # check
277#%patch6 -p1 # patched Makefile.org no longer exists
44d8c69e 278%patch7 -p1
3b0168a6 279%patch8 -p1
f60e47ab 280%ifarch x32
84745a0c 281%patch10 -p1
42b56af8 282%endif
2a83d92e 283%patch11 -p1
a9839ec4 284
d76d59fa 285%build
00466ad3 286touch Makefile.*
04a5ad1f 287
155b2eda
ER
288# util/perlpath.pl no longer exists
289#%{__perl} util/perlpath.pl %{__perl}
04a5ad1f 290
bf66f1a5 291OPTFLAGS="%{rpmcflags} %{rpmcppflags} %{?with_purify:-DPURIFY}" \
7250cee4
JB
292PERL="%{__perl}" \
293%{__perl} ./Configure \
2a83d92e 294 --prefix=%{_prefix} \
0fdaa4e3 295 --openssldir=%{_sysconfdir}/%{name} \
6e7b8079 296 --libdir=%{_lib} \
e1798b93
AM
297 shared \
298 threads \
2a82d451
AO
299 %{?with_sslv2:enable-ssl2}%{!?with_sslv2:no-ssl2} \
300 %{?with_sslv3:enable-ssl3}%{!?with_sslv3:no-ssl3} \
93a4f283 301 %{!?with_zlib:no-}zlib \
215c1d6f
AM
302 enable-cms \
303 enable-idea \
05889491 304 enable-md2 \
e02b6d37 305 enable-mdc2 \
215c1d6f 306 enable-rc5 \
e02b6d37
AM
307 enable-rfc3779 \
308 enable-seed \
e02b6d37
AM
309%ifarch %{x8664}
310 enable-ec_nistp_64_gcc_128 \
311%endif
51e76169 312%ifarch %{ix86}
04a32771 313%ifarch i386
9fc51b3c 314 386 linux-elf
915551a7 315# ^- allow running on 80386 (default code uses bswapl available on i486+)
51e76169 316%else
9fc51b3c 317 linux-elf
75c27cbe 318%endif
51e76169 319%endif
dfc15f38 320%ifarch alpha
9fc51b3c 321 linux-alpha+bwx-gcc
dfc15f38 322%endif
20bc1dd7 323%ifarch %{x8664}
9fc51b3c 324 linux-x86_64
e08c1652 325%endif
6bd2fbde
JR
326%ifarch x32
327 linux-x32
328%endif
dfc15f38 329%ifarch ia64
9fc51b3c 330 linux-ia64
dfc15f38 331%endif
75c27cbe 332%ifarch ppc
9fc51b3c
JB
333 linux-ppc
334%endif
335%ifarch ppc64
336 linux-ppc64
75c27cbe 337%endif
05285465 338%ifarch sparc
9fc51b3c 339 linux-sparcv8
0384baf6 340%endif
36db42b5 341%ifarch sparcv9
9fc51b3c 342 linux-sparcv9
36db42b5
PS
343%endif
344%ifarch sparc64
9fc51b3c 345 linux64-sparcv9
36db42b5 346%endif
9f6d1eb0 347%ifarch armv4 armv5 armv5t armv5te armv5tel
348 linux-armv4
349%endif
05285465 350
81e27b7e 351v=$(awk -F= '/^VERSION/{print $2}' Makefile)
6b0a00b5 352test "$v" = %{version}%{?subver:-%{subver}}%{?with_snap:-dev}
81e27b7e 353
4c5d5b48 354%{__make} -j1 all %{?with_tests:tests} \
b84cddc8 355 CC="%{__cc}" \
c75cb5a1 356 ASFLAG='$(CFLAG) -Wa,--noexecstack' \
b84cddc8 357 INSTALLTOP=%{_prefix}
ce2ff00e 358
1c008d35
JB
359# Rename POD sources of man pages. "openssl_" prefix is added to each
360# manpage to avoid potential conflicts with other packages.
ce2ff00e 361
7f10be72 362for dir in doc/{apps,ssl,crypto}; do
ce2ff00e 363 cd $dir || exit 1;
db17f76a 364 %{__perl} -pi -e 's/(\W)((?<!openssl_)\w+)(\(\d\))/$1openssl_$2$3/g; s/openssl_openssl/openssl/g;' *.pod;
78b5e413 365
7f10be72 366 for pod in !(openssl*).pod; do
78b5e413 367 mv -f $pod openssl_$pod;
ce2ff00e 368 done
7f10be72 369 cd ../..
ce2ff00e 370done
371
21ac4f86 372%install
04a5ad1f 373rm -rf $RPM_BUILD_ROOT
ce2ff00e 374install -d $RPM_BUILD_ROOT{%{_sysconfdir}/%{name},%{_libdir}/%{name}} \
4b251642
JK
375 $RPM_BUILD_ROOT{%{_mandir}/{pl/man1,man{1,3,5,7}},%{_datadir}/ssl} \
376 $RPM_BUILD_ROOT%{_pkgconfigdir}
faddd309 377
29a78a60 378%{__make} -j1 install \
20c78826
ER
379 CC="%{__cc}" \
380 ASFLAG='$(CFLAG) -Wa,--noexecstack' \
381 DESTDIR=$RPM_BUILD_ROOT \
04a5ad1f 382
44d8c69e 383mv -f $RPM_BUILD_ROOT%{_libdir}/lib*.so.*.* $RPM_BUILD_ROOT/%{_lib}
c2a98469
JR
384ln -sf /%{_lib}/$(basename $RPM_BUILD_ROOT/%{_lib}/libcrypto.*.*) $RPM_BUILD_ROOT%{_libdir}/libcrypto.so
385ln -sf /%{_lib}/$(basename $RPM_BUILD_ROOT/%{_lib}/libssl.*.*) $RPM_BUILD_ROOT%{_libdir}/libssl.so
04a5ad1f 386
0fdaa4e3 387mv -f $RPM_BUILD_ROOT%{_sysconfdir}/%{name}/misc/* $RPM_BUILD_ROOT%{_libdir}/%{name}
20c78826
ER
388rm -r $RPM_BUILD_ROOT%{_sysconfdir}/%{name}/misc
389
390# html version of man pages - not packaged
391%{__rm} -r $RPM_BUILD_ROOT%{_docdir}/%{name}/html/man[1357]
04a5ad1f 392
1c008d35 393# not installed as individual utilities (see openssl dgst instead)
20c78826 394%{__rm} $RPM_BUILD_ROOT%{_mandir}/man1/{md4,md5,mdc2,ripemd160,sha,sha1,sha224,sha256,sha384,sha512}.1
1c008d35 395
848e9cf2 396cp -p %{SOURCE2} $RPM_BUILD_ROOT%{_mandir}/pl/man1/openssl.1
dece7a9c
ER
397install -p %{SOURCE3} $RPM_BUILD_ROOT%{_bindir}/ssl-certificate
398install -p %{SOURCE4} $RPM_BUILD_ROOT%{_bindir}/c_rehash.sh
9fc51b3c 399
57dc6058
JB
400%clean
401rm -rf $RPM_BUILD_ROOT
61a04a63 402
d86c2c8b 403%post -p /sbin/ldconfig
ce2ff00e 404%postun -p /sbin/ldconfig
04a5ad1f 405
c8f5291b
ER
406%triggerpostun -- %{name}-tools < 1.0.0-5
407# the hashing format has changed in 1.0.0
408[ ! -x %{_sbindir}/update-ca-certificates ] || %{_sbindir}/update-ca-certificates --fresh || :
409
0fdaa4e3 410%triggerpostun -- %{name} < 0.9.8i-2
62bcfa4e
ER
411# don't do anything on --downgrade
412if [ $1 -le 1 ]; then
413 exit 0
414fi
0fdaa4e3
JR
415if [ -d /var/lib/openssl/certs ] ; then
416 mv /var/lib/openssl/certs/* %{_sysconfdir}/%{name}/certs 2>/dev/null || :
417fi
418if [ -d /var/lib/openssl/private ] ; then
419 mv /var/lib/openssl/private/* %{_sysconfdir}/%{name}/private 2>/dev/null || :
420fi
421if [ -d /var/lib/openssl ] ; then
422 for f in /var/lib/openssl/* ; do
423 [ -f "$f" ] && mv "$f" %{_sysconfdir}/%{name} 2>/dev/null || :
424 done
62bcfa4e
ER
425 rmdir /var/lib/openssl/* 2>/dev/null || :
426 rmdir /var/lib/openssl 2>/dev/null || :
0fdaa4e3
JR
427fi
428
21ac4f86 429%files
04a5ad1f 430%defattr(644,root,root,755)
20c78826
ER
431%doc CHANGES LICENSE NEWS README doc/*.txt
432%attr(755,root,root) /%{_lib}/libcrypto.so.*.*
433%attr(755,root,root) /%{_lib}/libssl.so.*.*
fa6b6d15 434%dir %{_sysconfdir}/%{name}
435%dir %{_sysconfdir}/%{name}/certs
b38449e1 436%dir %attr(700,root,root) %{_sysconfdir}/%{name}/private
b87437db 437%dir %{_datadir}/ssl
ce2ff00e 438
182f9d23 439%files engines
3a24c9cc 440%defattr(644,root,root,755)
20c78826
ER
441%dir /%{_lib}/engines-1.1
442%attr(755,root,root) /%{_lib}/engines-1.1/*.so
182f9d23 443
ce2ff00e 444%files tools
445%defattr(644,root,root,755)
623d135e 446%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}/openssl.cnf
d231add3 447%attr(755,root,root) %{_bindir}/c_rehash.sh
44d8c69e 448%attr(755,root,root) %{_bindir}/openssl
ea55f735 449%attr(754,root,root) %{_bindir}/ssl-certificate
17a30265 450
ce2ff00e 451%dir %{_libdir}/%{name}
20c78826
ER
452#%attr(755,root,root) %{_libdir}/%{name}/CA.sh
453#%attr(755,root,root) %{_libdir}/%{name}/c_hash
454#%attr(755,root,root) %{_libdir}/%{name}/c_info
455#%attr(755,root,root) %{_libdir}/%{name}/c_issuer
456#%attr(755,root,root) %{_libdir}/%{name}/c_name
ce2ff00e 457
d86c2c8b 458%{_mandir}/man1/openssl.1*
459%{_mandir}/man1/openssl_asn1parse.1*
460%{_mandir}/man1/openssl_ca.1*
461%{_mandir}/man1/openssl_ciphers.1*
91881b49 462%{_mandir}/man1/openssl_cms.1*
d86c2c8b 463%{_mandir}/man1/openssl_crl.1*
464%{_mandir}/man1/openssl_crl2pkcs7.1*
465%{_mandir}/man1/openssl_dgst.1*
466%{_mandir}/man1/openssl_dhparam.1*
467%{_mandir}/man1/openssl_dsa.1*
468%{_mandir}/man1/openssl_dsaparam.1*
9fc51b3c
JB
469%{_mandir}/man1/openssl_ec.1*
470%{_mandir}/man1/openssl_ecparam.1*
d86c2c8b 471%{_mandir}/man1/openssl_enc.1*
5d088344 472%{_mandir}/man1/openssl_errstr.1*
d86c2c8b 473%{_mandir}/man1/openssl_gendsa.1*
44d8c69e 474%{_mandir}/man1/openssl_genpkey.1*
d86c2c8b 475%{_mandir}/man1/openssl_genrsa.1*
476%{_mandir}/man1/openssl_nseq.1*
027a4889 477%{_mandir}/man1/openssl_ocsp.1*
d86c2c8b 478%{_mandir}/man1/openssl_passwd.1*
479%{_mandir}/man1/openssl_pkcs12.1*
480%{_mandir}/man1/openssl_pkcs7.1*
481%{_mandir}/man1/openssl_pkcs8.1*
44d8c69e
JB
482%{_mandir}/man1/openssl_pkey.1*
483%{_mandir}/man1/openssl_pkeyparam.1*
484%{_mandir}/man1/openssl_pkeyutl.1*
d86c2c8b 485%{_mandir}/man1/openssl_rand.1*
486%{_mandir}/man1/openssl_req.1*
487%{_mandir}/man1/openssl_rsa.1*
57dc6058 488%{_mandir}/man1/openssl_rsautl.1*
d86c2c8b 489%{_mandir}/man1/openssl_s_client.1*
490%{_mandir}/man1/openssl_s_server.1*
c0cc4a35 491%{_mandir}/man1/openssl_s_time.1*
d86c2c8b 492%{_mandir}/man1/openssl_sess_id.1*
493%{_mandir}/man1/openssl_smime.1*
494%{_mandir}/man1/openssl_speed.1*
495%{_mandir}/man1/openssl_spkac.1*
91881b49
AM
496%{_mandir}/man1/openssl_ts.1*
497%{_mandir}/man1/openssl_tsget.1*
d86c2c8b 498%{_mandir}/man1/openssl_verify.1*
499%{_mandir}/man1/openssl_version.1*
500%{_mandir}/man1/openssl_x509.1*
1c008d35
JB
501%{_mandir}/man5/openssl_config.5*
502%{_mandir}/man5/openssl_x509v3_config.5*
62382817 503%lang(pl) %{_mandir}/pl/man1/openssl.1*
ce2ff00e 504
505%files tools-perl
506%defattr(644,root,root,755)
62313b5e 507%attr(755,root,root) %{_bindir}/c_rehash
ce2ff00e 508%attr(755,root,root) %{_libdir}/%{name}/CA.pl
848e9cf2 509%attr(755,root,root) %{_libdir}/%{name}/tsget
d86c2c8b 510%{_mandir}/man1/openssl_CA.pl.1*
20c78826 511#%{_mandir}/man1/openssl_c_rehash.1*
faddd309
AF
512
513%files devel
514%defattr(644,root,root,755)
f4434df9
PS
515%attr(755,root,root) %{_libdir}/libcrypto.so
516%attr(755,root,root) %{_libdir}/libssl.so
ce2ff00e 517%{_includedir}/%{name}
9fc51b3c
JB
518%{_pkgconfigdir}/libcrypto.pc
519%{_pkgconfigdir}/libssl.pc
8c362d23 520%{_pkgconfigdir}/openssl.pc
20c78826
ER
521%if 1
522%{_mandir}/man3/*.3*
523%{_mandir}/man7/*.7*
524%else
027a4889 525%{_mandir}/man3/openssl*.3*
1c008d35 526%{_mandir}/man7/openssl_des_modes.7*
20c78826 527%endif
faddd309
AF
528
529%files static
530%defattr(644,root,root,755)
7250cee4
JB
531%{_libdir}/libcrypto.a
532%{_libdir}/libssl.a
This page took 1.441143 seconds and 4 git commands to generate.