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