| Summary: | rpm specfile needs build prereqs for Kerberos | ||
|---|---|---|---|
| Product: | Portable OpenSSH | Reporter: | Mike Johnson <mike> |
| Component: | Miscellaneous | Assignee: | OpenSSH Bugzilla mailing list <openssh-bugs> |
| Status: | CLOSED FIXED | ||
| Severity: | normal | ||
| Priority: | P2 | ||
| Version: | -current | ||
| Hardware: | All | ||
| OS: | Linux | ||
this seems to make sense. can linux/rpm/krb folks comment? Looks correct to me. (Appears to already be fixed in CVS.) Already fixed Mass change of RESOLVED bugs to CLOSED |
I sent this to the dev list, then decided it would be better to just open a bug. On both my Mandrake 8.2 and RedHat 7.3 if I use the stock spec file (from the source RPM, but the openssh.spec file that's in -current in the contrib directory is the same) it tries to build with kerberos support (because that flag is on in the spec file by default) but fails because I don't have krb5-devel installed. Attached is a patch that alters the spec file to check for krb5-libs and krb5-devel if kerberos5 is defined. --- openssh.spec.orig Mon Jun 24 23:16:36 2002 +++ openssh.spec Mon Jun 24 23:17:16 2002 @@ -97,6 +97,10 @@ %if ! %{no_gnome_askpass} BuildPreReq: gnome-libs-devel %endif +%if %{kerberos5} +BuildPreReq: krb5-libs, krb5-devel +%endif + %package clients Summary: OpenSSH clients.