Bug 776

Summary: Add Fedora information to build RPMs
Product: Portable OpenSSH Reporter: Jason McCormick <jason>
Component: Build systemAssignee: OpenSSH Bugzilla mailing list <openssh-bugs>
Status: CLOSED FIXED    
Severity: normal    
Priority: P2    
Version: -current   
Hardware: All   
OS: Linux   
Attachments:
Description Flags
Patch to allow building of Fedora RPMs
none
Teaches contrib/redhat/openssh.spec to look for kerberos none

Description Jason McCormick 2003-12-18 14:53:37 AEDT
In Fedora Core 1, the Kerberos files have been relocated to /usr from
/usr/kerberos.  This patch created contrib/fedora and necessary files to create
RPMs for Fedora-based Linux Systems.  Currently building RPMs will not work on
Fedora until this patch is applied and used for rpmbuild.
Comment 1 Jason McCormick 2003-12-18 14:54:28 AEDT
Created attachment 515 [details]
Patch to allow building of Fedora RPMs
Comment 2 Jason McCormick 2003-12-18 14:56:16 AEDT
Just to clarify for auditing purposes, contrib/fedora/* is a duplicate of
contrib/redhat/* with the exception of the --with-kerberos5 change in
openssh.spec and adding information to %changelog
Comment 3 Damien Miller 2003-12-18 15:21:27 AEDT
I'd rather just teach contrib/redhat/openssh.spec about the relocation, perhaps
with a build-time test.
Comment 4 Damien Miller 2004-01-22 20:37:30 AEDT
If you would like to see this added to the next release, not is the time to make
a patch (again the existing spec file, please)
Comment 5 Jason McCormick 2004-01-22 22:04:37 AEDT
Created attachment 533 [details]
Teaches contrib/redhat/openssh.spec to look for kerberos

  Instead of creating a new contrib/fedora/* section to deal with Fedora, this
patch causes rpmbuild to look for the location of the Kerberos5 header files,
specifically krb5.h.  This seems to detect the difference properly between
RedHat 9 and Fedore Core 1 which is where the location change happened.
Comment 6 Damien Miller 2004-01-22 22:30:17 AEDT
Similar fix applied, thanks!
Comment 7 Damien Miller 2004-04-14 12:24:20 AEST
Mass change of RESOLVED bugs to CLOSED