diff options
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | contrib/redhat/openssh.spec | 9 |
2 files changed, 11 insertions, 3 deletions
@@ -1,6 +1,9 @@ | |||
1 | 20040123 | 1 | 20040123 |
2 | - (djm) Do pam_session processing for systems with HAVE_LOGIN_CAP; from | 2 | - (djm) Do pam_session processing for systems with HAVE_LOGIN_CAP; from |
3 | ralf.hack AT pipex.net; ok dtucker@ | 3 | ralf.hack AT pipex.net; ok dtucker@ |
4 | - (djm) Bug #776: Update contrib/redhat/openssh.spec to dynamically detect | ||
5 | Kerberos location (and thus work with Fedora Core 1); | ||
6 | from jason AT devrandom.org | ||
4 | 7 | ||
5 | 20040122 | 8 | 20040122 |
6 | - (dtucker) [configure.ac] Use krb5-config where available for Kerberos/ | 9 | - (dtucker) [configure.ac] Use krb5-config where available for Kerberos/ |
@@ -1713,4 +1716,4 @@ | |||
1713 | - Fix sshd BindAddress and -b options for systems using fake-getaddrinfo. | 1716 | - Fix sshd BindAddress and -b options for systems using fake-getaddrinfo. |
1714 | Report from murple@murple.net, diagnosis from dtucker@zip.com.au | 1717 | Report from murple@murple.net, diagnosis from dtucker@zip.com.au |
1715 | 1718 | ||
1716 | $Id: ChangeLog,v 1.3181 2004/01/23 03:16:26 djm Exp $ | 1719 | $Id: ChangeLog,v 1.3182 2004/01/23 05:30:03 djm Exp $ |
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. | |||
181 | CFLAGS="$RPM_OPT_FLAGS -Os"; export CFLAGS | 181 | CFLAGS="$RPM_OPT_FLAGS -Os"; export CFLAGS |
182 | %endif | 182 | %endif |
183 | 183 | ||
184 | %if %{kerberos5} | ||
185 | K5DIR=`rpm -ql krb5-devel | grep include/krb5.h | sed 's,\/include\/krb5.h,,'` | ||
186 | echo 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 | ||