Bug 776 - Add Fedora information to build RPMs
Summary: Add Fedora information to build RPMs
Status: CLOSED FIXED
Alias: None
Product: Portable OpenSSH
Classification: Unclassified
Component: Build system (show other bugs)
Version: -current
Hardware: All Linux
: P2 normal
Assignee: OpenSSH Bugzilla mailing list
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-12-18 14:53 AEDT by Jason McCormick
Modified: 2004-04-14 12:24 AEST (History)
0 users

See Also:


Attachments
Patch to allow building of Fedora RPMs (37.08 KB, patch)
2003-12-18 14:54 AEDT, Jason McCormick
no flags Details | Diff
Teaches contrib/redhat/openssh.spec to look for kerberos (343 bytes, patch)
2004-01-22 22:04 AEDT, Jason McCormick
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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