3 # _without_gnome - without gnome-askpass utility
5 Summary: OpenSSH free Secure Shell (SSH) implementation
6 Summary(de): OpenSSH - freie Implementation der Secure Shell (SSH)
7 Summary(es): Implementación libre de SSH
8 Summary(fr): Implémentation libre du shell sécurisé OpenSSH (SSH)
9 Summary(it): Implementazione gratuita OpenSSH della Secure Shell
10 Summary(pl): Publicznie dostêpna implementacja bezpiecznego shella (SSH)
11 Summary(pt): Implementação livre OpenSSH do protocolo 'Secure Shell' (SSH)
12 Summary(pt_BR): Implementação livre do SSH
13 Summary(ru): OpenSSH - Ó×ÏÂÏÄÎÁÑ ÒÅÁÌÉÚÁÃÉÑ ÐÒÏÔÏËÏÌÁ Secure Shell (SSH)
14 Summary(uk): OpenSSH - צÌØÎÁ ÒÅÁ̦ÚÁÃ¦Ñ ÐÒÏÔÏËÏÌÕ Secure Shell (SSH)
20 Group: Applications/Networking
21 Source0: ftp://ftp.ca.openbsd.org/pub/OpenBSD/OpenSSH/portable/%{name}-%{version}.tar.gz
22 Source1: %{name}d.conf
24 Source3: %{name}d.init
25 Source4: %{name}d.pamd
26 Source5: %{name}.sysconfig
28 Patch0: %{name}-no_libnsl.patch
29 Patch1: %{name}-set_12.patch
30 Patch2: %{name}-linux-ipv6.patch
31 Patch3: %{name}-pam_misc.patch
32 Patch4: %{name}-sigpipe.patch
33 URL: http://www.openssh.com/
34 BuildRequires: XFree86-devel
35 BuildRequires: autoconf
36 BuildRequires: automake
37 %{!?_without_gnome:BuildRequires: gnome-libs-devel}
38 BuildRequires: libwrap-devel
39 BuildRequires: openssl-devel >= 0.9.6a
40 BuildRequires: pam-devel
42 BuildRequires: zlib-devel
43 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
48 %define _sysconfdir /etc/ssh
49 %define _libexecdir %{_libdir}/%{name}
50 %define _privsepdir /usr/share/empty
53 Ssh (Secure Shell) a program for logging into a remote machine and for
54 executing commands in a remote machine. It is intended to replace
55 rlogin and rsh, and provide secure encrypted communications between
56 two untrusted hosts over an insecure network. X11 connections and
57 arbitrary TCP/IP ports can also be forwarded over the secure channel.
59 OpenSSH is OpenBSD's rework of the last free version of SSH, bringing
60 it up to date in terms of security and features, as well as removing
61 all patented algorithms to seperate libraries (OpenSSL).
63 This package includes the core files necessary for both the OpenSSH
64 client and server. To make this package useful, you should also
65 install openssh-clients, openssh-server, or both.
68 OpenSSH (Secure Shell) stellt den Zugang zu anderen Rechnern her. Es
69 ersetzt telnet, rlogin, rexec und rsh und stellt eine sichere,
70 verschlüsselte Verbindung zwischen zwei nicht vertrauenswürdigen Hosts
71 über eine unsicheres Netzwerk her. X11 Verbindungen und beliebige
72 andere TCP/IP Ports können ebenso über den sicheren Channel
73 weitergeleitet werden.
76 SSH es un programa para accesar y ejecutar órdenes en computadores
77 remotos. Sustituye rlogin y rsh, y suministra un canal de comunicación
78 seguro entre dos servidores en una red insegura. Conexiones X11 y
79 puertas TCP/IP arbitrárias también pueden ser usadas por el canal
82 OpenSSH es el resultado del trabajo del equipo de OpenBSD para
83 continuar la última versión gratuita de SSH, actualizándolo en
84 términos de seguridad y recursos,así también eliminando todos los
85 algoritmos patentados y colocándolos en bibliotecas separadas
88 Este paquete contiene "port" para Linux de OpenSSH. Se debe instalar
89 también el paquete openssh-clients u openssh-server o ambos.
92 OpenSSH (Secure Shell) fournit un accès à un système distant. Il
93 remplace telnet, rlogin, rexec et rsh, tout en assurant des
94 communications cryptées securisées entre deux hôtes non fiabilisés sur
95 un réseau non sécurisé. Des connexions X11 et des ports TCP/IP
96 arbitraires peuvent également être transmis sur le canal sécurisé.
99 OpenSSH (Secure Shell) fornisce l'accesso ad un sistema remoto.
100 Sostituisce telnet, rlogin, rexec, e rsh, e fornisce comunicazioni
101 sicure e crittate tra due host non fidati su una rete non sicura. Le
102 connessioni X11 ad una porta TCP/IP arbitraria possono essere
103 inoltrate attraverso un canale sicuro.
106 Ssh (Secure Shell) to program s³u¿±cy do logowania siê na zdaln±
107 maszynê i uruchamiania na niej aplikacji. W zamierzeniu openssh ma
108 zast±piæ rlogin, rsh i dostarczyæ bezpieczne, szyfrowane po³±czenie
109 pomiedzy dwoma hostami.
111 Ten pakiet zawiera podstawowe pliki potrzebne zarówno po stronie
112 klienta jak i serwera OpenSSH. Aby by³ u¿yteczny, trzeba zainstalowaæ
113 co najmniej jeden z pakietów: openssh-clients lub openssh-server.
116 OpenSSH (Secure Shell) fornece acesso a um sistema remoto. Substitui o
117 telnet, rlogin, rexec, e o rsh e fornece comunicações seguras e
118 cifradas entre duas máquinas sem confiança mútua sobre uma rede
119 insegura. Ligações X11 e portos TCP/IP arbitrários também poder ser
120 reenviados pelo canal seguro.
122 %description -l pt_BR
123 SSH é um programa para acessar e executar comandos em máquinas
124 remotas. Ele substitui rlogin e rsh, e provem um canal de comunicação
125 seguro entre dois hosts em uma rede insegura. Conexões X11 e portas
126 TCP/IP arbitrárias também podem ser usadas pelo canal seguro.
128 OpenSSH é o resultado do trabalho da equipe do OpenBSD em continuar a
129 última versão gratuita do SSH, atualizando-o em termos de segurança e
130 recursos, assim como removendo todos os algoritmos patenteados e
131 colocando-os em bibliotecas separadas (OpenSSL).
133 Esse pacote contém o "port" pra Linux do OpenSSH. Você deve instalar
134 também ou o pacote openssh-clients, ou o openssh-server, ou ambos.
137 Ssh (Secure Shell) - ÜÔÏ ÐÒÏÇÒÁÍÍÁ ÄÌÑ "ÚÁÈÏÄÁ" (login) ÎÁ ÕÄÁÌÅÎÎÕÀ
138 ÍÁÛÉÎÕ É ÄÌÑ ×ÙÐÏÌÎÅÎÉÑ ËÏÍÁÎÄ ÎÁ ÕÄÁÌÅÎÎÏÊ ÍÁÛÉÎÅ. ïÎÁ ÐÒÅÄÎÁÚÎÁÞÅÎÁ
139 ÄÌÑ ÚÁÍÅÎÙ rlogin É rsh É ÏÂÅÓÐÅÞÉ×ÁÅÔ ÂÅÚÏÐÁÓÎÕÀ ÛÉÆÒÏ×ÁÎÎÕÀ
140 ËÏÍÍÕÎÉËÁÃÉÀ ÍÅÖÄÕ Ä×ÕÍÑ ÈÏÓÔÁÍÉ × ÓÅÔÉ, Ñ×ÌÑÀÝÅÊÓÑ ÎÅÂÅÚÏÐÁÓÎÏÊ.
141 óÏÅÄÉÎÅÎÉÑ X11 É ÌÀÂÙÅ ÐÏÒÔÙ TCP/IP ÍÏÇÕÔ ÔÁËÖÅ ÂÙÔØ ÐÒÏ×ÅÄÅÎÙ ÞÅÒÅÚ
144 OpenSSH - ÜÔÏ ÐÅÒÅÄÅÌËÁ ËÏÍÁÎÄÏÊ ÒÁÚÒÁÂÏÔÞÉËÏ× OpenBSD ÐÏÓÌÅÄÎÅÊ
145 Ó×ÏÂÏÄÎÏÊ ×ÅÒÓÉÉ SSH, ÄÏ×ÅÄÅÎÎÁÑ ÄÏ ÓÏ×ÒÅÍÅÎÎÏÇÏ ÓÏÓÔÏÑÎÉÑ × ÔÅÒÍÉÎÁÈ
146 ÕÒÏ×ÎÑ ÂÅÚÏÐÁÓÎÏÓÔÉ É ÐÏÄÄÅÒÖÉ×ÁÅÍÙÈ ×ÏÚÍÏÖÎÏÓÔÅÊ. ÷ÓÅ ÐÁÔÅÎÔÏ×ÁÎÎÙÅ
147 ÁÌÇÏÒÉÔÍÙ ×ÙÎÅÓÅÎÙ × ÏÔÄÅÌØÎÙÅ ÂÉÂÌÉÏÔÅËÉ (OpenSSL).
149 üÔÏÔ ÐÁËÅÔ ÓÏÄÅÒÖÉÔ ÆÁÊÌÙ, ÎÅÏÂÈÏÄÉÍÙÅ ËÁË ÄÌÑ ËÌÉÅÎÔÁ, ÔÁË É ÄÌÑ
150 ÓÅÒ×ÅÒÁ OpenSSH. ÷ÁÍ ÎÕÖÎÏ ÂÕÄÅÔ ÕÓÔÁÎÏ×ÉÔØ ÅÝÅ openssh-clients,
151 openssh-server, ÉÌÉ ÏÂÁ ÐÁËÅÔÁ.
154 Ssh (Secure Shell) - ÃÅ ÐÒÏÇÒÁÍÁ ÄÌÑ "ÚÁÈÏÄÕ" (login) ÄÏ ×¦ÄÄÁÌÅÎϧ
155 ÍÁÛÉÎÉ ÔÁ ÄÌÑ ×ÉËÏÎÁÎÎÑ ËÏÍÁÎÄ ÎÁ צÄÄÁÌÅÎ¦Ê ÍÁÛÉΦ. ÷ÏÎÁ ÐÒÉÚÎÁÞÅÎÁ
156 ÄÌÑ ÚÁͦÎÉ rlogin ÔÁ rsh ¦ ÚÁÂÅÚÐÅÞÕ¤ ÂÅÚÐÅÞÎÕ ÛÉÆÒÏ×ÁÎÕ ËÏÍÕΦËÁæÀ
157 Í¦Ö Ä×ÏÍÁ ÈÏÓÔÁÍÉ × ÍÅÒÅÖ¦, ÑËÁ ÎÅ ¤ ÂÅÚÐÅÞÎÏÀ. ú'¤ÄÎÁÎÎÑ X11 ÔÁ
158 ÄÏצÌØΦ ÐÏÒÔÉ TCP/IP ÍÏÖÕÔØ ÔÁËÏÖ ÂÕÔÉ ÐÒÏ×ÅÄÅΦ ÞÅÒÅÚ ÂÅÚÐÅÞÎÉÊ
161 OpenSSH - ÃÅ ÐÅÒÅÒÏÂËÁ ËÏÍÁÎÄÏÀ ÒÏÚÒÏÂÎÉË¦× OpenBSD ÏÓÔÁÎÎØϧ צÌØÎϧ
162 ×ÅÒÓ¦§ SSH, ÄÏ×ÅÄÅÎÁ ÄÏ ÓÕÞÁÓÎÏÇÏ ÓÔÁÎÕ × ÔÅÒͦÎÁÈ Ò¦×ÎÑ ÂÅÚÐÅËÉ ÔÁ
163 ЦÄÔÒÉÍÕ×ÁÎÉÈ ÍÏÖÌÉ×ÏÓÔÅÊ. ÷Ó¦ ÐÁÔÅÎÔÏ×ÁΦ ÁÌÇÏÒÉÔÍÉ ×ÉÎÅÓÅΦ ÄÏ
164 ÏËÒÅÍÉÈ Â¦Â̦ÏÔÅË (OpenSSL).
166 ãÅÊ ÐÁËÅÔ Í¦ÓÔÉÔØ ÆÁÊÌÉ, ÎÅÏÂȦÄΦ ÑË ÄÌÑ Ë̦¤ÎÔÁ, ÔÁË ¦ ÄÌÑ ÓÅÒ×ÅÒÁ
167 OpenSSH. ÷ÁÍ ÐÏÔÒ¦ÂÎÏ ÂÕÄÅ ÝÅ ×ÓÔÁÎÏ×ÉÔÉ openssh-clients,
168 openssh-server, ÞÉ ÏÂÉÄ×Á ÐÁËÅÔÉ.
171 Summary: OpenSSH Secure Shell protocol clients
172 Summary(es): Clientes de OpenSSH
173 Summary(pl): Klienci protoko³u Secure Shell
174 Summary(pt_BR): Clientes do OpenSSH
175 Summary(ru): OpenSSH - ËÌÉÅÎÔÙ ÐÒÏÔÏËÏÌÁ Secure Shell
176 Summary(uk): OpenSSH - Ë̦¤ÎÔÉ ÐÒÏÔÏËÏÌÕ Secure Shell
177 Group: Applications/Networking
178 Requires: %{name} = %{version}
179 Obsoletes: ssh-clients
182 Ssh (Secure Shell) a program for logging into a remote machine and for
183 executing commands in a remote machine. It is intended to replace
184 rlogin and rsh, and provide secure encrypted communications between
185 two untrusted hosts over an insecure network. X11 connections and
186 arbitrary TCP/IP ports can also be forwarded over the secure channel.
188 OpenSSH is OpenBSD's rework of the last free version of SSH, bringing
189 it up to date in terms of security and features, as well as removing
190 all patented algorithms to seperate libraries (OpenSSL).
192 This package includes the clients necessary to make encrypted
193 connections to SSH servers.
195 %description clients -l es
196 Este paquete incluye los clientes que se necesitan para hacer
197 conexiones codificadas con servidores SSH.
199 %description clients -l pl
200 Ssh (Secure Shell) to program s³u¿±cy do logowania siê na zdaln±
201 maszynê i uruchamiania na niej aplikacji. W zamierzeniu openssh ma
202 zast±piæ rlogin, rsh i dostarczyæ bezpieczne, szyfrowane po³±czenie
203 pomiedzy dwoma hostami.
205 Ten pakiet zawiera klientów s³u¿±cych do ³±czenia siê z serwerami SSH.
207 %description clients -l pt_BR
208 Esse pacote inclui os clientes necessários para fazer conexões
209 encriptadas com servidores SSH.
211 %description clients -l ru
212 Ssh (Secure Shell) - ÜÔÏ ÐÒÏÇÒÁÍÍÁ ÄÌÑ "ÚÁÈÏÄÁ" (login) ÎÁ ÕÄÁÌÅÎÎÕÀ
213 ÍÁÛÉÎÕ É ÄÌÑ ×ÙÐÏÌÎÅÎÉÑ ËÏÍÁÎÄ ÎÁ ÕÄÁÌÅÎÎÏÊ ÍÁÛÉÎÅ.
215 üÔÏÔ ÐÁËÅÔ ÓÏÄÅÒÖÉÔ ÐÒÏÇÒÁÍÍÙ-ËÌÉÅÎÔÙ, ÎÅÏÂÈÏÄÉÍÙÅ ÄÌÑ ÕÓÔÁÎÏ×ÌÅÎÉÑ
216 ÚÁÛÉÆÒÏ×ÁÎÎÙÈ ÓÏÅÄÉÎÅÎÉÊ Ó ÓÅÒ×ÅÒÁÍÉ SSH.
218 %description clients -l uk
219 Ssh (Secure Shell) - ÃÅ ÐÒÏÇÒÁÍÁ ÄÌÑ "ÚÁÈÏÄÕ" (login) ÄÏ ×¦ÄÄÁÌÅÎϧ
220 ÍÁÛÉÎÉ ÔÁ ÄÌÑ ×ÉËÏÎÁÎÎÑ ËÏÍÁÎÄ ÎÁ צÄÄÁÌÅÎ¦Ê ÍÁÛÉΦ.
222 ãÅÊ ÐÁËÅÔ Í¦ÓÔÉÔØ ÐÒÏÇÒÁÍÉ-Ë̦¤ÎÔÉ, ÎÅÏÂȦÄΦ ÄÌÑ ×ÓÔÁÎÏ×ÌÅÎÎÑ
223 ÚÁÛÉÆÒÏ×ÁÎÉÈ Ú'¤ÄÎÁÎØ Ú ÓÅÒ×ÅÒÁÍÉ SSH.
226 Summary: OpenSSH Secure Shell protocol server (sshd)
227 Summary(de): OpenSSH Secure Shell Protocol-Server (sshd)
228 Summary(es): Servidor OpenSSH para comunicaciones codificadas
229 Summary(fr): Serveur de protocole du shell sécurisé OpenSSH (sshd)
230 Summary(it): Server OpenSSH per il protocollo Secure Shell (sshd)
231 Summary(pl): Serwer protoko³u Secure Shell (sshd)
232 Summary(pt): Servidor do protocolo 'Secure Shell' OpenSSH (sshd)
233 Summary(pt_BR): Servidor OpenSSH para comunicações encriptadas
234 Summary(ru): OpenSSH - ÓÅÒ×ÅÒ ÐÒÏÔÏËÏÌÁ Secure Shell (sshd)
235 Summary(uk): OpenSSH - ÓÅÒ×ÅÒ ÐÒÏÔÏËÏÌÕ Secure Shell (sshd)
236 Group: Networking/Daemons
237 PreReq: %{name} = %{version}
238 PreReq: rc-scripts >= 0.3.1-3
239 Requires(pre): /bin/id
240 Requires(pre): /usr/sbin/useradd
241 Requires(post): /sbin/chkconfig
242 Requires(post): chkconfig >= 0.9
243 Requires(postun): /usr/sbin/userdel
246 Obsoletes: ssh-server
249 Ssh (Secure Shell) a program for logging into a remote machine and for
250 executing commands in a remote machine. It is intended to replace
251 rlogin and rsh, and provide secure encrypted communications between
252 two untrusted hosts over an insecure network. X11 connections and
253 arbitrary TCP/IP ports can also be forwarded over the secure channel.
255 OpenSSH is OpenBSD's rework of the last free version of SSH, bringing
256 it up to date in terms of security and features, as well as removing
257 all patented algorithms to seperate libraries (OpenSSL).
259 This package contains the secure shell daemon. The sshd is the server
260 part of the secure shell protocol and allows ssh clients to connect to
263 %description server -l de
264 Dieses Paket installiert den sshd, den Server-Teil der OpenSSH.
266 %description server -l es
267 Este paquete contiene el servidor SSH. sshd es la parte servidor del
268 protocolo secure shell y permite que clientes ssh se conecten a su
271 %description server -l fr
272 Ce paquetage installe le 'sshd', partie serveur de OpenSSH.
274 %description server -l it
275 Questo pacchetto installa sshd, il server di OpenSSH.
277 %description server -l pl
278 Ssh (Secure Shell) to program s³u¿±cy do logowania siê na zdaln±
279 maszynê i uruchamiania na niej aplikacji. W zamierzeniu openssh ma
280 zast±piæ rlogin, rsh i dostarczyæ bezpieczne, szyfrowane po³±czenie
281 pomiedzy dwoma hostami.
283 Ten pakiet zawiera serwer sshd (do którego mog± ³±czyæ siê klienci
286 %description server -l pt
287 Este pacote intala o sshd, o servidor do OpenSSH.
289 %description server -l pt_BR
290 Esse pacote contém o servidor SSH. O sshd é a parte servidor do
291 protocolo secure shell e permite que clientes ssh se conectem ao seu
294 %description server -l ru
295 Ssh (Secure Shell) - ÜÔÏ ÐÒÏÇÒÁÍÍÁ ÄÌÑ "ÚÁÈÏÄÁ" (login) ÎÁ ÕÄÁÌÅÎÎÕÀ
296 ÍÁÛÉÎÕ É ÄÌÑ ×ÙÐÏÌÎÅÎÉÑ ËÏÍÁÎÄ ÎÁ ÕÄÁÌÅÎÎÏÊ ÍÁÛÉÎÅ.
298 üÔÏÔ ÐÁËÅÔ ÓÏÄÅÒÖÉÔ sshd - "ÄÅÍÏÎ" Secure Shell. sshd - ÜÔÏ ÓÅÒ×ÅÒÎÁÑ
299 ÞÁÓÔØ ÐÒÏÔÏËÏÌÁ Secure Shell, ÐÏÚ×ÏÌÑÀÝÁÑ ËÌÉÅÎÔÁÍ ssh ÓÏÅÄÉÎÑÔØÓÑ Ó
302 %description server -l uk
303 Ssh (Secure Shell) - ÃÅ ÐÒÏÇÒÁÍÁ ÄÌÑ "ÚÁÈÏÄÕ" (login) ÄÏ ×¦ÄÄÁÌÅÎϧ
304 ÍÁÛÉÎÉ ÔÁ ÄÌÑ ×ÉËÏÎÁÎÎÑ ËÏÍÁÎÄ ÎÁ צÄÄÁÌÅÎ¦Ê ÍÁÛÉΦ.
306 ãÅÊ ÐÁËÅÔ Í¦ÓÔÉÔØ sshd - "ÄÅÍÏÎ" Secure Shell. sshd - ÃÅ ÓÅÒ×ÅÒÎÁ
307 ÞÁÓÔÉÎÁ ÐÒÏÔÏËÏÌÕ Secure Shell, ÑËÁ ÄÏÚ×ÏÌѤ Ë̦¤ÎÔÁÍ ssh Ú×'ÑÚÕ×ÁÔÉÓØ
310 %package gnome-askpass
311 Summary: OpenSSH GNOME passphrase dialog
312 Summary(de): OpenSSH GNOME Passwort-Dialog
313 Summary(es): Diálogo para introducción de passphrase para GNOME
314 Summary(fr): Dialogue pass-phrase GNOME d'OpenSSH
315 Summary(it): Finestra di dialogo GNOME per la frase segreta di OpenSSH
316 Summary(pl): Odpytywacz has³a OpenSSH dla GNOME
317 Summary(pt): Diálogo de pedido de senha para GNOME do OpenSSH
318 Summary(pt_BR): Diálogo para entrada de passphrase para GNOME
319 Summary(ru): OpenSSH - ÄÉÁÌÏÇ ××ÏÄÁ ËÌÀÞÅ×ÏÊ ÆÒÁÚÙ (passphrase) ÄÌÑ GNOME
320 Summary(uk): OpenSSH - ĦÁÌÏÇ ××ÏÄÕ ËÌÀÞÏ×ϧ ÆÒÁÚÉ (passphrase) ÄÌÑ GNOME
321 Group: Applications/Networking
322 Requires: %{name} = %{version}
323 Obsoletes: ssh-extras
324 Obsoletes: ssh-askpass
325 Obsoletes: openssh-askpass
327 %description gnome-askpass
328 Ssh (Secure Shell) a program for logging into a remote machine and for
329 executing commands in a remote machine. It is intended to replace
330 rlogin and rsh, and provide secure encrypted communications between
331 two untrusted hosts over an insecure network. X11 connections and
332 arbitrary TCP/IP ports can also be forwarded over the secure channel.
334 OpenSSH is OpenBSD's rework of the last free version of SSH, bringing
335 it up to date in terms of security and features, as well as removing
336 all patented algorithms to seperate libraries (OpenSSL).
338 This package contains the GNOME passphrase dialog.
340 %description gnome-askpass -l es
341 Este paquete contiene un programa que abre una caja de diálogo para
342 entrada de passphrase en GNOME.
344 %description gnome-askpass -l pl
345 Ssh (Secure Shell) to program s³u¿±cy do logowania siê na zdaln±
346 maszynê i uruchamiania na niej aplikacji. W zamierzeniu openssh ma
347 zast±piæ rlogin, rsh i dostarczyæ bezpieczne, szyfrowane po³±czenie
348 pomiedzy dwoma hostami.
350 Ten pakiet zawiera ,,odpytywacz has³a'' dla GNOME.
352 %description gnome-askpass -l pt_BR
353 Esse pacote contém um programa que abre uma caixa de diálogo para
354 entrada de passphrase no GNOME.
356 %description gnome-askpass -l ru
357 Ssh (Secure Shell) - ÜÔÏ ÐÒÏÇÒÁÍÍÁ ÄÌÑ "ÚÁÈÏÄÁ" (login) ÎÁ ÕÄÁÌÅÎÎÕÀ
358 ÍÁÛÉÎÕ É ÄÌÑ ×ÙÐÏÌÎÅÎÉÑ ËÏÍÁÎÄ ÎÁ ÕÄÁÌÅÎÎÏÊ ÍÁÛÉÎÅ.
360 üÔÏÔ ÐÁËÅÔ ÓÏÄÅÒÖÉÔ ÄÉÁÌÏÇ ××ÏÄÁ ËÌÀÞÅ×ÏÊ ÆÒÁÚÙ ÄÌÑ ÉÓÐÏÌØÚÏ×ÁÎÉÑ ÐÏÄ
363 %description gnome-askpass -l uk
364 Ssh (Secure Shell) - ÃÅ ÐÒÏÇÒÁÍÁ ÄÌÑ "ÚÁÈÏÄÕ" (login) ÄÏ ×¦ÄÄÁÌÅÎϧ
365 ÍÁÛÉÎÉ ÔÁ ÄÌÑ ×ÉËÏÎÁÎÎÑ ËÏÍÁÎÄ ÎÁ צÄÄÁÌÅÎ¦Ê ÍÁÛÉΦ.
367 ãÅÊ ÐÁËÅÔ Í¦ÓÔÉÔØ Ä¦ÁÌÏÇ ××ÏÄÕ ËÌÀÞÏ×ϧ ÆÒÁÚÉ ÄÌÑ ×ÉËÏÒÉÓÔÁÎÎÑ Ð¦Ä
383 %{!?_without_gnome:--with-gnome-askpass} \
386 --with-md5-passwords \
387 --with-ipaddr-display \
390 --with-tcp-wrappers \
391 --with-privsep-path=%{_privsepdir} \
392 --with-pid-dir=%{_localstatedir}/run
394 echo '#define LOGIN_PROGRAM "/bin/login"' >>config.h
398 %{!?_without_gnome:cd contrib && %{__cc} %{rpmcflags} `gnome-config --cflags gnome gnomeui gtk` } \
399 %{!?_without_gnome:gnome-ssh-askpass.c -o gnome-ssh-askpass } \
400 %{!?_without_gnome:`gnome-config --libs gnome gnomeui gtk` }
403 rm -rf $RPM_BUILD_ROOT
404 install -d $RPM_BUILD_ROOT{%{_sysconfdir},/etc/{pam.d,rc.d/init.d,sysconfig,security}}
406 %{__make} install DESTDIR="$RPM_BUILD_ROOT"
408 install %{SOURCE4} $RPM_BUILD_ROOT/etc/pam.d/sshd
409 install %{SOURCE6} $RPM_BUILD_ROOT/etc/pam.d/passwdssh
410 install %{SOURCE5} $RPM_BUILD_ROOT/etc/sysconfig/sshd
411 install %{SOURCE3} $RPM_BUILD_ROOT/etc/rc.d/init.d/sshd
412 install %{SOURCE2} $RPM_BUILD_ROOT%{_sysconfdir}/ssh_config
413 install %{SOURCE1} $RPM_BUILD_ROOT%{_sysconfdir}/sshd_config
414 install -d $RPM_BUILD_ROOT%{_libexecdir}/ssh
415 %{!?_without_gnome:install contrib/gnome-ssh-askpass $RPM_BUILD_ROOT%{_libexecdir}/ssh/ssh-askpass}
417 rm -f $RPM_BUILD_ROOT%{_mandir}/man1/slogin.1
418 echo ".so ssh.1" > $RPM_BUILD_ROOT%{_mandir}/man1/slogin.1
420 touch $RPM_BUILD_ROOT/etc/security/blacklist.sshd
423 rm -rf $RPM_BUILD_ROOT
426 if [ -n "`id -u sshd 2>/dev/null`" ]; then
427 if [ "`id -u sshd`" != "40" ]; then
428 echo "Error: user sshd doesn't have uid=40. Correct this before installing ssh server." 1>&2
432 /usr/sbin/useradd -u 40 -d %{_privsepdir} -s /bin/false -M -r -c "OpenSSH PrivSep User" -g nobody sshd 1>&2
436 /sbin/chkconfig --add sshd
437 if [ -f /var/lock/subsys/sshd ]; then
438 /etc/rc.d/init.d/sshd restart 1>&2
440 echo "Run \"/etc/rc.d/init.d/sshd start\" to start openssh daemon."
442 if ! grep ssh /etc/security/passwd.conf >/dev/null 2>&1 ; then
443 echo "ssh" >> /etc/security/passwd.conf
447 if [ "$1" = "0" ]; then
448 if [ -f /var/lock/subsys/sshd ]; then
449 /etc/rc.d/init.d/sshd stop 1>&2
451 /sbin/chkconfig --del sshd
455 if [ "$1" = "0" ]; then
456 /usr/sbin/userdel sshd
460 %defattr(644,root,root,755)
461 %doc *.RNG TODO README OVERVIEW CREDITS Change*
462 %attr(755,root,root) %{_bindir}/ssh-key*
463 %{_mandir}/man1/ssh-key*.1*
467 %defattr(644,root,root,755)
468 %attr(0755,root,root) %{_bindir}/ssh
469 %attr(0755,root,root) %{_bindir}/slogin
470 %attr(0755,root,root) %{_bindir}/sftp
471 %attr(0755,root,root) %{_bindir}/ssh-agent
472 %attr(0755,root,root) %{_bindir}/ssh-add
473 %attr(0755,root,root) %{_bindir}/scp
474 %config(noreplace) %verify(not md5 size mtime) %{_sysconfdir}/ssh_config
475 %{_mandir}/man1/scp.1*
476 %{_mandir}/man1/ssh.1*
477 %{_mandir}/man1/slogin.1*
478 %{_mandir}/man1/sftp.1*
479 %{_mandir}/man1/ssh-agent.1*
480 %{_mandir}/man1/ssh-add.1*
481 %{_mandir}/man5/ssh_config.5*
484 %defattr(644,root,root,755)
485 %attr(755,root,root) %{_sbindir}/sshd
486 %attr(755,root,root) %{_libexecdir}/sftp-server
488 %{_mandir}/man8/sshd.8*
489 %{_mandir}/man8/sftp-server.8*
490 %{_mandir}/man5/sshd_config.5*
491 %attr(640,root,root) %config(noreplace) %verify(not md5 size mtime) %{_sysconfdir}/sshd_config
492 %attr(640,root,root) %config(noreplace) %verify(not md5 size mtime) /etc/pam.d/sshd
493 %attr(640,root,root) %{_sysconfdir}/moduli
494 %attr(754,root,root) /etc/rc.d/init.d/sshd
495 %attr(640,root,root) %config(noreplace) %verify(not md5 size mtime) /etc/sysconfig/sshd
496 %attr(640,root,root) %config(noreplace) %verify(not md5 size mtime) /etc/security/blacklist.sshd
498 %{!?_without_gnome:%files gnome-askpass}
499 %{!?_without_gnome:%defattr(644,root,root,755)}
500 %{!?_without_gnome:%dir %{_libexecdir}/ssh}
501 %{!?_without_gnome:%attr(755,root,root) %{_libexecdir}/ssh/ssh-askpass}