1 %define _unpackaged_files_terminate_build 0
2 %define debug_package %{nil}
5 %define openssldir /var/ssl
7 Summary: Secure Sockets Layer and cryptography libraries and tools
10 Source0: ftp://ftp.openssl.org/source/%{name}-%{version}.tar.gz
12 Group: System Environment/Libraries
14 URL: http://www.openssl.org/
15 Packager: Damien Miller <djm@mindrot.org>
16 BuildRoot: /var/tmp/%{name}-%{version}-root
19 The OpenSSL Project is a collaborative effort to develop a robust,
20 commercial-grade, fully featured, and Open Source toolkit implementing the
21 Secure Sockets Layer (SSL v2/v3) and Transport Layer Security (TLS v1)
22 protocols as well as a full-strength general purpose cryptography library.
23 The project is managed by a worldwide community of volunteers that use the
24 Internet to communicate, plan, and develop the OpenSSL tookit and its related
27 OpenSSL is based on the excellent SSLeay library developed from Eric A.
28 Young and Tim J. Hudson. The OpenSSL toolkit is licensed under an
29 Apache-style licence, which basically means that you are free to get and
30 use it for commercial and non-commercial purposes.
32 This package contains the base OpenSSL cryptography and SSL/TLS
36 Summary: Secure Sockets Layer and cryptography static libraries and headers
37 Group: Development/Libraries
40 The OpenSSL Project is a collaborative effort to develop a robust,
41 commercial-grade, fully featured, and Open Source toolkit implementing the
42 Secure Sockets Layer (SSL v2/v3) and Transport Layer Security (TLS v1)
43 protocols as well as a full-strength general purpose cryptography library.
44 The project is managed by a worldwide community of volunteers that use the
45 Internet to communicate, plan, and develop the OpenSSL tookit and its related
48 OpenSSL is based on the excellent SSLeay library developed from Eric A.
49 Young and Tim J. Hudson. The OpenSSL toolkit is licensed under an
50 Apache-style licence, which basically means that you are free to get and
51 use it for commercial and non-commercial purposes.
53 This package contains the the OpenSSL cryptography and SSL/TLS
54 static libraries and header files required when developing applications.
57 Summary: OpenSSL miscellaneous files
61 The OpenSSL Project is a collaborative effort to develop a robust,
62 commercial-grade, fully featured, and Open Source toolkit implementing the
63 Secure Sockets Layer (SSL v2/v3) and Transport Layer Security (TLS v1)
64 protocols as well as a full-strength general purpose cryptography library.
65 The project is managed by a worldwide community of volunteers that use the
66 Internet to communicate, plan, and develop the OpenSSL tookit and its related
69 OpenSSL is based on the excellent SSLeay library developed from Eric A.
70 Young and Tim J. Hudson. The OpenSSL toolkit is licensed under an
71 Apache-style licence, which basically means that you are free to get and
72 use it for commercial and non-commercial purposes.
74 This package contains the the OpenSSL cryptography and SSL/TLS extra
75 documentation and POD files from which the man pages were produced.
83 %define CONFIG_FLAGS -DSSL_ALLOW_ADH --prefix=%{_exec_prefix} --openssldir=%{openssldir}
85 perl util/perlpath.pl /usr/bin/perl
87 %ifarch i386 i486 i586 i686
88 ./Configure %{CONFIG_FLAGS} linux-elf shared
91 ./Configure %{CONFIG_FLAGS} linux-ppc shared
94 ./Configure %{CONFIG_FLAGS} linux-alpha shared
97 ./Configure %{CONFIG_FLAGS} linux-x86_64 shared
99 LD_LIBRARY_PATH=`pwd` make
100 LD_LIBRARY_PATH=`pwd` make rehash
101 LD_LIBRARY_PATH=`pwd` make test
104 rm -rf $RPM_BUILD_ROOT
105 make MANDIR=%{_mandir} MANSUFFIX=ssl INSTALL_PREFIX="$RPM_BUILD_ROOT" install
107 # Make backwards-compatibility symlink to ssleay
108 ln -sf /usr/bin/openssl $RPM_BUILD_ROOT/usr/bin/ssleay
111 rm -rf $RPM_BUILD_ROOT
114 %defattr(0644,root,root,0755)
115 %doc CHANGES CHANGES.SSLeay LICENSE NEWS README
117 %attr(0755,root,root) %{_bindir}/*
118 %attr(0755,root,root) %{_libdir}/*.so*
119 %attr(0755,root,root) %{_libdir}/engines/*.so*
120 %attr(0755,root,root) %{_libdir}/pkgconfig/*
121 %attr(0755,root,root) %{openssldir}/misc/*
122 %attr(0644,root,root) %{_mandir}/man[157]/*
124 %config %attr(0644,root,root) %{openssldir}/openssl.cnf
125 %dir %attr(0755,root,root) %{openssldir}/certs
126 %dir %attr(0755,root,root) %{openssldir}/misc
127 %dir %attr(0750,root,root) %{openssldir}/private
130 %defattr(0644,root,root,0755)
131 %doc CHANGES CHANGES.SSLeay LICENSE NEWS README
133 %attr(0644,root,root) %{_libdir}/*.a
134 %attr(0644,root,root) %{_libdir}/pkgconfig/openssl.pc
135 %attr(0644,root,root) %{_includedir}/openssl/*
136 %attr(0644,root,root) %{_mandir}/man[3]/*
139 %defattr(0644,root,root,0755)
140 %doc CHANGES CHANGES.SSLeay LICENSE NEWS README
150 * Sun Jun 6 2005 Richard Levitte <richard@levitte.org>
151 - Remove the incorrect installation of '%{openssldir}/lib'.
152 * Wed May 7 2003 Richard Levitte <richard@levitte.org>
153 - Add /usr/lib/pkgconfig/openssl.pc to the development section.
154 * Thu Mar 22 2001 Richard Levitte <richard@levitte.org>
155 - Removed redundant subsection that re-installed libcrypto.a and libssl.a
156 as well. Also remove RSAref stuff completely, since it's not needed
158 * Thu Mar 15 2001 Jeremiah Johnson <jjohnson@penguincomputing.com>
159 - Removed redundant subsection that re-installed libcrypto.so.0.9.6 and
160 libssl.so.0.9.6. As well as the subsection that created symlinks for
161 these. make install handles all this.
162 * Sat Oct 21 2000 Horms <horms@vergenet.net>
163 - Make sure symlinks are created by using -f flag to ln.
164 Otherwise some .so libraries are copied rather than
165 linked in the resulting binary RPM. This causes the package
166 to be larger than neccessary and makes ldconfig complain.
167 * Fri Oct 13 2000 Horms <horms@vergenet.net>
168 - Make defattr is set for files in all packages so packages built as
169 non-root will still be installed with files owned by root.
170 * Thu Sep 14 2000 Richard Levitte <richard@levitte.org>
171 - Changed to adapt to the new (supported) way of making shared libraries
172 - Installs all static libraries, not just libRSAglue.a
173 - Extra documents now end up in a separate document package
174 * Sun Feb 27 2000 Damien Miller <djm@mindrot.org>
175 - Merged patches to spec
176 - Updated to 0.9.5beta2 (now with manpages)
177 * Sat Feb 5 2000 Michal Jaegermann <michal@harddata.com>
178 - added 'linux-alpha' to configuration
179 - fixed nasty absolute links
180 * Tue Jan 25 2000 Bennett Todd <bet@rahul.net>
181 - Added -DSSL_ALLOW_ADH, bumped Release to 4
182 * Thu Oct 14 1999 Damien Miller <djm@mindrot.org>
183 - Set default permissions
184 - Removed documentation from devel sub-package
185 * Thu Sep 30 1999 Damien Miller <djm@mindrot.org>
186 - Added "make test" stage
188 * Tue Sep 10 1999 Damien Miller <damien@ibs.com.au>
189 - Updated to version 0.9.4
190 * Tue May 25 1999 Damien Miller <damien@ibs.com.au>
191 - Updated to version 0.9.3
192 - Added attributes for all files
193 - Paramatised openssl directory
194 * Sat Mar 20 1999 Carlo M. Arenas Belon <carenas@jmconsultores.com.pe>
195 - Added "official" bnrec patch and taking other out
196 - making a link from ssleay to openssl binary
197 - putting all changelog together on SPEC file
198 * Fri Mar 5 1999 Henri Gomez <gomez@slib.fr>
200 * Tue Dec 29 1998 Jonathan Ruano <kobalt@james.encomix.es>
201 - minimum spec and patches changes for openssl
202 - modified for openssl sources
203 * Sat Aug 8 1998 Khimenko Victor <khim@sch57.msk.ru>
204 - shared library creating process honours $RPM_OPT_FLAGS
205 - shared libarry supports threads (as well as static library)
206 * Wed Jul 22 1998 Khimenko Victor <khim@sch57.msk.ru>
207 - building of shared library completely reworked
208 * Tue Jul 21 1998 Khimenko Victor <khim@sch57.msk.ru>
209 - RPM is BuildRoot'ed
210 * Tue Feb 10 1998 Khimenko Victor <khim@sch57.msk.ru>
211 - all stuff is moved out of /usr/local