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 Source7: %{name}-askpass.sh
29 Source8: %{name}-askpass.csh
30 Patch0: %{name}-no_libnsl.patch
31 Patch1: %{name}-set_12.patch
32 Patch2: %{name}-linux-ipv6.patch
33 Patch3: %{name}-pam_misc.patch
34 Patch4: %{name}-sigpipe.patch
35 URL: http://www.openssh.com/
36 BuildRequires: XFree86-devel
37 BuildRequires: autoconf
38 BuildRequires: automake
39 BuildRequires: chrpath
40 %{!?_without_gnome:BuildRequires: gnome-libs-devel}
41 BuildRequires: libwrap-devel
42 BuildRequires: openssl-devel >= 0.9.6a
43 BuildRequires: pam-devel
45 BuildRequires: zlib-devel
46 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
51 %define _sysconfdir /etc/ssh
52 %define _libexecdir %{_libdir}/%{name}
53 %define _privsepdir /usr/share/empty
56 Ssh (Secure Shell) a program for logging into a remote machine and for
57 executing commands in a remote machine. It is intended to replace
58 rlogin and rsh, and provide secure encrypted communications between
59 two untrusted hosts over an insecure network. X11 connections and
60 arbitrary TCP/IP ports can also be forwarded over the secure channel.
62 OpenSSH is OpenBSD's rework of the last free version of SSH, bringing
63 it up to date in terms of security and features, as well as removing
64 all patented algorithms to seperate libraries (OpenSSL).
66 This package includes the core files necessary for both the OpenSSH
67 client and server. To make this package useful, you should also
68 install openssh-clients, openssh-server, or both.
71 OpenSSH (Secure Shell) stellt den Zugang zu anderen Rechnern her. Es
72 ersetzt telnet, rlogin, rexec und rsh und stellt eine sichere,
73 verschlüsselte Verbindung zwischen zwei nicht vertrauenswürdigen Hosts
74 über eine unsicheres Netzwerk her. X11 Verbindungen und beliebige
75 andere TCP/IP Ports können ebenso über den sicheren Channel
76 weitergeleitet werden.
79 SSH es un programa para accesar y ejecutar órdenes en computadores
80 remotos. Sustituye rlogin y rsh, y suministra un canal de comunicación
81 seguro entre dos servidores en una red insegura. Conexiones X11 y
82 puertas TCP/IP arbitrárias también pueden ser usadas por el canal
85 OpenSSH es el resultado del trabajo del equipo de OpenBSD para
86 continuar la última versión gratuita de SSH, actualizándolo en
87 términos de seguridad y recursos,así también eliminando todos los
88 algoritmos patentados y colocándolos en bibliotecas separadas
91 Este paquete contiene "port" para Linux de OpenSSH. Se debe instalar
92 también el paquete openssh-clients u openssh-server o ambos.
95 OpenSSH (Secure Shell) fournit un accès à un système distant. Il
96 remplace telnet, rlogin, rexec et rsh, tout en assurant des
97 communications cryptées securisées entre deux hôtes non fiabilisés sur
98 un réseau non sécurisé. Des connexions X11 et des ports TCP/IP
99 arbitraires peuvent également être transmis sur le canal sécurisé.
102 OpenSSH (Secure Shell) fornisce l'accesso ad un sistema remoto.
103 Sostituisce telnet, rlogin, rexec, e rsh, e fornisce comunicazioni
104 sicure e crittate tra due host non fidati su una rete non sicura. Le
105 connessioni X11 ad una porta TCP/IP arbitraria possono essere
106 inoltrate attraverso un canale sicuro.
109 Ssh (Secure Shell) to program s³u¿±cy do logowania siê na zdaln±
110 maszynê i uruchamiania na niej aplikacji. W zamierzeniu openssh ma
111 zast±piæ rlogin, rsh i dostarczyæ bezpieczne, szyfrowane po³±czenie
112 pomiedzy dwoma hostami.
114 Ten pakiet zawiera podstawowe pliki potrzebne zarówno po stronie
115 klienta jak i serwera OpenSSH. Aby by³ u¿yteczny, trzeba zainstalowaæ
116 co najmniej jeden z pakietów: openssh-clients lub openssh-server.
119 OpenSSH (Secure Shell) fornece acesso a um sistema remoto. Substitui o
120 telnet, rlogin, rexec, e o rsh e fornece comunicações seguras e
121 cifradas entre duas máquinas sem confiança mútua sobre uma rede
122 insegura. Ligações X11 e portos TCP/IP arbitrários também poder ser
123 reenviados pelo canal seguro.
125 %description -l pt_BR
126 SSH é um programa para acessar e executar comandos em máquinas
127 remotas. Ele substitui rlogin e rsh, e provem um canal de comunicação
128 seguro entre dois hosts em uma rede insegura. Conexões X11 e portas
129 TCP/IP arbitrárias também podem ser usadas pelo canal seguro.
131 OpenSSH é o resultado do trabalho da equipe do OpenBSD em continuar a
132 última versão gratuita do SSH, atualizando-o em termos de segurança e
133 recursos, assim como removendo todos os algoritmos patenteados e
134 colocando-os em bibliotecas separadas (OpenSSL).
136 Esse pacote contém o "port" pra Linux do OpenSSH. Você deve instalar
137 também ou o pacote openssh-clients, ou o openssh-server, ou ambos.
140 Ssh (Secure Shell) - ÜÔÏ ÐÒÏÇÒÁÍÍÁ ÄÌÑ "ÚÁÈÏÄÁ" (login) ÎÁ ÕÄÁÌÅÎÎÕÀ
141 ÍÁÛÉÎÕ É ÄÌÑ ×ÙÐÏÌÎÅÎÉÑ ËÏÍÁÎÄ ÎÁ ÕÄÁÌÅÎÎÏÊ ÍÁÛÉÎÅ. ïÎÁ ÐÒÅÄÎÁÚÎÁÞÅÎÁ
142 ÄÌÑ ÚÁÍÅÎÙ rlogin É rsh É ÏÂÅÓÐÅÞÉ×ÁÅÔ ÂÅÚÏÐÁÓÎÕÀ ÛÉÆÒÏ×ÁÎÎÕÀ
143 ËÏÍÍÕÎÉËÁÃÉÀ ÍÅÖÄÕ Ä×ÕÍÑ ÈÏÓÔÁÍÉ × ÓÅÔÉ, Ñ×ÌÑÀÝÅÊÓÑ ÎÅÂÅÚÏÐÁÓÎÏÊ.
144 óÏÅÄÉÎÅÎÉÑ X11 É ÌÀÂÙÅ ÐÏÒÔÙ TCP/IP ÍÏÇÕÔ ÔÁËÖÅ ÂÙÔØ ÐÒÏ×ÅÄÅÎÙ ÞÅÒÅÚ
147 OpenSSH - ÜÔÏ ÐÅÒÅÄÅÌËÁ ËÏÍÁÎÄÏÊ ÒÁÚÒÁÂÏÔÞÉËÏ× OpenBSD ÐÏÓÌÅÄÎÅÊ
148 Ó×ÏÂÏÄÎÏÊ ×ÅÒÓÉÉ SSH, ÄÏ×ÅÄÅÎÎÁÑ ÄÏ ÓÏ×ÒÅÍÅÎÎÏÇÏ ÓÏÓÔÏÑÎÉÑ × ÔÅÒÍÉÎÁÈ
149 ÕÒÏ×ÎÑ ÂÅÚÏÐÁÓÎÏÓÔÉ É ÐÏÄÄÅÒÖÉ×ÁÅÍÙÈ ×ÏÚÍÏÖÎÏÓÔÅÊ. ÷ÓÅ ÐÁÔÅÎÔÏ×ÁÎÎÙÅ
150 ÁÌÇÏÒÉÔÍÙ ×ÙÎÅÓÅÎÙ × ÏÔÄÅÌØÎÙÅ ÂÉÂÌÉÏÔÅËÉ (OpenSSL).
152 üÔÏÔ ÐÁËÅÔ ÓÏÄÅÒÖÉÔ ÆÁÊÌÙ, ÎÅÏÂÈÏÄÉÍÙÅ ËÁË ÄÌÑ ËÌÉÅÎÔÁ, ÔÁË É ÄÌÑ
153 ÓÅÒ×ÅÒÁ OpenSSH. ÷ÁÍ ÎÕÖÎÏ ÂÕÄÅÔ ÕÓÔÁÎÏ×ÉÔØ ÅÝÅ openssh-clients,
154 openssh-server, ÉÌÉ ÏÂÁ ÐÁËÅÔÁ.
157 Ssh (Secure Shell) - ÃÅ ÐÒÏÇÒÁÍÁ ÄÌÑ "ÚÁÈÏÄÕ" (login) ÄÏ ×¦ÄÄÁÌÅÎϧ
158 ÍÁÛÉÎÉ ÔÁ ÄÌÑ ×ÉËÏÎÁÎÎÑ ËÏÍÁÎÄ ÎÁ צÄÄÁÌÅÎ¦Ê ÍÁÛÉΦ. ÷ÏÎÁ ÐÒÉÚÎÁÞÅÎÁ
159 ÄÌÑ ÚÁͦÎÉ rlogin ÔÁ rsh ¦ ÚÁÂÅÚÐÅÞÕ¤ ÂÅÚÐÅÞÎÕ ÛÉÆÒÏ×ÁÎÕ ËÏÍÕΦËÁæÀ
160 Í¦Ö Ä×ÏÍÁ ÈÏÓÔÁÍÉ × ÍÅÒÅÖ¦, ÑËÁ ÎÅ ¤ ÂÅÚÐÅÞÎÏÀ. ú'¤ÄÎÁÎÎÑ X11 ÔÁ
161 ÄÏצÌØΦ ÐÏÒÔÉ TCP/IP ÍÏÖÕÔØ ÔÁËÏÖ ÂÕÔÉ ÐÒÏ×ÅÄÅΦ ÞÅÒÅÚ ÂÅÚÐÅÞÎÉÊ
164 OpenSSH - ÃÅ ÐÅÒÅÒÏÂËÁ ËÏÍÁÎÄÏÀ ÒÏÚÒÏÂÎÉË¦× OpenBSD ÏÓÔÁÎÎØϧ צÌØÎϧ
165 ×ÅÒÓ¦§ SSH, ÄÏ×ÅÄÅÎÁ ÄÏ ÓÕÞÁÓÎÏÇÏ ÓÔÁÎÕ × ÔÅÒͦÎÁÈ Ò¦×ÎÑ ÂÅÚÐÅËÉ ÔÁ
166 ЦÄÔÒÉÍÕ×ÁÎÉÈ ÍÏÖÌÉ×ÏÓÔÅÊ. ÷Ó¦ ÐÁÔÅÎÔÏ×ÁΦ ÁÌÇÏÒÉÔÍÉ ×ÉÎÅÓÅΦ ÄÏ
167 ÏËÒÅÍÉÈ Â¦Â̦ÏÔÅË (OpenSSL).
169 ãÅÊ ÐÁËÅÔ Í¦ÓÔÉÔØ ÆÁÊÌÉ, ÎÅÏÂȦÄΦ ÑË ÄÌÑ Ë̦¤ÎÔÁ, ÔÁË ¦ ÄÌÑ ÓÅÒ×ÅÒÁ
170 OpenSSH. ÷ÁÍ ÐÏÔÒ¦ÂÎÏ ÂÕÄÅ ÝÅ ×ÓÔÁÎÏ×ÉÔÉ openssh-clients,
171 openssh-server, ÞÉ ÏÂÉÄ×Á ÐÁËÅÔÉ.
174 Summary: OpenSSH Secure Shell protocol clients
175 Summary(es): Clientes de OpenSSH
176 Summary(pl): Klienci protoko³u Secure Shell
177 Summary(pt_BR): Clientes do OpenSSH
178 Summary(ru): OpenSSH - ËÌÉÅÎÔÙ ÐÒÏÔÏËÏÌÁ Secure Shell
179 Summary(uk): OpenSSH - Ë̦¤ÎÔÉ ÐÒÏÔÏËÏÌÕ Secure Shell
180 Group: Applications/Networking
181 Requires: %{name} = %{version}
182 Obsoletes: ssh-clients
185 Ssh (Secure Shell) a program for logging into a remote machine and for
186 executing commands in a remote machine. It is intended to replace
187 rlogin and rsh, and provide secure encrypted communications between
188 two untrusted hosts over an insecure network. X11 connections and
189 arbitrary TCP/IP ports can also be forwarded over the secure channel.
191 OpenSSH is OpenBSD's rework of the last free version of SSH, bringing
192 it up to date in terms of security and features, as well as removing
193 all patented algorithms to seperate libraries (OpenSSL).
195 This package includes the clients necessary to make encrypted
196 connections to SSH servers.
198 %description clients -l es
199 Este paquete incluye los clientes que se necesitan para hacer
200 conexiones codificadas con servidores SSH.
202 %description clients -l pl
203 Ssh (Secure Shell) to program s³u¿±cy do logowania siê na zdaln±
204 maszynê i uruchamiania na niej aplikacji. W zamierzeniu openssh ma
205 zast±piæ rlogin, rsh i dostarczyæ bezpieczne, szyfrowane po³±czenie
206 pomiedzy dwoma hostami.
208 Ten pakiet zawiera klientów s³u¿±cych do ³±czenia siê z serwerami SSH.
210 %description clients -l pt_BR
211 Esse pacote inclui os clientes necessários para fazer conexões
212 encriptadas com servidores SSH.
214 %description clients -l ru
215 Ssh (Secure Shell) - ÜÔÏ ÐÒÏÇÒÁÍÍÁ ÄÌÑ "ÚÁÈÏÄÁ" (login) ÎÁ ÕÄÁÌÅÎÎÕÀ
216 ÍÁÛÉÎÕ É ÄÌÑ ×ÙÐÏÌÎÅÎÉÑ ËÏÍÁÎÄ ÎÁ ÕÄÁÌÅÎÎÏÊ ÍÁÛÉÎÅ.
218 üÔÏÔ ÐÁËÅÔ ÓÏÄÅÒÖÉÔ ÐÒÏÇÒÁÍÍÙ-ËÌÉÅÎÔÙ, ÎÅÏÂÈÏÄÉÍÙÅ ÄÌÑ ÕÓÔÁÎÏ×ÌÅÎÉÑ
219 ÚÁÛÉÆÒÏ×ÁÎÎÙÈ ÓÏÅÄÉÎÅÎÉÊ Ó ÓÅÒ×ÅÒÁÍÉ SSH.
221 %description clients -l uk
222 Ssh (Secure Shell) - ÃÅ ÐÒÏÇÒÁÍÁ ÄÌÑ "ÚÁÈÏÄÕ" (login) ÄÏ ×¦ÄÄÁÌÅÎϧ
223 ÍÁÛÉÎÉ ÔÁ ÄÌÑ ×ÉËÏÎÁÎÎÑ ËÏÍÁÎÄ ÎÁ צÄÄÁÌÅÎ¦Ê ÍÁÛÉΦ.
225 ãÅÊ ÐÁËÅÔ Í¦ÓÔÉÔØ ÐÒÏÇÒÁÍÉ-Ë̦¤ÎÔÉ, ÎÅÏÂȦÄΦ ÄÌÑ ×ÓÔÁÎÏ×ÌÅÎÎÑ
226 ÚÁÛÉÆÒÏ×ÁÎÉÈ Ú'¤ÄÎÁÎØ Ú ÓÅÒ×ÅÒÁÍÉ SSH.
229 Summary: OpenSSH Secure Shell protocol server (sshd)
230 Summary(de): OpenSSH Secure Shell Protocol-Server (sshd)
231 Summary(es): Servidor OpenSSH para comunicaciones codificadas
232 Summary(fr): Serveur de protocole du shell sécurisé OpenSSH (sshd)
233 Summary(it): Server OpenSSH per il protocollo Secure Shell (sshd)
234 Summary(pl): Serwer protoko³u Secure Shell (sshd)
235 Summary(pt): Servidor do protocolo 'Secure Shell' OpenSSH (sshd)
236 Summary(pt_BR): Servidor OpenSSH para comunicações encriptadas
237 Summary(ru): OpenSSH - ÓÅÒ×ÅÒ ÐÒÏÔÏËÏÌÁ Secure Shell (sshd)
238 Summary(uk): OpenSSH - ÓÅÒ×ÅÒ ÐÒÏÔÏËÏÌÕ Secure Shell (sshd)
239 Group: Networking/Daemons
240 PreReq: %{name} = %{version}
241 PreReq: rc-scripts >= 0.3.1-3
242 Requires(pre): /bin/id
243 Requires(pre): /usr/sbin/useradd
244 Requires(post): /sbin/chkconfig
245 Requires(post): chkconfig >= 0.9
246 Requires(postun): /usr/sbin/userdel
249 Obsoletes: ssh-server
252 Ssh (Secure Shell) a program for logging into a remote machine and for
253 executing commands in a remote machine. It is intended to replace
254 rlogin and rsh, and provide secure encrypted communications between
255 two untrusted hosts over an insecure network. X11 connections and
256 arbitrary TCP/IP ports can also be forwarded over the secure channel.
258 OpenSSH is OpenBSD's rework of the last free version of SSH, bringing
259 it up to date in terms of security and features, as well as removing
260 all patented algorithms to seperate libraries (OpenSSL).
262 This package contains the secure shell daemon. The sshd is the server
263 part of the secure shell protocol and allows ssh clients to connect to
266 %description server -l de
267 Dieses Paket installiert den sshd, den Server-Teil der OpenSSH.
269 %description server -l es
270 Este paquete contiene el servidor SSH. sshd es la parte servidor del
271 protocolo secure shell y permite que clientes ssh se conecten a su
274 %description server -l fr
275 Ce paquetage installe le 'sshd', partie serveur de OpenSSH.
277 %description server -l it
278 Questo pacchetto installa sshd, il server di OpenSSH.
280 %description server -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 pomiedzy dwoma hostami.
286 Ten pakiet zawiera serwer sshd (do którego mog± ³±czyæ siê klienci
289 %description server -l pt
290 Este pacote intala o sshd, o servidor do OpenSSH.
292 %description server -l pt_BR
293 Esse pacote contém o servidor SSH. O sshd é a parte servidor do
294 protocolo secure shell e permite que clientes ssh se conectem ao seu
297 %description server -l ru
298 Ssh (Secure Shell) - ÜÔÏ ÐÒÏÇÒÁÍÍÁ ÄÌÑ "ÚÁÈÏÄÁ" (login) ÎÁ ÕÄÁÌÅÎÎÕÀ
299 ÍÁÛÉÎÕ É ÄÌÑ ×ÙÐÏÌÎÅÎÉÑ ËÏÍÁÎÄ ÎÁ ÕÄÁÌÅÎÎÏÊ ÍÁÛÉÎÅ.
301 üÔÏÔ ÐÁËÅÔ ÓÏÄÅÒÖÉÔ sshd - "ÄÅÍÏÎ" Secure Shell. sshd - ÜÔÏ ÓÅÒ×ÅÒÎÁÑ
302 ÞÁÓÔØ ÐÒÏÔÏËÏÌÁ Secure Shell, ÐÏÚ×ÏÌÑÀÝÁÑ ËÌÉÅÎÔÁÍ ssh ÓÏÅÄÉÎÑÔØÓÑ Ó
305 %description server -l uk
306 Ssh (Secure Shell) - ÃÅ ÐÒÏÇÒÁÍÁ ÄÌÑ "ÚÁÈÏÄÕ" (login) ÄÏ ×¦ÄÄÁÌÅÎϧ
307 ÍÁÛÉÎÉ ÔÁ ÄÌÑ ×ÉËÏÎÁÎÎÑ ËÏÍÁÎÄ ÎÁ צÄÄÁÌÅÎ¦Ê ÍÁÛÉΦ.
309 ãÅÊ ÐÁËÅÔ Í¦ÓÔÉÔØ sshd - "ÄÅÍÏÎ" Secure Shell. sshd - ÃÅ ÓÅÒ×ÅÒÎÁ
310 ÞÁÓÔÉÎÁ ÐÒÏÔÏËÏÌÕ Secure Shell, ÑËÁ ÄÏÚ×ÏÌѤ Ë̦¤ÎÔÁÍ ssh Ú×'ÑÚÕ×ÁÔÉÓØ
313 %package gnome-askpass
314 Summary: OpenSSH GNOME passphrase dialog
315 Summary(de): OpenSSH GNOME Passwort-Dialog
316 Summary(es): Diálogo para introducción de passphrase para GNOME
317 Summary(fr): Dialogue pass-phrase GNOME d'OpenSSH
318 Summary(it): Finestra di dialogo GNOME per la frase segreta di OpenSSH
319 Summary(pl): Odpytywacz has³a OpenSSH dla GNOME
320 Summary(pt): Diálogo de pedido de senha para GNOME do OpenSSH
321 Summary(pt_BR): Diálogo para entrada de passphrase para GNOME
322 Summary(ru): OpenSSH - ÄÉÁÌÏÇ ××ÏÄÁ ËÌÀÞÅ×ÏÊ ÆÒÁÚÙ (passphrase) ÄÌÑ GNOME
323 Summary(uk): OpenSSH - ĦÁÌÏÇ ××ÏÄÕ ËÌÀÞÏ×ϧ ÆÒÁÚÉ (passphrase) ÄÌÑ GNOME
324 Group: Applications/Networking
325 Requires: %{name} = %{version}
326 Obsoletes: ssh-extras
327 Obsoletes: ssh-askpass
328 Obsoletes: openssh-askpass
330 %description gnome-askpass
331 Ssh (Secure Shell) a program for logging into a remote machine and for
332 executing commands in a remote machine. It is intended to replace
333 rlogin and rsh, and provide secure encrypted communications between
334 two untrusted hosts over an insecure network. X11 connections and
335 arbitrary TCP/IP ports can also be forwarded over the secure channel.
337 OpenSSH is OpenBSD's rework of the last free version of SSH, bringing
338 it up to date in terms of security and features, as well as removing
339 all patented algorithms to seperate libraries (OpenSSL).
341 This package contains the GNOME passphrase dialog.
343 %description gnome-askpass -l es
344 Este paquete contiene un programa que abre una caja de diálogo para
345 entrada de passphrase en GNOME.
347 %description gnome-askpass -l pl
348 Ssh (Secure Shell) to program s³u¿±cy do logowania siê na zdaln±
349 maszynê i uruchamiania na niej aplikacji. W zamierzeniu openssh ma
350 zast±piæ rlogin, rsh i dostarczyæ bezpieczne, szyfrowane po³±czenie
351 pomiedzy dwoma hostami.
353 Ten pakiet zawiera ,,odpytywacz has³a'' dla GNOME.
355 %description gnome-askpass -l pt_BR
356 Esse pacote contém um programa que abre uma caixa de diálogo para
357 entrada de passphrase no GNOME.
359 %description gnome-askpass -l ru
360 Ssh (Secure Shell) - ÜÔÏ ÐÒÏÇÒÁÍÍÁ ÄÌÑ "ÚÁÈÏÄÁ" (login) ÎÁ ÕÄÁÌÅÎÎÕÀ
361 ÍÁÛÉÎÕ É ÄÌÑ ×ÙÐÏÌÎÅÎÉÑ ËÏÍÁÎÄ ÎÁ ÕÄÁÌÅÎÎÏÊ ÍÁÛÉÎÅ.
363 üÔÏÔ ÐÁËÅÔ ÓÏÄÅÒÖÉÔ ÄÉÁÌÏÇ ××ÏÄÁ ËÌÀÞÅ×ÏÊ ÆÒÁÚÙ ÄÌÑ ÉÓÐÏÌØÚÏ×ÁÎÉÑ ÐÏÄ
366 %description gnome-askpass -l uk
367 Ssh (Secure Shell) - ÃÅ ÐÒÏÇÒÁÍÁ ÄÌÑ "ÚÁÈÏÄÕ" (login) ÄÏ ×¦ÄÄÁÌÅÎϧ
368 ÍÁÛÉÎÉ ÔÁ ÄÌÑ ×ÉËÏÎÁÎÎÑ ËÏÍÁÎÄ ÎÁ צÄÄÁÌÅÎ¦Ê ÍÁÛÉΦ.
370 ãÅÊ ÐÁËÅÔ Í¦ÓÔÉÔØ Ä¦ÁÌÏÇ ××ÏÄÕ ËÌÀÞÏ×ϧ ÆÒÁÚÉ ÄÌÑ ×ÉËÏÒÉÓÔÁÎÎÑ Ð¦Ä
386 %{!?_without_gnome:--with-gnome-askpass} \
389 --with-md5-passwords \
390 --with-ipaddr-display \
393 --with-tcp-wrappers \
394 --with-privsep-path=%{_privsepdir} \
395 --with-pid-dir=%{_localstatedir}/run
397 echo '#define LOGIN_PROGRAM "/bin/login"' >>config.h
401 %{!?_without_gnome:cd contrib && %{__cc} %{rpmcflags} `gnome-config --cflags gnome gnomeui gtk`} \
402 %{!?_without_gnome:gnome-ssh-askpass1.c -o gnome-ssh-askpass} \
403 %{!?_without_gnome:`gnome-config --libs gnome gnomeui gtk` }
406 rm -rf $RPM_BUILD_ROOT
407 install -d $RPM_BUILD_ROOT{%{_sysconfdir},/etc/{pam.d,rc.d/init.d,sysconfig,security,profile.d}}
409 %{__make} install DESTDIR="$RPM_BUILD_ROOT"
411 install %{SOURCE4} $RPM_BUILD_ROOT/etc/pam.d/sshd
412 install %{SOURCE6} $RPM_BUILD_ROOT/etc/pam.d/passwdssh
413 install %{SOURCE5} $RPM_BUILD_ROOT/etc/sysconfig/sshd
414 install %{SOURCE3} $RPM_BUILD_ROOT/etc/rc.d/init.d/sshd
415 install %{SOURCE2} $RPM_BUILD_ROOT%{_sysconfdir}/ssh_config
416 install %{SOURCE1} $RPM_BUILD_ROOT%{_sysconfdir}/sshd_config
417 install -d $RPM_BUILD_ROOT%{_libexecdir}/ssh
418 %{!?_without_gnome:install contrib/gnome-ssh-askpass $RPM_BUILD_ROOT%{_libexecdir}/ssh/ssh-askpass}
419 %{!?_without_gnome:install %{SOURCE7} %{SOURCE8} $RPM_BUILD_ROOT/etc/profile.d}
421 rm -f $RPM_BUILD_ROOT%{_mandir}/man1/slogin.1
422 echo ".so ssh.1" > $RPM_BUILD_ROOT%{_mandir}/man1/slogin.1
424 touch $RPM_BUILD_ROOT/etc/security/blacklist.sshd
427 rm -rf $RPM_BUILD_ROOT
430 if [ -n "`id -u sshd 2>/dev/null`" ]; then
431 if [ "`id -u sshd`" != "40" ]; then
432 echo "Error: user sshd doesn't have uid=40. Correct this before installing ssh server." 1>&2
436 /usr/sbin/useradd -u 40 -d %{_privsepdir} -s /bin/false -M -r -c "OpenSSH PrivSep User" -g nobody sshd 1>&2
440 /sbin/chkconfig --add sshd
441 if [ -f /var/lock/subsys/sshd ]; then
442 /etc/rc.d/init.d/sshd restart 1>&2
444 echo "Run \"/etc/rc.d/init.d/sshd start\" to start openssh daemon."
446 if ! grep ssh /etc/security/passwd.conf >/dev/null 2>&1 ; then
447 echo "ssh" >> /etc/security/passwd.conf
451 if [ "$1" = "0" ]; then
452 if [ -f /var/lock/subsys/sshd ]; then
453 /etc/rc.d/init.d/sshd stop 1>&2
455 /sbin/chkconfig --del sshd
459 if [ "$1" = "0" ]; then
460 /usr/sbin/userdel sshd
464 %defattr(644,root,root,755)
465 %doc *.RNG TODO README OVERVIEW CREDITS Change*
466 %attr(755,root,root) %{_bindir}/ssh-key*
467 %{_mandir}/man1/ssh-key*.1*
471 %defattr(644,root,root,755)
472 %attr(0755,root,root) %{_bindir}/ssh
473 %attr(0755,root,root) %{_bindir}/slogin
474 %attr(0755,root,root) %{_bindir}/sftp
475 %attr(0755,root,root) %{_bindir}/ssh-agent
476 %attr(0755,root,root) %{_bindir}/ssh-add
477 %attr(0755,root,root) %{_bindir}/scp
478 %config(noreplace) %verify(not md5 size mtime) %{_sysconfdir}/ssh_config
479 %{_mandir}/man1/scp.1*
480 %{_mandir}/man1/ssh.1*
481 %{_mandir}/man1/slogin.1*
482 %{_mandir}/man1/sftp.1*
483 %{_mandir}/man1/ssh-agent.1*
484 %{_mandir}/man1/ssh-add.1*
485 %{_mandir}/man5/ssh_config.5*
488 %defattr(644,root,root,755)
489 %attr(755,root,root) %{_sbindir}/sshd
490 %attr(755,root,root) %{_libexecdir}/sftp-server
492 %{_mandir}/man8/sshd.8*
493 %{_mandir}/man8/sftp-server.8*
494 %{_mandir}/man5/sshd_config.5*
495 %attr(640,root,root) %config(noreplace) %verify(not md5 size mtime) %{_sysconfdir}/sshd_config
496 %attr(640,root,root) %config(noreplace) %verify(not md5 size mtime) /etc/pam.d/sshd
497 %attr(640,root,root) %{_sysconfdir}/moduli
498 %attr(754,root,root) /etc/rc.d/init.d/sshd
499 %attr(640,root,root) %config(noreplace) %verify(not md5 size mtime) /etc/sysconfig/sshd
500 %attr(640,root,root) %config(noreplace) %verify(not md5 size mtime) /etc/security/blacklist.sshd
502 %{!?_without_gnome:%files gnome-askpass}
503 %{!?_without_gnome:%defattr(644,root,root,755)}
504 %{!?_without_gnome:%dir %{_libexecdir}/ssh}
505 %{!?_without_gnome:%attr(755,root,root) %{_libexecdir}/ssh/ssh-askpass}
506 %{!?_without_gnome:%attr(755,root,root) /etc/profile.d/*}