Bug 295 - rpm specfile needs build prereqs for Kerberos
Summary: rpm specfile needs build prereqs for Kerberos
Status: CLOSED FIXED
Alias: None
Product: Portable OpenSSH
Classification: Unclassified
Component: Miscellaneous (show other bugs)
Version: -current
Hardware: All Linux
: P2 normal
Assignee: OpenSSH Bugzilla mailing list
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-06-26 00:40 AEST by Mike Johnson
Modified: 2004-04-14 12:24 AEST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Mike Johnson 2002-06-26 00:40:32 AEST
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.
Comment 1 Kevin Steves 2002-07-18 16:25:36 AEST
this seems to make sense.
can linux/rpm/krb folks comment?
Comment 2 Nalin Dahyabhai 2002-07-19 06:21:13 AEST
Looks correct to me.  (Appears to already be fixed in CVS.)
Comment 3 Damien Miller 2002-09-10 22:19:33 AEST
Already fixed
Comment 4 Damien Miller 2004-04-14 12:24:18 AEST
Mass change of RESOLVED bugs to CLOSED