diff options
Diffstat (limited to 'contrib/redhat')
-rw-r--r-- | contrib/redhat/openssh.spec | 21 |
1 files changed, 16 insertions, 5 deletions
diff --git a/contrib/redhat/openssh.spec b/contrib/redhat/openssh.spec index 20ccb6fac..05750e3a9 100644 --- a/contrib/redhat/openssh.spec +++ b/contrib/redhat/openssh.spec | |||
@@ -1,4 +1,4 @@ | |||
1 | %define ver 3.7.1p2 | 1 | %define ver 3.8p1 |
2 | %define rel 1 | 2 | %define rel 1 |
3 | 3 | ||
4 | # OpenSSH privilege separation requires a user & group ID | 4 | # OpenSSH privilege separation requires a user & group ID |
@@ -34,6 +34,11 @@ | |||
34 | %{?skip_x11_askpass:%define no_x11_askpass 1} | 34 | %{?skip_x11_askpass:%define no_x11_askpass 1} |
35 | %{?skip_gnome_askpass:%define no_gnome_askpass 1} | 35 | %{?skip_gnome_askpass:%define no_gnome_askpass 1} |
36 | 36 | ||
37 | # Add option to build without GTK2 for older platforms with only GTK+. | ||
38 | # RedHat <= 7.2 and Red Hat Advanced Server 2.1 are examples. | ||
39 | # rpm -ba|--rebuild --define 'no_gtk2 1' | ||
40 | %{?no_gtk2:%define gtk2 0} | ||
41 | |||
37 | # Is this a build for RHL 6.x or earlier? | 42 | # Is this a build for RHL 6.x or earlier? |
38 | %{?build_6x:%define build6x 1} | 43 | %{?build_6x:%define build6x 1} |
39 | 44 | ||
@@ -176,6 +181,11 @@ environment. | |||
176 | CFLAGS="$RPM_OPT_FLAGS -Os"; export CFLAGS | 181 | CFLAGS="$RPM_OPT_FLAGS -Os"; export CFLAGS |
177 | %endif | 182 | %endif |
178 | 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 | |||
179 | %configure \ | 189 | %configure \ |
180 | --sysconfdir=%{_sysconfdir}/ssh \ | 190 | --sysconfdir=%{_sysconfdir}/ssh \ |
181 | --libexecdir=%{_libexecdir}/openssh \ | 191 | --libexecdir=%{_libexecdir}/openssh \ |
@@ -185,16 +195,17 @@ CFLAGS="$RPM_OPT_FLAGS -Os"; export CFLAGS | |||
185 | --with-default-path=/usr/local/bin:/bin:/usr/bin \ | 195 | --with-default-path=/usr/local/bin:/bin:/usr/bin \ |
186 | --with-superuser-path=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin \ | 196 | --with-superuser-path=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin \ |
187 | --with-privsep-path=%{_var}/empty/sshd \ | 197 | --with-privsep-path=%{_var}/empty/sshd \ |
198 | --with-md5-passwords \ | ||
188 | %if %{scard} | 199 | %if %{scard} |
189 | --with-smartcard \ | 200 | --with-smartcard \ |
190 | %endif | 201 | %endif |
191 | %if %{rescue} | 202 | %if %{rescue} |
192 | --without-pam --with-md5-passwords \ | 203 | --without-pam \ |
193 | %else | 204 | %else |
194 | --with-pam \ | 205 | --with-pam \ |
195 | %endif | 206 | %endif |
196 | %if %{kerberos5} | 207 | %if %{kerberos5} |
197 | --with-kerberos5=/usr/kerberos \ | 208 | --with-kerberos5=$K5DIR \ |
198 | %endif | 209 | %endif |
199 | 210 | ||
200 | 211 | ||
@@ -392,7 +403,7 @@ fi | |||
392 | 403 | ||
393 | %changelog | 404 | %changelog |
394 | * Mon Jun 2 2003 Damien Miller <djm@mindrot.org> | 405 | * Mon Jun 2 2003 Damien Miller <djm@mindrot.org> |
395 | - Remove noip6 option. This may be controlled at run-time in client config | 406 | - Remove noip6 option. This may be controlled at run-time in client config |
396 | file using new AddressFamily directive | 407 | file using new AddressFamily directive |
397 | 408 | ||
398 | * Mon May 12 2003 Damien Miller <djm@mindrot.org> | 409 | * Mon May 12 2003 Damien Miller <djm@mindrot.org> |
@@ -552,7 +563,7 @@ fi | |||
552 | 563 | ||
553 | * Sun Apr 8 2001 Preston Brown <pbrown@redhat.com> | 564 | * Sun Apr 8 2001 Preston Brown <pbrown@redhat.com> |
554 | - remove explicit openssl requirement, fixes builddistro issue | 565 | - remove explicit openssl requirement, fixes builddistro issue |
555 | - make initscript stop() function wait until sshd really dead to avoid | 566 | - make initscript stop() function wait until sshd really dead to avoid |
556 | races in condrestart | 567 | races in condrestart |
557 | 568 | ||
558 | * Mon Apr 2 2001 Nalin Dahyabhai <nalin@redhat.com> | 569 | * Mon Apr 2 2001 Nalin Dahyabhai <nalin@redhat.com> |