Bug 2557

Summary: Incorrect file entries in openssh.spec
Product: Portable OpenSSH Reporter: Jeevan Savant <savjee>
Component: MiscellaneousAssignee: Assigned to nobody <unassigned-bugs>
Status: CLOSED FIXED    
Severity: enhancement CC: djm
Priority: P5    
Version: 7.2p1   
Hardware: Other   
OS: Linux   
Bug Depends on:    
Bug Blocks: 2543    

Description Jeevan Savant 2016-03-23 03:31:51 AEDT
The rpm spec file under openssh-7.2p2/contrib/redhat/openssh.spec 
has following 2 entries.

%files clients
%attr(-,root,root) %{_bindir}/slogin
%attr(-,root,root) %{_mandir}/man1/slogin.1*

These entries result in following errors when rpm is built using this spec file
Processing files: openssh-clients-7.2p2-1.x86_64
error: File not found: /root/rpmbuild/BUILDROOT/openssh-7.2p2-1.x86_64/usr/bin/slogin
error: File not found by glob: /root/rpmbuild/BUILDROOT/openssh-7.2p2-1.x86_64/usr/share/man/man1/slogin.1*

The workaround is to comment the 2 lines. I believe the spec file need to take into account following check-in which removed slogin.


commit 69fead5d7cdaa73bdece9fcba80f8e8e70b90346
Author: jmc@openbsd.org <jmc@openbsd.org>
Date:   Sun Nov 8 22:08:38 2015 +0000

    upstream commit

    remove slogin links; ok deraadt markus djm

    Upstream-ID: 39ba08548acde4c54f2d4520c202c2a863a3c730
Comment 2 Damien Miller 2016-12-09 12:21:20 AEDT
Bulk mark issues CLOSED in 7.3 release