diff options
Diffstat (limited to 'contrib/redhat')
-rw-r--r-- | contrib/redhat/openssh.spec | 104 |
1 files changed, 36 insertions, 68 deletions
diff --git a/contrib/redhat/openssh.spec b/contrib/redhat/openssh.spec index 9b5196126..22142671a 100644 --- a/contrib/redhat/openssh.spec +++ b/contrib/redhat/openssh.spec | |||
@@ -31,23 +31,26 @@ | |||
31 | 31 | ||
32 | %define exact_openssl_version %(rpm -q openssl | cut -d - -f 2) | 32 | %define exact_openssl_version %(rpm -q openssl | cut -d - -f 2) |
33 | 33 | ||
34 | Summary: OpenSSH free Secure Shell (SSH) implementation | 34 | Summary: The OpenSSH implementation of SSH. |
35 | Name: openssh | 35 | Name: openssh |
36 | Version: %{oversion} | 36 | Version: %{oversion} |
37 | Release: 1 | 37 | Release: 1 |
38 | Packager: Damien Miller <djm@mindrot.org> | 38 | Packager: Damien Miller <djm@mindrot.org> |
39 | URL: http://www.openssh.com/ | 39 | URL: http://www.openssh.com/portable.html |
40 | Source0: ftp://ftp.openbsd.org/pub/OpenBSD/OpenSSH/portable/openssh-%{oversion}.tar.gz | 40 | Source0: ftp://ftp.openbsd.org/pub/OpenBSD/OpenSSH/portable/openssh-%{oversion}.tar.gz |
41 | %if ! %{no_x11_askpass} | 41 | %if ! %{no_x11_askpass} |
42 | Source1: http://www.jmknoble.cx/software/x11-ssh-askpass/x11-ssh-askpass-%{aversion}.tar.gz | 42 | Source1: http://www.pobox.com/~jmknoble/software/x11-ssh-askpass/x11-ssh-askpass-%{aversion}.tar.gz |
43 | %endif | 43 | %endif |
44 | Copyright: BSD | 44 | License: BSD |
45 | Group: Applications/Internet | 45 | Group: Applications/Internet |
46 | BuildRoot: %{_tmppath}/%{name}-%{version}-buildroot | 46 | BuildRoot: %{_tmppath}/%{name}-%{version}-buildroot |
47 | Obsoletes: ssh | 47 | Obsoletes: ssh |
48 | BuildPreReq: perl, openssl-devel, tcp_wrappers | 48 | BuildPreReq: perl, openssl-devel, tcp_wrappers |
49 | BuildPreReq: /bin/login, /usr/include/security/pam_appl.h | 49 | BuildPreReq: /bin/login, /usr/include/security/pam_appl.h |
50 | BuildPreReq: rpm >= 3.0.5 | 50 | BuildPreReq: rpm >= 3.0.5 |
51 | %if ! %{no_x11_askpass} | ||
52 | BuildPreReq: XFree86-devel | ||
53 | %endif | ||
51 | %if ! %{no_gnome_askpass} | 54 | %if ! %{no_gnome_askpass} |
52 | BuildPreReq: gnome-libs-devel | 55 | BuildPreReq: gnome-libs-devel |
53 | %endif | 56 | %endif |
@@ -59,13 +62,13 @@ Requires: openssl >= 0.9.5a | |||
59 | Requires: rpm >= 3.0.5 | 62 | Requires: rpm >= 3.0.5 |
60 | 63 | ||
61 | %package clients | 64 | %package clients |
62 | Summary: OpenSSH Secure Shell protocol clients | 65 | Summary: OpenSSH clients. |
63 | Requires: openssh = %{version}-%{release} | 66 | Requires: openssh = %{version}-%{release} |
64 | Group: Applications/Internet | 67 | Group: Applications/Internet |
65 | Obsoletes: ssh-clients | 68 | Obsoletes: ssh-clients |
66 | 69 | ||
67 | %package server | 70 | %package server |
68 | Summary: OpenSSH Secure Shell protocol server (sshd) | 71 | Summary: The OpenSSH server daemon. |
69 | Group: System Environment/Daemons | 72 | Group: System Environment/Daemons |
70 | Obsoletes: ssh-server | 73 | Obsoletes: ssh-server |
71 | PreReq: openssh = %{version}-%{release}, chkconfig >= 0.9 | 74 | PreReq: openssh = %{version}-%{release}, chkconfig >= 0.9 |
@@ -74,87 +77,55 @@ Requires: /etc/pam.d/system-auth | |||
74 | %endif | 77 | %endif |
75 | 78 | ||
76 | %package askpass | 79 | %package askpass |
77 | Summary: OpenSSH X11 passphrase dialog | 80 | Summary: A passphrase dialog for OpenSSH and X. |
78 | Group: Applications/Internet | 81 | Group: Applications/Internet |
79 | Requires: openssh = %{version}-%{release} | 82 | Requires: openssh = %{version}-%{release} |
80 | Obsoletes: ssh-extras | 83 | Obsoletes: ssh-extras |
81 | 84 | ||
82 | %package askpass-gnome | 85 | %package askpass-gnome |
83 | Summary: OpenSSH GNOME passphrase dialog | 86 | Summary: A passphrase dialog for OpenSSH, X, and GNOME. |
84 | Group: Applications/Internet | 87 | Group: Applications/Internet |
85 | Requires: openssh = %{version}-%{release} | 88 | Requires: openssh = %{version}-%{release} |
86 | Obsoletes: ssh-extras | 89 | Obsoletes: ssh-extras |
87 | 90 | ||
88 | %description | 91 | %description |
89 | Ssh (Secure Shell) a program for logging into a remote machine and for | 92 | SSH (Secure SHell) is a program for logging into and executing |
90 | executing commands in a remote machine. It is intended to replace | 93 | commands on a remote machine. SSH is intended to replace rlogin and |
91 | rlogin and rsh, and provide secure encrypted communications between | 94 | rsh, and to provide secure encrypted communications between two |
92 | two untrusted hosts over an insecure network. X11 connections and | 95 | untrusted hosts over an insecure network. X11 connections and |
93 | arbitrary TCP/IP ports can also be forwarded over the secure channel. | 96 | arbitrary TCP/IP ports can also be forwarded over the secure channel. |
94 | 97 | ||
95 | OpenSSH is OpenBSD's rework of the last free version of SSH, bringing it | 98 | OpenSSH is OpenBSD's version of the last free version of SSH, bringing |
96 | up to date in terms of security and features, as well as removing all | 99 | it up to date in terms of security and features, as well as removing |
97 | patented algorithms to separate libraries (OpenSSL). | 100 | all patented algorithms to separate libraries. |
98 | 101 | ||
99 | This package includes the core files necessary for both the OpenSSH | 102 | This package includes the core files necessary for both the OpenSSH |
100 | client and server. To make this package useful, you should also | 103 | client and server. To make this package useful, you should also |
101 | install openssh-clients, openssh-server, or both. | 104 | install openssh-clients, openssh-server, or both. |
102 | 105 | ||
103 | %description clients | 106 | %description clients |
104 | Ssh (Secure Shell) a program for logging into a remote machine and for | 107 | OpenSSH is a free version of SSH (Secure SHell), a program for logging |
105 | executing commands in a remote machine. It is intended to replace | 108 | into and executing commands on a remote machine. This package includes |
106 | rlogin and rsh, and provide secure encrypted communications between | 109 | the clients necessary to make encrypted connections to SSH servers. |
107 | two untrusted hosts over an insecure network. X11 connections and | 110 | You'll also need to install the openssh package on OpenSSH clients. |
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 separate libraries (OpenSSL). | ||
113 | |||
114 | This package includes the clients necessary to make encrypted connections | ||
115 | to SSH servers. | ||
116 | 111 | ||
117 | %description server | 112 | %description server |
118 | Ssh (Secure Shell) a program for logging into a remote machine and for | 113 | OpenSSH is a free version of SSH (Secure SHell), a program for logging |
119 | executing commands in a remote machine. It is intended to replace | 114 | into and executing commands on a remote machine. This package contains |
120 | rlogin and rsh, and provide secure encrypted communications between | 115 | the secure shell daemon (sshd). The sshd daemon allows SSH clients to |
121 | two untrusted hosts over an insecure network. X11 connections and | 116 | securely connect to your SSH server. You also need to have the openssh |
122 | arbitrary TCP/IP ports can also be forwarded over the secure channel. | 117 | package installed. |
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 separate libraries (OpenSSL). | ||
127 | |||
128 | This package contains the secure shell daemon. The sshd is the server | ||
129 | part of the secure shell protocol and allows ssh clients to connect to | ||
130 | your host. | ||
131 | 118 | ||
132 | %description askpass | 119 | %description askpass |
133 | Ssh (Secure Shell) a program for logging into a remote machine and for | 120 | OpenSSH is a free version of SSH (Secure SHell), a program for logging |
134 | executing commands in a remote machine. It is intended to replace | 121 | into and executing commands on a remote machine. This package contains |
135 | rlogin and rsh, and provide secure encrypted communications between | 122 | an X11 passphrase dialog for OpenSSH. |
136 | two untrusted hosts over an insecure network. X11 connections and | ||
137 | arbitrary TCP/IP ports can also be forwarded over the secure channel. | ||
138 | |||
139 | OpenSSH is OpenBSD's rework of the last free version of SSH, bringing it | ||
140 | up to date in terms of security and features, as well as removing all | ||
141 | patented algorithms to separate libraries (OpenSSL). | ||
142 | |||
143 | This package contains Jim Knoble's <jmknoble@jmknoble.cx> X11 passphrase | ||
144 | dialog. | ||
145 | 123 | ||
146 | %description askpass-gnome | 124 | %description askpass-gnome |
147 | Ssh (Secure Shell) a program for logging into a remote machine and for | 125 | OpenSSH is a free version of SSH (Secure SHell), a program for logging |
148 | executing commands in a remote machine. It is intended to replace | 126 | into and executing commands on a remote machine. This package contains |
149 | rlogin and rsh, and provide secure encrypted communications between | 127 | an X11 passphrase dialog for OpenSSH and the GNOME GUI desktop |
150 | two untrusted hosts over an insecure network. X11 connections and | 128 | environment. |
151 | arbitrary TCP/IP ports can also be forwarded over the secure channel. | ||
152 | |||
153 | OpenSSH is OpenBSD's rework of the last free version of SSH, bringing it | ||
154 | up to date in terms of security and features, as well as removing all | ||
155 | patented algorithms to separate libraries (OpenSSL). | ||
156 | |||
157 | This package contains the GNOME passphrase dialog. | ||
158 | 129 | ||
159 | %prep | 130 | %prep |
160 | 131 | ||
@@ -242,13 +213,10 @@ fi | |||
242 | 213 | ||
243 | %files | 214 | %files |
244 | %defattr(-,root,root) | 215 | %defattr(-,root,root) |
245 | %doc ChangeLog OVERVIEW README* INSTALL | 216 | %doc CREDITS ChangeLog INSTALL LICENCE OVERVIEW README* RFC* TODO WARNING* |
246 | %doc CREDITS LICENCE | ||
247 | %attr(0755,root,root) %{_bindir}/ssh-keygen | 217 | %attr(0755,root,root) %{_bindir}/ssh-keygen |
248 | %attr(0755,root,root) %{_bindir}/scp | 218 | %attr(0755,root,root) %{_bindir}/scp |
249 | %attr(0755,root,root) %{_bindir}/ssh-keyscan | ||
250 | %attr(0644,root,root) %{_mandir}/man1/ssh-keygen.1* | 219 | %attr(0644,root,root) %{_mandir}/man1/ssh-keygen.1* |
251 | %attr(0644,root,root) %{_mandir}/man1/ssh-keyscan.1* | ||
252 | %attr(0644,root,root) %{_mandir}/man1/scp.1* | 220 | %attr(0644,root,root) %{_mandir}/man1/scp.1* |
253 | %attr(0755,root,root) %dir %{_sysconfdir} | 221 | %attr(0755,root,root) %dir %{_sysconfdir} |
254 | %attr(0600,root,root) %config(noreplace) %{_sysconfdir}/moduli | 222 | %attr(0600,root,root) %config(noreplace) %{_sysconfdir}/moduli |