Add symlinks back to ssh in RPM spec file
This commit is contained in:
Damien Miller 1999-10-28 14:34:49 +10:00
Родитель 92986dd9ba
Коммит 29d685212f
2 изменённых файлов: 20 добавлений и 2 удалений

Просмотреть файл

@ -64,6 +64,16 @@ install -m644 openssh-agent.1 $RPM_BUILD_ROOT/usr/man/man1
install -m644 openssh-add.1 $RPM_BUILD_ROOT/usr/man/man1
install -m644 openssh-keygen.1 $RPM_BUILD_ROOT/usr/man/man1
# Install compatibility symlinks
cd $RPM_BUILD_ROOT/usr/sbin
ln -s opensshd sshd
cd $RPM_BUILD_ROOT/usr/bin
ln -s openssh ssh
ln -s openscp scp
ln -s openssh-agent ssh-agent
ln -s openssh-add ssh-add
ln -s openssh-keygen ssh-keygen
%clean
rm -rf $RPM_BUILD_ROOT
@ -95,6 +105,14 @@ fi
%attr(0755,root,root) /usr/bin/openssh-add
%attr(0755,root,root) /usr/bin/openscp
# Symlinks
%attr(0755,root,root) /usr/sbin/sshd
%attr(0755,root,root) /usr/bin/ssh
%attr(0755,root,root) /usr/bin/ssh-agent
%attr(0755,root,root) /usr/bin/ssh-keygen
%attr(0755,root,root) /usr/bin/ssh-add
%attr(0755,root,root) /usr/bin/scp
%attr(0755,root,root) /usr/man/man8/opensshd.8
%attr(0755,root,root) /usr/man/man1/openssh.1
%attr(0755,root,root) /usr/man/man1/openssh-agent.1

4
ssh.h
Просмотреть файл

@ -13,7 +13,7 @@ Generic header file for ssh.
*/
/* RCSID("$Id: ssh.h,v 1.2 1999/10/28 03:25:17 damien Exp $"); */
/* RCSID("$Id: ssh.h,v 1.3 1999/10/28 04:34:49 damien Exp $"); */
#ifndef SSH_H
#define SSH_H
@ -89,7 +89,7 @@ only by root, whereas ssh_config should be world-readable. */
/* The process id of the daemon listening for connections is saved
here to make it easier to kill the correct daemon when necessary. */
#define SSH_DAEMON_PID_FILE PIDDIR "/sshd.pid"
#define SSH_DAEMON_PID_FILE PIDDIR "/opensshd.pid"
/* The directory in user\'s home directory in which the files reside.
The directory should be world-readable (though not all files are). */