From 2cc9b83c5120519412867bfb85e99b23a701476ec9eddf8552c0642245fe41b4 Mon Sep 17 00:00:00 2001 From: OBS User unknown Date: Sun, 6 May 2007 15:17:31 +0000 Subject: [PATCH] OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/openssl?expand=0&rev=5 --- openssl.changes | 12 +++++ openssl.spec | 116 +++++++++++++++++++++++++++++++++++++++++------- 2 files changed, 111 insertions(+), 17 deletions(-) diff --git a/openssl.changes b/openssl.changes index 2c9544c..0c71a1a 100644 --- a/openssl.changes +++ b/openssl.changes @@ -1,3 +1,15 @@ +------------------------------------------------------------------- +Wed Apr 25 12:32:44 CEST 2007 - mkoenig@suse.de + +- Split/rename package to follow library packaging policy [#260219] + New package libopenssl0.9.8 containing shared libs + openssl-devel package renamed to libopenssl-devel + New package openssl-certs containing certificates +- add zlib-devel to Requires of devel package +- remove old Obsoletes and Conflicts + openssls (Last used Nov 2000) + ssleay (Last used 6.2) + ------------------------------------------------------------------- Mon Apr 23 11:17:57 CEST 2007 - mkoenig@suse.de diff --git a/openssl.spec b/openssl.spec index a7f933c..f96ed45 100644 --- a/openssl.spec +++ b/openssl.spec @@ -12,19 +12,14 @@ Name: openssl BuildRequires: bc ed zlib-devel -%ifarch s390x -%else -%endif %define ssletcdir %{_sysconfdir}/ssl %define num_version %(echo "%{version}" | sed -e "s+[a-zA-Z]++g; s+_.*++g") License: BSD License and BSD-like Group: Productivity/Networking/Security Provides: ssl -Conflicts: ssleay -Obsoletes: ssleay Autoreqprov: on Version: 0.9.8e -Release: 7 +Release: 12 Summary: Secure Sockets and Transport Layer Security URL: http://www.openssl.org/ Source: http://www.%{name}.org/source/%{name}-%{version}.tar.bz2 @@ -44,6 +39,7 @@ Patch20: openssl-0.9.8a.ca-app-segfault.bug128655.dif Patch21: bswap.diff Patch22: openssl-0.9.8-key_length.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build +Requires: libopenssl0_9_8 %description The OpenSSL Project is a collaborative effort to develop a robust, @@ -74,13 +70,49 @@ Authors: Holger Reif Paul C. Sutton -%package devel +%package -n libopenssl0_9_8 +Summary: Secure Sockets and Transport Layer Security +Group: Productivity/Networking/Security +Requires: openssl-certs + +%description -n libopenssl0_9_8 +The OpenSSL Project is a collaborative effort to develop a robust, +commercial-grade, full-featured, and open source toolkit implementing +the Secure Sockets Layer (SSL v2/v3) and Transport Layer Security (TLS +v1) protocols with full-strength cryptography. The project is managed +by a worldwide community of volunteers that use the Internet to +communicate, plan, and develop the OpenSSL toolkit and its related +documentation. + +Derivation and License + +OpenSSL is based on the excellent SSLeay library developed by Eric A. +Young and Tim J. Hudson. The OpenSSL toolkit is licensed under an +Apache-style license, which basically means that you are free to get it +and to use it for commercial and noncommercial purposes. + + + +Authors: +-------- + Mark J. Cox + Ralf S. Engelschall + Dr. Stephen Henson + Ben Laurie + Bodo Moeller + Ulf Moeller + Holger Reif + Paul C. Sutton + +%package -n libopenssl-devel Summary: Include Files and Libraries mandatory for Development. Group: Development/Libraries/C and C++ -Obsoletes: openssls -Requires: openssl = %{version} +# openssl-devel last used in openSUSE 10.2 +Obsoletes: openssl-devel <= 0.9.8e-8 +Requires: libopenssl0_9_8 = %{version} zlib-devel +Provides: openssl-devel = %{version}-%{release} -%description devel +%description -n libopenssl-devel This package contains all necessary include files and libraries needed to develop applications that require these. @@ -97,6 +129,39 @@ Authors: Holger Reif Paul C. Sutton +%package certs +Summary: Secure Sockets and Transport Layer Security +Group: Productivity/Networking/Security + +%description certs +The OpenSSL Project is a collaborative effort to develop a robust, +commercial-grade, full-featured, and open source toolkit implementing +the Secure Sockets Layer (SSL v2/v3) and Transport Layer Security (TLS +v1) protocols with full-strength cryptography. The project is managed +by a worldwide community of volunteers that use the Internet to +communicate, plan, and develop the OpenSSL toolkit and its related +documentation. + +Derivation and License + +OpenSSL is based on the excellent SSLeay library developed by Eric A. +Young and Tim J. Hudson. The OpenSSL toolkit is licensed under an +Apache-style license, which basically means that you are free to get it +and to use it for commercial and noncommercial purposes. + + + +Authors: +-------- + Mark J. Cox + Ralf S. Engelschall + Dr. Stephen Henson + Ben Laurie + Bodo Moeller + Ulf Moeller + Holger Reif + Paul C. Sutton + %package doc Summary: Additional Package Documentation. Group: Productivity/Networking/Security @@ -298,11 +363,19 @@ cat AVAILABLE_CIPHERS %clean if ! test -f /.buildenv; then rm -rf $RPM_BUILD_ROOT; fi -%post -p /sbin/ldconfig +%post -n libopenssl0_9_8 +/sbin/ldconfig -%postun -p /sbin/ldconfig +%postun -n libopenssl0_9_8 +/sbin/ldconfig -%files devel +%files -n libopenssl0_9_8 +%defattr(-, root, root) +%{_libdir}/libssl.so.%{num_version} +%{_libdir}/libcrypto.so.%{num_version} +%{_libdir}/engines + +%files -n libopenssl-devel %defattr(-, root, root) %{_includedir}/%{name}/ %{_includedir}/ssl @@ -325,17 +398,26 @@ if ! test -f /.buildenv; then rm -rf $RPM_BUILD_ROOT; fi %doc LICENSE NEWS README README.SuSE %dir %{ssletcdir} %config (noreplace) %{ssletcdir}/openssl.cnf -%{ssletcdir}/certs %attr(700,root,root) %{ssletcdir}/private %dir %{_datadir}/ssl %{_datadir}/ssl/misc %{_bindir}/c_rehash %{_bindir}/%{name} -%{_libdir}/libssl.so.%{num_version} -%{_libdir}/libcrypto.so.%{num_version} -%{_libdir}/engines + +%files certs +%defattr(-, root, root) +%{ssletcdir}/certs %changelog +* Wed Apr 25 2007 - mkoenig@suse.de +- Split/rename package to follow library packaging policy [#260219] + New package libopenssl0.9.8 containing shared libs + openssl-devel package renamed to libopenssl-devel + New package openssl-certs containing certificates +- add zlib-devel to Requires of devel package +- remove old Obsoletes and Conflicts + openssls (Last used Nov 2000) + ssleay (Last used 6.2) * Mon Apr 23 2007 - mkoenig@suse.de - Fix key length [#254905,#262477] * Tue Mar 06 2007 - mkoenig@suse.de