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.ntrnet.net/~jmknoble/software/x11-ssh-askpass/x11-ssh-askpass-%{aversion}.tar.gz
15 Group: Applications/Internet
16 BuildRoot: /tmp/openssh-%{version}-buildroot
18 PreReq: openssl >= 0.9.5a
19 Requires: openssl >= 0.9.5a
21 BuildPreReq: openssl-devel
22 BuildPreReq: tcp_wrappers
23 BuildPreReq: gnome-libs-devel
26 Summary: OpenSSH Secure Shell protocol clients
28 Group: System Environment/Daemons
29 Obsoletes: ssh-clients
32 Summary: OpenSSH Secure Shell protocol server (sshd)
33 Group: System Environment/Daemons
35 PreReq: openssh chkconfig >= 0.9
38 Summary: OpenSSH X11 passphrase dialog
39 Group: Applications/Internet
43 %package askpass-gnome
44 Summary: OpenSSH GNOME passphrase dialog
45 Group: Applications/Internet
50 Ssh (Secure Shell) a program for logging into a remote machine and for
51 executing commands in a remote machine. It is intended to replace
52 rlogin and rsh, and provide secure encrypted communications between
53 two untrusted hosts over an insecure network. X11 connections and
54 arbitrary TCP/IP ports can also be forwarded over the secure channel.
56 OpenSSH is OpenBSD's rework of the last free version of SSH, bringing it
57 up to date in terms of security and features, as well as removing all
58 patented algorithms to seperate libraries (OpenSSL).
60 This package includes the core files necessary for both the OpenSSH
61 client and server. To make this package useful, you should also
62 install openssh-clients, openssh-server, or both.
65 Ssh (Secure Shell) a program for logging into a remote machine and for
66 executing commands in a remote machine. It is intended to replace
67 rlogin and rsh, and provide secure encrypted communications between
68 two untrusted hosts over an insecure network. X11 connections and
69 arbitrary TCP/IP ports can also be forwarded over the secure channel.
71 OpenSSH is OpenBSD's rework of the last free version of SSH, bringing it
72 up to date in terms of security and features, as well as removing all
73 patented algorithms to seperate libraries (OpenSSL).
75 This package includes the clients necessary to make encrypted connections
79 Ssh (Secure Shell) a program for logging into a remote machine and for
80 executing commands in a remote machine. It is intended to replace
81 rlogin and rsh, and provide secure encrypted communications between
82 two untrusted hosts over an insecure network. X11 connections and
83 arbitrary TCP/IP ports can also be forwarded over the secure channel.
85 OpenSSH is OpenBSD's rework of the last free version of SSH, bringing it
86 up to date in terms of security and features, as well as removing all
87 patented algorithms to seperate libraries (OpenSSL).
89 This package contains the secure shell daemon. The sshd is the server
90 part of the secure shell protocol and allows ssh clients to connect to
94 Ssh (Secure Shell) a program for logging into a remote machine and for
95 executing commands in a remote machine. It is intended to replace
96 rlogin and rsh, and provide secure encrypted communications between
97 two untrusted hosts over an insecure network. X11 connections and
98 arbitrary TCP/IP ports can also be forwarded over the secure channel.
100 OpenSSH is OpenBSD's rework of the last free version of SSH, bringing it
101 up to date in terms of security and features, as well as removing all
102 patented algorithms to seperate libraries (OpenSSL).
104 This package contains Jim Knoble's <jmknoble@pobox.com> X11 passphrase
107 %description askpass-gnome
108 Ssh (Secure Shell) a program for logging into a remote machine and for
109 executing commands in a remote machine. It is intended to replace
110 rlogin and rsh, and provide secure encrypted communications between
111 two untrusted hosts over an insecure network. X11 connections and
112 arbitrary TCP/IP ports can also be forwarded over the secure channel.
114 OpenSSH is OpenBSD's rework of the last free version of SSH, bringing it
115 up to date in terms of security and features, as well as removing all
116 patented algorithms to seperate libraries (OpenSSL).
118 This package contains the GNOME passphrase dialog.
121 * Wed Mar 15 2000 Damien Miller <djm@ibs.com.au>
122 - Updated for new location
123 - Updated for new gnome-ssh-askpass build
124 * Sun Dec 26 1999 Damien Miller <djm@mindrot.org>
125 - Added Jim Knoble's <jmknoble@pobox.com> askpass
126 * Mon Nov 15 1999 Damien Miller <djm@mindrot.org>
127 - Split subpackages further based on patch from jim knoble <jmknoble@pobox.com>
128 * Sat Nov 13 1999 Damien Miller <djm@mindrot.org>
129 - Added 'Obsoletes' directives
130 * Tue Nov 09 1999 Damien Miller <djm@ibs.com.au>
133 * Mon Nov 08 1999 Damien Miller <djm@ibs.com.au>
134 - Added links for slogin
135 - Fixed perms on manpages
136 * Sat Oct 30 1999 Damien Miller <djm@ibs.com.au>
137 - Renamed init script
138 * Fri Oct 29 1999 Damien Miller <djm@ibs.com.au>
139 - Back to old binary names
140 * Thu Oct 28 1999 Damien Miller <djm@ibs.com.au>
143 * Wed Oct 27 1999 Damien Miller <djm@ibs.com.au>
144 - Initial RPMification, based on Jan "Yenya" Kasprzak's <kas@fi.muni.cz> spec.
152 CFLAGS="$RPM_OPT_FLAGS" \
153 ./configure --prefix=/usr --sysconfdir=/etc/ssh \
154 --with-tcp-wrappers --with-ipv4-default
158 cd x11-ssh-askpass-%{aversion}
164 gcc -O -g `gnome-config --cflags gnome gnomeui` \
165 gnome-ssh-askpass.c -o gnome-ssh-askpass \
166 `gnome-config --libs gnome gnomeui`
170 rm -rf $RPM_BUILD_ROOT
171 make install DESTDIR=$RPM_BUILD_ROOT/
173 install -d $RPM_BUILD_ROOT/etc/pam.d/
174 install -d $RPM_BUILD_ROOT/etc/rc.d/init.d
175 install -d $RPM_BUILD_ROOT/usr/libexec/ssh
176 install -m644 contrib/redhat/sshd.pam $RPM_BUILD_ROOT/etc/pam.d/sshd
177 install -m755 contrib/redhat/sshd.init $RPM_BUILD_ROOT/etc/rc.d/init.d/sshd
179 install -s x11-ssh-askpass-%{aversion}/ssh-askpass $RPM_BUILD_ROOT/usr/libexec/ssh/x11-ssh-askpass
180 ln -s /usr/libexec/ssh/x11-ssh-askpass $RPM_BUILD_ROOT/usr/libexec/ssh/ssh-askpass
182 install -s contrib/gnome-ssh-askpass $RPM_BUILD_ROOT/usr/libexec/ssh/gnome-ssh-askpass
185 rm -rf $RPM_BUILD_ROOT
188 /sbin/chkconfig --add sshd
189 if [ ! -f /etc/ssh/ssh_host_key -o ! -s /etc/ssh/ssh_host_key ]; then
190 /usr/bin/ssh-keygen -b 1024 -f /etc/ssh/ssh_host_key -N '' >&2
192 if test -r /var/run/sshd.pid
194 /etc/rc.d/init.d/sshd restart >&2
200 /etc/rc.d/init.d/sshd stop >&2
201 /sbin/chkconfig --del sshd
205 %defattr(-,root,root)
206 %doc ChangeLog OVERVIEW COPYING.Ylonen README README.Ylonen INSTALL
207 %doc CREDITS UPGRADING
208 %attr(0755,root,root) /usr/bin/ssh-keygen
209 %attr(0755,root,root) /usr/bin/scp
210 %attr(0644,root,root) /usr/man/man1/ssh-keygen.1
211 %attr(0644,root,root) /usr/man/man1/scp.1
212 %attr(0755,root,root) %dir /etc/ssh
213 %attr(0755,root,root) %dir /usr/libexec/ssh
216 %defattr(-,root,root)
217 %attr(4755,root,root) /usr/bin/ssh
218 %attr(0755,root,root) /usr/bin/ssh-agent
219 %attr(0755,root,root) /usr/bin/ssh-add
220 %attr(0644,root,root) /usr/man/man1/ssh.1
221 %attr(0644,root,root) /usr/man/man1/ssh-agent.1
222 %attr(0644,root,root) /usr/man/man1/ssh-add.1
223 %attr(0644,root,root) %config(noreplace) /etc/ssh/ssh_config
224 %attr(-,root,root) /usr/bin/slogin
225 %attr(-,root,root) /usr/man/man1/slogin.1
228 %defattr(-,root,root)
229 %attr(0755,root,root) /usr/sbin/sshd
230 %attr(0644,root,root) /usr/man/man8/sshd.8
231 %attr(0600,root,root) %config(noreplace) /etc/ssh/sshd_config
232 %attr(0600,root,root) %config(noreplace) /etc/pam.d/sshd
233 %attr(0755,root,root) %config /etc/rc.d/init.d/sshd
236 %defattr(-,root,root)
237 %doc x11-ssh-askpass-%{aversion}/README
238 %doc x11-ssh-askpass-%{aversion}/ChangeLog
239 %doc x11-ssh-askpass-%{aversion}/SshAskpass*.ad
240 %attr(0755,root,root) /usr/libexec/ssh/ssh-askpass
241 %attr(0755,root,root) /usr/libexec/ssh/x11-ssh-askpass
244 %defattr(-,root,root)
245 %attr(0755,root,root) /usr/libexec/ssh/gnome-ssh-askpass