bugzilla-daemon at mindrot.org
2002-Jun-25 14:40 UTC
[Bug 295] New: rpm specfile needs build prereqs for Kerberos
http://bugzilla.mindrot.org/show_bug.cgi?id=295 Summary: rpm specfile needs build prereqs for Kerberos Product: Portable OpenSSH Version: -current Platform: All OS/Version: Linux Status: NEW Severity: normal Priority: P2 Component: Miscellaneous AssignedTo: openssh-unix-dev at mindrot.org ReportedBy: mike at enoch.org 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. ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee.