Kerberos location (and thus work with Fedora Core 1);
from jason AT devrandom.org
20040123
- (djm) Do pam_session processing for systems with HAVE_LOGIN_CAP; from
ralf.hack AT pipex.net; ok dtucker@
+ - (djm) Bug #776: Update contrib/redhat/openssh.spec to dynamically detect
+ Kerberos location (and thus work with Fedora Core 1);
+ from jason AT devrandom.org
20040122
- (dtucker) [configure.ac] Use krb5-config where available for Kerberos/
%define ver 3.7.1p2
-%define rel 1
+%define rel 0.2004012300
# OpenSSH privilege separation requires a user & group ID
%define sshd_uid 74
CFLAGS="$RPM_OPT_FLAGS -Os"; export CFLAGS
%endif
+%if %{kerberos5}
+K5DIR=`rpm -ql krb5-devel | grep include/krb5.h | sed 's,\/include\/krb5.h,,'`
+echo K5DIR=$K5DIR
+%endif
+
%configure \
--sysconfdir=%{_sysconfdir}/ssh \
--libexecdir=%{_libexecdir}/openssh \
--with-pam \
%endif
%if %{kerberos5}
- --with-kerberos5=/usr/kerberos \
+ --with-kerberos5=$K5DIR \
%endif