Build fixes
This commit is contained in:
parent
cdb8b1d349
commit
2b72a4a659
|
@ -69,11 +69,8 @@ install: all
|
|||
ln -sf ssh $(bindir)/slogin
|
||||
install -s -c scp $(bindir)/scp
|
||||
install -s -c ssh-add $(bindir)/ssh-add
|
||||
if [ -z "@GNOME_ASKPASS@"] ; then
|
||||
install -m755 -c ssh-askpass $(libdir)/ssh/ssh-askpass
|
||||
else
|
||||
install -m755 -c gnome-ssh-askpass $(libdir)/ssh/ssh-askpass
|
||||
fi
|
||||
[ -z "@GNOME_ASKPASS@"] && install -m755 -c ssh-askpass $(libdir)/ssh/ssh-askpass
|
||||
[ -z "@GNOME_ASKPASS@"] || install -m755 -c gnome-ssh-askpass $(libdir)/ssh/ssh-askpass
|
||||
install -s -c ssh-agent $(bindir)/ssh-agent
|
||||
install -s -c ssh-keygen $(bindir)/ssh-keygen
|
||||
install -s -c sshd $(sbindir)/sshd
|
||||
|
|
|
@ -50,6 +50,9 @@ make
|
|||
rm -rf $RPM_BUILD_ROOT
|
||||
make install prefix="$RPM_BUILD_ROOT/usr"
|
||||
|
||||
install -d $RPM_BUILD_ROOT/etc/ssh
|
||||
install -d $RPM_BUILD_ROOT/etc/pam.d/
|
||||
install -d $RPM_BUILD_ROOT/etc/rc.d/init.d
|
||||
install -m644 sshd.pam $RPM_BUILD_ROOT/etc/pam.d/sshd
|
||||
install -m755 sshd.init.redhat $RPM_BUILD_ROOT/etc/rc.d/init.d/sshd
|
||||
install -m600 ssh_config $RPM_BUILD_ROOT/etc/ssh/ssh_config
|
||||
|
|
Loading…
Reference in New Issue