diff options
author | Ben Lindstrom <mouring@eviladmin.org> | 2001-02-23 04:55:46 +0000 |
---|---|---|
committer | Ben Lindstrom <mouring@eviladmin.org> | 2001-02-23 04:55:46 +0000 |
commit | 379f205a164ac0ede684f05635fe37fba30198b1 (patch) | |
tree | 6eb5eb20935573cd593bc014f0b147068a6ec0ab /contrib/redhat | |
parent | 008e29189ed5ebd2a30540a8dfdcbdc3bdbd6b1a (diff) |
- (bal) Patch to force OpenSSH rpm to require the same version of OpenSSL
that it was compiled against. Patch by Pekka Savola <pekkas@netcore.fi>
Diffstat (limited to 'contrib/redhat')
-rw-r--r-- | contrib/redhat/openssh.spec | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/contrib/redhat/openssh.spec b/contrib/redhat/openssh.spec index 1e18aa9e1..b7c25159d 100644 --- a/contrib/redhat/openssh.spec +++ b/contrib/redhat/openssh.spec | |||
@@ -22,6 +22,8 @@ | |||
22 | # rpm -ba|--rebuild --define "rh7 1" | 22 | # rpm -ba|--rebuild --define "rh7 1" |
23 | %{?rh7:%define redhat7 1} | 23 | %{?rh7:%define redhat7 1} |
24 | 24 | ||
25 | %define exact_openssl_version %(rpm -q openssl | cut -d - -f 2) | ||
26 | |||
25 | Summary: OpenSSH free Secure Shell (SSH) implementation | 27 | Summary: OpenSSH free Secure Shell (SSH) implementation |
26 | Name: openssh | 28 | Name: openssh |
27 | Version: %{oversion} | 29 | Version: %{oversion} |
@@ -37,6 +39,7 @@ Group: Applications/Internet | |||
37 | BuildRoot: /tmp/openssh-%{version}-buildroot | 39 | BuildRoot: /tmp/openssh-%{version}-buildroot |
38 | Obsoletes: ssh | 40 | Obsoletes: ssh |
39 | PreReq: openssl >= 0.9.5a | 41 | PreReq: openssl >= 0.9.5a |
42 | RreReq: openssl = %{exact_openssl_version} | ||
40 | Requires: openssl >= 0.9.5a | 43 | Requires: openssl >= 0.9.5a |
41 | Requires: rpm >= 3.0.5 | 44 | Requires: rpm >= 3.0.5 |
42 | BuildPreReq: perl, openssl-devel, tcp_wrappers | 45 | BuildPreReq: perl, openssl-devel, tcp_wrappers |