- (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
This commit is contained in:
Damien Miller 2004-01-23 16:30:03 +11:00
Родитель d352636553
Коммит 84938141d4
2 изменённых файлов: 11 добавлений и 3 удалений

Просмотреть файл

@ -1,6 +1,9 @@
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/
@ -1713,4 +1716,4 @@
- Fix sshd BindAddress and -b options for systems using fake-getaddrinfo.
Report from murple@murple.net, diagnosis from dtucker@zip.com.au
$Id: ChangeLog,v 1.3181 2004/01/23 03:16:26 djm Exp $
$Id: ChangeLog,v 1.3182 2004/01/23 05:30:03 djm Exp $

Просмотреть файл

@ -1,5 +1,5 @@
%define ver 3.7.1p2
%define rel 1
%define rel 0.2004012300
# OpenSSH privilege separation requires a user & group ID
%define sshd_uid 74
@ -181,6 +181,11 @@ environment.
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 \
@ -200,7 +205,7 @@ CFLAGS="$RPM_OPT_FLAGS -Os"; export CFLAGS
--with-pam \
%endif
%if %{kerberos5}
--with-kerberos5=/usr/kerberos \
--with-kerberos5=$K5DIR \
%endif