1 Summary: OpenSSH, a free Secure Shell (SSH) implementation
5 Source0: openssh-%{version}.tar.gz
7 Group: Applications/Internet
8 BuildRoot: /tmp/openssh-%{version}-buildroot
11 # (Build[ing] Prereq[uisites] only work for RPM 2.95 and newer.)
12 # building prerequisites -- stuff for
13 # OpenSSL (openssl-devel),
14 # TCP Wrappers (nkitb),
15 # and Gnome (glibdev, gtkdev, and gnlibsd)
17 BuildPrereq: openssl-devel
24 Summary: OpenSSH Secure Shell protocol clients
26 Group: Applications/Internet
27 Obsoletes: ssh-clients
30 Summary: OpenSSH Secure Shell protocol server (sshd)
32 Group: System Environment/Daemons
36 Summary: OpenSSH GNOME passphrase dialog
37 Group: Applications/Internet
40 Obsoletes: ssh-askpass
43 Ssh (Secure Shell) a program for logging into a remote machine and for
44 executing commands in a remote machine. It is intended to replace
45 rlogin and rsh, and provide secure encrypted communications between
46 two untrusted hosts over an insecure network. X11 connections and
47 arbitrary TCP/IP ports can also be forwarded over the secure channel.
49 OpenSSH is OpenBSD's rework of the last free version of SSH, bringing it
50 up to date in terms of security and features, as well as removing all
51 patented algorithms to seperate libraries (OpenSSL).
53 This package includes the core files necessary for both the OpenSSH
54 client and server. To make this package useful, you should also
55 install openssh-clients, openssh-server, or both.
58 Ssh (Secure Shell) a program for logging into a remote machine and for
59 executing commands in a remote machine. It is intended to replace
60 rlogin and rsh, and provide secure encrypted communications between
61 two untrusted hosts over an insecure network. X11 connections and
62 arbitrary TCP/IP ports can also be forwarded over the secure channel.
64 OpenSSH is OpenBSD's rework of the last free version of SSH, bringing it
65 up to date in terms of security and features, as well as removing all
66 patented algorithms to seperate libraries (OpenSSL).
68 This package includes the clients necessary to make encrypted connections
72 Ssh (Secure Shell) a program for logging into a remote machine and for
73 executing commands in a remote machine. It is intended to replace
74 rlogin and rsh, and provide secure encrypted communications between
75 two untrusted hosts over an insecure network. X11 connections and
76 arbitrary TCP/IP ports can also be forwarded over the secure channel.
78 OpenSSH is OpenBSD's rework of the last free version of SSH, bringing it
79 up to date in terms of security and features, as well as removing all
80 patented algorithms to seperate libraries (OpenSSL).
82 This package contains the secure shell daemon. The sshd is the server
83 part of the secure shell protocol and allows ssh clients to connect to
87 Ssh (Secure Shell) a program for logging into a remote machine and for
88 executing commands in a remote machine. It is intended to replace
89 rlogin and rsh, and provide secure encrypted communications between
90 two untrusted hosts over an insecure network. X11 connections and
91 arbitrary TCP/IP ports can also be forwarded over the secure channel.
93 OpenSSH is OpenBSD's rework of the last free version of SSH, bringing it
94 up to date in terms of security and features, as well as removing all
95 patented algorithms to seperate libraries (OpenSSL).
97 This package contains the GNOME passphrase dialog.
100 * Wed Nov 24 1999 Chris Saia <csaia@wtower.com>
101 - Removed patches that included /etc/pam.d/sshd, /sbin/init.d/rc.sshd, and
102 /var/adm/fillup-templates/rc.config.sshd, since Damien merged these into
104 - Changed permissions on ssh_config in the install procedure to 644 from 600
105 even though it was correct in the %files section and thus right in the RPMs
106 - Postinstall script for the server now only prints "Generating SSH host
107 key..." if we need to actually do this, in order to eliminate a confusing
108 message if an SSH host key is already in place
109 - Marked all manual pages as %doc(umentation)
110 * Mon Nov 22 1999 Chris Saia <csaia@wtower.com>
111 - Added flag to configure daemon with TCP Wrappers support
112 - Added building prerequisites (works in RPM 3.0 and newer)
113 * Thu Nov 18 1999 Chris Saia <csaia@wtower.com>
114 - Made this package correct for SuSE.
115 - Changed instances of pam_pwdb.so to pam_unix.so, since it works more properly
116 with SuSE, and lib_pwdb.so isn't installed by default.
117 * Mon Nov 15 1999 Damien Miller <djm@mindrot.org>
118 - Split subpackages further based on patch from jim knoble <jmknoble@pobox.com>
119 * Sat Nov 13 1999 Damien Miller <djm@mindrot.org>
120 - Added 'Obsoletes' directives
121 * Tue Nov 09 1999 Damien Miller <djm@ibs.com.au>
124 * Mon Nov 08 1999 Damien Miller <djm@ibs.com.au>
125 - Added links for slogin
126 - Fixed perms on manpages
127 * Sat Oct 30 1999 Damien Miller <djm@ibs.com.au>
128 - Renamed init script
129 * Fri Oct 29 1999 Damien Miller <djm@ibs.com.au>
130 - Back to old binary names
131 * Thu Oct 28 1999 Damien Miller <djm@ibs.com.au>
134 * Wed Oct 27 1999 Damien Miller <djm@ibs.com.au>
135 - Initial RPMification, based on Jan "Yenya" Kasprzak's <kas@fi.muni.cz> spec.
142 CFLAGS="$RPM_OPT_FLAGS" \
143 ./configure --prefix=/usr --sysconfdir=/etc/ssh --with-gnome-askpass \
148 rm -rf $RPM_BUILD_ROOT
149 make install prefix="$RPM_BUILD_ROOT/usr"
150 install -d $RPM_BUILD_ROOT/etc/ssh/
151 install -d $RPM_BUILD_ROOT/etc/pam.d/
152 install -d $RPM_BUILD_ROOT/sbin/init.d/
153 install -d $RPM_BUILD_ROOT/var/adm/fillup-templates
154 install -m644 sshd.pam.generic $RPM_BUILD_ROOT/etc/pam.d/sshd
155 install -m744 packages/suse/rc.sshd $RPM_BUILD_ROOT/sbin/init.d/sshd
156 install -m644 ssh_config $RPM_BUILD_ROOT/etc/ssh/ssh_config
157 install -m600 sshd_config $RPM_BUILD_ROOT/etc/ssh/sshd_config
158 ln -s ../../sbin/init.d/sshd $RPM_BUILD_ROOT/usr/sbin/rcsshd
159 install -m744 packages/suse/rc.config.sshd \
160 $RPM_BUILD_ROOT/var/adm/fillup-templates
163 rm -rf $RPM_BUILD_ROOT
166 if [ "$1" = 1 ]; then
167 echo "Creating SSH stop/start scripts in the rc directories..."
168 ln -s ../sshd /sbin/init.d/rc2.d/K20sshd
169 ln -s ../sshd /sbin/init.d/rc2.d/S20sshd
170 ln -s ../sshd /sbin/init.d/rc3.d/K20sshd
171 ln -s ../sshd /sbin/init.d/rc3.d/S20sshd
173 echo "Updating /etc/rc.config..."
174 if [ -x /bin/fillup ] ; then
175 /bin/fillup -q -d = etc/rc.config var/adm/fillup-templates/rc.config.sshd
177 echo "ERROR: fillup not found. This should NOT happen in SuSE Linux."
178 echo "Update /etc/rc.config by hand from the following template file:"
179 echo " /var/adm/fillup-templates/rc.config.sshd"
181 if [ ! -f /etc/ssh/ssh_host_key -o ! -s /etc/ssh/ssh_host_key ]; then
182 echo "Generating SSH host key..."
183 /usr/bin/ssh-keygen -b 1024 -f /etc/ssh/ssh_host_key -N '' >&2
185 if test -r /var/run/sshd.pid
187 echo "Restarting the running SSH daemon..."
188 /usr/sbin/rcsshd restart >&2
194 echo "Stopping the SSH daemon..."
195 /usr/sbin/rcsshd stop >&2
196 echo "Removing SSH stop/start scripts from the rc directories..."
197 rm /sbin/init.d/rc2.d/K20sshd
198 rm /sbin/init.d/rc2.d/S20sshd
199 rm /sbin/init.d/rc3.d/K20sshd
200 rm /sbin/init.d/rc3.d/S20sshd
204 %defattr(-,root,root)
205 %doc COPYING.Ylonen ChangeLog OVERVIEW README README.Ylonen
206 %doc RFC.nroff TODO UPGRADING
207 %attr(0755,root,root) /usr/bin/ssh-keygen
208 %attr(0755,root,root) /usr/bin/scp
209 %attr(0644,root,root) %doc /usr/man/man1/ssh-keygen.1
210 %attr(0644,root,root) %doc /usr/man/man1/scp.1
211 %attr(0755,root,root) %dir /etc/ssh
214 %defattr(-,root,root)
215 %attr(4755,root,root) /usr/bin/ssh
216 %attr(0755,root,root) /usr/bin/ssh-agent
217 %attr(0755,root,root) /usr/bin/ssh-add
218 %attr(0644,root,root) %doc /usr/man/man1/ssh.1
219 %attr(0644,root,root) %doc /usr/man/man1/ssh-agent.1
220 %attr(0644,root,root) %doc /usr/man/man1/ssh-add.1
221 %attr(0644,root,root) %config /etc/ssh/ssh_config
222 %attr(-,root,root) /usr/bin/slogin
223 %attr(-,root,root) %doc /usr/man/man1/slogin.1
226 %defattr(-,root,root)
227 %attr(0755,root,root) /usr/sbin/sshd
228 %attr(0644,root,root) %doc /usr/man/man8/sshd.8
229 %attr(0600,root,root) %config /etc/ssh/sshd_config
230 %attr(0644,root,root) %config /etc/pam.d/sshd
231 %attr(0755,root,root) %config /sbin/init.d/sshd
232 %attr(-,root,root) /usr/sbin/rcsshd
233 %attr(0644,root,root) /var/adm/fillup-templates/rc.config.sshd
236 %defattr(-,root,root)
237 %attr(0755,root,root) %dir /usr/libexec/ssh
238 %attr(0755,root,root) /usr/libexec/ssh/ssh-askpass