Damien Miller | 3688440 | 1999-12-26 12:26:21 +1100 | [diff] [blame] | 1 | # Version of OpenSSH |
Damien Miller | 676092f | 2000-09-05 14:16:18 +1100 | [diff] [blame] | 2 | %define oversion 2.2.0p2 |
Damien Miller | 3688440 | 1999-12-26 12:26:21 +1100 | [diff] [blame] | 3 | |
| 4 | # Version of ssh-askpass |
Damien Miller | 96f0c72 | 2000-09-26 12:09:48 +1100 | [diff] [blame] | 5 | %define aversion 1.0.2 |
Damien Miller | 3688440 | 1999-12-26 12:26:21 +1100 | [diff] [blame] | 6 | |
Damien Miller | 5a119bc | 2000-07-12 14:34:11 +1000 | [diff] [blame] | 7 | # Do we want to disable building of x11-askpass? (1=yes 0=no) |
| 8 | %define no_x11_askpass 0 |
| 9 | |
| 10 | # Do we want to disable building of gnome-askpass? (1=yes 0=no) |
| 11 | %define no_gnome_askpass 0 |
| 12 | |
Damien Miller | d4a8b7e | 1999-10-27 13:42:43 +1000 | [diff] [blame] | 13 | Summary: OpenSSH free Secure Shell (SSH) implementation |
| 14 | Name: openssh |
Damien Miller | 3688440 | 1999-12-26 12:26:21 +1100 | [diff] [blame] | 15 | Version: %{oversion} |
Damien Miller | d4a8b7e | 1999-10-27 13:42:43 +1000 | [diff] [blame] | 16 | Release: 1 |
Damien Miller | ab8d192 | 2000-08-08 16:53:28 +1000 | [diff] [blame] | 17 | Packager: Damien Miller <djm@mindrot.org> |
Damien Miller | 11402af | 2000-05-07 18:05:59 +1000 | [diff] [blame] | 18 | URL: http://www.openssh.com/ |
Damien Miller | ab8d192 | 2000-08-08 16:53:28 +1000 | [diff] [blame] | 19 | Source0: ftp://ftp.openbsd.org/pub/OpenBSD/OpenSSH/portable/openssh-%{oversion}.tar.gz |
Damien Miller | 50f14f8 | 2000-09-01 14:14:37 +1100 | [diff] [blame] | 20 | Source1: http://www.ntrnet.net/~jmknoble/software/x11-ssh-askpass/x11-ssh-askpass-%{aversion}.tar.gz |
Damien Miller | d4a8b7e | 1999-10-27 13:42:43 +1000 | [diff] [blame] | 21 | Copyright: BSD |
| 22 | Group: Applications/Internet |
| 23 | BuildRoot: /tmp/openssh-%{version}-buildroot |
Damien Miller | c6d5ce8 | 1999-11-15 16:01:07 +1100 | [diff] [blame] | 24 | Obsoletes: ssh |
Damien Miller | 1383bd8 | 2000-04-06 12:32:37 +1000 | [diff] [blame] | 25 | PreReq: openssl >= 0.9.5a |
| 26 | Requires: openssl >= 0.9.5a |
Damien Miller | c0d7390 | 1999-12-27 09:23:58 +1100 | [diff] [blame] | 27 | BuildPreReq: perl |
Damien Miller | 3688440 | 1999-12-26 12:26:21 +1100 | [diff] [blame] | 28 | BuildPreReq: openssl-devel |
Damien Miller | aca55fe | 1999-12-07 16:31:18 +1100 | [diff] [blame] | 29 | BuildPreReq: tcp_wrappers |
Damien Miller | ab8d192 | 2000-08-08 16:53:28 +1000 | [diff] [blame] | 30 | %if ! %{no_gnome_askpass} |
Damien Miller | 3688440 | 1999-12-26 12:26:21 +1100 | [diff] [blame] | 31 | BuildPreReq: gnome-libs-devel |
Damien Miller | 5a119bc | 2000-07-12 14:34:11 +1000 | [diff] [blame] | 32 | %endif |
Damien Miller | 3668206 | 1999-11-15 17:19:24 +1100 | [diff] [blame] | 33 | |
| 34 | %package clients |
| 35 | Summary: OpenSSH Secure Shell protocol clients |
| 36 | Requires: openssh |
Damien Miller | ab8d192 | 2000-08-08 16:53:28 +1000 | [diff] [blame] | 37 | Group: Applications/Internet |
Damien Miller | c6d5ce8 | 1999-11-15 16:01:07 +1100 | [diff] [blame] | 38 | Obsoletes: ssh-clients |
Damien Miller | d4a8b7e | 1999-10-27 13:42:43 +1000 | [diff] [blame] | 39 | |
Damien Miller | 3f51bf5 | 1999-11-09 14:46:02 +1100 | [diff] [blame] | 40 | %package server |
Damien Miller | 3668206 | 1999-11-15 17:19:24 +1100 | [diff] [blame] | 41 | Summary: OpenSSH Secure Shell protocol server (sshd) |
Damien Miller | 3f51bf5 | 1999-11-09 14:46:02 +1100 | [diff] [blame] | 42 | Group: System Environment/Daemons |
Damien Miller | c6d5ce8 | 1999-11-15 16:01:07 +1100 | [diff] [blame] | 43 | Obsoletes: ssh-server |
Damien Miller | aae1093 | 1999-12-26 19:38:17 +1100 | [diff] [blame] | 44 | PreReq: openssh chkconfig >= 0.9 |
Damien Miller | b27ef9e | 2000-09-30 14:29:44 +1100 | [diff] [blame^] | 45 | Requires: initscripts >= 4.16 |
Damien Miller | 3f51bf5 | 1999-11-09 14:46:02 +1100 | [diff] [blame] | 46 | |
| 47 | %package askpass |
Damien Miller | 3688440 | 1999-12-26 12:26:21 +1100 | [diff] [blame] | 48 | Summary: OpenSSH X11 passphrase dialog |
| 49 | Group: Applications/Internet |
| 50 | Requires: openssh |
| 51 | Obsoletes: ssh-extras |
Damien Miller | 3688440 | 1999-12-26 12:26:21 +1100 | [diff] [blame] | 52 | |
Damien Miller | 3688440 | 1999-12-26 12:26:21 +1100 | [diff] [blame] | 53 | %package askpass-gnome |
Damien Miller | 3668206 | 1999-11-15 17:19:24 +1100 | [diff] [blame] | 54 | Summary: OpenSSH GNOME passphrase dialog |
Damien Miller | 3f51bf5 | 1999-11-09 14:46:02 +1100 | [diff] [blame] | 55 | Group: Applications/Internet |
| 56 | Requires: openssh |
Damien Miller | 3668206 | 1999-11-15 17:19:24 +1100 | [diff] [blame] | 57 | Obsoletes: ssh-extras |
Damien Miller | 3f51bf5 | 1999-11-09 14:46:02 +1100 | [diff] [blame] | 58 | |
Damien Miller | d4a8b7e | 1999-10-27 13:42:43 +1000 | [diff] [blame] | 59 | %description |
| 60 | Ssh (Secure Shell) a program for logging into a remote machine and for |
| 61 | executing commands in a remote machine. It is intended to replace |
| 62 | rlogin and rsh, and provide secure encrypted communications between |
| 63 | two untrusted hosts over an insecure network. X11 connections and |
| 64 | arbitrary TCP/IP ports can also be forwarded over the secure channel. |
| 65 | |
| 66 | OpenSSH is OpenBSD's rework of the last free version of SSH, bringing it |
| 67 | up to date in terms of security and features, as well as removing all |
| 68 | patented algorithms to seperate libraries (OpenSSL). |
| 69 | |
Damien Miller | 3668206 | 1999-11-15 17:19:24 +1100 | [diff] [blame] | 70 | This package includes the core files necessary for both the OpenSSH |
| 71 | client and server. To make this package useful, you should also |
| 72 | install openssh-clients, openssh-server, or both. |
| 73 | |
| 74 | %description clients |
| 75 | Ssh (Secure Shell) a program for logging into a remote machine and for |
| 76 | executing commands in a remote machine. It is intended to replace |
| 77 | rlogin and rsh, and provide secure encrypted communications between |
| 78 | two untrusted hosts over an insecure network. X11 connections and |
| 79 | arbitrary TCP/IP ports can also be forwarded over the secure channel. |
| 80 | |
| 81 | OpenSSH is OpenBSD's rework of the last free version of SSH, bringing it |
| 82 | up to date in terms of security and features, as well as removing all |
| 83 | patented algorithms to seperate libraries (OpenSSL). |
| 84 | |
Damien Miller | 3f51bf5 | 1999-11-09 14:46:02 +1100 | [diff] [blame] | 85 | This package includes the clients necessary to make encrypted connections |
| 86 | to SSH servers. |
| 87 | |
| 88 | %description server |
| 89 | Ssh (Secure Shell) a program for logging into a remote machine and for |
| 90 | executing commands in a remote machine. It is intended to replace |
| 91 | rlogin and rsh, and provide secure encrypted communications between |
| 92 | two untrusted hosts over an insecure network. X11 connections and |
| 93 | arbitrary TCP/IP ports can also be forwarded over the secure channel. |
| 94 | |
| 95 | OpenSSH is OpenBSD's rework of the last free version of SSH, bringing it |
| 96 | up to date in terms of security and features, as well as removing all |
| 97 | patented algorithms to seperate libraries (OpenSSL). |
| 98 | |
Damien Miller | 3668206 | 1999-11-15 17:19:24 +1100 | [diff] [blame] | 99 | This package contains the secure shell daemon. The sshd is the server |
| 100 | part of the secure shell protocol and allows ssh clients to connect to |
| 101 | your host. |
Damien Miller | 3f51bf5 | 1999-11-09 14:46:02 +1100 | [diff] [blame] | 102 | |
Damien Miller | 3688440 | 1999-12-26 12:26:21 +1100 | [diff] [blame] | 103 | %description askpass |
| 104 | Ssh (Secure Shell) a program for logging into a remote machine and for |
| 105 | executing commands in a remote machine. It is intended to replace |
| 106 | rlogin and rsh, and provide secure encrypted communications between |
| 107 | two untrusted hosts over an insecure network. X11 connections and |
| 108 | arbitrary TCP/IP ports can also be forwarded over the secure channel. |
| 109 | |
| 110 | OpenSSH is OpenBSD's rework of the last free version of SSH, bringing it |
| 111 | up to date in terms of security and features, as well as removing all |
| 112 | patented algorithms to seperate libraries (OpenSSL). |
| 113 | |
| 114 | This package contains Jim Knoble's <jmknoble@pobox.com> X11 passphrase |
| 115 | dialog. |
Damien Miller | 3688440 | 1999-12-26 12:26:21 +1100 | [diff] [blame] | 116 | |
Damien Miller | f6adfa9 | 1999-12-26 13:08:15 +1100 | [diff] [blame] | 117 | %description askpass-gnome |
Damien Miller | 3f51bf5 | 1999-11-09 14:46:02 +1100 | [diff] [blame] | 118 | Ssh (Secure Shell) a program for logging into a remote machine and for |
| 119 | executing commands in a remote machine. It is intended to replace |
| 120 | rlogin and rsh, and provide secure encrypted communications between |
| 121 | two untrusted hosts over an insecure network. X11 connections and |
| 122 | arbitrary TCP/IP ports can also be forwarded over the secure channel. |
| 123 | |
| 124 | OpenSSH is OpenBSD's rework of the last free version of SSH, bringing it |
| 125 | up to date in terms of security and features, as well as removing all |
| 126 | patented algorithms to seperate libraries (OpenSSL). |
| 127 | |
| 128 | This package contains the GNOME passphrase dialog. |
| 129 | |
Damien Miller | d4a8b7e | 1999-10-27 13:42:43 +1000 | [diff] [blame] | 130 | %changelog |
Damien Miller | 676092f | 2000-09-05 14:16:18 +1100 | [diff] [blame] | 131 | * Tue Sep 05 2000 Damien Miller <djm@mindrot.org> |
| 132 | - Use RPM configure macro |
Damien Miller | ab8d192 | 2000-08-08 16:53:28 +1000 | [diff] [blame] | 133 | * Tue Aug 08 2000 Damien Miller <djm@mindrot.org> |
| 134 | - Some surgery to sshd.init (generate keys at runtime) |
| 135 | - Cleanup of groups and removal of keygen calls |
Damien Miller | 5a119bc | 2000-07-12 14:34:11 +1000 | [diff] [blame] | 136 | * Wed Jul 12 2000 Damien Miller <djm@mindrot.org> |
| 137 | - Make building of X11-askpass and gnome-askpass optional |
Damien Miller | e69f18c | 2000-06-12 16:38:54 +1000 | [diff] [blame] | 138 | * Mon Jun 12 2000 Damien Miller <djm@mindrot.org> |
| 139 | - Glob manpages to catch compressed files |
Damien Miller | ddaffa4 | 2000-03-15 12:31:18 +1100 | [diff] [blame] | 140 | * Wed Mar 15 2000 Damien Miller <djm@ibs.com.au> |
| 141 | - Updated for new location |
| 142 | - Updated for new gnome-ssh-askpass build |
Damien Miller | 3688440 | 1999-12-26 12:26:21 +1100 | [diff] [blame] | 143 | * Sun Dec 26 1999 Damien Miller <djm@mindrot.org> |
| 144 | - Added Jim Knoble's <jmknoble@pobox.com> askpass |
Damien Miller | 3668206 | 1999-11-15 17:19:24 +1100 | [diff] [blame] | 145 | * Mon Nov 15 1999 Damien Miller <djm@mindrot.org> |
| 146 | - Split subpackages further based on patch from jim knoble <jmknoble@pobox.com> |
Damien Miller | 38c6088 | 1999-11-13 13:09:31 +1100 | [diff] [blame] | 147 | * Sat Nov 13 1999 Damien Miller <djm@mindrot.org> |
Damien Miller | c6d5ce8 | 1999-11-15 16:01:07 +1100 | [diff] [blame] | 148 | - Added 'Obsoletes' directives |
Damien Miller | 742d2cb | 1999-11-09 14:28:26 +1100 | [diff] [blame] | 149 | * Tue Nov 09 1999 Damien Miller <djm@ibs.com.au> |
| 150 | - Use make install |
Damien Miller | 3f51bf5 | 1999-11-09 14:46:02 +1100 | [diff] [blame] | 151 | - Subpackages |
Damien Miller | 356a0b0 | 1999-11-08 15:30:59 +1100 | [diff] [blame] | 152 | * Mon Nov 08 1999 Damien Miller <djm@ibs.com.au> |
| 153 | - Added links for slogin |
| 154 | - Fixed perms on manpages |
Damien Miller | 2bbb9d0 | 1999-10-30 09:46:20 +1000 | [diff] [blame] | 155 | * Sat Oct 30 1999 Damien Miller <djm@ibs.com.au> |
| 156 | - Renamed init script |
Damien Miller | 070f7a1 | 1999-10-29 10:29:29 +1000 | [diff] [blame] | 157 | * Fri Oct 29 1999 Damien Miller <djm@ibs.com.au> |
| 158 | - Back to old binary names |
Damien Miller | 0623076 | 1999-10-28 14:03:14 +1000 | [diff] [blame] | 159 | * Thu Oct 28 1999 Damien Miller <djm@ibs.com.au> |
| 160 | - Use autoconf |
| 161 | - New binary names |
Damien Miller | d4a8b7e | 1999-10-27 13:42:43 +1000 | [diff] [blame] | 162 | * Wed Oct 27 1999 Damien Miller <djm@ibs.com.au> |
| 163 | - Initial RPMification, based on Jan "Yenya" Kasprzak's <kas@fi.muni.cz> spec. |
| 164 | |
| 165 | %prep |
| 166 | |
Damien Miller | 676092f | 2000-09-05 14:16:18 +1100 | [diff] [blame] | 167 | %setup -q -a 1 |
Damien Miller | d4a8b7e | 1999-10-27 13:42:43 +1000 | [diff] [blame] | 168 | |
| 169 | %build |
| 170 | |
Damien Miller | 606f880 | 2000-09-16 15:39:56 +1100 | [diff] [blame] | 171 | %configure --sysconfdir=/etc/ssh --libexecdir=/usr/libexec/openssh \ |
| 172 | --with-tcp-wrappers --with-rsh=/usr/bin/rsh |
Damien Miller | d4a8b7e | 1999-10-27 13:42:43 +1000 | [diff] [blame] | 173 | |
Damien Miller | cdb8b1d | 1999-11-09 14:31:49 +1100 | [diff] [blame] | 174 | make |
| 175 | |
Damien Miller | 5a119bc | 2000-07-12 14:34:11 +1000 | [diff] [blame] | 176 | %if ! %{no_x11_askpass} |
Damien Miller | 3688440 | 1999-12-26 12:26:21 +1100 | [diff] [blame] | 177 | cd x11-ssh-askpass-%{aversion} |
| 178 | xmkmf -a |
| 179 | make |
| 180 | cd .. |
Damien Miller | 5a119bc | 2000-07-12 14:34:11 +1000 | [diff] [blame] | 181 | %endif |
Damien Miller | 3688440 | 1999-12-26 12:26:21 +1100 | [diff] [blame] | 182 | |
Damien Miller | 5a119bc | 2000-07-12 14:34:11 +1000 | [diff] [blame] | 183 | %if ! %{no_gnome_askpass} |
Damien Miller | ddaffa4 | 2000-03-15 12:31:18 +1100 | [diff] [blame] | 184 | cd contrib |
Damien Miller | bb68c16 | 2000-03-15 12:38:13 +1100 | [diff] [blame] | 185 | gcc -O -g `gnome-config --cflags gnome gnomeui` \ |
Damien Miller | ddaffa4 | 2000-03-15 12:31:18 +1100 | [diff] [blame] | 186 | gnome-ssh-askpass.c -o gnome-ssh-askpass \ |
| 187 | `gnome-config --libs gnome gnomeui` |
| 188 | cd .. |
Damien Miller | 5a119bc | 2000-07-12 14:34:11 +1000 | [diff] [blame] | 189 | %endif |
Damien Miller | ddaffa4 | 2000-03-15 12:31:18 +1100 | [diff] [blame] | 190 | |
Damien Miller | d4a8b7e | 1999-10-27 13:42:43 +1000 | [diff] [blame] | 191 | %install |
| 192 | rm -rf $RPM_BUILD_ROOT |
Damien Miller | 7d7c60d | 2000-01-26 14:37:48 +1100 | [diff] [blame] | 193 | make install DESTDIR=$RPM_BUILD_ROOT/ |
Damien Miller | d4a8b7e | 1999-10-27 13:42:43 +1000 | [diff] [blame] | 194 | |
Damien Miller | 2b72a4a | 1999-11-09 14:34:31 +1100 | [diff] [blame] | 195 | install -d $RPM_BUILD_ROOT/etc/pam.d/ |
| 196 | install -d $RPM_BUILD_ROOT/etc/rc.d/init.d |
Damien Miller | 606f880 | 2000-09-16 15:39:56 +1100 | [diff] [blame] | 197 | install -d $RPM_BUILD_ROOT/usr/libexec/openssh |
Damien Miller | ddaffa4 | 2000-03-15 12:31:18 +1100 | [diff] [blame] | 198 | install -m644 contrib/redhat/sshd.pam $RPM_BUILD_ROOT/etc/pam.d/sshd |
| 199 | install -m755 contrib/redhat/sshd.init $RPM_BUILD_ROOT/etc/rc.d/init.d/sshd |
Damien Miller | d4a8b7e | 1999-10-27 13:42:43 +1000 | [diff] [blame] | 200 | |
Damien Miller | 5a119bc | 2000-07-12 14:34:11 +1000 | [diff] [blame] | 201 | %if ! %{no_x11_askpass} |
Damien Miller | 606f880 | 2000-09-16 15:39:56 +1100 | [diff] [blame] | 202 | install -s x11-ssh-askpass-%{aversion}/x11-ssh-askpass $RPM_BUILD_ROOT/usr/libexec/openssh/x11-ssh-askpass |
| 203 | ln -s /usr/libexec/openssh/x11-ssh-askpass $RPM_BUILD_ROOT/usr/libexec/openssh/ssh-askpass |
Damien Miller | 5a119bc | 2000-07-12 14:34:11 +1000 | [diff] [blame] | 204 | %endif |
Damien Miller | 3688440 | 1999-12-26 12:26:21 +1100 | [diff] [blame] | 205 | |
Damien Miller | 5a119bc | 2000-07-12 14:34:11 +1000 | [diff] [blame] | 206 | %if ! %{no_gnome_askpass} |
Damien Miller | 606f880 | 2000-09-16 15:39:56 +1100 | [diff] [blame] | 207 | install -s contrib/gnome-ssh-askpass $RPM_BUILD_ROOT/usr/libexec/openssh/gnome-ssh-askpass |
Damien Miller | 5a119bc | 2000-07-12 14:34:11 +1000 | [diff] [blame] | 208 | %endif |
Damien Miller | ddaffa4 | 2000-03-15 12:31:18 +1100 | [diff] [blame] | 209 | |
Damien Miller | d4a8b7e | 1999-10-27 13:42:43 +1000 | [diff] [blame] | 210 | %clean |
| 211 | rm -rf $RPM_BUILD_ROOT |
| 212 | |
Damien Miller | 3f51bf5 | 1999-11-09 14:46:02 +1100 | [diff] [blame] | 213 | %post server |
Damien Miller | a37010e | 1999-10-29 09:18:29 +1000 | [diff] [blame] | 214 | /sbin/chkconfig --add sshd |
Damien Miller | ab8d192 | 2000-08-08 16:53:28 +1000 | [diff] [blame] | 215 | if test -r /var/run/sshd.pid ; then |
Damien Miller | a37010e | 1999-10-29 09:18:29 +1000 | [diff] [blame] | 216 | /etc/rc.d/init.d/sshd restart >&2 |
Damien Miller | d4a8b7e | 1999-10-27 13:42:43 +1000 | [diff] [blame] | 217 | fi |
| 218 | |
Damien Miller | 3f51bf5 | 1999-11-09 14:46:02 +1100 | [diff] [blame] | 219 | %preun server |
Damien Miller | ab8d192 | 2000-08-08 16:53:28 +1000 | [diff] [blame] | 220 | if [ "$1" = 0 ] ; then |
Damien Miller | a37010e | 1999-10-29 09:18:29 +1000 | [diff] [blame] | 221 | /etc/rc.d/init.d/sshd stop >&2 |
| 222 | /sbin/chkconfig --del sshd |
Damien Miller | d4a8b7e | 1999-10-27 13:42:43 +1000 | [diff] [blame] | 223 | fi |
| 224 | |
| 225 | %files |
| 226 | %defattr(-,root,root) |
Damien Miller | 7179516 | 2000-04-16 12:57:38 +1000 | [diff] [blame] | 227 | %doc ChangeLog OVERVIEW COPYING.Ylonen README* INSTALL |
Damien Miller | c0d7390 | 1999-12-27 09:23:58 +1100 | [diff] [blame] | 228 | %doc CREDITS UPGRADING |
Damien Miller | 3668206 | 1999-11-15 17:19:24 +1100 | [diff] [blame] | 229 | %attr(0755,root,root) /usr/bin/ssh-keygen |
| 230 | %attr(0755,root,root) /usr/bin/scp |
Damien Miller | 9600233 | 2000-09-23 14:00:09 +1100 | [diff] [blame] | 231 | %attr(0644,root,root) %{_mandir}/man1/ssh-keygen.1* |
| 232 | %attr(0644,root,root) %{_mandir}/man1/scp.1* |
Damien Miller | 3668206 | 1999-11-15 17:19:24 +1100 | [diff] [blame] | 233 | %attr(0755,root,root) %dir /etc/ssh |
Damien Miller | 606f880 | 2000-09-16 15:39:56 +1100 | [diff] [blame] | 234 | %attr(0755,root,root) %dir /usr/libexec/openssh |
Damien Miller | 3668206 | 1999-11-15 17:19:24 +1100 | [diff] [blame] | 235 | |
| 236 | %files clients |
| 237 | %defattr(-,root,root) |
Damien Miller | b77870f | 1999-11-10 12:48:08 +1100 | [diff] [blame] | 238 | %attr(4755,root,root) /usr/bin/ssh |
Damien Miller | 29d6852 | 1999-10-28 14:34:49 +1000 | [diff] [blame] | 239 | %attr(0755,root,root) /usr/bin/ssh-agent |
Damien Miller | 29d6852 | 1999-10-28 14:34:49 +1000 | [diff] [blame] | 240 | %attr(0755,root,root) /usr/bin/ssh-add |
Damien Miller | 9600233 | 2000-09-23 14:00:09 +1100 | [diff] [blame] | 241 | %attr(0644,root,root) %{_mandir}/man1/ssh.1* |
| 242 | %attr(0644,root,root) %{_mandir}/man1/ssh-agent.1* |
| 243 | %attr(0644,root,root) %{_mandir}/man1/ssh-add.1* |
Damien Miller | 294df78 | 1999-11-23 10:11:29 +1100 | [diff] [blame] | 244 | %attr(0644,root,root) %config(noreplace) /etc/ssh/ssh_config |
Damien Miller | 3668206 | 1999-11-15 17:19:24 +1100 | [diff] [blame] | 245 | %attr(-,root,root) /usr/bin/slogin |
Damien Miller | 9600233 | 2000-09-23 14:00:09 +1100 | [diff] [blame] | 246 | %attr(-,root,root) %{_mandir}/man1/slogin.1* |
Damien Miller | d4a8b7e | 1999-10-27 13:42:43 +1000 | [diff] [blame] | 247 | |
Damien Miller | 3f51bf5 | 1999-11-09 14:46:02 +1100 | [diff] [blame] | 248 | %files server |
| 249 | %defattr(-,root,root) |
| 250 | %attr(0755,root,root) /usr/sbin/sshd |
Damien Miller | 9600233 | 2000-09-23 14:00:09 +1100 | [diff] [blame] | 251 | %attr(0755,root,root) /usr/libexec/openssh/sftp-server |
| 252 | %attr(0644,root,root) %{_mandir}/man8/sshd.8* |
| 253 | %attr(0644,root,root) %{_mandir}/man8/sftp-server.8* |
Damien Miller | 294df78 | 1999-11-23 10:11:29 +1100 | [diff] [blame] | 254 | %attr(0600,root,root) %config(noreplace) /etc/ssh/sshd_config |
| 255 | %attr(0600,root,root) %config(noreplace) /etc/pam.d/sshd |
Damien Miller | a37010e | 1999-10-29 09:18:29 +1000 | [diff] [blame] | 256 | %attr(0755,root,root) %config /etc/rc.d/init.d/sshd |
Damien Miller | d4a8b7e | 1999-10-27 13:42:43 +1000 | [diff] [blame] | 257 | |
Damien Miller | 5a119bc | 2000-07-12 14:34:11 +1000 | [diff] [blame] | 258 | %if ! %{no_x11_askpass} |
Damien Miller | 3f51bf5 | 1999-11-09 14:46:02 +1100 | [diff] [blame] | 259 | %files askpass |
| 260 | %defattr(-,root,root) |
Damien Miller | bbdf9ab | 1999-12-26 13:16:54 +1100 | [diff] [blame] | 261 | %doc x11-ssh-askpass-%{aversion}/README |
| 262 | %doc x11-ssh-askpass-%{aversion}/ChangeLog |
| 263 | %doc x11-ssh-askpass-%{aversion}/SshAskpass*.ad |
Damien Miller | 606f880 | 2000-09-16 15:39:56 +1100 | [diff] [blame] | 264 | %attr(0755,root,root) /usr/libexec/openssh/ssh-askpass |
| 265 | %attr(0755,root,root) /usr/libexec/openssh/x11-ssh-askpass |
Damien Miller | 5a119bc | 2000-07-12 14:34:11 +1000 | [diff] [blame] | 266 | %endif |
Damien Miller | 3668206 | 1999-11-15 17:19:24 +1100 | [diff] [blame] | 267 | |
Damien Miller | 5a119bc | 2000-07-12 14:34:11 +1000 | [diff] [blame] | 268 | %if ! %{no_gnome_askpass} |
Damien Miller | 3688440 | 1999-12-26 12:26:21 +1100 | [diff] [blame] | 269 | %files askpass-gnome |
| 270 | %defattr(-,root,root) |
Damien Miller | 606f880 | 2000-09-16 15:39:56 +1100 | [diff] [blame] | 271 | %attr(0755,root,root) /usr/libexec/openssh/gnome-ssh-askpass |
Damien Miller | 5a119bc | 2000-07-12 14:34:11 +1000 | [diff] [blame] | 272 | %endif |