3 # _without_gnome - without gnome-askpass utility
4 # _without_gtk - without gtk (2.x)
5 # _with_ldap - with ldap support
6 # _with_kerberos5 - with kerberos5 support
8 # default to gtk2-based gnome-askpass
10 %define orig_ver 3.6.1p2
12 %{!?_without_gtk:%define _without_gnome 1}
13 Summary: OpenSSH free Secure Shell (SSH) implementation
14 Summary(de): OpenSSH - freie Implementation der Secure Shell (SSH)
15 Summary(es): Implementación libre de SSH
16 Summary(fr): Implémentation libre du shell sécurisé OpenSSH (SSH)
17 Summary(it): Implementazione gratuita OpenSSH della Secure Shell
18 Summary(pl): Publicznie dostêpna implementacja bezpiecznego shella (SSH)
19 Summary(pt): Implementação livre OpenSSH do protocolo 'Secure Shell' (SSH)
20 Summary(pt_BR): Implementação livre do SSH
21 Summary(ru): OpenSSH - Ó×ÏÂÏÄÎÁÑ ÒÅÁÌÉÚÁÃÉÑ ÐÒÏÔÏËÏÌÁ Secure Shell (SSH)
22 Summary(uk): OpenSSH - צÌØÎÁ ÒÅÁ̦ÚÁÃ¦Ñ ÐÒÏÔÏËÏÌÕ Secure Shell (SSH)
24 Version: 3.6.1p2%{?_with_ldap:ldap}
28 Group: Applications/Networking
29 Source0: ftp://ftp.ca.openbsd.org/pub/OpenBSD/OpenSSH/portable/%{name}-%{orig_ver}.tar.gz
30 # Source0-md5: f3879270bffe479e1bd057aa36258696
31 Source1: %{name}d.conf
33 Source3: %{name}d.init
34 Source4: %{name}d.pamd
35 Source5: %{name}.sysconfig
37 Source7: %{name}-askpass.sh
38 Source8: %{name}-askpass.csh
39 Patch0: %{name}-no_libnsl.patch
40 Patch2: %{name}-linux-ipv6.patch
41 Patch3: %{name}-pam_misc.patch
42 Patch4: %{name}-sigpipe.patch
43 # http://ldappubkey.gcu-squad.org/
44 Patch5: ldappubkey-ossh3.6-v2.patch
45 Patch6: openssh-heimdal.patch
46 URL: http://www.openssh.com/
47 BuildRequires: autoconf
48 BuildRequires: automake
49 %{!?_without_gnome:BuildRequires: gnome-libs-devel}
50 %{!?_without_gtk:BuildRequires: gtk+2-devel}
51 BuildRequires: libwrap-devel
52 BuildRequires: openssl-devel >= 0.9.7b
53 %{?_with_ldap:BuildRequires: openldap-devel}
54 %{?_with_kerberos5:BuildRequires: heimdal-devel}
55 BuildRequires: pam-devel
56 BuildRequires: %{__perl}
57 %{!?_without_gtk:BuildRequires: pkgconfig}
58 BuildRequires: zlib-devel
59 PreReq: openssl >= 0.9.7
62 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
64 %define _sysconfdir /etc/ssh
65 %define _libexecdir %{_libdir}/%{name}
66 %define _privsepdir /usr/share/empty
69 Ssh (Secure Shell) a program for logging into a remote machine and for
70 executing commands in a remote machine. It is intended to replace
71 rlogin and rsh, and provide secure encrypted communications between
72 two untrusted hosts over an insecure network. X11 connections and
73 arbitrary TCP/IP ports can also be forwarded over the secure channel.
75 OpenSSH is OpenBSD's rework of the last free version of SSH, bringing
76 it up to date in terms of security and features, as well as removing
77 all patented algorithms to seperate libraries (OpenSSL).
79 This package includes the core files necessary for both the OpenSSH
80 client and server. To make this package useful, you should also
81 install openssh-clients, openssh-server, or both.
84 OpenSSH (Secure Shell) stellt den Zugang zu anderen Rechnern her. Es
85 ersetzt telnet, rlogin, rexec und rsh und stellt eine sichere,
86 verschlüsselte Verbindung zwischen zwei nicht vertrauenswürdigen Hosts
87 über eine unsicheres Netzwerk her. X11 Verbindungen und beliebige
88 andere TCP/IP Ports können ebenso über den sicheren Channel
89 weitergeleitet werden.
92 SSH es un programa para accesar y ejecutar órdenes en computadores
93 remotos. Sustituye rlogin y rsh, y suministra un canal de comunicación
94 seguro entre dos servidores en una red insegura. Conexiones X11 y
95 puertas TCP/IP arbitrárias también pueden ser usadas por el canal
98 OpenSSH es el resultado del trabajo del equipo de OpenBSD para
99 continuar la última versión gratuita de SSH, actualizándolo en
100 términos de seguridad y recursos,así también eliminando todos los
101 algoritmos patentados y colocándolos en bibliotecas separadas
104 Este paquete contiene "port" para Linux de OpenSSH. Se debe instalar
105 también el paquete openssh-clients u openssh-server o ambos.
108 OpenSSH (Secure Shell) fournit un accès à un système distant. Il
109 remplace telnet, rlogin, rexec et rsh, tout en assurant des
110 communications cryptées securisées entre deux hôtes non fiabilisés sur
111 un réseau non sécurisé. Des connexions X11 et des ports TCP/IP
112 arbitraires peuvent également être transmis sur le canal sécurisé.
115 OpenSSH (Secure Shell) fornisce l'accesso ad un sistema remoto.
116 Sostituisce telnet, rlogin, rexec, e rsh, e fornisce comunicazioni
117 sicure e crittate tra due host non fidati su una rete non sicura. Le
118 connessioni X11 ad una porta TCP/IP arbitraria possono essere
119 inoltrate attraverso un canale sicuro.
122 Ssh (Secure Shell) to program s³u¿±cy do logowania siê na zdaln±
123 maszynê i uruchamiania na niej aplikacji. W zamierzeniu openssh ma
124 zast±piæ rlogin, rsh i dostarczyæ bezpieczne, szyfrowane po³±czenie
125 pomiedzy dwoma hostami.
127 Ten pakiet zawiera podstawowe pliki potrzebne zarówno po stronie
128 klienta jak i serwera OpenSSH. Aby by³ u¿yteczny, trzeba zainstalowaæ
129 co najmniej jeden z pakietów: openssh-clients lub openssh-server.
132 OpenSSH (Secure Shell) fornece acesso a um sistema remoto. Substitui o
133 telnet, rlogin, rexec, e o rsh e fornece comunicações seguras e
134 cifradas entre duas máquinas sem confiança mútua sobre uma rede
135 insegura. Ligações X11 e portos TCP/IP arbitrários também poder ser
136 reenviados pelo canal seguro.
138 %description -l pt_BR
139 SSH é um programa para acessar e executar comandos em máquinas
140 remotas. Ele substitui rlogin e rsh, e provem um canal de comunicação
141 seguro entre dois hosts em uma rede insegura. Conexões X11 e portas
142 TCP/IP arbitrárias também podem ser usadas pelo canal seguro.
144 OpenSSH é o resultado do trabalho da equipe do OpenBSD em continuar a
145 última versão gratuita do SSH, atualizando-o em termos de segurança e
146 recursos, assim como removendo todos os algoritmos patenteados e
147 colocando-os em bibliotecas separadas (OpenSSL).
149 Esse pacote contém o "port" pra Linux do OpenSSH. Você deve instalar
150 também ou o pacote openssh-clients, ou o openssh-server, ou ambos.
153 Ssh (Secure Shell) - ÜÔÏ ÐÒÏÇÒÁÍÍÁ ÄÌÑ "ÚÁÈÏÄÁ" (login) ÎÁ ÕÄÁÌÅÎÎÕÀ
154 ÍÁÛÉÎÕ É ÄÌÑ ×ÙÐÏÌÎÅÎÉÑ ËÏÍÁÎÄ ÎÁ ÕÄÁÌÅÎÎÏÊ ÍÁÛÉÎÅ. ïÎÁ ÐÒÅÄÎÁÚÎÁÞÅÎÁ
155 ÄÌÑ ÚÁÍÅÎÙ rlogin É rsh É ÏÂÅÓÐÅÞÉ×ÁÅÔ ÂÅÚÏÐÁÓÎÕÀ ÛÉÆÒÏ×ÁÎÎÕÀ
156 ËÏÍÍÕÎÉËÁÃÉÀ ÍÅÖÄÕ Ä×ÕÍÑ ÈÏÓÔÁÍÉ × ÓÅÔÉ, Ñ×ÌÑÀÝÅÊÓÑ ÎÅÂÅÚÏÐÁÓÎÏÊ.
157 óÏÅÄÉÎÅÎÉÑ X11 É ÌÀÂÙÅ ÐÏÒÔÙ TCP/IP ÍÏÇÕÔ ÔÁËÖÅ ÂÙÔØ ÐÒÏ×ÅÄÅÎÙ ÞÅÒÅÚ
160 OpenSSH - ÜÔÏ ÐÅÒÅÄÅÌËÁ ËÏÍÁÎÄÏÊ ÒÁÚÒÁÂÏÔÞÉËÏ× OpenBSD ÐÏÓÌÅÄÎÅÊ
161 Ó×ÏÂÏÄÎÏÊ ×ÅÒÓÉÉ SSH, ÄÏ×ÅÄÅÎÎÁÑ ÄÏ ÓÏ×ÒÅÍÅÎÎÏÇÏ ÓÏÓÔÏÑÎÉÑ × ÔÅÒÍÉÎÁÈ
162 ÕÒÏ×ÎÑ ÂÅÚÏÐÁÓÎÏÓÔÉ É ÐÏÄÄÅÒÖÉ×ÁÅÍÙÈ ×ÏÚÍÏÖÎÏÓÔÅÊ. ÷ÓÅ ÐÁÔÅÎÔÏ×ÁÎÎÙÅ
163 ÁÌÇÏÒÉÔÍÙ ×ÙÎÅÓÅÎÙ × ÏÔÄÅÌØÎÙÅ ÂÉÂÌÉÏÔÅËÉ (OpenSSL).
165 üÔÏÔ ÐÁËÅÔ ÓÏÄÅÒÖÉÔ ÆÁÊÌÙ, ÎÅÏÂÈÏÄÉÍÙÅ ËÁË ÄÌÑ ËÌÉÅÎÔÁ, ÔÁË É ÄÌÑ
166 ÓÅÒ×ÅÒÁ OpenSSH. ÷ÁÍ ÎÕÖÎÏ ÂÕÄÅÔ ÕÓÔÁÎÏ×ÉÔØ ÅÝÅ openssh-clients,
167 openssh-server, ÉÌÉ ÏÂÁ ÐÁËÅÔÁ.
170 Ssh (Secure Shell) - ÃÅ ÐÒÏÇÒÁÍÁ ÄÌÑ "ÚÁÈÏÄÕ" (login) ÄÏ ×¦ÄÄÁÌÅÎϧ
171 ÍÁÛÉÎÉ ÔÁ ÄÌÑ ×ÉËÏÎÁÎÎÑ ËÏÍÁÎÄ ÎÁ צÄÄÁÌÅÎ¦Ê ÍÁÛÉΦ. ÷ÏÎÁ ÐÒÉÚÎÁÞÅÎÁ
172 ÄÌÑ ÚÁͦÎÉ rlogin ÔÁ rsh ¦ ÚÁÂÅÚÐÅÞÕ¤ ÂÅÚÐÅÞÎÕ ÛÉÆÒÏ×ÁÎÕ ËÏÍÕΦËÁæÀ
173 Í¦Ö Ä×ÏÍÁ ÈÏÓÔÁÍÉ × ÍÅÒÅÖ¦, ÑËÁ ÎÅ ¤ ÂÅÚÐÅÞÎÏÀ. ú'¤ÄÎÁÎÎÑ X11 ÔÁ
174 ÄÏצÌØΦ ÐÏÒÔÉ TCP/IP ÍÏÖÕÔØ ÔÁËÏÖ ÂÕÔÉ ÐÒÏ×ÅÄÅΦ ÞÅÒÅÚ ÂÅÚÐÅÞÎÉÊ
177 OpenSSH - ÃÅ ÐÅÒÅÒÏÂËÁ ËÏÍÁÎÄÏÀ ÒÏÚÒÏÂÎÉË¦× OpenBSD ÏÓÔÁÎÎØϧ צÌØÎϧ
178 ×ÅÒÓ¦§ SSH, ÄÏ×ÅÄÅÎÁ ÄÏ ÓÕÞÁÓÎÏÇÏ ÓÔÁÎÕ × ÔÅÒͦÎÁÈ Ò¦×ÎÑ ÂÅÚÐÅËÉ ÔÁ
179 ЦÄÔÒÉÍÕ×ÁÎÉÈ ÍÏÖÌÉ×ÏÓÔÅÊ. ÷Ó¦ ÐÁÔÅÎÔÏ×ÁΦ ÁÌÇÏÒÉÔÍÉ ×ÉÎÅÓÅΦ ÄÏ
180 ÏËÒÅÍÉÈ Â¦Â̦ÏÔÅË (OpenSSL).
182 ãÅÊ ÐÁËÅÔ Í¦ÓÔÉÔØ ÆÁÊÌÉ, ÎÅÏÂȦÄΦ ÑË ÄÌÑ Ë̦¤ÎÔÁ, ÔÁË ¦ ÄÌÑ ÓÅÒ×ÅÒÁ
183 OpenSSH. ÷ÁÍ ÐÏÔÒ¦ÂÎÏ ÂÕÄÅ ÝÅ ×ÓÔÁÎÏ×ÉÔÉ openssh-clients,
184 openssh-server, ÞÉ ÏÂÉÄ×Á ÐÁËÅÔÉ.
187 Summary: OpenSSH Secure Shell protocol clients
188 Summary(es): Clientes de OpenSSH
189 Summary(pl): Klienci protoko³u Secure Shell
190 Summary(pt_BR): Clientes do OpenSSH
191 Summary(ru): OpenSSH - ËÌÉÅÎÔÙ ÐÒÏÔÏËÏÌÁ Secure Shell
192 Summary(uk): OpenSSH - Ë̦¤ÎÔÉ ÐÒÏÔÏËÏÌÕ Secure Shell
193 Group: Applications/Networking
194 Requires: %{name} = %{epoch}:%{version}
195 Obsoletes: ssh-clients
198 Ssh (Secure Shell) a program for logging into a remote machine and for
199 executing commands in a remote machine. It is intended to replace
200 rlogin and rsh, and provide secure encrypted communications between
201 two untrusted hosts over an insecure network. X11 connections and
202 arbitrary TCP/IP ports can also be forwarded over the secure channel.
204 OpenSSH is OpenBSD's rework of the last free version of SSH, bringing
205 it up to date in terms of security and features, as well as removing
206 all patented algorithms to seperate libraries (OpenSSL).
208 This package includes the clients necessary to make encrypted
209 connections to SSH servers.
211 %description clients -l es
212 Este paquete incluye los clientes que se necesitan para hacer
213 conexiones codificadas con servidores SSH.
215 %description clients -l pl
216 Ssh (Secure Shell) to program s³u¿±cy do logowania siê na zdaln±
217 maszynê i uruchamiania na niej aplikacji. W zamierzeniu openssh ma
218 zast±piæ rlogin, rsh i dostarczyæ bezpieczne, szyfrowane po³±czenie
219 pomiedzy dwoma hostami.
221 Ten pakiet zawiera klientów s³u¿±cych do ³±czenia siê z serwerami SSH.
223 %description clients -l pt_BR
224 Esse pacote inclui os clientes necessários para fazer conexões
225 encriptadas com servidores SSH.
227 %description clients -l ru
228 Ssh (Secure Shell) - ÜÔÏ ÐÒÏÇÒÁÍÍÁ ÄÌÑ "ÚÁÈÏÄÁ" (login) ÎÁ ÕÄÁÌÅÎÎÕÀ
229 ÍÁÛÉÎÕ É ÄÌÑ ×ÙÐÏÌÎÅÎÉÑ ËÏÍÁÎÄ ÎÁ ÕÄÁÌÅÎÎÏÊ ÍÁÛÉÎÅ.
231 üÔÏÔ ÐÁËÅÔ ÓÏÄÅÒÖÉÔ ÐÒÏÇÒÁÍÍÙ-ËÌÉÅÎÔÙ, ÎÅÏÂÈÏÄÉÍÙÅ ÄÌÑ ÕÓÔÁÎÏ×ÌÅÎÉÑ
232 ÚÁÛÉÆÒÏ×ÁÎÎÙÈ ÓÏÅÄÉÎÅÎÉÊ Ó ÓÅÒ×ÅÒÁÍÉ SSH.
234 %description clients -l uk
235 Ssh (Secure Shell) - ÃÅ ÐÒÏÇÒÁÍÁ ÄÌÑ "ÚÁÈÏÄÕ" (login) ÄÏ ×¦ÄÄÁÌÅÎϧ
236 ÍÁÛÉÎÉ ÔÁ ÄÌÑ ×ÉËÏÎÁÎÎÑ ËÏÍÁÎÄ ÎÁ צÄÄÁÌÅÎ¦Ê ÍÁÛÉΦ.
238 ãÅÊ ÐÁËÅÔ Í¦ÓÔÉÔØ ÐÒÏÇÒÁÍÉ-Ë̦¤ÎÔÉ, ÎÅÏÂȦÄΦ ÄÌÑ ×ÓÔÁÎÏ×ÌÅÎÎÑ
239 ÚÁÛÉÆÒÏ×ÁÎÉÈ Ú'¤ÄÎÁÎØ Ú ÓÅÒ×ÅÒÁÍÉ SSH.
242 Summary: OpenSSH Secure Shell protocol server (sshd)
243 Summary(de): OpenSSH Secure Shell Protocol-Server (sshd)
244 Summary(es): Servidor OpenSSH para comunicaciones codificadas
245 Summary(fr): Serveur de protocole du shell sécurisé OpenSSH (sshd)
246 Summary(it): Server OpenSSH per il protocollo Secure Shell (sshd)
247 Summary(pl): Serwer protoko³u Secure Shell (sshd)
248 Summary(pt): Servidor do protocolo 'Secure Shell' OpenSSH (sshd)
249 Summary(pt_BR): Servidor OpenSSH para comunicações encriptadas
250 Summary(ru): OpenSSH - ÓÅÒ×ÅÒ ÐÒÏÔÏËÏÌÁ Secure Shell (sshd)
251 Summary(uk): OpenSSH - ÓÅÒ×ÅÒ ÐÒÏÔÏËÏÌÕ Secure Shell (sshd)
252 Group: Networking/Daemons
253 PreReq: %{name} = %{epoch}:%{version}
254 PreReq: rc-scripts >= 0.3.1-3
255 Requires(pre): /bin/id
256 Requires(pre): /usr/sbin/useradd
257 Requires(post): /sbin/chkconfig
258 Requires(post): chkconfig >= 0.9
260 Requires(postun): /usr/sbin/userdel
263 Obsoletes: ssh-server
266 Ssh (Secure Shell) a program for logging into a remote machine and for
267 executing commands in a remote machine. It is intended to replace
268 rlogin and rsh, and provide secure encrypted communications between
269 two untrusted hosts over an insecure network. X11 connections and
270 arbitrary TCP/IP ports can also be forwarded over the secure channel.
272 OpenSSH is OpenBSD's rework of the last free version of SSH, bringing
273 it up to date in terms of security and features, as well as removing
274 all patented algorithms to seperate libraries (OpenSSL).
276 This package contains the secure shell daemon. The sshd is the server
277 part of the secure shell protocol and allows ssh clients to connect to
280 %description server -l de
281 Dieses Paket installiert den sshd, den Server-Teil der OpenSSH.
283 %description server -l es
284 Este paquete contiene el servidor SSH. sshd es la parte servidor del
285 protocolo secure shell y permite que clientes ssh se conecten a su
288 %description server -l fr
289 Ce paquetage installe le 'sshd', partie serveur de OpenSSH.
291 %description server -l it
292 Questo pacchetto installa sshd, il server di OpenSSH.
294 %description server -l pl
295 Ssh (Secure Shell) to program s³u¿±cy do logowania siê na zdaln±
296 maszynê i uruchamiania na niej aplikacji. W zamierzeniu openssh ma
297 zast±piæ rlogin, rsh i dostarczyæ bezpieczne, szyfrowane po³±czenie
298 pomiedzy dwoma hostami.
300 Ten pakiet zawiera serwer sshd (do którego mog± ³±czyæ siê klienci
303 %description server -l pt
304 Este pacote intala o sshd, o servidor do OpenSSH.
306 %description server -l pt_BR
307 Esse pacote contém o servidor SSH. O sshd é a parte servidor do
308 protocolo secure shell e permite que clientes ssh se conectem ao seu
311 %description server -l ru
312 Ssh (Secure Shell) - ÜÔÏ ÐÒÏÇÒÁÍÍÁ ÄÌÑ "ÚÁÈÏÄÁ" (login) ÎÁ ÕÄÁÌÅÎÎÕÀ
313 ÍÁÛÉÎÕ É ÄÌÑ ×ÙÐÏÌÎÅÎÉÑ ËÏÍÁÎÄ ÎÁ ÕÄÁÌÅÎÎÏÊ ÍÁÛÉÎÅ.
315 üÔÏÔ ÐÁËÅÔ ÓÏÄÅÒÖÉÔ sshd - "ÄÅÍÏÎ" Secure Shell. sshd - ÜÔÏ ÓÅÒ×ÅÒÎÁÑ
316 ÞÁÓÔØ ÐÒÏÔÏËÏÌÁ Secure Shell, ÐÏÚ×ÏÌÑÀÝÁÑ ËÌÉÅÎÔÁÍ ssh ÓÏÅÄÉÎÑÔØÓÑ Ó
319 %description server -l uk
320 Ssh (Secure Shell) - ÃÅ ÐÒÏÇÒÁÍÁ ÄÌÑ "ÚÁÈÏÄÕ" (login) ÄÏ ×¦ÄÄÁÌÅÎϧ
321 ÍÁÛÉÎÉ ÔÁ ÄÌÑ ×ÉËÏÎÁÎÎÑ ËÏÍÁÎÄ ÎÁ צÄÄÁÌÅÎ¦Ê ÍÁÛÉΦ.
323 ãÅÊ ÐÁËÅÔ Í¦ÓÔÉÔØ sshd - "ÄÅÍÏÎ" Secure Shell. sshd - ÃÅ ÓÅÒ×ÅÒÎÁ
324 ÞÁÓÔÉÎÁ ÐÒÏÔÏËÏÌÕ Secure Shell, ÑËÁ ÄÏÚ×ÏÌѤ Ë̦¤ÎÔÁÍ ssh Ú×'ÑÚÕ×ÁÔÉÓØ
327 %package gnome-askpass
328 Summary: OpenSSH GNOME passphrase dialog
329 Summary(de): OpenSSH GNOME Passwort-Dialog
330 Summary(es): Diálogo para introducción de passphrase para GNOME
331 Summary(fr): Dialogue pass-phrase GNOME d'OpenSSH
332 Summary(it): Finestra di dialogo GNOME per la frase segreta di OpenSSH
333 Summary(pl): Odpytywacz has³a OpenSSH dla GNOME
334 Summary(pt): Diálogo de pedido de senha para GNOME do OpenSSH
335 Summary(pt_BR): Diálogo para entrada de passphrase para GNOME
336 Summary(ru): OpenSSH - ÄÉÁÌÏÇ ××ÏÄÁ ËÌÀÞÅ×ÏÊ ÆÒÁÚÙ (passphrase) ÄÌÑ GNOME
337 Summary(uk): OpenSSH - ĦÁÌÏÇ ××ÏÄÕ ËÌÀÞÏ×ϧ ÆÒÁÚÉ (passphrase) ÄÌÑ GNOME
338 Group: Applications/Networking
339 Requires: %{name} = %{epoch}:%{version}
340 Obsoletes: ssh-extras
341 Obsoletes: ssh-askpass
342 Obsoletes: openssh-askpass
344 %description gnome-askpass
345 Ssh (Secure Shell) a program for logging into a remote machine and for
346 executing commands in a remote machine. It is intended to replace
347 rlogin and rsh, and provide secure encrypted communications between
348 two untrusted hosts over an insecure network. X11 connections and
349 arbitrary TCP/IP ports can also be forwarded over the secure channel.
351 OpenSSH is OpenBSD's rework of the last free version of SSH, bringing
352 it up to date in terms of security and features, as well as removing
353 all patented algorithms to seperate libraries (OpenSSL).
355 This package contains the GNOME passphrase dialog.
357 %description gnome-askpass -l es
358 Este paquete contiene un programa que abre una caja de diálogo para
359 entrada de passphrase en GNOME.
361 %description gnome-askpass -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 pomiedzy dwoma hostami.
367 Ten pakiet zawiera ,,odpytywacz has³a'' dla GNOME.
369 %description gnome-askpass -l pt_BR
370 Esse pacote contém um programa que abre uma caixa de diálogo para
371 entrada de passphrase no GNOME.
373 %description gnome-askpass -l ru
374 Ssh (Secure Shell) - ÜÔÏ ÐÒÏÇÒÁÍÍÁ ÄÌÑ "ÚÁÈÏÄÁ" (login) ÎÁ ÕÄÁÌÅÎÎÕÀ
375 ÍÁÛÉÎÕ É ÄÌÑ ×ÙÐÏÌÎÅÎÉÑ ËÏÍÁÎÄ ÎÁ ÕÄÁÌÅÎÎÏÊ ÍÁÛÉÎÅ.
377 üÔÏÔ ÐÁËÅÔ ÓÏÄÅÒÖÉÔ ÄÉÁÌÏÇ ××ÏÄÁ ËÌÀÞÅ×ÏÊ ÆÒÁÚÙ ÄÌÑ ÉÓÐÏÌØÚÏ×ÁÎÉÑ ÐÏÄ
380 %description gnome-askpass -l uk
381 Ssh (Secure Shell) - ÃÅ ÐÒÏÇÒÁÍÁ ÄÌÑ "ÚÁÈÏÄÕ" (login) ÄÏ ×¦ÄÄÁÌÅÎϧ
382 ÍÁÛÉÎÉ ÔÁ ÄÌÑ ×ÉËÏÎÁÎÎÑ ËÏÍÁÎÄ ÎÁ צÄÄÁÌÅÎ¦Ê ÍÁÛÉΦ.
384 ãÅÊ ÐÁËÅÔ Í¦ÓÔÉÔØ Ä¦ÁÌÏÇ ××ÏÄÕ ËÌÀÞÏ×ϧ ÆÒÁÚÉ ÄÌÑ ×ÉËÏÒÉÓÔÁÎÎÑ Ð¦Ä
388 %setup -q -n %{name}-%{orig_ver}
393 %{?_with_ldap:%patch5 -p1}
394 %{?_with_kerberos5:%patch6 -p1}
404 --with-md5-passwords \
405 --with-ipaddr-display \
408 --with-tcp-wrappers \
409 %{?_with_ldap:--with-libs="-lldap -llber"} \
410 %{?_with_ldap:--with-cppflags="-DWITH_LDAP_PUBKEY"} \
411 %{?_with_kerberos5:--with-kerberos5} \
412 --with-privsep-path=%{_privsepdir} \
413 --with-pid-dir=%{_localstatedir}/run \
414 --with-xauth=/usr/X11R6/bin/xauth
416 echo '#define LOGIN_PROGRAM "/bin/login"' >>config.h
421 %if 0%{!?_without_gnome:1}
422 %{__make} gnome-ssh-askpass1 \
423 CC="%{__cc} %{rpmldflags} %{rpmcflags}"
425 %if 0%{!?_without_gtk:1}
426 %{__make} gnome-ssh-askpass2 \
427 CC="%{__cc} %{rpmldflags} %{rpmcflags}"
431 rm -rf $RPM_BUILD_ROOT
432 install -d $RPM_BUILD_ROOT{%{_sysconfdir},/etc/{pam.d,rc.d/init.d,sysconfig,security,profile.d}}
434 %{__make} install DESTDIR="$RPM_BUILD_ROOT"
436 install %{SOURCE4} $RPM_BUILD_ROOT/etc/pam.d/sshd
437 install %{SOURCE6} $RPM_BUILD_ROOT/etc/pam.d/passwdssh
438 install %{SOURCE5} $RPM_BUILD_ROOT/etc/sysconfig/sshd
439 install %{SOURCE3} $RPM_BUILD_ROOT/etc/rc.d/init.d/sshd
440 install %{SOURCE2} $RPM_BUILD_ROOT%{_sysconfdir}/ssh_config
441 install %{SOURCE1} $RPM_BUILD_ROOT%{_sysconfdir}/sshd_config
443 install -d $RPM_BUILD_ROOT%{_libexecdir}/ssh
444 %if 0%{!?_without_gnome:1}
445 install contrib/gnome-ssh-askpass1 $RPM_BUILD_ROOT%{_libexecdir}/ssh/ssh-askpass
447 %if 0%{!?_without_gtk:1}
448 install contrib/gnome-ssh-askpass2 $RPM_BUILD_ROOT%{_libexecdir}/ssh/ssh-askpass
450 %if 0%{!?_without_gnome:1}%{!?_without_gtk:1}
451 install %{SOURCE7} %{SOURCE8} $RPM_BUILD_ROOT/etc/profile.d
454 rm -f $RPM_BUILD_ROOT%{_mandir}/man1/slogin.1
455 echo ".so ssh.1" > $RPM_BUILD_ROOT%{_mandir}/man1/slogin.1
457 touch $RPM_BUILD_ROOT/etc/security/blacklist.sshd
460 rm -rf $RPM_BUILD_ROOT
463 if [ -n "`id -u sshd 2>/dev/null`" ]; then
464 if [ "`id -u sshd`" != "40" ]; then
465 echo "Error: user sshd doesn't have uid=40. Correct this before installing ssh server." 1>&2
469 /usr/sbin/useradd -u 40 -d %{_privsepdir} -s /bin/false -M -r -c "OpenSSH PrivSep User" -g nobody sshd 1>&2
473 /sbin/chkconfig --add sshd
474 if [ -f /var/lock/subsys/sshd ]; then
475 /etc/rc.d/init.d/sshd restart 1>&2
477 echo "Run \"/etc/rc.d/init.d/sshd start\" to start openssh daemon."
479 if ! grep -qs ssh /etc/security/passwd.conf ; then
481 echo "ssh" >> /etc/security/passwd.conf
485 if [ "$1" = "0" ]; then
486 if [ -f /var/lock/subsys/sshd ]; then
487 /etc/rc.d/init.d/sshd stop 1>&2
489 /sbin/chkconfig --del sshd
493 if [ "$1" = "0" ]; then
494 /usr/sbin/userdel sshd
498 %defattr(644,root,root,755)
499 %doc *.RNG TODO README OVERVIEW CREDITS Change*
500 %attr(755,root,root) %{_bindir}/ssh-key*
501 %{_mandir}/man1/ssh-key*.1*
505 %defattr(644,root,root,755)
506 %attr(0755,root,root) %{_bindir}/ssh
507 %attr(0755,root,root) %{_bindir}/slogin
508 %attr(0755,root,root) %{_bindir}/sftp
509 %attr(0755,root,root) %{_bindir}/ssh-agent
510 %attr(0755,root,root) %{_bindir}/ssh-add
511 %attr(0755,root,root) %{_bindir}/scp
512 %config(noreplace) %verify(not md5 size mtime) %{_sysconfdir}/ssh_config
513 %{_mandir}/man1/scp.1*
514 %{_mandir}/man1/ssh.1*
515 %{_mandir}/man1/slogin.1*
516 %{_mandir}/man1/sftp.1*
517 %{_mandir}/man1/ssh-agent.1*
518 %{_mandir}/man1/ssh-add.1*
519 %{_mandir}/man5/ssh_config.5*
521 # for host-based auth (suid required for accessing private host key)
522 #%attr(4755,root,root) %{_libexecdir}/ssh-keysign
523 #%{_mandir}/man8/ssh-keysign.8*
526 %defattr(644,root,root,755)
527 %attr(755,root,root) %{_sbindir}/sshd
528 %attr(755,root,root) %{_libexecdir}/sftp-server
530 %{_mandir}/man8/sshd.8*
531 %{_mandir}/man8/sftp-server.8*
532 %{_mandir}/man5/sshd_config.5*
533 %attr(640,root,root) %config(noreplace) %verify(not md5 size mtime) %{_sysconfdir}/sshd_config
534 %attr(640,root,root) %config(noreplace) %verify(not md5 size mtime) /etc/pam.d/sshd
535 %attr(640,root,root) %{_sysconfdir}/moduli
536 %attr(754,root,root) /etc/rc.d/init.d/sshd
537 %attr(640,root,root) %config(noreplace) %verify(not md5 size mtime) /etc/sysconfig/sshd
538 %attr(640,root,root) %config(noreplace) %verify(not md5 size mtime) /etc/security/blacklist.sshd
540 %if 0%{!?_without_gnome:1}%{!?_without_gtk:1}
542 %defattr(644,root,root,755)
543 %dir %{_libexecdir}/ssh
544 %attr(755,root,root) %{_libexecdir}/ssh/ssh-askpass
545 %attr(755,root,root) /etc/profile.d/*