3 %bcond_without chroot # without chrooted user environment support
4 %bcond_with gnome # with gnome-askpass (GNOME 1.x) utility
5 %bcond_without gtk # without GTK+ (2.x)
6 %bcond_with ldap # with ldap support
7 %bcond_without libedit # without libedit (editline/history support in sftp client)
8 %bcond_without kerberos5 # without kerberos5 support
9 %bcond_without selinux # build without SELinux support
10 %bcond_with sshagentsh # with system-wide script for starting ssh-agent
11 %bcond_with hpn # with High Performance SSH/SCP - HPN-SSH (see patch comment)
12 %bcond_with hpn_none # with hpn (above) and '-z' none cipher option
17 # gtk2-based gnome-askpass means no gnome1-based
18 %{?with_gtk:%undefine with_gnome}
20 Summary: OpenSSH free Secure Shell (SSH) implementation
21 Summary(de): OpenSSH - freie Implementation der Secure Shell (SSH)
22 Summary(es): Implementación libre de SSH
23 Summary(fr): Implémentation libre du shell sécurisé OpenSSH (SSH)
24 Summary(it): Implementazione gratuita OpenSSH della Secure Shell
25 Summary(pl): Publicznie dostêpna implementacja bezpiecznego shella (SSH)
26 Summary(pt): Implementação livre OpenSSH do protocolo 'Secure Shell' (SSH)
27 Summary(pt_BR): Implementação livre do SSH
28 Summary(ru): OpenSSH - Ó×ÏÂÏÄÎÁÑ ÒÅÁÌÉÚÁÃÉÑ ÐÒÏÔÏËÏÌÁ Secure Shell (SSH)
29 Summary(uk): OpenSSH - צÌØÎÁ ÒÅÁ̦ÚÁÃ¦Ñ ÐÒÏÔÏËÏÌÕ Secure Shell (SSH)
32 Release: %{_rel}%{?with_hpn:hpn}%{?with_hpn_none:hpn_none}
35 Group: Applications/Networking
36 Source0: ftp://ftp.ca.openbsd.org/pub/OpenBSD/OpenSSH/portable/%{name}-%{version}.tar.gz
37 # Source0-md5: 7e9880ac20a9b9db0d3fea30a9ff3d46
38 Source1: %{name}d.conf
40 Source3: %{name}d.init
41 Source4: %{name}d.pamd
42 Source5: %{name}.sysconfig
44 Source7: http://www.mif.pg.gda.pl/homepages/ankry/man-PLD/%{name}-non-english-man-pages.tar.bz2
45 # Source7-md5: 66943d481cc422512b537bcc2c7400d1
46 Source9: http://www.taiyo.co.jp/~gotoh/ssh/connect.c
47 # Source9-md5: b856937f1cdfca7a3ccfb2fac36ef726
48 Source10: http://www.taiyo.co.jp/~gotoh/ssh/connect.html
49 # Source10-md5: bb972b3a9d435c62023b355960d78f78
50 Source11: ssh-agent.sh
51 Source12: ssh-agent.conf
52 Patch0: %{name}-no_libnsl.patch
53 Patch1: %{name}-ac_fix.patch
54 Patch2: %{name}-linux-ipv6.patch
55 Patch3: %{name}-pam_misc.patch
56 Patch4: %{name}-sigpipe.patch
57 # http://www.opendarwin.org/projects/openssh-lpk/
58 Patch5: %{name}-lpk-4.3p1-0.3.7.patch
59 Patch6: %{name}-heimdal.patch
60 Patch7: %{name}-pam-conv.patch
61 # http://chrootssh.sourceforge.net/download/osshChroot-3.7.1p2.diff
62 Patch8: %{name}-chroot.patch
63 Patch9: %{name}-selinux.patch
64 Patch10: %{name}-selinux-pld.patch
65 # HPN patches rediffed due sigpipe patch.
66 # High Performance SSH/SCP - HPN-SSH - http://www.psc.edu/networking/projects/hpn-ssh/
67 # http://www.psc.edu/networking/projects/hpn-ssh/openssh-4.2p1-hpn11.diff
68 Patch11: %{name}-4.3p1-hpn11.patch
69 # Adds HPN (see p11) and an undocumented -z none cipher flag
70 # http://www.psc.edu/networking/projects/hpn-ssh/openssh-4.2p1-hpn11-none.diff
71 Patch12: %{name}-4.3p1-hpn11-none.patch
72 Patch13: %{name}-include.patch
73 URL: http://www.openssh.com/
74 BuildRequires: %{__perl}
75 BuildRequires: autoconf
76 BuildRequires: automake
77 %{?with_gnome:BuildRequires: gnome-libs-devel}
78 %{?with_gtk:BuildRequires: gtk+2-devel}
79 %{?with_kerberos5:BuildRequires: heimdal-devel >= 0.7}
80 %{?with_libedit:BuildRequires: libedit-devel}
81 %{?with_selinux:BuildRequires: libselinux-devel}
82 BuildRequires: libwrap-devel
83 %{?with_ldap:BuildRequires: openldap-devel}
84 BuildRequires: openssl-devel >= 0.9.7d
85 BuildRequires: pam-devel
86 %{?with_gtk:BuildRequires: pkgconfig}
87 BuildRequires: rpmbuild(macros) >= 1.318
88 BuildRequires: zlib-devel
89 Requires: FHS >= 2.1-24
90 Requires: pam >= 0.79.0
92 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
94 %define _sysconfdir /etc/ssh
95 %define _libexecdir %{_libdir}/%{name}
96 %define _privsepdir /usr/share/empty
99 Ssh (Secure Shell) a program for logging into a remote machine and for
100 executing commands in a remote machine. It is intended to replace
101 rlogin and rsh, and provide secure encrypted communications between
102 two untrusted hosts over an insecure network. X11 connections and
103 arbitrary TCP/IP ports can also be forwarded over the secure channel.
105 OpenSSH is OpenBSD's rework of the last free version of SSH, bringing
106 it up to date in terms of security and features, as well as removing
107 all patented algorithms to seperate libraries (OpenSSL).
109 This package includes the core files necessary for both the OpenSSH
110 client and server. To make this package useful, you should also
111 install openssh-clients, openssh-server, or both.
112 %if %{with hpn} || %{with hpn_none}
113 This release includes High Performance SSH/SCP patches from
114 http://www.psc.edu/networking/projects/hpn-ssh/ which are supposed
115 to increase throughput on fast connections with high RTT (20-150 msec).
116 See the website for '-w' values for your connection and /proc/sys TCP
117 values. BTW. in a LAN you have got generally RTT < 1 msec.
120 It also includes an undocumented '-z' option which switches
121 the cipher to none after authentication is completed. Data is
122 still secured from tampering and corruption in transit through
123 the use of the Message Authentication Code (MAC).
124 This option will significantly reduce the number of cpu cycles used
125 by the SSH/SCP process. This may allow some users to see significant
126 improvement in (sniffable) data tranfer rates.
130 OpenSSH (Secure Shell) stellt den Zugang zu anderen Rechnern her. Es
131 ersetzt telnet, rlogin, rexec und rsh und stellt eine sichere,
132 verschlüsselte Verbindung zwischen zwei nicht vertrauenswürdigen Hosts
133 über eine unsicheres Netzwerk her. X11 Verbindungen und beliebige
134 andere TCP/IP Ports können ebenso über den sicheren Channel
135 weitergeleitet werden.
138 SSH es un programa para accesar y ejecutar órdenes en computadores
139 remotos. Sustituye rlogin y rsh, y suministra un canal de comunicación
140 seguro entre dos servidores en una red insegura. Conexiones X11 y
141 puertas TCP/IP arbitrárias también pueden ser usadas por el canal
144 OpenSSH es el resultado del trabajo del equipo de OpenBSD para
145 continuar la última versión gratuita de SSH, actualizándolo en
146 términos de seguridad y recursos,así también eliminando todos los
147 algoritmos patentados y colocándolos en bibliotecas separadas
150 Este paquete contiene "port" para Linux de OpenSSH. Se debe instalar
151 también el paquete openssh-clients u openssh-server o ambos.
154 OpenSSH (Secure Shell) fournit un accès à un système distant. Il
155 remplace telnet, rlogin, rexec et rsh, tout en assurant des
156 communications cryptées securisées entre deux hôtes non fiabilisés sur
157 un réseau non sécurisé. Des connexions X11 et des ports TCP/IP
158 arbitraires peuvent également être transmis sur le canal sécurisé.
161 OpenSSH (Secure Shell) fornisce l'accesso ad un sistema remoto.
162 Sostituisce telnet, rlogin, rexec, e rsh, e fornisce comunicazioni
163 sicure e crittate tra due host non fidati su una rete non sicura. Le
164 connessioni X11 ad una porta TCP/IP arbitraria possono essere
165 inoltrate attraverso un canale sicuro.
168 Ssh (Secure Shell) to program s³u¿±cy do logowania siê na zdaln±
169 maszynê i uruchamiania na niej aplikacji. W zamierzeniu openssh ma
170 zast±piæ rlogin, rsh i dostarczyæ bezpieczne, szyfrowane po³±czenie
171 pomiêdzy dwoma hostami.
173 Ten pakiet zawiera podstawowe pliki potrzebne zarówno po stronie
174 klienta jak i serwera OpenSSH. Aby by³ u¿yteczny, trzeba zainstalowaæ
175 co najmniej jeden z pakietów: openssh-clients lub openssh-server.
176 %if %{with hpn} || %{with hpn_none}
177 Ta wersja zawiera ³aty z projektu High Performance SSH/SCP
178 http://www.psc.edu/networking/projects/hpn-ssh/, które maj± na celu
179 zwiêkszenie przepustowo¶ci transmisji dla szybkich po³±czeñ
180 z du¿ym RTT (20-150 msec). Na stronie projektu znale¼æ mo¿na
181 odpowednie dla danego po³±czenia warto¶ci parametru '-w' oraz
182 opcje /proc/sys dla TCP. Nawiasem mówi±c w sieciach LAN RTT < 1 msec.
185 Obs³ugiwana jest równie¿ nieudokumentowana opcja '-z' odpowiedzialna
186 za wy³±czenie szyfrowania danych po zakoñczeniu procesu uwierzytelniania.
187 Dane s± zabezpieczone przed modyfikacj± lub uszkodzeniem przez
188 stosowanie Message Authentication Code (MAC).
189 Opcja ta znacznie redukuje liczbê cykli procesora zu¿ywanych przez
190 procesy SSH/SCP. W wybranych zastosowaniach mo¿e ona wp³yn±æ
191 na wyra¼ne przyspieszenie (pods³uchiwalnej) transmisji danych.
195 OpenSSH (Secure Shell) fornece acesso a um sistema remoto. Substitui o
196 telnet, rlogin, rexec, e o rsh e fornece comunicações seguras e
197 cifradas entre duas máquinas sem confiança mútua sobre uma rede
198 insegura. Ligações X11 e portos TCP/IP arbitrários também poder ser
199 reenviados pelo canal seguro.
201 %description -l pt_BR
202 SSH é um programa para acessar e executar comandos em máquinas
203 remotas. Ele substitui rlogin e rsh, e provem um canal de comunicação
204 seguro entre dois hosts em uma rede insegura. Conexões X11 e portas
205 TCP/IP arbitrárias também podem ser usadas pelo canal seguro.
207 OpenSSH é o resultado do trabalho da equipe do OpenBSD em continuar a
208 última versão gratuita do SSH, atualizando-o em termos de segurança e
209 recursos, assim como removendo todos os algoritmos patenteados e
210 colocando-os em bibliotecas separadas (OpenSSL).
212 Esse pacote contém o "port" pra Linux do OpenSSH. Você deve instalar
213 também ou o pacote openssh-clients, ou o openssh-server, ou ambos.
216 Ssh (Secure Shell) - ÜÔÏ ÐÒÏÇÒÁÍÍÁ ÄÌÑ "ÚÁÈÏÄÁ" (login) ÎÁ ÕÄÁÌÅÎÎÕÀ
217 ÍÁÛÉÎÕ É ÄÌÑ ×ÙÐÏÌÎÅÎÉÑ ËÏÍÁÎÄ ÎÁ ÕÄÁÌÅÎÎÏÊ ÍÁÛÉÎÅ. ïÎÁ ÐÒÅÄÎÁÚÎÁÞÅÎÁ
218 ÄÌÑ ÚÁÍÅÎÙ rlogin É rsh É ÏÂÅÓÐÅÞÉ×ÁÅÔ ÂÅÚÏÐÁÓÎÕÀ ÛÉÆÒÏ×ÁÎÎÕÀ
219 ËÏÍÍÕÎÉËÁÃÉÀ ÍÅÖÄÕ Ä×ÕÍÑ ÈÏÓÔÁÍÉ × ÓÅÔÉ, Ñ×ÌÑÀÝÅÊÓÑ ÎÅÂÅÚÏÐÁÓÎÏÊ.
220 óÏÅÄÉÎÅÎÉÑ X11 É ÌÀÂÙÅ ÐÏÒÔÙ TCP/IP ÍÏÇÕÔ ÔÁËÖÅ ÂÙÔØ ÐÒÏ×ÅÄÅÎÙ ÞÅÒÅÚ
223 OpenSSH - ÜÔÏ ÐÅÒÅÄÅÌËÁ ËÏÍÁÎÄÏÊ ÒÁÚÒÁÂÏÔÞÉËÏ× OpenBSD ÐÏÓÌÅÄÎÅÊ
224 Ó×ÏÂÏÄÎÏÊ ×ÅÒÓÉÉ SSH, ÄÏ×ÅÄÅÎÎÁÑ ÄÏ ÓÏ×ÒÅÍÅÎÎÏÇÏ ÓÏÓÔÏÑÎÉÑ × ÔÅÒÍÉÎÁÈ
225 ÕÒÏ×ÎÑ ÂÅÚÏÐÁÓÎÏÓÔÉ É ÐÏÄÄÅÒÖÉ×ÁÅÍÙÈ ×ÏÚÍÏÖÎÏÓÔÅÊ. ÷ÓÅ ÐÁÔÅÎÔÏ×ÁÎÎÙÅ
226 ÁÌÇÏÒÉÔÍÙ ×ÙÎÅÓÅÎÙ × ÏÔÄÅÌØÎÙÅ ÂÉÂÌÉÏÔÅËÉ (OpenSSL).
228 üÔÏÔ ÐÁËÅÔ ÓÏÄÅÒÖÉÔ ÆÁÊÌÙ, ÎÅÏÂÈÏÄÉÍÙÅ ËÁË ÄÌÑ ËÌÉÅÎÔÁ, ÔÁË É ÄÌÑ
229 ÓÅÒ×ÅÒÁ OpenSSH. ÷ÁÍ ÎÕÖÎÏ ÂÕÄÅÔ ÕÓÔÁÎÏ×ÉÔØ ÅÝÅ openssh-clients,
230 openssh-server, ÉÌÉ ÏÂÁ ÐÁËÅÔÁ.
233 Ssh (Secure Shell) - ÃÅ ÐÒÏÇÒÁÍÁ ÄÌÑ "ÚÁÈÏÄÕ" (login) ÄÏ ×¦ÄÄÁÌÅÎϧ
234 ÍÁÛÉÎÉ ÔÁ ÄÌÑ ×ÉËÏÎÁÎÎÑ ËÏÍÁÎÄ ÎÁ צÄÄÁÌÅÎ¦Ê ÍÁÛÉΦ. ÷ÏÎÁ ÐÒÉÚÎÁÞÅÎÁ
235 ÄÌÑ ÚÁͦÎÉ rlogin ÔÁ rsh ¦ ÚÁÂÅÚÐÅÞÕ¤ ÂÅÚÐÅÞÎÕ ÛÉÆÒÏ×ÁÎÕ ËÏÍÕΦËÁæÀ
236 Í¦Ö Ä×ÏÍÁ ÈÏÓÔÁÍÉ × ÍÅÒÅÖ¦, ÑËÁ ÎÅ ¤ ÂÅÚÐÅÞÎÏÀ. ú'¤ÄÎÁÎÎÑ X11 ÔÁ
237 ÄÏצÌØΦ ÐÏÒÔÉ TCP/IP ÍÏÖÕÔØ ÔÁËÏÖ ÂÕÔÉ ÐÒÏ×ÅÄÅΦ ÞÅÒÅÚ ÂÅÚÐÅÞÎÉÊ
240 OpenSSH - ÃÅ ÐÅÒÅÒÏÂËÁ ËÏÍÁÎÄÏÀ ÒÏÚÒÏÂÎÉË¦× OpenBSD ÏÓÔÁÎÎØϧ צÌØÎϧ
241 ×ÅÒÓ¦§ SSH, ÄÏ×ÅÄÅÎÁ ÄÏ ÓÕÞÁÓÎÏÇÏ ÓÔÁÎÕ × ÔÅÒͦÎÁÈ Ò¦×ÎÑ ÂÅÚÐÅËÉ ÔÁ
242 ЦÄÔÒÉÍÕ×ÁÎÉÈ ÍÏÖÌÉ×ÏÓÔÅÊ. ÷Ó¦ ÐÁÔÅÎÔÏ×ÁΦ ÁÌÇÏÒÉÔÍÉ ×ÉÎÅÓÅΦ ÄÏ
243 ÏËÒÅÍÉÈ Â¦Â̦ÏÔÅË (OpenSSL).
245 ãÅÊ ÐÁËÅÔ Í¦ÓÔÉÔØ ÆÁÊÌÉ, ÎÅÏÂȦÄΦ ÑË ÄÌÑ Ë̦¤ÎÔÁ, ÔÁË ¦ ÄÌÑ ÓÅÒ×ÅÒÁ
246 OpenSSH. ÷ÁÍ ÐÏÔÒ¦ÂÎÏ ÂÕÄÅ ÝÅ ×ÓÔÁÎÏ×ÉÔÉ openssh-clients,
247 openssh-server, ÞÉ ÏÂÉÄ×Á ÐÁËÅÔÉ.
250 Summary: OpenSSH Secure Shell protocol clients
251 Summary(es): Clientes de OpenSSH
252 Summary(pl): Klienci protoko³u Secure Shell
253 Summary(pt_BR): Clientes do OpenSSH
254 Summary(ru): OpenSSH - ËÌÉÅÎÔÙ ÐÒÏÔÏËÏÌÁ Secure Shell
255 Summary(uk): OpenSSH - Ë̦¤ÎÔÉ ÐÒÏÔÏËÏÌÕ Secure Shell
256 Group: Applications/Networking
257 Requires: %{name} = %{epoch}:%{version}-%{release}
258 %{?with_sshagentsh:Requires: xinitrc}
259 Provides: ssh-clients
260 Obsoletes: ssh-clients
263 Ssh (Secure Shell) a program for logging into a remote machine and for
264 executing commands in a remote machine. It is intended to replace
265 rlogin and rsh, and provide secure encrypted communications between
266 two untrusted hosts over an insecure network. X11 connections and
267 arbitrary TCP/IP ports can also be forwarded over the secure channel.
269 OpenSSH is OpenBSD's rework of the last free version of SSH, bringing
270 it up to date in terms of security and features, as well as removing
271 all patented algorithms to seperate libraries (OpenSSL).
273 This package includes the clients necessary to make encrypted
274 connections to SSH servers.
276 %description clients -l es
277 Este paquete incluye los clientes que se necesitan para hacer
278 conexiones codificadas con servidores SSH.
280 %description clients -l pl
281 Ssh (Secure Shell) to program s³u¿±cy do logowania siê na zdaln±
282 maszynê i uruchamiania na niej aplikacji. W zamierzeniu openssh ma
283 zast±piæ rlogin, rsh i dostarczyæ bezpieczne, szyfrowane po³±czenie
284 pomiêdzy dwoma hostami.
286 Ten pakiet zawiera klientów s³u¿±cych do ³±czenia siê z serwerami SSH.
288 %description clients -l pt_BR
289 Esse pacote inclui os clientes necessários para fazer conexões
290 encriptadas com servidores SSH.
292 %description clients -l ru
293 Ssh (Secure Shell) - ÜÔÏ ÐÒÏÇÒÁÍÍÁ ÄÌÑ "ÚÁÈÏÄÁ" (login) ÎÁ ÕÄÁÌÅÎÎÕÀ
294 ÍÁÛÉÎÕ É ÄÌÑ ×ÙÐÏÌÎÅÎÉÑ ËÏÍÁÎÄ ÎÁ ÕÄÁÌÅÎÎÏÊ ÍÁÛÉÎÅ.
296 üÔÏÔ ÐÁËÅÔ ÓÏÄÅÒÖÉÔ ÐÒÏÇÒÁÍÍÙ-ËÌÉÅÎÔÙ, ÎÅÏÂÈÏÄÉÍÙÅ ÄÌÑ ÕÓÔÁÎÏ×ÌÅÎÉÑ
297 ÚÁÛÉÆÒÏ×ÁÎÎÙÈ ÓÏÅÄÉÎÅÎÉÊ Ó ÓÅÒ×ÅÒÁÍÉ SSH.
299 %description clients -l uk
300 Ssh (Secure Shell) - ÃÅ ÐÒÏÇÒÁÍÁ ÄÌÑ "ÚÁÈÏÄÕ" (login) ÄÏ ×¦ÄÄÁÌÅÎϧ
301 ÍÁÛÉÎÉ ÔÁ ÄÌÑ ×ÉËÏÎÁÎÎÑ ËÏÍÁÎÄ ÎÁ צÄÄÁÌÅÎ¦Ê ÍÁÛÉΦ.
303 ãÅÊ ÐÁËÅÔ Í¦ÓÔÉÔØ ÐÒÏÇÒÁÍÉ-Ë̦¤ÎÔÉ, ÎÅÏÂȦÄΦ ÄÌÑ ×ÓÔÁÎÏ×ÌÅÎÎÑ
304 ÚÁÛÉÆÒÏ×ÁÎÉÈ Ú'¤ÄÎÁÎØ Ú ÓÅÒ×ÅÒÁÍÉ SSH.
307 Summary: OpenSSH Secure Shell protocol server (sshd)
308 Summary(de): OpenSSH Secure Shell Protocol-Server (sshd)
309 Summary(es): Servidor OpenSSH para comunicaciones codificadas
310 Summary(fr): Serveur de protocole du shell sécurisé OpenSSH (sshd)
311 Summary(it): Server OpenSSH per il protocollo Secure Shell (sshd)
312 Summary(pl): Serwer protoko³u Secure Shell (sshd)
313 Summary(pt): Servidor do protocolo 'Secure Shell' OpenSSH (sshd)
314 Summary(pt_BR): Servidor OpenSSH para comunicações encriptadas
315 Summary(ru): OpenSSH - ÓÅÒ×ÅÒ ÐÒÏÔÏËÏÌÁ Secure Shell (sshd)
316 Summary(uk): OpenSSH - ÓÅÒ×ÅÒ ÐÒÏÔÏËÏÌÕ Secure Shell (sshd)
317 Group: Networking/Daemons
318 Requires(post): chkconfig >= 0.9
320 Requires(post,preun): /sbin/chkconfig
321 Requires(postun): /usr/sbin/userdel
322 Requires(pre): /bin/id
323 Requires(pre): /usr/sbin/useradd
324 Requires: %{name} = %{epoch}:%{version}-%{release}
326 Requires: pam >= 0.77.3
327 Requires: rc-scripts >= 0.4.0.18
333 Ssh (Secure Shell) a program for logging into a remote machine and for
334 executing commands in a remote machine. It is intended to replace
335 rlogin and rsh, and provide secure encrypted communications between
336 two untrusted hosts over an insecure network. X11 connections and
337 arbitrary TCP/IP ports can also be forwarded over the secure channel.
339 OpenSSH is OpenBSD's rework of the last free version of SSH, bringing
340 it up to date in terms of security and features, as well as removing
341 all patented algorithms to seperate libraries (OpenSSL).
343 This package contains the secure shell daemon. The sshd is the server
344 part of the secure shell protocol and allows ssh clients to connect to
347 %description server -l de
348 Dieses Paket installiert den sshd, den Server-Teil der OpenSSH.
350 %description server -l es
351 Este paquete contiene el servidor SSH. sshd es la parte servidor del
352 protocolo secure shell y permite que clientes ssh se conecten a su
355 %description server -l fr
356 Ce paquetage installe le 'sshd', partie serveur de OpenSSH.
358 %description server -l it
359 Questo pacchetto installa sshd, il server di OpenSSH.
361 %description server -l pl
362 Ssh (Secure Shell) to program s³u¿±cy do logowania siê na zdaln±
363 maszynê i uruchamiania na niej aplikacji. W zamierzeniu openssh ma
364 zast±piæ rlogin, rsh i dostarczyæ bezpieczne, szyfrowane po³±czenie
365 pomiêdzy dwoma hostami.
367 Ten pakiet zawiera serwer sshd (do którego mog± ³±czyæ siê klienci
370 %description server -l pt
371 Este pacote intala o sshd, o servidor do OpenSSH.
373 %description server -l pt_BR
374 Esse pacote contém o servidor SSH. O sshd é a parte servidor do
375 protocolo secure shell e permite que clientes ssh se conectem ao seu
378 %description server -l ru
379 Ssh (Secure Shell) - ÜÔÏ ÐÒÏÇÒÁÍÍÁ ÄÌÑ "ÚÁÈÏÄÁ" (login) ÎÁ ÕÄÁÌÅÎÎÕÀ
380 ÍÁÛÉÎÕ É ÄÌÑ ×ÙÐÏÌÎÅÎÉÑ ËÏÍÁÎÄ ÎÁ ÕÄÁÌÅÎÎÏÊ ÍÁÛÉÎÅ.
382 üÔÏÔ ÐÁËÅÔ ÓÏÄÅÒÖÉÔ sshd - "ÄÅÍÏÎ" Secure Shell. sshd - ÜÔÏ ÓÅÒ×ÅÒÎÁÑ
383 ÞÁÓÔØ ÐÒÏÔÏËÏÌÁ Secure Shell, ÐÏÚ×ÏÌÑÀÝÁÑ ËÌÉÅÎÔÁÍ ssh ÓÏÅÄÉÎÑÔØÓÑ Ó
386 %description server -l uk
387 Ssh (Secure Shell) - ÃÅ ÐÒÏÇÒÁÍÁ ÄÌÑ "ÚÁÈÏÄÕ" (login) ÄÏ ×¦ÄÄÁÌÅÎϧ
388 ÍÁÛÉÎÉ ÔÁ ÄÌÑ ×ÉËÏÎÁÎÎÑ ËÏÍÁÎÄ ÎÁ צÄÄÁÌÅÎ¦Ê ÍÁÛÉΦ.
390 ãÅÊ ÐÁËÅÔ Í¦ÓÔÉÔØ sshd - "ÄÅÍÏÎ" Secure Shell. sshd - ÃÅ ÓÅÒ×ÅÒÎÁ
391 ÞÁÓÔÉÎÁ ÐÒÏÔÏËÏÌÕ Secure Shell, ÑËÁ ÄÏÚ×ÏÌѤ Ë̦¤ÎÔÁÍ ssh Ú×'ÑÚÕ×ÁÔÉÓØ
394 %package gnome-askpass
395 Summary: OpenSSH GNOME passphrase dialog
396 Summary(de): OpenSSH GNOME Passwort-Dialog
397 Summary(es): Diálogo para introducción de passphrase para GNOME
398 Summary(fr): Dialogue pass-phrase GNOME d'OpenSSH
399 Summary(it): Finestra di dialogo GNOME per la frase segreta di OpenSSH
400 Summary(pl): Odpytywacz has³a OpenSSH dla GNOME
401 Summary(pt): Diálogo de pedido de senha para GNOME do OpenSSH
402 Summary(pt_BR): Diálogo para entrada de passphrase para GNOME
403 Summary(ru): OpenSSH - ÄÉÁÌÏÇ ××ÏÄÁ ËÌÀÞÅ×ÏÊ ÆÒÁÚÙ (passphrase) ÄÌÑ GNOME
404 Summary(uk): OpenSSH - ĦÁÌÏÇ ××ÏÄÕ ËÌÀÞÏ×ϧ ÆÒÁÚÉ (passphrase) ÄÌÑ GNOME
405 Group: Applications/Networking
406 Requires: %{name} = %{epoch}:%{version}-%{release}
407 Obsoletes: openssh-askpass
408 Obsoletes: ssh-askpass
409 Obsoletes: ssh-extras
411 %description gnome-askpass
412 Ssh (Secure Shell) a program for logging into a remote machine and for
413 executing commands in a remote machine. It is intended to replace
414 rlogin and rsh, and provide secure encrypted communications between
415 two untrusted hosts over an insecure network. X11 connections and
416 arbitrary TCP/IP ports can also be forwarded over the secure channel.
418 OpenSSH is OpenBSD's rework of the last free version of SSH, bringing
419 it up to date in terms of security and features, as well as removing
420 all patented algorithms to seperate libraries (OpenSSL).
422 This package contains the GNOME passphrase dialog.
424 %description gnome-askpass -l es
425 Este paquete contiene un programa que abre una caja de diálogo para
426 entrada de passphrase en GNOME.
428 %description gnome-askpass -l pl
429 Ssh (Secure Shell) to program s³u¿±cy do logowania siê na zdaln±
430 maszynê i uruchamiania na niej aplikacji. W zamierzeniu openssh ma
431 zast±piæ rlogin, rsh i dostarczyæ bezpieczne, szyfrowane po³±czenie
432 pomiêdzy dwoma hostami.
434 Ten pakiet zawiera ,,odpytywacz has³a'' dla GNOME.
436 %description gnome-askpass -l pt_BR
437 Esse pacote contém um programa que abre uma caixa de diálogo para
438 entrada de passphrase no GNOME.
440 %description gnome-askpass -l ru
441 Ssh (Secure Shell) - ÜÔÏ ÐÒÏÇÒÁÍÍÁ ÄÌÑ "ÚÁÈÏÄÁ" (login) ÎÁ ÕÄÁÌÅÎÎÕÀ
442 ÍÁÛÉÎÕ É ÄÌÑ ×ÙÐÏÌÎÅÎÉÑ ËÏÍÁÎÄ ÎÁ ÕÄÁÌÅÎÎÏÊ ÍÁÛÉÎÅ.
444 üÔÏÔ ÐÁËÅÔ ÓÏÄÅÒÖÉÔ ÄÉÁÌÏÇ ××ÏÄÁ ËÌÀÞÅ×ÏÊ ÆÒÁÚÙ ÄÌÑ ÉÓÐÏÌØÚÏ×ÁÎÉÑ ÐÏÄ
447 %description gnome-askpass -l uk
448 Ssh (Secure Shell) - ÃÅ ÐÒÏÇÒÁÍÁ ÄÌÑ "ÚÁÈÏÄÕ" (login) ÄÏ ×¦ÄÄÁÌÅÎϧ
449 ÍÁÛÉÎÉ ÔÁ ÄÌÑ ×ÉËÏÎÁÎÎÑ ËÏÍÁÎÄ ÎÁ צÄÄÁÌÅÎ¦Ê ÍÁÛÉΦ.
451 ãÅÊ ÐÁËÅÔ Í¦ÓÔÉÔØ Ä¦ÁÌÏÇ ××ÏÄÕ ËÌÀÞÏ×ϧ ÆÒÁÚÉ ÄÌÑ ×ÉËÏÒÉÓÔÁÎÎÑ Ð¦Ä
461 %{?with_ldap:%patch5 -p1}
462 %{?with_kerberos5:%patch6 -p1}
465 %{?with_selinux:%patch9 -p1}
466 %{?with_selinux:%patch10 -p1}
467 %{?with_hpn:%patch11 -p1}
468 %{?with_hpn_none:%patch12 -p1}
472 cp %{_datadir}/automake/config.sub .
475 %{?with_chroot:CPPFLAGS="-DCHROOT"}
481 --with-md5-passwords \
482 --with-ipaddr-display \
483 %{?with_libedit:--with-libedit} \
486 --with-tcp-wrappers \
487 %{?with_ldap:--with-libs="-lldap -llber"} \
488 %{?with_ldap:--with-cppflags="-DWITH_LDAP_PUBKEY"} \
489 %{?with_kerberos5:--with-kerberos5} \
490 --with-privsep-path=%{_privsepdir} \
491 --with-pid-dir=%{_localstatedir}/run \
492 --with-xauth=/usr/bin/xauth \
496 echo '#define LOGIN_PROGRAM "/bin/login"' >>config.h
502 %{__cc} %{rpmcflags} %{rpmldflags} connect.c -o connect
506 %{__make} gnome-ssh-askpass1 \
507 CC="%{__cc} %{rpmldflags} %{rpmcflags}"
510 %{__make} gnome-ssh-askpass2 \
511 CC="%{__cc} %{rpmldflags} %{rpmcflags}"
515 rm -rf $RPM_BUILD_ROOT
516 install -d $RPM_BUILD_ROOT{%{_sysconfdir},/etc/{pam.d,rc.d/init.d,sysconfig,security,env.d}} \
517 $RPM_BUILD_ROOT%{_libexecdir}/ssh
518 %{?with_sshagentsh:install -d $RPM_BUILD_ROOT/etc/{profile.d,X11/xinit/xinitrc.d}}
521 DESTDIR=$RPM_BUILD_ROOT
523 install connect $RPM_BUILD_ROOT%{_bindir}
524 install %{SOURCE4} $RPM_BUILD_ROOT/etc/pam.d/sshd
525 install %{SOURCE6} $RPM_BUILD_ROOT/etc/pam.d/passwdssh
526 install %{SOURCE5} $RPM_BUILD_ROOT/etc/sysconfig/sshd
527 install %{SOURCE3} $RPM_BUILD_ROOT/etc/rc.d/init.d/sshd
528 install %{SOURCE2} $RPM_BUILD_ROOT%{_sysconfdir}/ssh_config
529 install %{SOURCE1} $RPM_BUILD_ROOT%{_sysconfdir}/sshd_config
530 %if %{with sshagentsh}
531 install %{SOURCE11} $RPM_BUILD_ROOT/etc/profile.d
532 ln -sf /etc/profile.d/ssh-agent.sh $RPM_BUILD_ROOT/etc/X11/xinit/xinitrc.d/ssh-agent.sh
533 install %{SOURCE12} $RPM_BUILD_ROOT%{_sysconfdir}
536 bzip2 -dc %{SOURCE7} | tar xf - -C $RPM_BUILD_ROOT%{_mandir}
539 install contrib/gnome-ssh-askpass1 $RPM_BUILD_ROOT%{_libexecdir}/ssh/ssh-askpass
542 install contrib/gnome-ssh-askpass2 $RPM_BUILD_ROOT%{_libexecdir}/ssh/ssh-askpass
544 %if %{with gnome} || %{with gtk}
545 cat << EOF >$RPM_BUILD_ROOT/etc/env.d/GNOME_SSH_ASKPASS_GRAB_SERVER
546 #GNOME_SSH_ASKPASS_GRAB_SERVER="true"
548 cat << EOF >$RPM_BUILD_ROOT/etc/env.d/GNOME_SSH_ASKPASS_GRAB_POINTER
549 #GNOME_SSH_ASKPASS_GRAB_POINTER="true"
551 ln -s %{_libexecdir}/ssh/ssh-askpass $RPM_BUILD_ROOT%{_libexecdir}/ssh-askpass
554 rm -f $RPM_BUILD_ROOT%{_mandir}/man1/slogin.1
555 echo ".so ssh.1" > $RPM_BUILD_ROOT%{_mandir}/man1/slogin.1
557 touch $RPM_BUILD_ROOT/etc/security/blacklist.sshd
559 %if "%{_lib}" != "lib"
560 find $RPM_BUILD_ROOT%{_sysconfdir} -type f -print0 | xargs -0 perl -pi -e "s#/usr/lib#/usr/%{_lib}#"
563 cat << EOF >$RPM_BUILD_ROOT/etc/env.d/SSH_ASKPASS
564 #SSH_ASKPASS="%{_libexecdir}/ssh-askpass"
568 rm -rf $RPM_BUILD_ROOT
579 %postun gnome-askpass
583 %useradd -P %{name}-server -u 40 -d %{_privsepdir} -s /bin/false -c "OpenSSH PrivSep User" -g nobody sshd
586 /sbin/chkconfig --add sshd
587 %service sshd reload "openssh daemon"
588 if ! grep -qs ssh /etc/security/passwd.conf ; then
590 echo "ssh" >> /etc/security/passwd.conf
594 if [ "$1" = "0" ]; then
596 /sbin/chkconfig --del sshd
600 if [ "$1" = "0" ]; then
605 %defattr(644,root,root,755)
606 %doc *.RNG TODO README OVERVIEW CREDITS Change*
607 %attr(755,root,root) %{_bindir}/ssh-key*
608 %{_mandir}/man1/ssh-key*.1*
613 %defattr(644,root,root,755)
615 %attr(755,root,root) %{_bindir}/connect
616 %attr(755,root,root) %{_bindir}/ssh
617 %attr(755,root,root) %{_bindir}/slogin
618 %attr(755,root,root) %{_bindir}/sftp
619 %attr(755,root,root) %{_bindir}/ssh-agent
620 %attr(755,root,root) %{_bindir}/ssh-add
621 %attr(755,root,root) %{_bindir}/scp
622 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/ssh_config
623 %config(noreplace,missingok) %verify(not md5 mtime size) /etc/env.d/SSH_ASKPASS
624 %if %{with sshagentsh}
625 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/ssh-agent.conf
626 %attr(755,root,root) /etc/profile.d/ssh-agent.sh
627 %attr(755,root,root) /etc/X11/xinit/xinitrc.d/ssh-agent.sh
629 %{_mandir}/man1/scp.1*
630 %{_mandir}/man1/ssh.1*
631 %{_mandir}/man1/slogin.1*
632 %{_mandir}/man1/sftp.1*
633 %{_mandir}/man1/ssh-agent.1*
634 %{_mandir}/man1/ssh-add.1*
635 %{_mandir}/man5/ssh_config.5*
636 %lang(it) %{_mandir}/it/man1/ssh.1*
637 %lang(it) %{_mandir}/it/man5/ssh_config.5*
638 %lang(pl) %{_mandir}/pl/man1/scp.1*
639 %lang(zh_CN) %{_mandir}/zh_CN/man1/scp.1*
641 # for host-based auth (suid required for accessing private host key)
642 #%attr(4755,root,root) %{_libexecdir}/ssh-keysign
643 #%{_mandir}/man8/ssh-keysign.8*
646 %defattr(644,root,root,755)
647 %attr(755,root,root) %{_sbindir}/sshd
648 %attr(755,root,root) %{_libexecdir}/sftp-server
649 %attr(755,root,root) %{_libexecdir}/ssh-keysign
650 %{_mandir}/man8/sshd.8*
651 %{_mandir}/man8/sftp-server.8*
652 %{_mandir}/man8/ssh-keysign.8*
653 %{_mandir}/man5/sshd_config.5*
654 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/sshd_config
655 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/pam.d/sshd
656 %attr(640,root,root) %{_sysconfdir}/moduli
657 %attr(754,root,root) /etc/rc.d/init.d/sshd
658 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/sshd
659 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/security/blacklist.sshd
661 %if %{with gnome} || %{with gtk}
663 %defattr(644,root,root,755)
664 %config(noreplace,missingok) %verify(not md5 mtime size) /etc/env.d/GNOME_SSH_ASKPASS*
665 %dir %{_libexecdir}/ssh
666 %attr(755,root,root) %{_libexecdir}/ssh/ssh-askpass
667 %attr(755,root,root) %{_libexecdir}/ssh-askpass