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:
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.
Applied, building