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
15 Patch3: http://www.misiek.eu.org/ipv6/openssh-1.2pre17-ipv6-untested-12121999.patch.gz
17 Group: Applications/Networking
18 Group(pl): Aplikacje/Sieciowe
19 BuildRequires: openssl-devel
20 BuildRequires: zlib-devel
21 BuildRequires: pam-devel
22 BuildRequires: XFree86-devel
23 BuildRequires: gnome-libs-devel
24 BuildRoot: /tmp/%{name}-%{version}-root
27 %define _sysconfdir /etc/ssh
30 Ssh (Secure Shell) a program for logging into a remote machine and for
31 executing commands in a remote machine. It is intended to replace
32 rlogin and rsh, and provide secure encrypted communications between
33 two untrusted hosts over an insecure network. X11 connections and
34 arbitrary TCP/IP ports can also be forwarded over the secure channel.
36 OpenSSH is OpenBSD's rework of the last free version of SSH, bringing it
37 up to date in terms of security and features, as well as removing all
38 patented algorithms to seperate libraries (OpenSSL).
40 This package includes the core files necessary for both the OpenSSH
41 client and server. To make this package useful, you should also
42 install openssh-clients, openssh-server, or both.
45 Summary: OpenSSH Secure Shell protocol clients
47 Group: Applications/Networking
48 Group(pl): Aplikacje/Sieciowe
49 Obsoletes: ssh-clients
50 Requires: %{name} = %{version}
53 Ssh (Secure Shell) a program for logging into a remote machine and for
54 executing commands in a remote machine. It is intended to replace
55 rlogin and rsh, and provide secure encrypted communications between
56 two untrusted hosts over an insecure network. X11 connections and
57 arbitrary TCP/IP ports can also be forwarded over the secure channel.
59 OpenSSH is OpenBSD's rework of the last free version of SSH, bringing it
60 up to date in terms of security and features, as well as removing all
61 patented algorithms to seperate libraries (OpenSSL).
63 This package includes the clients necessary to make encrypted connections
67 Summary: OpenSSH Secure Shell protocol server (sshd)
68 Requires: openssh chkconfig >= 0.9
69 Group: Networking/Daemons
70 Group(pl): Sieciowe/Serwery
73 Prereq: %{name} = %{version}
76 Ssh (Secure Shell) a program for logging into a remote machine and for
77 executing commands in a remote machine. It is intended to replace
78 rlogin and rsh, and provide secure encrypted communications between
79 two untrusted hosts over an insecure network. X11 connections and
80 arbitrary TCP/IP ports can also be forwarded over the secure channel.
82 OpenSSH is OpenBSD's rework of the last free version of SSH, bringing it
83 up to date in terms of security and features, as well as removing all
84 patented algorithms to seperate libraries (OpenSSL).
86 This package contains the secure shell daemon. The sshd is the server
87 part of the secure shell protocol and allows ssh clients to connect to
91 Summary: OpenSSH GNOME passphrase dialog
92 Group: Applications/Networking
93 Group(pl): Aplikacje/Sieciowe
94 Requires: %{name} = %{version}
96 Obsoletes: ssh-askpass
99 Ssh (Secure Shell) a program for logging into a remote machine and for
100 executing commands in a remote machine. It is intended to replace
101 rlogin and rsh, and provide secure encrypted communications between
102 two untrusted hosts over an insecure network. X11 connections and
103 arbitrary TCP/IP ports can also be forwarded over the secure channel.
105 OpenSSH is OpenBSD's rework of the last free version of SSH, bringing it
106 up to date in terms of security and features, as well as removing all
107 patented algorithms to seperate libraries (OpenSSL).
109 This package contains the GNOME passphrase dialog.
122 --with-gnome-askpass \
123 --with-tcp-wrappers \
124 --with-md5-passwords \
128 # --without-kerberos4 \
132 echo '#define LOGIN_PROGRAM "/bin/login"' >>config.h
137 rm -rf $RPM_BUILD_ROOT
139 install -d $RPM_BUILD_ROOT{%{_sysconfdir},/etc/{pam.d,rc.d/init.d,sysconfig}}
142 DESTDIR="$RPM_BUILD_ROOT"
144 install %{SOURCE4} $RPM_BUILD_ROOT/etc/pam.d/sshd
145 install %{SOURCE6} $RPM_BUILD_ROOT/etc/pam.d/passwdssh
146 install %{SOURCE5} $RPM_BUILD_ROOT/etc/sysconfig/sshd
147 install %{SOURCE3} $RPM_BUILD_ROOT/etc/rc.d/init.d/sshd
148 install %{SOURCE2} $RPM_BUILD_ROOT%{_sysconfdir}/ssh_config
149 install %{SOURCE1} $RPM_BUILD_ROOT%{_sysconfdir}/sshd_config
151 gzip -9fn ChangeLog OVERVIEW COPYING.Ylonen README README.Ylonen UPGRADING \
152 $RPM_BUILD_ROOT/%{_mandir}/man*/*
155 rm -rf $RPM_BUILD_ROOT
158 /sbin/chkconfig --add sshd
159 if [ ! -f /etc/ssh/ssh_host_key -o ! -s /etc/ssh/ssh_host_key ]; then
160 /usr/bin/ssh-keygen -b 1024 -f /etc/ssh/ssh_host_key -N '' >&2
162 if test -r /var/run/sshd.pid
164 /etc/rc.d/init.d/sshd restart >&2
166 if ! grep ssh /etc/security/passwd.conf >/dev/null 2>&1 ; then
167 echo "ssh" >> /etc/security/passwd.conf
173 /etc/rc.d/init.d/sshd stop >&2
174 /sbin/chkconfig --del sshd
178 %defattr(644,root,root,755)
179 %doc {ChangeLog,OVERVIEW,COPYING.Ylonen,README,README.Ylonen,UPGRADING}.gz
180 %attr(755,root,root) %{_bindir}/ssh-keygen
181 %{_mandir}/man1/ssh-keygen.1*
185 %defattr(644,root,root,755)
187 #%attr(4755,root,root) %{_bindir}/ssh
188 %attr(0755,root,root) %{_bindir}/ssh
189 %attr(0755,root,root) %{_bindir}/ssh-agent
190 %attr(0755,root,root) %{_bindir}/ssh-add
191 #%attr(0755,root,root) %{_bindir}/slogin
192 %attr(755,root,root) %{_bindir}/scp
193 %{_mandir}/man1/scp.1*
194 %{_mandir}/man1/ssh.1*
195 %{_mandir}/man1/ssh-agent.1*
196 %{_mandir}/man1/ssh-add.1*
197 #%{_mandir}/man1/slogin.1
198 %config(noreplace) %verify(not md5 size mtime) %{_sysconfdir}/ssh_config
201 %defattr(644,root,root,755)
202 %attr(755,root,root) %{_sbindir}/sshd
203 %{_mandir}/man8/sshd.8*
204 %attr(640,root,root) %config(noreplace) %verify(not md5 size mtime) %{_sysconfdir}/sshd_config
205 %attr(640,root,root) %config(noreplace) %verify(not md5 size mtime) /etc/pam.d/sshd
206 %attr(754,root,root) /etc/rc.d/init.d/sshd
207 %attr(640,root,root) %config(noreplace) %verify(not md5 size mtime) /etc/sysconfig/sshd
210 %defattr(644,root,root,755)
211 %dir %{_libexecdir}/ssh
212 %attr(755,root,root) %{_libexecdir}/ssh/ssh-askpass