Small patch for RPM spec file (kerberos)

Mike Johnson mike at enoch.org
Tue Jun 25 13:45:33 EST 2002


I decided to try openssh 3.3p1 on my Mandrake box that's lacking a
complete install of kerberos.  Installed the SRPM, ran rpm -bb
openssh.spec and it bombed.  Made it through the configure stage and
moved onto compilation, where it barfed because it couldn't find the
kerberos headers (I had krb5-libs installed, but not krb5-devel).

Attached is a small little patch to the spec file to add a couple build
prerequisites that seem to take care of the problem.

Do with it as you will.

Mike
-- 
"Let the power of Ponch compel you!  Let the power of Ponch compel you!"
   -- Zorak on Space Ghost

GNUPG Key fingerprint = ACD2 2F2F C151 FB35 B3AF  C821 89C4 DF9A 5DDD 95D1
GNUPG Key = http://www.enoch.org/mike/mike.pubkey.asc
-------------- next part --------------
--- 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.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 230 bytes
Desc: not available
Url : http://lists.mindrot.org/pipermail/openssh-unix-dev/attachments/20020624/c9815708/attachment.bin 


More information about the openssh-unix-dev mailing list