summaryrefslogtreecommitdiff
path: root/contrib
diff options
context:
space:
mode:
authorBen Lindstrom <mouring@eviladmin.org>2001-02-24 00:05:29 +0000
committerBen Lindstrom <mouring@eviladmin.org>2001-02-24 00:05:29 +0000
commit65981156b8fb16b52903d42bd138ca4c095f9e0b (patch)
tree89a74479f6ae4a19cc28ca03a85c8bc6ce53f9ca /contrib
parent4ef92b58440b983b11d0e12b39f691ddc6b838bb (diff)
- (bal) pam_stack fix to correctly detect between RH7 and older RHs.
Patch by Pekka Savola <pekkas@netcore.fi>
Diffstat (limited to 'contrib')
-rw-r--r--contrib/redhat/openssh.spec7
1 files changed, 5 insertions, 2 deletions
diff --git a/contrib/redhat/openssh.spec b/contrib/redhat/openssh.spec
index b7c25159..f27cc550 100644
--- a/contrib/redhat/openssh.spec
+++ b/contrib/redhat/openssh.spec
@@ -36,10 +36,10 @@ Source1: http://www.jmknoble.cx/software/x11-ssh-askpass/x11-ssh-askpass-%{avers
%endif
Copyright: BSD
Group: Applications/Internet
-BuildRoot: /tmp/openssh-%{version}-buildroot
+BuildRoot: %{_tmppath}/%{name}-%{version}-buildroot
Obsoletes: ssh
PreReq: openssl >= 0.9.5a
-RreReq: openssl = %{exact_openssl_version}
+PreReq: openssl = %{exact_openssl_version}
Requires: openssl >= 0.9.5a
Requires: rpm >= 3.0.5
BuildPreReq: perl, openssl-devel, tcp_wrappers
@@ -61,6 +61,9 @@ Group: System Environment/Daemons
Obsoletes: ssh-server
PreReq: openssh = %{version}-%{release}, chkconfig >= 0.9
Requires: initscripts >= 4.16
+%if %{redhat7}
+Requires: /etc/pam.d/system-auth
+%endif
%package askpass
Summary: OpenSSH X11 passphrase dialog