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.7p1
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)
25 Release: 1%{?_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: 77662801ba2a9cadc0ac10054bc6cb37
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 Source9: http://www.imasy.or.jp/~gotoh/ssh/connect.c
40 # NoSource9-md5: c78de727e1208799072be78c05d64398
41 Source10: http://www.imasy.or.jp/~gotoh/ssh/connect.html
42 # NoSource10-md5: f14cb61fafd067a3f5ce4eaa9643bf05
43 Patch0: %{name}-no_libnsl.patch
44 Patch2: %{name}-linux-ipv6.patch
45 Patch3: %{name}-pam_misc.patch
46 Patch4: %{name}-sigpipe.patch
47 # http://ldappubkey.gcu-squad.org/
48 Patch5: ldappubkey-ossh3.6-v2.patch
49 Patch6: %{name}-heimdal.patch
50 URL: http://www.openssh.com/
51 BuildRequires: autoconf
52 BuildRequires: automake
53 %{!?_without_gnome:BuildRequires: gnome-libs-devel}
54 %{!?_without_gtk:BuildRequires: gtk+2-devel}
55 BuildRequires: libwrap-devel
56 BuildRequires: openssl-devel >= 0.9.7b
57 %{?_with_ldap:BuildRequires: openldap-devel}
58 %{?_with_kerberos5:BuildRequires: heimdal-devel}
59 BuildRequires: pam-devel
60 BuildRequires: %{__perl}
61 %{!?_without_gtk:BuildRequires: pkgconfig}
62 BuildRequires: zlib-devel
64 PreReq: openssl >= 0.9.7
66 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
68 %define _sysconfdir /etc/ssh
69 %define _libexecdir %{_libdir}/%{name}
70 %define _privsepdir /usr/share/empty
73 Ssh (Secure Shell) a program for logging into a remote machine and for
74 executing commands in a remote machine. It is intended to replace
75 rlogin and rsh, and provide secure encrypted communications between
76 two untrusted hosts over an insecure network. X11 connections and
77 arbitrary TCP/IP ports can also be forwarded over the secure channel.
79 OpenSSH is OpenBSD's rework of the last free version of SSH, bringing
80 it up to date in terms of security and features, as well as removing
81 all patented algorithms to seperate libraries (OpenSSL).
83 This package includes the core files necessary for both the OpenSSH
84 client and server. To make this package useful, you should also
85 install openssh-clients, openssh-server, or both.
88 OpenSSH (Secure Shell) stellt den Zugang zu anderen Rechnern her. Es
89 ersetzt telnet, rlogin, rexec und rsh und stellt eine sichere,
90 verschlüsselte Verbindung zwischen zwei nicht vertrauenswürdigen Hosts
91 über eine unsicheres Netzwerk her. X11 Verbindungen und beliebige
92 andere TCP/IP Ports können ebenso über den sicheren Channel
93 weitergeleitet werden.
96 SSH es un programa para accesar y ejecutar órdenes en computadores
97 remotos. Sustituye rlogin y rsh, y suministra un canal de comunicación
98 seguro entre dos servidores en una red insegura. Conexiones X11 y
99 puertas TCP/IP arbitrárias también pueden ser usadas por el canal
102 OpenSSH es el resultado del trabajo del equipo de OpenBSD para
103 continuar la última versión gratuita de SSH, actualizándolo en
104 términos de seguridad y recursos,así también eliminando todos los
105 algoritmos patentados y colocándolos en bibliotecas separadas
108 Este paquete contiene "port" para Linux de OpenSSH. Se debe instalar
109 también el paquete openssh-clients u openssh-server o ambos.
112 OpenSSH (Secure Shell) fournit un accès à un système distant. Il
113 remplace telnet, rlogin, rexec et rsh, tout en assurant des
114 communications cryptées securisées entre deux hôtes non fiabilisés sur
115 un réseau non sécurisé. Des connexions X11 et des ports TCP/IP
116 arbitraires peuvent également être transmis sur le canal sécurisé.
119 OpenSSH (Secure Shell) fornisce l'accesso ad un sistema remoto.
120 Sostituisce telnet, rlogin, rexec, e rsh, e fornisce comunicazioni
121 sicure e crittate tra due host non fidati su una rete non sicura. Le
122 connessioni X11 ad una porta TCP/IP arbitraria possono essere
123 inoltrate attraverso un canale sicuro.
126 Ssh (Secure Shell) to program s³u¿±cy do logowania siê na zdaln±
127 maszynê i uruchamiania na niej aplikacji. W zamierzeniu openssh ma
128 zast±piæ rlogin, rsh i dostarczyæ bezpieczne, szyfrowane po³±czenie
129 pomiedzy dwoma hostami.
131 Ten pakiet zawiera podstawowe pliki potrzebne zarówno po stronie
132 klienta jak i serwera OpenSSH. Aby by³ u¿yteczny, trzeba zainstalowaæ
133 co najmniej jeden z pakietów: openssh-clients lub openssh-server.
136 OpenSSH (Secure Shell) fornece acesso a um sistema remoto. Substitui o
137 telnet, rlogin, rexec, e o rsh e fornece comunicações seguras e
138 cifradas entre duas máquinas sem confiança mútua sobre uma rede
139 insegura. Ligações X11 e portos TCP/IP arbitrários também poder ser
140 reenviados pelo canal seguro.
142 %description -l pt_BR
143 SSH é um programa para acessar e executar comandos em máquinas
144 remotas. Ele substitui rlogin e rsh, e provem um canal de comunicação
145 seguro entre dois hosts em uma rede insegura. Conexões X11 e portas
146 TCP/IP arbitrárias também podem ser usadas pelo canal seguro.
148 OpenSSH é o resultado do trabalho da equipe do OpenBSD em continuar a
149 última versão gratuita do SSH, atualizando-o em termos de segurança e
150 recursos, assim como removendo todos os algoritmos patenteados e
151 colocando-os em bibliotecas separadas (OpenSSL).
153 Esse pacote contém o "port" pra Linux do OpenSSH. Você deve instalar
154 também ou o pacote openssh-clients, ou o openssh-server, ou ambos.
157 Ssh (Secure Shell) - ÜÔÏ ÐÒÏÇÒÁÍÍÁ ÄÌÑ "ÚÁÈÏÄÁ" (login) ÎÁ ÕÄÁÌÅÎÎÕÀ
158 ÍÁÛÉÎÕ É ÄÌÑ ×ÙÐÏÌÎÅÎÉÑ ËÏÍÁÎÄ ÎÁ ÕÄÁÌÅÎÎÏÊ ÍÁÛÉÎÅ. ïÎÁ ÐÒÅÄÎÁÚÎÁÞÅÎÁ
159 ÄÌÑ ÚÁÍÅÎÙ rlogin É rsh É ÏÂÅÓÐÅÞÉ×ÁÅÔ ÂÅÚÏÐÁÓÎÕÀ ÛÉÆÒÏ×ÁÎÎÕÀ
160 ËÏÍÍÕÎÉËÁÃÉÀ ÍÅÖÄÕ Ä×ÕÍÑ ÈÏÓÔÁÍÉ × ÓÅÔÉ, Ñ×ÌÑÀÝÅÊÓÑ ÎÅÂÅÚÏÐÁÓÎÏÊ.
161 óÏÅÄÉÎÅÎÉÑ X11 É ÌÀÂÙÅ ÐÏÒÔÙ TCP/IP ÍÏÇÕÔ ÔÁËÖÅ ÂÙÔØ ÐÒÏ×ÅÄÅÎÙ ÞÅÒÅÚ
164 OpenSSH - ÜÔÏ ÐÅÒÅÄÅÌËÁ ËÏÍÁÎÄÏÊ ÒÁÚÒÁÂÏÔÞÉËÏ× OpenBSD ÐÏÓÌÅÄÎÅÊ
165 Ó×ÏÂÏÄÎÏÊ ×ÅÒÓÉÉ SSH, ÄÏ×ÅÄÅÎÎÁÑ ÄÏ ÓÏ×ÒÅÍÅÎÎÏÇÏ ÓÏÓÔÏÑÎÉÑ × ÔÅÒÍÉÎÁÈ
166 ÕÒÏ×ÎÑ ÂÅÚÏÐÁÓÎÏÓÔÉ É ÐÏÄÄÅÒÖÉ×ÁÅÍÙÈ ×ÏÚÍÏÖÎÏÓÔÅÊ. ÷ÓÅ ÐÁÔÅÎÔÏ×ÁÎÎÙÅ
167 ÁÌÇÏÒÉÔÍÙ ×ÙÎÅÓÅÎÙ × ÏÔÄÅÌØÎÙÅ ÂÉÂÌÉÏÔÅËÉ (OpenSSL).
169 üÔÏÔ ÐÁËÅÔ ÓÏÄÅÒÖÉÔ ÆÁÊÌÙ, ÎÅÏÂÈÏÄÉÍÙÅ ËÁË ÄÌÑ ËÌÉÅÎÔÁ, ÔÁË É ÄÌÑ
170 ÓÅÒ×ÅÒÁ OpenSSH. ÷ÁÍ ÎÕÖÎÏ ÂÕÄÅÔ ÕÓÔÁÎÏ×ÉÔØ ÅÝÅ openssh-clients,
171 openssh-server, ÉÌÉ ÏÂÁ ÐÁËÅÔÁ.
174 Ssh (Secure Shell) - ÃÅ ÐÒÏÇÒÁÍÁ ÄÌÑ "ÚÁÈÏÄÕ" (login) ÄÏ ×¦ÄÄÁÌÅÎϧ
175 ÍÁÛÉÎÉ ÔÁ ÄÌÑ ×ÉËÏÎÁÎÎÑ ËÏÍÁÎÄ ÎÁ צÄÄÁÌÅÎ¦Ê ÍÁÛÉΦ. ÷ÏÎÁ ÐÒÉÚÎÁÞÅÎÁ
176 ÄÌÑ ÚÁͦÎÉ rlogin ÔÁ rsh ¦ ÚÁÂÅÚÐÅÞÕ¤ ÂÅÚÐÅÞÎÕ ÛÉÆÒÏ×ÁÎÕ ËÏÍÕΦËÁæÀ
177 Í¦Ö Ä×ÏÍÁ ÈÏÓÔÁÍÉ × ÍÅÒÅÖ¦, ÑËÁ ÎÅ ¤ ÂÅÚÐÅÞÎÏÀ. ú'¤ÄÎÁÎÎÑ X11 ÔÁ
178 ÄÏצÌØΦ ÐÏÒÔÉ TCP/IP ÍÏÖÕÔØ ÔÁËÏÖ ÂÕÔÉ ÐÒÏ×ÅÄÅΦ ÞÅÒÅÚ ÂÅÚÐÅÞÎÉÊ
181 OpenSSH - ÃÅ ÐÅÒÅÒÏÂËÁ ËÏÍÁÎÄÏÀ ÒÏÚÒÏÂÎÉË¦× OpenBSD ÏÓÔÁÎÎØϧ צÌØÎϧ
182 ×ÅÒÓ¦§ SSH, ÄÏ×ÅÄÅÎÁ ÄÏ ÓÕÞÁÓÎÏÇÏ ÓÔÁÎÕ × ÔÅÒͦÎÁÈ Ò¦×ÎÑ ÂÅÚÐÅËÉ ÔÁ
183 ЦÄÔÒÉÍÕ×ÁÎÉÈ ÍÏÖÌÉ×ÏÓÔÅÊ. ÷Ó¦ ÐÁÔÅÎÔÏ×ÁΦ ÁÌÇÏÒÉÔÍÉ ×ÉÎÅÓÅΦ ÄÏ
184 ÏËÒÅÍÉÈ Â¦Â̦ÏÔÅË (OpenSSL).
186 ãÅÊ ÐÁËÅÔ Í¦ÓÔÉÔØ ÆÁÊÌÉ, ÎÅÏÂȦÄΦ ÑË ÄÌÑ Ë̦¤ÎÔÁ, ÔÁË ¦ ÄÌÑ ÓÅÒ×ÅÒÁ
187 OpenSSH. ÷ÁÍ ÐÏÔÒ¦ÂÎÏ ÂÕÄÅ ÝÅ ×ÓÔÁÎÏ×ÉÔÉ openssh-clients,
188 openssh-server, ÞÉ ÏÂÉÄ×Á ÐÁËÅÔÉ.
191 Summary: OpenSSH Secure Shell protocol clients
192 Summary(es): Clientes de OpenSSH
193 Summary(pl): Klienci protoko³u Secure Shell
194 Summary(pt_BR): Clientes do OpenSSH
195 Summary(ru): OpenSSH - ËÌÉÅÎÔÙ ÐÒÏÔÏËÏÌÁ Secure Shell
196 Summary(uk): OpenSSH - Ë̦¤ÎÔÉ ÐÒÏÔÏËÏÌÕ Secure Shell
197 Group: Applications/Networking
198 Requires: %{name} = %{epoch}:%{version}
199 Obsoletes: ssh-clients
202 Ssh (Secure Shell) a program for logging into a remote machine and for
203 executing commands in a remote machine. It is intended to replace
204 rlogin and rsh, and provide secure encrypted communications between
205 two untrusted hosts over an insecure network. X11 connections and
206 arbitrary TCP/IP ports can also be forwarded over the secure channel.
208 OpenSSH is OpenBSD's rework of the last free version of SSH, bringing
209 it up to date in terms of security and features, as well as removing
210 all patented algorithms to seperate libraries (OpenSSL).
212 This package includes the clients necessary to make encrypted
213 connections to SSH servers.
215 %description clients -l es
216 Este paquete incluye los clientes que se necesitan para hacer
217 conexiones codificadas con servidores SSH.
219 %description clients -l pl
220 Ssh (Secure Shell) to program s³u¿±cy do logowania siê na zdaln±
221 maszynê i uruchamiania na niej aplikacji. W zamierzeniu openssh ma
222 zast±piæ rlogin, rsh i dostarczyæ bezpieczne, szyfrowane po³±czenie
223 pomiedzy dwoma hostami.
225 Ten pakiet zawiera klientów s³u¿±cych do ³±czenia siê z serwerami SSH.
227 %description clients -l pt_BR
228 Esse pacote inclui os clientes necessários para fazer conexões
229 encriptadas com servidores SSH.
231 %description clients -l ru
232 Ssh (Secure Shell) - ÜÔÏ ÐÒÏÇÒÁÍÍÁ ÄÌÑ "ÚÁÈÏÄÁ" (login) ÎÁ ÕÄÁÌÅÎÎÕÀ
233 ÍÁÛÉÎÕ É ÄÌÑ ×ÙÐÏÌÎÅÎÉÑ ËÏÍÁÎÄ ÎÁ ÕÄÁÌÅÎÎÏÊ ÍÁÛÉÎÅ.
235 üÔÏÔ ÐÁËÅÔ ÓÏÄÅÒÖÉÔ ÐÒÏÇÒÁÍÍÙ-ËÌÉÅÎÔÙ, ÎÅÏÂÈÏÄÉÍÙÅ ÄÌÑ ÕÓÔÁÎÏ×ÌÅÎÉÑ
236 ÚÁÛÉÆÒÏ×ÁÎÎÙÈ ÓÏÅÄÉÎÅÎÉÊ Ó ÓÅÒ×ÅÒÁÍÉ SSH.
238 %description clients -l uk
239 Ssh (Secure Shell) - ÃÅ ÐÒÏÇÒÁÍÁ ÄÌÑ "ÚÁÈÏÄÕ" (login) ÄÏ ×¦ÄÄÁÌÅÎϧ
240 ÍÁÛÉÎÉ ÔÁ ÄÌÑ ×ÉËÏÎÁÎÎÑ ËÏÍÁÎÄ ÎÁ צÄÄÁÌÅÎ¦Ê ÍÁÛÉΦ.
242 ãÅÊ ÐÁËÅÔ Í¦ÓÔÉÔØ ÐÒÏÇÒÁÍÉ-Ë̦¤ÎÔÉ, ÎÅÏÂȦÄΦ ÄÌÑ ×ÓÔÁÎÏ×ÌÅÎÎÑ
243 ÚÁÛÉÆÒÏ×ÁÎÉÈ Ú'¤ÄÎÁÎØ Ú ÓÅÒ×ÅÒÁÍÉ SSH.
246 Summary: OpenSSH Secure Shell protocol server (sshd)
247 Summary(de): OpenSSH Secure Shell Protocol-Server (sshd)
248 Summary(es): Servidor OpenSSH para comunicaciones codificadas
249 Summary(fr): Serveur de protocole du shell sécurisé OpenSSH (sshd)
250 Summary(it): Server OpenSSH per il protocollo Secure Shell (sshd)
251 Summary(pl): Serwer protoko³u Secure Shell (sshd)
252 Summary(pt): Servidor do protocolo 'Secure Shell' OpenSSH (sshd)
253 Summary(pt_BR): Servidor OpenSSH para comunicações encriptadas
254 Summary(ru): OpenSSH - ÓÅÒ×ÅÒ ÐÒÏÔÏËÏÌÁ Secure Shell (sshd)
255 Summary(uk): OpenSSH - ÓÅÒ×ÅÒ ÐÒÏÔÏËÏÌÕ Secure Shell (sshd)
256 Group: Networking/Daemons
257 PreReq: %{name} = %{epoch}:%{version}
258 PreReq: rc-scripts >= 0.3.1-15
259 Requires(pre): /bin/id
260 Requires(pre): /usr/sbin/useradd
261 Requires(post,preun): /sbin/chkconfig
262 Requires(post): chkconfig >= 0.9
264 Requires(postun): /usr/sbin/userdel
267 Obsoletes: ssh-server
270 Ssh (Secure Shell) a program for logging into a remote machine and for
271 executing commands in a remote machine. It is intended to replace
272 rlogin and rsh, and provide secure encrypted communications between
273 two untrusted hosts over an insecure network. X11 connections and
274 arbitrary TCP/IP ports can also be forwarded over the secure channel.
276 OpenSSH is OpenBSD's rework of the last free version of SSH, bringing
277 it up to date in terms of security and features, as well as removing
278 all patented algorithms to seperate libraries (OpenSSL).
280 This package contains the secure shell daemon. The sshd is the server
281 part of the secure shell protocol and allows ssh clients to connect to
284 %description server -l de
285 Dieses Paket installiert den sshd, den Server-Teil der OpenSSH.
287 %description server -l es
288 Este paquete contiene el servidor SSH. sshd es la parte servidor del
289 protocolo secure shell y permite que clientes ssh se conecten a su
292 %description server -l fr
293 Ce paquetage installe le 'sshd', partie serveur de OpenSSH.
295 %description server -l it
296 Questo pacchetto installa sshd, il server di OpenSSH.
298 %description server -l pl
299 Ssh (Secure Shell) to program s³u¿±cy do logowania siê na zdaln±
300 maszynê i uruchamiania na niej aplikacji. W zamierzeniu openssh ma
301 zast±piæ rlogin, rsh i dostarczyæ bezpieczne, szyfrowane po³±czenie
302 pomiedzy dwoma hostami.
304 Ten pakiet zawiera serwer sshd (do którego mog± ³±czyæ siê klienci
307 %description server -l pt
308 Este pacote intala o sshd, o servidor do OpenSSH.
310 %description server -l pt_BR
311 Esse pacote contém o servidor SSH. O sshd é a parte servidor do
312 protocolo secure shell e permite que clientes ssh se conectem ao seu
315 %description server -l ru
316 Ssh (Secure Shell) - ÜÔÏ ÐÒÏÇÒÁÍÍÁ ÄÌÑ "ÚÁÈÏÄÁ" (login) ÎÁ ÕÄÁÌÅÎÎÕÀ
317 ÍÁÛÉÎÕ É ÄÌÑ ×ÙÐÏÌÎÅÎÉÑ ËÏÍÁÎÄ ÎÁ ÕÄÁÌÅÎÎÏÊ ÍÁÛÉÎÅ.
319 üÔÏÔ ÐÁËÅÔ ÓÏÄÅÒÖÉÔ sshd - "ÄÅÍÏÎ" Secure Shell. sshd - ÜÔÏ ÓÅÒ×ÅÒÎÁÑ
320 ÞÁÓÔØ ÐÒÏÔÏËÏÌÁ Secure Shell, ÐÏÚ×ÏÌÑÀÝÁÑ ËÌÉÅÎÔÁÍ ssh ÓÏÅÄÉÎÑÔØÓÑ Ó
323 %description server -l uk
324 Ssh (Secure Shell) - ÃÅ ÐÒÏÇÒÁÍÁ ÄÌÑ "ÚÁÈÏÄÕ" (login) ÄÏ ×¦ÄÄÁÌÅÎϧ
325 ÍÁÛÉÎÉ ÔÁ ÄÌÑ ×ÉËÏÎÁÎÎÑ ËÏÍÁÎÄ ÎÁ צÄÄÁÌÅÎ¦Ê ÍÁÛÉΦ.
327 ãÅÊ ÐÁËÅÔ Í¦ÓÔÉÔØ sshd - "ÄÅÍÏÎ" Secure Shell. sshd - ÃÅ ÓÅÒ×ÅÒÎÁ
328 ÞÁÓÔÉÎÁ ÐÒÏÔÏËÏÌÕ Secure Shell, ÑËÁ ÄÏÚ×ÏÌѤ Ë̦¤ÎÔÁÍ ssh Ú×'ÑÚÕ×ÁÔÉÓØ
331 %package gnome-askpass
332 Summary: OpenSSH GNOME passphrase dialog
333 Summary(de): OpenSSH GNOME Passwort-Dialog
334 Summary(es): Diálogo para introducción de passphrase para GNOME
335 Summary(fr): Dialogue pass-phrase GNOME d'OpenSSH
336 Summary(it): Finestra di dialogo GNOME per la frase segreta di OpenSSH
337 Summary(pl): Odpytywacz has³a OpenSSH dla GNOME
338 Summary(pt): Diálogo de pedido de senha para GNOME do OpenSSH
339 Summary(pt_BR): Diálogo para entrada de passphrase para GNOME
340 Summary(ru): OpenSSH - ÄÉÁÌÏÇ ××ÏÄÁ ËÌÀÞÅ×ÏÊ ÆÒÁÚÙ (passphrase) ÄÌÑ GNOME
341 Summary(uk): OpenSSH - ĦÁÌÏÇ ××ÏÄÕ ËÌÀÞÏ×ϧ ÆÒÁÚÉ (passphrase) ÄÌÑ GNOME
342 Group: Applications/Networking
343 Requires: %{name} = %{epoch}:%{version}
344 Obsoletes: ssh-extras
345 Obsoletes: ssh-askpass
346 Obsoletes: openssh-askpass
348 %description gnome-askpass
349 Ssh (Secure Shell) a program for logging into a remote machine and for
350 executing commands in a remote machine. It is intended to replace
351 rlogin and rsh, and provide secure encrypted communications between
352 two untrusted hosts over an insecure network. X11 connections and
353 arbitrary TCP/IP ports can also be forwarded over the secure channel.
355 OpenSSH is OpenBSD's rework of the last free version of SSH, bringing
356 it up to date in terms of security and features, as well as removing
357 all patented algorithms to seperate libraries (OpenSSL).
359 This package contains the GNOME passphrase dialog.
361 %description gnome-askpass -l es
362 Este paquete contiene un programa que abre una caja de diálogo para
363 entrada de passphrase en GNOME.
365 %description gnome-askpass -l pl
366 Ssh (Secure Shell) to program s³u¿±cy do logowania siê na zdaln±
367 maszynê i uruchamiania na niej aplikacji. W zamierzeniu openssh ma
368 zast±piæ rlogin, rsh i dostarczyæ bezpieczne, szyfrowane po³±czenie
369 pomiedzy dwoma hostami.
371 Ten pakiet zawiera ,,odpytywacz has³a'' dla GNOME.
373 %description gnome-askpass -l pt_BR
374 Esse pacote contém um programa que abre uma caixa de diálogo para
375 entrada de passphrase no GNOME.
377 %description gnome-askpass -l ru
378 Ssh (Secure Shell) - ÜÔÏ ÐÒÏÇÒÁÍÍÁ ÄÌÑ "ÚÁÈÏÄÁ" (login) ÎÁ ÕÄÁÌÅÎÎÕÀ
379 ÍÁÛÉÎÕ É ÄÌÑ ×ÙÐÏÌÎÅÎÉÑ ËÏÍÁÎÄ ÎÁ ÕÄÁÌÅÎÎÏÊ ÍÁÛÉÎÅ.
381 üÔÏÔ ÐÁËÅÔ ÓÏÄÅÒÖÉÔ ÄÉÁÌÏÇ ××ÏÄÁ ËÌÀÞÅ×ÏÊ ÆÒÁÚÙ ÄÌÑ ÉÓÐÏÌØÚÏ×ÁÎÉÑ ÐÏÄ
384 %description gnome-askpass -l uk
385 Ssh (Secure Shell) - ÃÅ ÐÒÏÇÒÁÍÁ ÄÌÑ "ÚÁÈÏÄÕ" (login) ÄÏ ×¦ÄÄÁÌÅÎϧ
386 ÍÁÛÉÎÉ ÔÁ ÄÌÑ ×ÉËÏÎÁÎÎÑ ËÏÍÁÎÄ ÎÁ צÄÄÁÌÅÎ¦Ê ÍÁÛÉΦ.
388 ãÅÊ ÐÁËÅÔ Í¦ÓÔÉÔØ Ä¦ÁÌÏÇ ××ÏÄÕ ËÌÀÞÏ×ϧ ÆÒÁÚÉ ÄÌÑ ×ÉËÏÒÉÓÔÁÎÎÑ Ð¦Ä
392 %setup -q -n %{name}-%{orig_ver}
397 %{?_with_ldap:%patch5 -p1}
398 %{?_with_kerberos5:%patch6 -p1}
408 --with-md5-passwords \
409 --with-ipaddr-display \
412 --with-tcp-wrappers \
413 %{?_with_ldap:--with-libs="-lldap -llber"} \
414 %{?_with_ldap:--with-cppflags="-DWITH_LDAP_PUBKEY"} \
415 %{?_with_kerberos5:--with-kerberos5} \
416 --with-privsep-path=%{_privsepdir} \
417 --with-pid-dir=%{_localstatedir}/run \
418 --with-xauth=/usr/X11R6/bin/xauth
420 echo '#define LOGIN_PROGRAM "/bin/login"' >>config.h
426 %{__cc} %{rpmcflags} %{rpmldflags} connect.c -o connect
429 %if 0%{!?_without_gnome:1}
430 %{__make} gnome-ssh-askpass1 \
431 CC="%{__cc} %{rpmldflags} %{rpmcflags}"
433 %if 0%{!?_without_gtk:1}
434 %{__make} gnome-ssh-askpass2 \
435 CC="%{__cc} %{rpmldflags} %{rpmcflags}"
439 rm -rf $RPM_BUILD_ROOT
440 install -d $RPM_BUILD_ROOT{%{_sysconfdir},/etc/{pam.d,rc.d/init.d,sysconfig,security,profile.d}}
442 %{__make} install DESTDIR="$RPM_BUILD_ROOT"
444 install connect $RPM_BUILD_ROOT%{_bindir}
445 install %{SOURCE4} $RPM_BUILD_ROOT/etc/pam.d/sshd
446 install %{SOURCE6} $RPM_BUILD_ROOT/etc/pam.d/passwdssh
447 install %{SOURCE5} $RPM_BUILD_ROOT/etc/sysconfig/sshd
448 install %{SOURCE3} $RPM_BUILD_ROOT/etc/rc.d/init.d/sshd
449 install %{SOURCE2} $RPM_BUILD_ROOT%{_sysconfdir}/ssh_config
450 install %{SOURCE1} $RPM_BUILD_ROOT%{_sysconfdir}/sshd_config
452 install -d $RPM_BUILD_ROOT%{_libexecdir}/ssh
453 %if 0%{!?_without_gnome:1}
454 install contrib/gnome-ssh-askpass1 $RPM_BUILD_ROOT%{_libexecdir}/ssh/ssh-askpass
456 %if 0%{!?_without_gtk:1}
457 install contrib/gnome-ssh-askpass2 $RPM_BUILD_ROOT%{_libexecdir}/ssh/ssh-askpass
459 %if 0%{!?_without_gnome:1}%{!?_without_gtk:1}
460 install %{SOURCE7} %{SOURCE8} $RPM_BUILD_ROOT/etc/profile.d
463 rm -f $RPM_BUILD_ROOT%{_mandir}/man1/slogin.1
464 echo ".so ssh.1" > $RPM_BUILD_ROOT%{_mandir}/man1/slogin.1
466 touch $RPM_BUILD_ROOT/etc/security/blacklist.sshd
469 rm -rf $RPM_BUILD_ROOT
472 if [ -n "`id -u sshd 2>/dev/null`" ]; then
473 if [ "`id -u sshd`" != "40" ]; then
474 echo "Error: user sshd doesn't have uid=40. Correct this before installing ssh server." 1>&2
478 /usr/sbin/useradd -u 40 -d %{_privsepdir} -s /bin/false -M -r -c "OpenSSH PrivSep User" -g nobody sshd 1>&2
482 /sbin/chkconfig --add sshd
483 if [ -f /var/lock/subsys/sshd ]; then
484 /etc/rc.d/init.d/sshd restart 1>&2
486 echo "Run \"/etc/rc.d/init.d/sshd start\" to start openssh daemon."
488 if ! grep -qs ssh /etc/security/passwd.conf ; then
490 echo "ssh" >> /etc/security/passwd.conf
494 if [ "$1" = "0" ]; then
495 if [ -f /var/lock/subsys/sshd ]; then
496 /etc/rc.d/init.d/sshd stop 1>&2
498 /sbin/chkconfig --del sshd
502 if [ "$1" = "0" ]; then
503 /usr/sbin/userdel sshd
507 %defattr(644,root,root,755)
508 %doc *.RNG TODO README OVERVIEW CREDITS Change*
509 %attr(755,root,root) %{_bindir}/ssh-key*
510 %{_mandir}/man1/ssh-key*.1*
514 %defattr(644,root,root,755)
516 %attr(0755,root,root) %{_bindir}/connect
517 %attr(0755,root,root) %{_bindir}/ssh
518 %attr(0755,root,root) %{_bindir}/slogin
519 %attr(0755,root,root) %{_bindir}/sftp
520 %attr(0755,root,root) %{_bindir}/ssh-agent
521 %attr(0755,root,root) %{_bindir}/ssh-add
522 %attr(0755,root,root) %{_bindir}/scp
523 %config(noreplace) %verify(not md5 size mtime) %{_sysconfdir}/ssh_config
524 %{_mandir}/man1/scp.1*
525 %{_mandir}/man1/ssh.1*
526 %{_mandir}/man1/slogin.1*
527 %{_mandir}/man1/sftp.1*
528 %{_mandir}/man1/ssh-agent.1*
529 %{_mandir}/man1/ssh-add.1*
530 %{_mandir}/man5/ssh_config.5*
532 # for host-based auth (suid required for accessing private host key)
533 #%attr(4755,root,root) %{_libexecdir}/ssh-keysign
534 #%{_mandir}/man8/ssh-keysign.8*
537 %defattr(644,root,root,755)
538 %attr(755,root,root) %{_sbindir}/sshd
539 %attr(755,root,root) %{_libexecdir}/sftp-server
541 %{_mandir}/man8/sshd.8*
542 %{_mandir}/man8/sftp-server.8*
543 %{_mandir}/man5/sshd_config.5*
544 %attr(640,root,root) %config(noreplace) %verify(not md5 size mtime) %{_sysconfdir}/sshd_config
545 %attr(640,root,root) %config(noreplace) %verify(not md5 size mtime) /etc/pam.d/sshd
546 %attr(640,root,root) %{_sysconfdir}/moduli
547 %attr(754,root,root) /etc/rc.d/init.d/sshd
548 %attr(640,root,root) %config(noreplace) %verify(not md5 size mtime) /etc/sysconfig/sshd
549 %attr(640,root,root) %config(noreplace) %verify(not md5 size mtime) /etc/security/blacklist.sshd
551 %if 0%{!?_without_gnome:1}%{!?_without_gtk:1}
553 %defattr(644,root,root,755)
554 %dir %{_libexecdir}/ssh
555 %attr(755,root,root) %{_libexecdir}/ssh/ssh-askpass
556 %attr(755,root,root) /etc/profile.d/*