diff options
Diffstat (limited to 'openssh.spec')
-rw-r--r-- | openssh.spec | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/openssh.spec b/openssh.spec index 817c0534e..240a007bd 100644 --- a/openssh.spec +++ b/openssh.spec | |||
@@ -64,6 +64,16 @@ install -m644 openssh-agent.1 $RPM_BUILD_ROOT/usr/man/man1 | |||
64 | install -m644 openssh-add.1 $RPM_BUILD_ROOT/usr/man/man1 | 64 | install -m644 openssh-add.1 $RPM_BUILD_ROOT/usr/man/man1 |
65 | install -m644 openssh-keygen.1 $RPM_BUILD_ROOT/usr/man/man1 | 65 | install -m644 openssh-keygen.1 $RPM_BUILD_ROOT/usr/man/man1 |
66 | 66 | ||
67 | # Install compatibility symlinks | ||
68 | cd $RPM_BUILD_ROOT/usr/sbin | ||
69 | ln -s opensshd sshd | ||
70 | cd $RPM_BUILD_ROOT/usr/bin | ||
71 | ln -s openssh ssh | ||
72 | ln -s openscp scp | ||
73 | ln -s openssh-agent ssh-agent | ||
74 | ln -s openssh-add ssh-add | ||
75 | ln -s openssh-keygen ssh-keygen | ||
76 | |||
67 | %clean | 77 | %clean |
68 | rm -rf $RPM_BUILD_ROOT | 78 | rm -rf $RPM_BUILD_ROOT |
69 | 79 | ||
@@ -95,6 +105,14 @@ fi | |||
95 | %attr(0755,root,root) /usr/bin/openssh-add | 105 | %attr(0755,root,root) /usr/bin/openssh-add |
96 | %attr(0755,root,root) /usr/bin/openscp | 106 | %attr(0755,root,root) /usr/bin/openscp |
97 | 107 | ||
108 | # Symlinks | ||
109 | %attr(0755,root,root) /usr/sbin/sshd | ||
110 | %attr(0755,root,root) /usr/bin/ssh | ||
111 | %attr(0755,root,root) /usr/bin/ssh-agent | ||
112 | %attr(0755,root,root) /usr/bin/ssh-keygen | ||
113 | %attr(0755,root,root) /usr/bin/ssh-add | ||
114 | %attr(0755,root,root) /usr/bin/scp | ||
115 | |||
98 | %attr(0755,root,root) /usr/man/man8/opensshd.8 | 116 | %attr(0755,root,root) /usr/man/man8/opensshd.8 |
99 | %attr(0755,root,root) /usr/man/man1/openssh.1 | 117 | %attr(0755,root,root) /usr/man/man1/openssh.1 |
100 | %attr(0755,root,root) /usr/man/man1/openssh-agent.1 | 118 | %attr(0755,root,root) /usr/man/man1/openssh-agent.1 |