summaryrefslogtreecommitdiff
path: root/contrib/redhat
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/redhat')
-rw-r--r--contrib/redhat/openssh.spec104
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
34Summary: OpenSSH free Secure Shell (SSH) implementation 34Summary: The OpenSSH implementation of SSH.
35Name: openssh 35Name: openssh
36Version: %{oversion} 36Version: %{oversion}
37Release: 1 37Release: 1
38Packager: Damien Miller <djm@mindrot.org> 38Packager: Damien Miller <djm@mindrot.org>
39URL: http://www.openssh.com/ 39URL: http://www.openssh.com/portable.html
40Source0: ftp://ftp.openbsd.org/pub/OpenBSD/OpenSSH/portable/openssh-%{oversion}.tar.gz 40Source0: ftp://ftp.openbsd.org/pub/OpenBSD/OpenSSH/portable/openssh-%{oversion}.tar.gz
41%if ! %{no_x11_askpass} 41%if ! %{no_x11_askpass}
42Source1: http://www.jmknoble.cx/software/x11-ssh-askpass/x11-ssh-askpass-%{aversion}.tar.gz 42Source1: http://www.pobox.com/~jmknoble/software/x11-ssh-askpass/x11-ssh-askpass-%{aversion}.tar.gz
43%endif 43%endif
44Copyright: BSD 44License: BSD
45Group: Applications/Internet 45Group: Applications/Internet
46BuildRoot: %{_tmppath}/%{name}-%{version}-buildroot 46BuildRoot: %{_tmppath}/%{name}-%{version}-buildroot
47Obsoletes: ssh 47Obsoletes: ssh
48BuildPreReq: perl, openssl-devel, tcp_wrappers 48BuildPreReq: perl, openssl-devel, tcp_wrappers
49BuildPreReq: /bin/login, /usr/include/security/pam_appl.h 49BuildPreReq: /bin/login, /usr/include/security/pam_appl.h
50BuildPreReq: rpm >= 3.0.5 50BuildPreReq: rpm >= 3.0.5
51%if ! %{no_x11_askpass}
52BuildPreReq: XFree86-devel
53%endif
51%if ! %{no_gnome_askpass} 54%if ! %{no_gnome_askpass}
52BuildPreReq: gnome-libs-devel 55BuildPreReq: gnome-libs-devel
53%endif 56%endif
@@ -59,13 +62,13 @@ Requires: openssl >= 0.9.5a
59Requires: rpm >= 3.0.5 62Requires: rpm >= 3.0.5
60 63
61%package clients 64%package clients
62Summary: OpenSSH Secure Shell protocol clients 65Summary: OpenSSH clients.
63Requires: openssh = %{version}-%{release} 66Requires: openssh = %{version}-%{release}
64Group: Applications/Internet 67Group: Applications/Internet
65Obsoletes: ssh-clients 68Obsoletes: ssh-clients
66 69
67%package server 70%package server
68Summary: OpenSSH Secure Shell protocol server (sshd) 71Summary: The OpenSSH server daemon.
69Group: System Environment/Daemons 72Group: System Environment/Daemons
70Obsoletes: ssh-server 73Obsoletes: ssh-server
71PreReq: openssh = %{version}-%{release}, chkconfig >= 0.9 74PreReq: 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
77Summary: OpenSSH X11 passphrase dialog 80Summary: A passphrase dialog for OpenSSH and X.
78Group: Applications/Internet 81Group: Applications/Internet
79Requires: openssh = %{version}-%{release} 82Requires: openssh = %{version}-%{release}
80Obsoletes: ssh-extras 83Obsoletes: ssh-extras
81 84
82%package askpass-gnome 85%package askpass-gnome
83Summary: OpenSSH GNOME passphrase dialog 86Summary: A passphrase dialog for OpenSSH, X, and GNOME.
84Group: Applications/Internet 87Group: Applications/Internet
85Requires: openssh = %{version}-%{release} 88Requires: openssh = %{version}-%{release}
86Obsoletes: ssh-extras 89Obsoletes: ssh-extras
87 90
88%description 91%description
89Ssh (Secure Shell) a program for logging into a remote machine and for 92SSH (Secure SHell) is a program for logging into and executing
90executing commands in a remote machine. It is intended to replace 93commands on a remote machine. SSH is intended to replace rlogin and
91rlogin and rsh, and provide secure encrypted communications between 94rsh, and to provide secure encrypted communications between two
92two untrusted hosts over an insecure network. X11 connections and 95untrusted hosts over an insecure network. X11 connections and
93arbitrary TCP/IP ports can also be forwarded over the secure channel. 96arbitrary TCP/IP ports can also be forwarded over the secure channel.
94 97
95OpenSSH is OpenBSD's rework of the last free version of SSH, bringing it 98OpenSSH is OpenBSD's version of the last free version of SSH, bringing
96up to date in terms of security and features, as well as removing all 99it up to date in terms of security and features, as well as removing
97patented algorithms to separate libraries (OpenSSL). 100all patented algorithms to separate libraries.
98 101
99This package includes the core files necessary for both the OpenSSH 102This package includes the core files necessary for both the OpenSSH
100client and server. To make this package useful, you should also 103client and server. To make this package useful, you should also
101install openssh-clients, openssh-server, or both. 104install openssh-clients, openssh-server, or both.
102 105
103%description clients 106%description clients
104Ssh (Secure Shell) a program for logging into a remote machine and for 107OpenSSH is a free version of SSH (Secure SHell), a program for logging
105executing commands in a remote machine. It is intended to replace 108into and executing commands on a remote machine. This package includes
106rlogin and rsh, and provide secure encrypted communications between 109the clients necessary to make encrypted connections to SSH servers.
107two untrusted hosts over an insecure network. X11 connections and 110You'll also need to install the openssh package on OpenSSH clients.
108arbitrary TCP/IP ports can also be forwarded over the secure channel.
109
110OpenSSH is OpenBSD's rework of the last free version of SSH, bringing it
111up to date in terms of security and features, as well as removing all
112patented algorithms to separate libraries (OpenSSL).
113
114This package includes the clients necessary to make encrypted connections
115to SSH servers.
116 111
117%description server 112%description server
118Ssh (Secure Shell) a program for logging into a remote machine and for 113OpenSSH is a free version of SSH (Secure SHell), a program for logging
119executing commands in a remote machine. It is intended to replace 114into and executing commands on a remote machine. This package contains
120rlogin and rsh, and provide secure encrypted communications between 115the secure shell daemon (sshd). The sshd daemon allows SSH clients to
121two untrusted hosts over an insecure network. X11 connections and 116securely connect to your SSH server. You also need to have the openssh
122arbitrary TCP/IP ports can also be forwarded over the secure channel. 117package installed.
123
124OpenSSH is OpenBSD's rework of the last free version of SSH, bringing it
125up to date in terms of security and features, as well as removing all
126patented algorithms to separate libraries (OpenSSL).
127
128This package contains the secure shell daemon. The sshd is the server
129part of the secure shell protocol and allows ssh clients to connect to
130your host.
131 118
132%description askpass 119%description askpass
133Ssh (Secure Shell) a program for logging into a remote machine and for 120OpenSSH is a free version of SSH (Secure SHell), a program for logging
134executing commands in a remote machine. It is intended to replace 121into and executing commands on a remote machine. This package contains
135rlogin and rsh, and provide secure encrypted communications between 122an X11 passphrase dialog for OpenSSH.
136two untrusted hosts over an insecure network. X11 connections and
137arbitrary TCP/IP ports can also be forwarded over the secure channel.
138
139OpenSSH is OpenBSD's rework of the last free version of SSH, bringing it
140up to date in terms of security and features, as well as removing all
141patented algorithms to separate libraries (OpenSSL).
142
143This package contains Jim Knoble's <jmknoble@jmknoble.cx> X11 passphrase
144dialog.
145 123
146%description askpass-gnome 124%description askpass-gnome
147Ssh (Secure Shell) a program for logging into a remote machine and for 125OpenSSH is a free version of SSH (Secure SHell), a program for logging
148executing commands in a remote machine. It is intended to replace 126into and executing commands on a remote machine. This package contains
149rlogin and rsh, and provide secure encrypted communications between 127an X11 passphrase dialog for OpenSSH and the GNOME GUI desktop
150two untrusted hosts over an insecure network. X11 connections and 128environment.
151arbitrary TCP/IP ports can also be forwarded over the secure channel.
152
153OpenSSH is OpenBSD's rework of the last free version of SSH, bringing it
154up to date in terms of security and features, as well as removing all
155patented algorithms to separate libraries (OpenSSL).
156
157This 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