2 %define oversion 1.2.1pre24
4 # Version of ssh-askpass
7 Summary: OpenSSH free Secure Shell (SSH) implementation
11 Packager: Damien Miller <djm@ibs.com.au>
12 Source0: http://violet.ibs.com.au/openssh/files/openssh-%{oversion}.tar.gz
13 Source1: http://www.pobox.com/~jmknoble/jmk/x11-ssh-askpass-%{aversion}.tar.gz
15 Group: Applications/Internet
16 BuildRoot: /tmp/openssh-%{version}-buildroot
20 BuildPreReq: openssl-devel
21 BuildPreReq: tcp_wrappers
22 BuildPreReq: gnome-libs-devel
25 Summary: OpenSSH Secure Shell protocol clients
27 Group: System Environment/Daemons
28 Obsoletes: ssh-clients
31 Summary: OpenSSH Secure Shell protocol server (sshd)
32 Group: System Environment/Daemons
34 PreReq: openssh chkconfig >= 0.9
37 Summary: OpenSSH X11 passphrase dialog
38 Group: Applications/Internet
42 %package askpass-gnome
43 Summary: OpenSSH GNOME passphrase dialog
44 Group: Applications/Internet
49 Ssh (Secure Shell) a program for logging into a remote machine and for
50 executing commands in a remote machine. It is intended to replace
51 rlogin and rsh, and provide secure encrypted communications between
52 two untrusted hosts over an insecure network. X11 connections and
53 arbitrary TCP/IP ports can also be forwarded over the secure channel.
55 OpenSSH is OpenBSD's rework of the last free version of SSH, bringing it
56 up to date in terms of security and features, as well as removing all
57 patented algorithms to seperate libraries (OpenSSL).
59 This package includes the core files necessary for both the OpenSSH
60 client and server. To make this package useful, you should also
61 install openssh-clients, openssh-server, or both.
64 Ssh (Secure Shell) a program for logging into a remote machine and for
65 executing commands in a remote machine. It is intended to replace
66 rlogin and rsh, and provide secure encrypted communications between
67 two untrusted hosts over an insecure network. X11 connections and
68 arbitrary TCP/IP ports can also be forwarded over the secure channel.
70 OpenSSH is OpenBSD's rework of the last free version of SSH, bringing it
71 up to date in terms of security and features, as well as removing all
72 patented algorithms to seperate libraries (OpenSSL).
74 This package includes the clients necessary to make encrypted connections
78 Ssh (Secure Shell) a program for logging into a remote machine and for
79 executing commands in a remote machine. It is intended to replace
80 rlogin and rsh, and provide secure encrypted communications between
81 two untrusted hosts over an insecure network. X11 connections and
82 arbitrary TCP/IP ports can also be forwarded over the secure channel.
84 OpenSSH is OpenBSD's rework of the last free version of SSH, bringing it
85 up to date in terms of security and features, as well as removing all
86 patented algorithms to seperate libraries (OpenSSL).
88 This package contains the secure shell daemon. The sshd is the server
89 part of the secure shell protocol and allows ssh clients to connect to
93 Ssh (Secure Shell) a program for logging into a remote machine and for
94 executing commands in a remote machine. It is intended to replace
95 rlogin and rsh, and provide secure encrypted communications between
96 two untrusted hosts over an insecure network. X11 connections and
97 arbitrary TCP/IP ports can also be forwarded over the secure channel.
99 OpenSSH is OpenBSD's rework of the last free version of SSH, bringing it
100 up to date in terms of security and features, as well as removing all
101 patented algorithms to seperate libraries (OpenSSL).
103 This package contains Jim Knoble's <jmknoble@pobox.com> X11 passphrase
106 %description askpass-gnome
107 Ssh (Secure Shell) a program for logging into a remote machine and for
108 executing commands in a remote machine. It is intended to replace
109 rlogin and rsh, and provide secure encrypted communications between
110 two untrusted hosts over an insecure network. X11 connections and
111 arbitrary TCP/IP ports can also be forwarded over the secure channel.
113 OpenSSH is OpenBSD's rework of the last free version of SSH, bringing it
114 up to date in terms of security and features, as well as removing all
115 patented algorithms to seperate libraries (OpenSSL).
117 This package contains the GNOME passphrase dialog.
120 * Sun Dec 26 1999 Damien Miller <djm@mindrot.org>
121 - Added Jim Knoble's <jmknoble@pobox.com> askpass
122 * Mon Nov 15 1999 Damien Miller <djm@mindrot.org>
123 - Split subpackages further based on patch from jim knoble <jmknoble@pobox.com>
124 * Sat Nov 13 1999 Damien Miller <djm@mindrot.org>
125 - Added 'Obsoletes' directives
126 * Tue Nov 09 1999 Damien Miller <djm@ibs.com.au>
129 * Mon Nov 08 1999 Damien Miller <djm@ibs.com.au>
130 - Added links for slogin
131 - Fixed perms on manpages
132 * Sat Oct 30 1999 Damien Miller <djm@ibs.com.au>
133 - Renamed init script
134 * Fri Oct 29 1999 Damien Miller <djm@ibs.com.au>
135 - Back to old binary names
136 * Thu Oct 28 1999 Damien Miller <djm@ibs.com.au>
139 * Wed Oct 27 1999 Damien Miller <djm@ibs.com.au>
140 - Initial RPMification, based on Jan "Yenya" Kasprzak's <kas@fi.muni.cz> spec.
148 CFLAGS="$RPM_OPT_FLAGS" \
149 ./configure --prefix=/usr --sysconfdir=/etc/ssh \
150 --with-gnome-askpass --with-tcp-wrappers
154 cd x11-ssh-askpass-%{aversion}
160 rm -rf $RPM_BUILD_ROOT
161 make install prefix="$RPM_BUILD_ROOT/usr"
163 install -d $RPM_BUILD_ROOT/etc/ssh
164 install -d $RPM_BUILD_ROOT/etc/pam.d/
165 install -d $RPM_BUILD_ROOT/etc/rc.d/init.d
166 install -m644 packages/redhat/sshd.pam $RPM_BUILD_ROOT/etc/pam.d/sshd
167 install -m755 packages/redhat/sshd.init $RPM_BUILD_ROOT/etc/rc.d/init.d/sshd
168 install -m600 ssh_config $RPM_BUILD_ROOT/etc/ssh/ssh_config
169 install -m600 sshd_config $RPM_BUILD_ROOT/etc/ssh/sshd_config
171 install -s x11-ssh-askpass-%{aversion}/ssh-askpass $RPM_BUILD_ROOT/usr/libexec/ssh/x11-ssh-askpass
172 ln -s /usr/libexec/ssh/x11-ssh-askpass $RPM_BUILD_ROOT/usr/libexec/ssh/ssh-askpass
175 rm -rf $RPM_BUILD_ROOT
178 /sbin/chkconfig --add sshd
179 if [ ! -f /etc/ssh/ssh_host_key -o ! -s /etc/ssh/ssh_host_key ]; then
180 /usr/bin/ssh-keygen -b 1024 -f /etc/ssh/ssh_host_key -N '' >&2
182 if test -r /var/run/sshd.pid
184 /etc/rc.d/init.d/sshd restart >&2
190 /etc/rc.d/init.d/sshd stop >&2
191 /sbin/chkconfig --del sshd
195 %defattr(-,root,root)
196 %doc ChangeLog OVERVIEW COPYING.Ylonen README README.Ylonen INSTALL
197 %doc CREDITS UPGRADING
198 %attr(0755,root,root) /usr/bin/ssh-keygen
199 %attr(0755,root,root) /usr/bin/scp
200 %attr(0644,root,root) /usr/man/man1/ssh-keygen.1
201 %attr(0644,root,root) /usr/man/man1/scp.1
202 %attr(0755,root,root) %dir /etc/ssh
203 %attr(0755,root,root) %dir /usr/libexec/ssh
206 %defattr(-,root,root)
207 %attr(4755,root,root) /usr/bin/ssh
208 %attr(0755,root,root) /usr/bin/ssh-agent
209 %attr(0755,root,root) /usr/bin/ssh-add
210 %attr(0644,root,root) /usr/man/man1/ssh.1
211 %attr(0644,root,root) /usr/man/man1/ssh-agent.1
212 %attr(0644,root,root) /usr/man/man1/ssh-add.1
213 %attr(0644,root,root) %config(noreplace) /etc/ssh/ssh_config
214 %attr(-,root,root) /usr/bin/slogin
215 %attr(-,root,root) /usr/man/man1/slogin.1
218 %defattr(-,root,root)
219 %attr(0755,root,root) /usr/sbin/sshd
220 %attr(0644,root,root) /usr/man/man8/sshd.8
221 %attr(0600,root,root) %config(noreplace) /etc/ssh/sshd_config
222 %attr(0600,root,root) %config(noreplace) /etc/pam.d/sshd
223 %attr(0755,root,root) %config /etc/rc.d/init.d/sshd
226 %defattr(-,root,root)
227 %doc x11-ssh-askpass-%{aversion}/README
228 %doc x11-ssh-askpass-%{aversion}/ChangeLog
229 %doc x11-ssh-askpass-%{aversion}/SshAskpass*.ad
230 %attr(0755,root,root) /usr/libexec/ssh/ssh-askpass
231 %attr(0755,root,root) /usr/libexec/ssh/x11-ssh-askpass
234 %defattr(-,root,root)
235 %attr(0755,root,root) /usr/libexec/ssh/gnome-ssh-askpass