Hi,
Here's a patch to the spec file from beta2, this fixes a build-time
problem on my Redhat 6.2 (+updates) systems (and probably other versions
as well) which results in /usr/lib/libssl.so, and /usr/lib/libssl.so.x
being copies of /usr/lib/libssl.so.x.y.z instead of symbolic links. The
patch also makes the file suitable for the final 0.9.6a release.
Cheers,
Tim.
diff -Naur openssl-0.9.6a-beta2/openssl.spec
openssl-0.9.6a-beta2.fixed/openssl.spec
--- openssl-0.9.6a-beta2/openssl.spec Wed Oct 11 11:05:37 2000
+++ openssl-0.9.6a-beta2.fixed/openssl.spec Wed Mar 28 18:26:15 2001
@@ -1,15 +1,15 @@
%define libmaj 0
%define libmin 9
%define librel 6
-#%define librev
+%define librev a
Release: 1
%define openssldir /var/ssl
Summary: Secure Sockets Layer and cryptography libraries and tools
Name: openssl
-Version: %{libmaj}.%{libmin}.%{librel}
-#Version: %{libmaj}.%{libmin}.%{librel}%{librev}
+#Version: %{libmaj}.%{libmin}.%{librel}
+Version: %{libmaj}.%{libmin}.%{librel}%{librev}
Source0: ftp://ftp.openssl.org/source/%{name}-%{version}.tar.gz
Copyright: Freely distributable
Group: System Environment/Libraries
@@ -123,10 +123,10 @@
install -m755 libssl.so.%{libmaj}.%{libmin}.%{librel}
$RPM_BUILD_ROOT/usr/lib
(
cd $RPM_BUILD_ROOT/usr/lib
- ln -s libcrypto.so.%{libmaj}.%{libmin}.%{librel}
libcrypto.so.%{libmaj}
- ln -s libcrypto.so.%{libmaj}.%{libmin}.%{librel} libcrypto.so
- ln -s libssl.so.%{libmaj}.%{libmin}.%{librel} libssl.so.%{libmaj}
- ln -s libssl.so.%{libmaj}.%{libmin}.%{librel} libssl.so
+ ln -fs libcrypto.so.%{libmaj}.%{libmin}.%{librel}
libcrypto.so.%{libmaj}
+ ln -fs libcrypto.so.%{libmaj}.%{libmin}.%{librel} libcrypto.so
+ ln -fs libssl.so.%{libmaj}.%{libmin}.%{librel} libssl.so.%{libmaj}
+ ln -fs libssl.so.%{libmaj}.%{libmin}.%{librel} libssl.so
)
%clean
@@ -166,6 +166,10 @@
ldconfig
%changelog
+* Wed Mar 28 2001 Tim Small <[EMAIL PROTECTED]>
+- Minor change to ensure that symlinks to libraries under /usr/lib/
+- are really created as symlinks, and don't end up as copies, on
+- some versions of redhat
* Thu Sep 14 2000 Richard Levitte <[EMAIL PROTECTED]>
- Changed to adapt to the new (supported) way of making shared libraries
- Installs all static libraries, not just libRSAglue.a
______________________________________________________________________
OpenSSL Project http://www.openssl.org
Development Mailing List [EMAIL PROTECTED]
Automated List Manager [EMAIL PROTECTED]