OpenSSL + OpenSSH version problems [patch]
Pekka Savola
pekkas at netcore.fi
Thu Feb 22 03:14:14 EST 2001
On Wed, 21 Feb 2001, Pekka Savola wrote:
> OpenSSL 0.9.5a and 0.9.6 are incompatible, causing weird errors.
> I'd like to get a check for this in the RPMs.
>
> However, now I want to make sure whether anyone has experienced problems
> with RHL 0.9.5a OpenSSL libs vs. the 0.9.5a ones provided at openbsd.org?
>
> Ie: is it enough to check like '= 0.9.5a' or do you have to check '=
> 0.9.5a-xyz'.
No feedback yet, so..
Attached is a patch for the spec file to Require the same version of
OpenSSL (0.9.5a vs. 0.9.6) as OpenSSH was compiled against.
If 'cut' were to be tailed, this could also be tailored to require
_exactly_ the same version, but this might be a pain (and I'd first like
to know of cases where this isn't enough..)
--
Pekka Savola "Tell me of difficulties surmounted,
Netcore Oy not those you stumble over and fall"
Systems. Networks. Security. -- Robert Jordan: A Crown of Swords
-------------- next part --------------
--- /home/pekkas/openssh_cvs/contrib/redhat/openssh.spec Mon Feb 19 19:06:30 2001
+++ openssh.spec Wed Feb 21 17:58:00 2001
@@ -22,6 +22,8 @@
# rpm -ba|--rebuild --define "rh7 1"
%{?rh7:%define redhat7 1}
+%define exact_openssl_version %(rpm -q openssl | cut -d - -f 2)
+
Summary: OpenSSH free Secure Shell (SSH) implementation
Name: openssh
Version: %{oversion}
@@ -37,6 +39,7 @@
BuildRoot: /tmp/openssh-%{version}-buildroot
Obsoletes: ssh
PreReq: openssl >= 0.9.5a
+RreReq: openssl = %{exact_openssl_version}
Requires: openssl >= 0.9.5a
Requires: rpm >= 3.0.5
BuildPreReq: perl, openssl-devel, tcp_wrappers
More information about the openssh-unix-dev
mailing list