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