2 %define oversion 2.1.0p3
4 # Version of ssh-askpass
7 Summary: OpenSSH free Secure Shell (SSH) implementation
11 Packager: Damien Miller <djm@ibs.com.au>
12 URL: http://www.openssh.com/
13 Source0: http://violet.ibs.com.au/openssh/files/openssh-%{oversion}.tar.gz
14 Source1: http://www.ntrnet.net/~jmknoble/software/x11-ssh-askpass/x11-ssh-askpass-%{aversion}.tar.gz
16 Group: Applications/Internet
17 BuildRoot: /tmp/openssh-%{version}-buildroot
19 PreReq: openssl >= 0.9.5a
20 Requires: openssl >= 0.9.5a
22 BuildPreReq: openssl-devel
23 BuildPreReq: tcp_wrappers
24 BuildPreReq: gnome-libs-devel
27 Summary: OpenSSH Secure Shell protocol clients
29 Group: System Environment/Daemons
30 Obsoletes: ssh-clients
33 Summary: OpenSSH Secure Shell protocol server (sshd)
34 Group: System Environment/Daemons
36 PreReq: openssh chkconfig >= 0.9
39 Summary: OpenSSH X11 passphrase dialog
40 Group: Applications/Internet
44 %package askpass-gnome
45 Summary: OpenSSH GNOME passphrase dialog
46 Group: Applications/Internet
51 Ssh (Secure Shell) a program for logging into a remote machine and for
52 executing commands in a remote machine. It is intended to replace
53 rlogin and rsh, and provide secure encrypted communications between
54 two untrusted hosts over an insecure network. X11 connections and
55 arbitrary TCP/IP ports can also be forwarded over the secure channel.
57 OpenSSH is OpenBSD's rework of the last free version of SSH, bringing it
58 up to date in terms of security and features, as well as removing all
59 patented algorithms to seperate libraries (OpenSSL).
61 This package includes the core files necessary for both the OpenSSH
62 client and server. To make this package useful, you should also
63 install openssh-clients, openssh-server, or both.
66 Ssh (Secure Shell) a program for logging into a remote machine and for
67 executing commands in a remote machine. It is intended to replace
68 rlogin and rsh, and provide secure encrypted communications between
69 two untrusted hosts over an insecure network. X11 connections and
70 arbitrary TCP/IP ports can also be forwarded over the secure channel.
72 OpenSSH is OpenBSD's rework of the last free version of SSH, bringing it
73 up to date in terms of security and features, as well as removing all
74 patented algorithms to seperate libraries (OpenSSL).
76 This package includes the clients necessary to make encrypted connections
80 Ssh (Secure Shell) a program for logging into a remote machine and for
81 executing commands in a remote machine. It is intended to replace
82 rlogin and rsh, and provide secure encrypted communications between
83 two untrusted hosts over an insecure network. X11 connections and
84 arbitrary TCP/IP ports can also be forwarded over the secure channel.
86 OpenSSH is OpenBSD's rework of the last free version of SSH, bringing it
87 up to date in terms of security and features, as well as removing all
88 patented algorithms to seperate libraries (OpenSSL).
90 This package contains the secure shell daemon. The sshd is the server
91 part of the secure shell protocol and allows ssh clients to connect to
95 Ssh (Secure Shell) a program for logging into a remote machine and for
96 executing commands in a remote machine. It is intended to replace
97 rlogin and rsh, and provide secure encrypted communications between
98 two untrusted hosts over an insecure network. X11 connections and
99 arbitrary TCP/IP ports can also be forwarded over the secure channel.
101 OpenSSH is OpenBSD's rework of the last free version of SSH, bringing it
102 up to date in terms of security and features, as well as removing all
103 patented algorithms to seperate libraries (OpenSSL).
105 This package contains Jim Knoble's <jmknoble@pobox.com> X11 passphrase
108 %description askpass-gnome
109 Ssh (Secure Shell) a program for logging into a remote machine and for
110 executing commands in a remote machine. It is intended to replace
111 rlogin and rsh, and provide secure encrypted communications between
112 two untrusted hosts over an insecure network. X11 connections and
113 arbitrary TCP/IP ports can also be forwarded over the secure channel.
115 OpenSSH is OpenBSD's rework of the last free version of SSH, bringing it
116 up to date in terms of security and features, as well as removing all
117 patented algorithms to seperate libraries (OpenSSL).
119 This package contains the GNOME passphrase dialog.
122 * Wed Mar 15 2000 Damien Miller <djm@ibs.com.au>
123 - Updated for new location
124 - Updated for new gnome-ssh-askpass build
125 * Sun Dec 26 1999 Damien Miller <djm@mindrot.org>
126 - Added Jim Knoble's <jmknoble@pobox.com> askpass
127 * Mon Nov 15 1999 Damien Miller <djm@mindrot.org>
128 - Split subpackages further based on patch from jim knoble <jmknoble@pobox.com>
129 * Sat Nov 13 1999 Damien Miller <djm@mindrot.org>
130 - Added 'Obsoletes' directives
131 * Tue Nov 09 1999 Damien Miller <djm@ibs.com.au>
134 * Mon Nov 08 1999 Damien Miller <djm@ibs.com.au>
135 - Added links for slogin
136 - Fixed perms on manpages
137 * Sat Oct 30 1999 Damien Miller <djm@ibs.com.au>
138 - Renamed init script
139 * Fri Oct 29 1999 Damien Miller <djm@ibs.com.au>
140 - Back to old binary names
141 * Thu Oct 28 1999 Damien Miller <djm@ibs.com.au>
144 * Wed Oct 27 1999 Damien Miller <djm@ibs.com.au>
145 - Initial RPMification, based on Jan "Yenya" Kasprzak's <kas@fi.muni.cz> spec.
153 CFLAGS="$RPM_OPT_FLAGS" \
154 ./configure --prefix=/usr --sysconfdir=/etc/ssh \
155 --with-tcp-wrappers --with-ipv4-default \
156 --with-rsh=/usr/bin/rsh
160 cd x11-ssh-askpass-%{aversion}
166 gcc -O -g `gnome-config --cflags gnome gnomeui` \
167 gnome-ssh-askpass.c -o gnome-ssh-askpass \
168 `gnome-config --libs gnome gnomeui`
172 rm -rf $RPM_BUILD_ROOT
173 make install DESTDIR=$RPM_BUILD_ROOT/
175 install -d $RPM_BUILD_ROOT/etc/pam.d/
176 install -d $RPM_BUILD_ROOT/etc/rc.d/init.d
177 install -d $RPM_BUILD_ROOT/usr/libexec/ssh
178 install -m644 contrib/redhat/sshd.pam $RPM_BUILD_ROOT/etc/pam.d/sshd
179 install -m755 contrib/redhat/sshd.init $RPM_BUILD_ROOT/etc/rc.d/init.d/sshd
181 install -s x11-ssh-askpass-%{aversion}/x11-ssh-askpass $RPM_BUILD_ROOT/usr/libexec/ssh/x11-ssh-askpass
182 ln -s /usr/libexec/ssh/x11-ssh-askpass $RPM_BUILD_ROOT/usr/libexec/ssh/ssh-askpass
184 install -s contrib/gnome-ssh-askpass $RPM_BUILD_ROOT/usr/libexec/ssh/gnome-ssh-askpass
187 rm -rf $RPM_BUILD_ROOT
190 /sbin/chkconfig --add sshd
191 if [ ! -f /etc/ssh/ssh_host_key -o ! -s /etc/ssh/ssh_host_key ]; then
192 /usr/bin/ssh-keygen -b 1024 -f /etc/ssh/ssh_host_key -N '' >&2
194 if [ ! -f /etc/ssh/ssh_host_dsa_key -o ! -s /etc/ssh/ssh_host_dsa_key ]; then
195 /usr/bin/ssh-keygen -d -f /etc/ssh/ssh_host_dsa_key -N '' >&2
197 if test -r /var/run/sshd.pid
199 /etc/rc.d/init.d/sshd restart >&2
205 /etc/rc.d/init.d/sshd stop >&2
206 /sbin/chkconfig --del sshd
210 %defattr(-,root,root)
211 %doc ChangeLog OVERVIEW COPYING.Ylonen README* INSTALL
212 %doc CREDITS UPGRADING
213 %attr(0755,root,root) /usr/bin/ssh-keygen
214 %attr(0755,root,root) /usr/bin/scp
215 %attr(0644,root,root) /usr/man/man1/ssh-keygen.1
216 %attr(0644,root,root) /usr/man/man1/scp.1
217 %attr(0755,root,root) %dir /etc/ssh
218 %attr(0755,root,root) %dir /usr/libexec/ssh
221 %defattr(-,root,root)
222 %attr(4755,root,root) /usr/bin/ssh
223 %attr(0755,root,root) /usr/bin/ssh-agent
224 %attr(0755,root,root) /usr/bin/ssh-add
225 %attr(0644,root,root) /usr/man/man1/ssh.1
226 %attr(0644,root,root) /usr/man/man1/ssh-agent.1
227 %attr(0644,root,root) /usr/man/man1/ssh-add.1
228 %attr(0644,root,root) %config(noreplace) /etc/ssh/ssh_config
229 %attr(-,root,root) /usr/bin/slogin
230 %attr(-,root,root) /usr/man/man1/slogin.1
233 %defattr(-,root,root)
234 %attr(0755,root,root) /usr/sbin/sshd
235 %attr(0644,root,root) /usr/man/man8/sshd.8
236 %attr(0600,root,root) %config(noreplace) /etc/ssh/sshd_config
237 %attr(0600,root,root) %config(noreplace) /etc/pam.d/sshd
238 %attr(0755,root,root) %config /etc/rc.d/init.d/sshd
241 %defattr(-,root,root)
242 %doc x11-ssh-askpass-%{aversion}/README
243 %doc x11-ssh-askpass-%{aversion}/ChangeLog
244 %doc x11-ssh-askpass-%{aversion}/SshAskpass*.ad
245 %attr(0755,root,root) /usr/libexec/ssh/ssh-askpass
246 %attr(0755,root,root) /usr/libexec/ssh/x11-ssh-askpass
249 %defattr(-,root,root)
250 %attr(0755,root,root) /usr/libexec/ssh/gnome-ssh-askpass