зеркало из https://github.com/Azure/sonic-openssh.git
- Merged several minor fixed:
- ssh-agent commandline parsing - RPM spec file now installs ssh setuid root - Makefile creates libdir
This commit is contained in:
Родитель
a5cec58934
Коммит
b77870fa73
|
@ -1,3 +1,9 @@
|
||||||
|
19991110
|
||||||
|
- Merged several minor fixed:
|
||||||
|
- ssh-agent commandline parsing
|
||||||
|
- RPM spec file now installs ssh setuid root
|
||||||
|
- Makefile creates libdir
|
||||||
|
|
||||||
19991109
|
19991109
|
||||||
- Autodetection of SSL/Crypto library location via autoconf
|
- Autodetection of SSL/Crypto library location via autoconf
|
||||||
- Fixed location of ssh-askpass to follow autoconf
|
- Fixed location of ssh-askpass to follow autoconf
|
||||||
|
|
|
@ -64,6 +64,7 @@ install: all
|
||||||
install -d $(mandir)
|
install -d $(mandir)
|
||||||
install -d $(mandir)/man1
|
install -d $(mandir)/man1
|
||||||
install -d $(mandir)/man8
|
install -d $(mandir)/man8
|
||||||
|
install -d $(libdir)
|
||||||
install -d $(libdir)/ssh
|
install -d $(libdir)/ssh
|
||||||
install -s -c ssh $(bindir)/ssh
|
install -s -c ssh $(bindir)/ssh
|
||||||
ln -sf ssh $(bindir)/slogin
|
ln -sf ssh $(bindir)/slogin
|
||||||
|
|
|
@ -124,18 +124,18 @@ fi
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%doc COPYING.Ylonen ChangeLog ChangeLog.Ylonen OVERVIEW
|
%doc COPYING.Ylonen ChangeLog ChangeLog.Ylonen OVERVIEW
|
||||||
%doc README README.Ylonen
|
%doc README README.Ylonen
|
||||||
%attr(0755,root,root) /usr/bin/ssh
|
%attr(4755,root,root) /usr/bin/ssh
|
||||||
%attr(0755,root,root) /usr/bin/ssh-agent
|
%attr(0755,root,root) /usr/bin/ssh-agent
|
||||||
%attr(0755,root,root) /usr/bin/ssh-keygen
|
%attr(0755,root,root) /usr/bin/ssh-keygen
|
||||||
%attr(0755,root,root) /usr/bin/ssh-add
|
%attr(0755,root,root) /usr/bin/ssh-add
|
||||||
%attr(0755,root,root) /usr/bin/scp
|
%attr(0755,root,root) /usr/bin/scp
|
||||||
%attr(0755,root,root) /usr/bin/slogin
|
%attr(-,root,root) /usr/bin/slogin
|
||||||
%attr(0644,root,root) /usr/man/man1/ssh.1
|
%attr(0644,root,root) /usr/man/man1/ssh.1
|
||||||
%attr(0644,root,root) /usr/man/man1/ssh-agent.1
|
%attr(0644,root,root) /usr/man/man1/ssh-agent.1
|
||||||
%attr(0644,root,root) /usr/man/man1/ssh-keygen.1
|
%attr(0644,root,root) /usr/man/man1/ssh-keygen.1
|
||||||
%attr(0644,root,root) /usr/man/man1/ssh-add.1
|
%attr(0644,root,root) /usr/man/man1/ssh-add.1
|
||||||
%attr(0644,root,root) /usr/man/man1/scp.1
|
%attr(0644,root,root) /usr/man/man1/scp.1
|
||||||
%attr(0644,root,root) /usr/man/man1/slogin.1
|
%attr(-,root,root) /usr/man/man1/slogin.1
|
||||||
%attr(0644,root,root) %config /etc/ssh/ssh_config
|
%attr(0644,root,root) %config /etc/ssh/ssh_config
|
||||||
|
|
||||||
%files server
|
%files server
|
||||||
|
|
|
@ -531,7 +531,11 @@ main(int ac, char **av)
|
||||||
exit(1);
|
exit(1);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#if defined(__GNU_LIBRARY__)
|
||||||
|
while ((ch = getopt(ac, av, "+cks")) != -1)
|
||||||
|
#else
|
||||||
while ((ch = getopt(ac, av, "cks")) != -1)
|
while ((ch = getopt(ac, av, "cks")) != -1)
|
||||||
|
#endif /* defined(__GNU_LIBRARY__) */
|
||||||
{
|
{
|
||||||
switch (ch)
|
switch (ch)
|
||||||
{
|
{
|
||||||
|
|
Загрузка…
Ссылка в новой задаче