1 Summary: OpenSSH free Secure Shell (SSH) implementation
5 Source0: http://violet.ibs.com.au/openssh/files/%{name}-%{version}.tar.gz
10 Source5: openssh.sysconfig
12 Patch0: openssh-ssl.patch
13 Patch1: openssh-DESTDIR.patch
14 Patch2: openssh-PAM_NEW_AUTHTOK.patch
16 Group: Applications/Networking
17 Group(pl): Aplikacje/Sieciowe
18 BuildRequires: openssl-devel
19 BuildRequires: zlib-devel
20 BuildRequires: pam-devel
21 BuildRequires: XFree86-devel
22 BuildRequires: gnome-libs-devel
23 BuildRoot: /tmp/%{name}-%{version}-root
26 %define _sysconfdir /etc/ssh
29 Ssh (Secure Shell) a program for logging into a remote machine and for
30 executing commands in a remote machine. It is intended to replace
31 rlogin and rsh, and provide secure encrypted communications between
32 two untrusted hosts over an insecure network. X11 connections and
33 arbitrary TCP/IP ports can also be forwarded over the secure channel.
35 OpenSSH is OpenBSD's rework of the last free version of SSH, bringing it
36 up to date in terms of security and features, as well as removing all
37 patented algorithms to seperate libraries (OpenSSL).
39 This package includes the core files necessary for both the OpenSSH
40 client and server. To make this package useful, you should also
41 install openssh-clients, openssh-server, or both.
44 Summary: OpenSSH Secure Shell protocol clients
46 Group: Applications/Networking
47 Group(pl): Aplikacje/Sieciowe
48 Obsoletes: ssh-clients
49 Requires: %{name} = %{version}
52 Ssh (Secure Shell) a program for logging into a remote machine and for
53 executing commands in a remote machine. It is intended to replace
54 rlogin and rsh, and provide secure encrypted communications between
55 two untrusted hosts over an insecure network. X11 connections and
56 arbitrary TCP/IP ports can also be forwarded over the secure channel.
58 OpenSSH is OpenBSD's rework of the last free version of SSH, bringing it
59 up to date in terms of security and features, as well as removing all
60 patented algorithms to seperate libraries (OpenSSL).
62 This package includes the clients necessary to make encrypted connections
66 Summary: OpenSSH Secure Shell protocol server (sshd)
67 Requires: openssh chkconfig >= 0.9
68 Group: Networking/Daemons
69 Group(pl): Sieciowe/Serwery
72 Prereq: %{name} = %{version}
75 Ssh (Secure Shell) a program for logging into a remote machine and for
76 executing commands in a remote machine. It is intended to replace
77 rlogin and rsh, and provide secure encrypted communications between
78 two untrusted hosts over an insecure network. X11 connections and
79 arbitrary TCP/IP ports can also be forwarded over the secure channel.
81 OpenSSH is OpenBSD's rework of the last free version of SSH, bringing it
82 up to date in terms of security and features, as well as removing all
83 patented algorithms to seperate libraries (OpenSSL).
85 This package contains the secure shell daemon. The sshd is the server
86 part of the secure shell protocol and allows ssh clients to connect to
90 Summary: OpenSSH GNOME passphrase dialog
91 Group: Applications/Networking
92 Group(pl): Aplikacje/Sieciowe
93 Requires: %{name} = %{version}
95 Obsoletes: ssh-askpass
98 Ssh (Secure Shell) a program for logging into a remote machine and for
99 executing commands in a remote machine. It is intended to replace
100 rlogin and rsh, and provide secure encrypted communications between
101 two untrusted hosts over an insecure network. X11 connections and
102 arbitrary TCP/IP ports can also be forwarded over the secure channel.
104 OpenSSH is OpenBSD's rework of the last free version of SSH, bringing it
105 up to date in terms of security and features, as well as removing all
106 patented algorithms to seperate libraries (OpenSSL).
108 This package contains the GNOME passphrase dialog.
124 rm -rf $RPM_BUILD_ROOT
126 install -d $RPM_BUILD_ROOT{%{_sysconfdir},/etc/{pam.d,rc.d/init.d,sysconfig}}
129 DESTDIR="$RPM_BUILD_ROOT"
131 install %{SOURCE4} $RPM_BUILD_ROOT/etc/pam.d/sshd
132 install %{SOURCE6} $RPM_BUILD_ROOT/etc/pam.d/passwdssh
133 install %{SOURCE5} $RPM_BUILD_ROOT/etc/sysconfig/sshd
134 install %{SOURCE3} $RPM_BUILD_ROOT/etc/rc.d/init.d/sshd
135 install %{SOURCE2} $RPM_BUILD_ROOT%{_sysconfdir}/ssh_config
136 install %{SOURCE1} $RPM_BUILD_ROOT%{_sysconfdir}/sshd_config
138 gzip -9fn ChangeLog OVERVIEW COPYING.Ylonen README README.Ylonen UPGRADING \
139 $RPM_BUILD_ROOT/%{_mandir}/man*/*
142 rm -rf $RPM_BUILD_ROOT
145 /sbin/chkconfig --add sshd
146 if [ ! -f /etc/ssh/ssh_host_key -o ! -s /etc/ssh/ssh_host_key ]; then
147 /usr/bin/ssh-keygen -b 1024 -f /etc/ssh/ssh_host_key -N '' >&2
149 if test -r /var/run/sshd.pid
151 /etc/rc.d/init.d/sshd restart >&2
153 if ! grep ssh /etc/security/passwd.conf >/dev/null 2>&1 ; then
154 echo "ssh" >> /etc/security/passwd.conf
160 /etc/rc.d/init.d/sshd stop >&2
161 /sbin/chkconfig --del sshd
165 %defattr(644,root,root,755)
166 %doc {ChangeLog,OVERVIEW,COPYING.Ylonen,README,README.Ylonen,UPGRADING}.gz
167 %attr(755,root,root) %{_bindir}/ssh-keygen
168 %{_mandir}/man1/ssh-keygen.1*
172 %defattr(644,root,root,755)
174 #%attr(4755,root,root) %{_bindir}/ssh
175 %attr(0755,root,root) %{_bindir}/ssh
176 %attr(0755,root,root) %{_bindir}/ssh-agent
177 %attr(0755,root,root) %{_bindir}/ssh-add
178 #%attr(0755,root,root) %{_bindir}/slogin
179 %attr(755,root,root) %{_bindir}/scp
180 %{_mandir}/man1/scp.1*
181 %{_mandir}/man1/ssh.1*
182 %{_mandir}/man1/ssh-agent.1*
183 %{_mandir}/man1/ssh-add.1*
184 #%{_mandir}/man1/slogin.1
185 %config(noreplace) %verify(not md5 size mtime) %{_sysconfdir}/ssh_config
188 %defattr(644,root,root,755)
189 %attr(755,root,root) %{_sbindir}/sshd
190 %{_mandir}/man8/sshd.8*
191 %attr(640,root,root) %config(noreplace) %verify(not md5 size mtime) %{_sysconfdir}/sshd_config
192 %attr(640,root,root) %config(noreplace) %verify(not md5 size mtime) /etc/pam.d/sshd
193 %attr(754,root,root) /etc/rc.d/init.d/sshd
194 %attr(640,root,root) %config(noreplace) %verify(not md5 size mtime) /etc/sysconfig/sshd
197 %defattr(644,root,root,755)
198 %dir %{_libexecdir}/ssh
199 %attr(755,root,root) %{_libexecdir}/ssh/ssh-askpass