Bug 470859

Summary: openssh minor annoyance in a spec file
Product: [Fedora] Fedora Reporter: Michal Jaegermann <michal>
Component: opensshAssignee: Tomas Mraz <tmraz>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: low Docs Contact:
Priority: medium    
Version: 9CC: mgrepl, tmraz
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Fixed In Version: openssh-5.1p1-4.fc11 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2009-02-12 10:40:50 EST Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Description Michal Jaegermann 2008-11-10 12:05:04 EST
Description of problem:

There is the following fragment in the package spec:

%patch12 -p1 -b .selinux
%patch13 -p1 -b .mls
%patch16 -p1 -b .audit
%patch17 -p1 -b .inject-fix
%patch18 -p1 -b .pam_selinux

and patch16, i.e. openssh-4.7p1-audit.patch, modifies configure.ac file.  The trouble is that one of chunks of patch51, i.e. openssh-5.1p1-nss-keys.patch, does that in the same region again and if %{WITH_SELINUX} was set to 0 it fails because configure.ac does not look like expected with one line "missing".

One possible way to fix it would be to have that fragment of patch51 which touches configure.ac in a separate patch with two slightly different variants to be applied conditionally on a state of %{WITH_SELINUX}

Version-Release number of selected component (if applicable):