summaryrefslogtreecommitdiff
path: root/contrib/redhat/openssh.spec
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/redhat/openssh.spec')
-rw-r--r--contrib/redhat/openssh.spec9
1 files changed, 7 insertions, 2 deletions
diff --git a/contrib/redhat/openssh.spec b/contrib/redhat/openssh.spec
index a4d49f61c..30d026352 100644
--- a/contrib/redhat/openssh.spec
+++ b/contrib/redhat/openssh.spec
@@ -1,5 +1,5 @@
1%define ver 3.7.1p2 1%define ver 3.7.1p2
2%define rel 1 2%define rel 0.2004012300
3 3
4# OpenSSH privilege separation requires a user & group ID 4# OpenSSH privilege separation requires a user & group ID
5%define sshd_uid 74 5%define sshd_uid 74
@@ -181,6 +181,11 @@ environment.
181CFLAGS="$RPM_OPT_FLAGS -Os"; export CFLAGS 181CFLAGS="$RPM_OPT_FLAGS -Os"; export CFLAGS
182%endif 182%endif
183 183
184%if %{kerberos5}
185K5DIR=`rpm -ql krb5-devel | grep include/krb5.h | sed 's,\/include\/krb5.h,,'`
186echo K5DIR=$K5DIR
187%endif
188
184%configure \ 189%configure \
185 --sysconfdir=%{_sysconfdir}/ssh \ 190 --sysconfdir=%{_sysconfdir}/ssh \
186 --libexecdir=%{_libexecdir}/openssh \ 191 --libexecdir=%{_libexecdir}/openssh \
@@ -200,7 +205,7 @@ CFLAGS="$RPM_OPT_FLAGS -Os"; export CFLAGS
200 --with-pam \ 205 --with-pam \
201%endif 206%endif
202%if %{kerberos5} 207%if %{kerberos5}
203 --with-kerberos5=/usr/kerberos \ 208 --with-kerberos5=$K5DIR \
204%endif 209%endif
205 210
206 211