Bug 125296 - openssh has missing dependencies
Summary: openssh has missing dependencies
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: openssh
Version: rawhide
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Nalin Dahyabhai
QA Contact: Brian Brock
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2004-06-04 15:34 UTC by Steve Grubb
Modified: 2007-11-30 22:10 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2004-08-01 21:17:39 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
Replacement patch against openssh-3.8.1p1-4 (1.20 KB, patch)
2004-08-01 17:53 UTC, Steve Grubb
no flags Details | Diff

Description Steve Grubb 2004-06-04 15:34:29 UTC
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i586; en-US; rv:1.4.2)
Gecko/20040308

Description of problem:
openssh spec file has several problems. Please apply this patch:

--- working/openssh/openssh.spec        2004-06-01 17:07:48.000000000
-0400
+++ /opt/specs/openssh.spec     2004-06-03 17:30:10.000000000 -0400
@@ -120,13 +120,16 @@
 %if %{gtk2}
 BuildPreReq: gtk2-devel
 %endif
-BuildPreReq: openssl-devel, perl, sharutils, tcp_wrappers, zlib-devel
-BuildPreReq: /bin/login
+%if %{scard}
+BuildPreReq: sharutils
+%endif
+BuildPreReq: openssl-devel, perl, tcp_wrappers, zlib-devel
+BuildPreReq: util-linux, groff, man
                                                                     
          
 %if %{build6x}
 BuildPreReq: glibc-devel, pam
 %else
-BuildPreReq: /usr/include/security/pam_appl.h
+BuildPreReq: pam-devel
 %endif
                                                                     
          
 %if ! %{no_x11_askpass}
@@ -141,6 +144,11 @@
 BuildPreReq: krb5-devel
 %endif
                                                                     
          
+%if %{WITH_SELINUX}
+Requires: libselinux
+BuildRequires: libselinux-devel
+%endif
+
 %package clients
 Summary: OpenSSH clients.
 Requires: openssh = %{version}-%{release}
@@ -365,6 +373,10 @@
 install -m 755 contrib/redhat/gnome-ssh-askpass.csh
$RPM_BUILD_ROOT%{_sysconfdir}/profile.d/
 install -m 755 contrib/redhat/gnome-ssh-askpass.sh
$RPM_BUILD_ROOT%{_sysconfdir}/profile.d/
                                                                     
          
+%if %{no_gnome_askpass}
+rm -f $RPM_BUILD_ROOT/etc/profile.d/gnome-ssh-askpass.*
+%endif
+
 perl -pi -e "s|$RPM_BUILD_ROOT||g" $RPM_BUILD_ROOT%{_mandir}/man*/*
                                                                     
          
 %clean


Version-Release number of selected component (if applicable):
openssh-3.6.1p2-36

How reproducible:
Always

Steps to Reproduce:
1. This is tricky to reproduce...but if you remove all the packages
that I added in the above patch, you won't be able to compile
openssh...especially the man package.
2. rpmbuild -bb /usr/src/redhat/SPECS/openssh.spec

    

Additional info:

Comment 1 Steve Grubb 2004-08-01 17:53:56 UTC
Created attachment 102341 [details]
Replacement patch against openssh-3.8.1p1-4

I'm refreshing the patch incase there's been bit rot since I originally
submitted it.

Comment 2 Alan Cox 2004-08-01 21:17:39 UTC
Applied, building



Note You need to log in before you can comment on or make changes to this bug.