]> git.pld-linux.org Git - packages/openssh.git/blob - openssh.spec
a491cb6d1356401ff2f2199d713337bf4b22c4ae
[packages/openssh.git] / openssh.spec
1 #
2 # Conditional build:
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
7 #
8 # default to gtk2-based gnome-askpass
9
10 %define         orig_ver        3.7.1p2
11
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)
23 Name:           openssh
24 Version:        3.7.1p2
25 Release:        1%{?_with_ldap:ldap}
26 Epoch:          2
27 License:        BSD
28 Group:          Applications/Networking
29 Source0:        ftp://ftp.ca.openbsd.org/pub/OpenBSD/OpenSSH/portable/%{name}-%{orig_ver}.tar.gz
30 # Source0-md5:  61cf5b059938718308836d00f6764a94
31 Source1:        %{name}d.conf
32 Source2:        %{name}.conf
33 Source3:        %{name}d.init
34 Source4:        %{name}d.pamd
35 Source5:        %{name}.sysconfig
36 Source6:        passwd.pamd
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 Patch7:         %{name}-pam-conv.patch
51 URL:            http://www.openssh.com/
52 BuildRequires:  autoconf
53 BuildRequires:  automake
54 %{!?_without_gnome:BuildRequires: gnome-libs-devel}
55 %{!?_without_gtk:BuildRequires: gtk+2-devel}
56 BuildRequires:  libwrap-devel
57 BuildRequires:  openssl-devel >= 0.9.7b
58 %{?_with_ldap:BuildRequires:    openldap-devel}
59 %{?_with_kerberos5:BuildRequires:       heimdal-devel}
60 BuildRequires:  pam-devel
61 BuildRequires:  %{__perl}
62 %{!?_without_gtk:BuildRequires: pkgconfig}
63 BuildRequires:  zlib-devel
64 PreReq:         FHS >= 2.1-24
65 PreReq:         openssl >= 0.9.7
66 Obsoletes:      ssh
67 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
68
69 %define         _sysconfdir     /etc/ssh
70 %define         _libexecdir     %{_libdir}/%{name}
71 %define         _privsepdir     /usr/share/empty
72
73 %description
74 Ssh (Secure Shell) a program for logging into a remote machine and for
75 executing commands in a remote machine. It is intended to replace
76 rlogin and rsh, and provide secure encrypted communications between
77 two untrusted hosts over an insecure network. X11 connections and
78 arbitrary TCP/IP ports can also be forwarded over the secure channel.
79
80 OpenSSH is OpenBSD's rework of the last free version of SSH, bringing
81 it up to date in terms of security and features, as well as removing
82 all patented algorithms to seperate libraries (OpenSSL).
83
84 This package includes the core files necessary for both the OpenSSH
85 client and server. To make this package useful, you should also
86 install openssh-clients, openssh-server, or both.
87
88 %description -l de
89 OpenSSH (Secure Shell) stellt den Zugang zu anderen Rechnern her. Es
90 ersetzt telnet, rlogin, rexec und rsh und stellt eine sichere,
91 verschlüsselte Verbindung zwischen zwei nicht vertrauenswürdigen Hosts
92 über eine unsicheres Netzwerk her. X11 Verbindungen und beliebige
93 andere TCP/IP Ports können ebenso über den sicheren Channel
94 weitergeleitet werden.
95
96 %description -l es
97 SSH es un programa para accesar y ejecutar órdenes en computadores
98 remotos. Sustituye rlogin y rsh, y suministra un canal de comunicación
99 seguro entre dos servidores en una red insegura. Conexiones X11 y
100 puertas TCP/IP arbitrárias también pueden ser usadas por el canal
101 seguro.
102
103 OpenSSH es el resultado del trabajo del equipo de OpenBSD para
104 continuar la última versión gratuita de SSH, actualizándolo en
105 términos de seguridad y recursos,así también eliminando todos los
106 algoritmos patentados y colocándolos en bibliotecas separadas
107 (OpenSSL).
108
109 Este paquete contiene "port" para Linux de OpenSSH. Se debe instalar
110 también el paquete openssh-clients u openssh-server o ambos.
111
112 %description -l fr
113 OpenSSH (Secure Shell) fournit un accès à un système distant. Il
114 remplace telnet, rlogin, rexec et rsh, tout en assurant des
115 communications cryptées securisées entre deux hôtes non fiabilisés sur
116 un réseau non sécurisé. Des connexions X11 et des ports TCP/IP
117 arbitraires peuvent également être transmis sur le canal sécurisé.
118
119 %description -l it
120 OpenSSH (Secure Shell) fornisce l'accesso ad un sistema remoto.
121 Sostituisce telnet, rlogin, rexec, e rsh, e fornisce comunicazioni
122 sicure e crittate tra due host non fidati su una rete non sicura. Le
123 connessioni X11 ad una porta TCP/IP arbitraria possono essere
124 inoltrate attraverso un canale sicuro.
125
126 %description -l pl
127 Ssh (Secure Shell) to program s³u¿±cy do logowania siê na zdaln±
128 maszynê i uruchamiania na niej aplikacji. W zamierzeniu openssh ma
129 zast±piæ rlogin, rsh i dostarczyæ bezpieczne, szyfrowane po³±czenie
130 pomiedzy dwoma hostami.
131
132 Ten pakiet zawiera podstawowe pliki potrzebne zarówno po stronie
133 klienta jak i serwera OpenSSH. Aby by³ u¿yteczny, trzeba zainstalowaæ
134 co najmniej jeden z pakietów: openssh-clients lub openssh-server.
135
136 %description -l pt
137 OpenSSH (Secure Shell) fornece acesso a um sistema remoto. Substitui o
138 telnet, rlogin, rexec, e o rsh e fornece comunicações seguras e
139 cifradas entre duas máquinas sem confiança mútua sobre uma rede
140 insegura. Ligações X11 e portos TCP/IP arbitrários também poder ser
141 reenviados pelo canal seguro.
142
143 %description -l pt_BR
144 SSH é um programa para acessar e executar comandos em máquinas
145 remotas. Ele substitui rlogin e rsh, e provem um canal de comunicação
146 seguro entre dois hosts em uma rede insegura. Conexões X11 e portas
147 TCP/IP arbitrárias também podem ser usadas pelo canal seguro.
148
149 OpenSSH é o resultado do trabalho da equipe do OpenBSD em continuar a
150 última versão gratuita do SSH, atualizando-o em termos de segurança e
151 recursos, assim como removendo todos os algoritmos patenteados e
152 colocando-os em bibliotecas separadas (OpenSSL).
153
154 Esse pacote contém o "port" pra Linux do OpenSSH. Você deve instalar
155 também ou o pacote openssh-clients, ou o openssh-server, ou ambos.
156
157 %description -l ru
158 Ssh (Secure Shell) - ÜÔÏ ÐÒÏÇÒÁÍÍÁ ÄÌÑ "ÚÁÈÏÄÁ" (login) ÎÁ ÕÄÁÌÅÎÎÕÀ
159 ÍÁÛÉÎÕ É ÄÌÑ ×ÙÐÏÌÎÅÎÉÑ ËÏÍÁÎÄ ÎÁ ÕÄÁÌÅÎÎÏÊ ÍÁÛÉÎÅ. ïÎÁ ÐÒÅÄÎÁÚÎÁÞÅÎÁ
160 ÄÌÑ ÚÁÍÅÎÙ rlogin É rsh É ÏÂÅÓÐÅÞÉ×ÁÅÔ ÂÅÚÏÐÁÓÎÕÀ ÛÉÆÒÏ×ÁÎÎÕÀ
161 ËÏÍÍÕÎÉËÁÃÉÀ ÍÅÖÄÕ Ä×ÕÍÑ ÈÏÓÔÁÍÉ × ÓÅÔÉ, Ñ×ÌÑÀÝÅÊÓÑ ÎÅÂÅÚÏÐÁÓÎÏÊ.
162 óÏÅÄÉÎÅÎÉÑ X11 É ÌÀÂÙÅ ÐÏÒÔÙ TCP/IP ÍÏÇÕÔ ÔÁËÖÅ ÂÙÔØ ÐÒÏ×ÅÄÅÎÙ ÞÅÒÅÚ
163 ÂÅÚÏÐÁÓÎÙÊ ËÁÎÁÌ.
164
165 OpenSSH - ÜÔÏ ÐÅÒÅÄÅÌËÁ ËÏÍÁÎÄÏÊ ÒÁÚÒÁÂÏÔÞÉËÏ× OpenBSD ÐÏÓÌÅÄÎÅÊ
166 Ó×ÏÂÏÄÎÏÊ ×ÅÒÓÉÉ SSH, ÄÏ×ÅÄÅÎÎÁÑ ÄÏ ÓÏ×ÒÅÍÅÎÎÏÇÏ ÓÏÓÔÏÑÎÉÑ × ÔÅÒÍÉÎÁÈ
167 ÕÒÏ×ÎÑ ÂÅÚÏÐÁÓÎÏÓÔÉ É ÐÏÄÄÅÒÖÉ×ÁÅÍÙÈ ×ÏÚÍÏÖÎÏÓÔÅÊ. ÷ÓÅ ÐÁÔÅÎÔÏ×ÁÎÎÙÅ
168 ÁÌÇÏÒÉÔÍÙ ×ÙÎÅÓÅÎÙ × ÏÔÄÅÌØÎÙÅ ÂÉÂÌÉÏÔÅËÉ (OpenSSL).
169
170 üÔÏÔ ÐÁËÅÔ ÓÏÄÅÒÖÉÔ ÆÁÊÌÙ, ÎÅÏÂÈÏÄÉÍÙÅ ËÁË ÄÌÑ ËÌÉÅÎÔÁ, ÔÁË É ÄÌÑ
171 ÓÅÒ×ÅÒÁ OpenSSH. ÷ÁÍ ÎÕÖÎÏ ÂÕÄÅÔ ÕÓÔÁÎÏ×ÉÔØ ÅÝÅ openssh-clients,
172 openssh-server, ÉÌÉ ÏÂÁ ÐÁËÅÔÁ.
173
174 %description -l uk
175 Ssh (Secure Shell) - ÃÅ ÐÒÏÇÒÁÍÁ ÄÌÑ "ÚÁÈÏÄÕ" (login) ÄϠצÄÄÁÌÅÎϧ
176 ÍÁÛÉÎÉ ÔÁ ÄÌÑ ×ÉËÏÎÁÎÎÑ ËÏÍÁÎÄ ÎÁ ×¦ÄÄÁÌÅΦʠÍÁÛÉΦ. ÷ÏÎÁ ÐÒÉÚÎÁÞÅÎÁ
177 ÄÌÑ ÚÁͦÎÉ rlogin ÔÁ rsh ¦ ÚÁÂÅÚÐÅÞÕ¤ ÂÅÚÐÅÞÎÕ ÛÉÆÒÏ×ÁÎÕ ËÏÍÕΦËÁæÀ
178 ͦ֠Ä×ÏÍÁ ÈÏÓÔÁÍÉ × ÍÅÒÅÖ¦, ÑËÁ ÎÅ ¤ ÂÅÚÐÅÞÎÏÀ. ú'¤ÄÎÁÎÎÑ X11 ÔÁ
179 ÄÏצÌØΦ ÐÏÒÔÉ TCP/IP ÍÏÖÕÔØ ÔÁËÏÖ ÂÕÔÉ ÐÒÏ×ÅÄÅΦ ÞÅÒÅÚ ÂÅÚÐÅÞÎÉÊ
180 ËÁÎÁÌ.
181
182 OpenSSH - ÃÅ ÐÅÒÅÒÏÂËÁ ËÏÍÁÎÄÏÀ ÒÏÚÒÏÂÎÉ˦נOpenBSD ÏÓÔÁÎÎØϧ ×¦ÌØÎϧ
183 ×ÅÒÓ¦§ SSH, ÄÏ×ÅÄÅÎÁ ÄÏ ÓÕÞÁÓÎÏÇÏ ÓÔÁÎÕ × ÔÅÒͦÎÁÈ Ò¦×ÎÑ ÂÅÚÐÅËÉ ÔÁ
184 ЦÄÔÒÉÍÕ×ÁÎÉÈ ÍÏÖÌÉ×ÏÓÔÅÊ. ÷Ó¦ ÐÁÔÅÎÔÏ×ÁΦ ÁÌÇÏÒÉÔÍÉ ×ÉÎÅÓÅΦ ÄÏ
185 ÏËÒÅÍÉȠ¦Â̦ÏÔÅË (OpenSSL).
186
187 ãÅÊ ÐÁËÅԠͦÓÔÉÔØ ÆÁÊÌÉ, ÎÅÏÂȦÄΦ ÑË ÄÌÑ Ë̦¤ÎÔÁ, ÔÁË ¦ ÄÌÑ ÓÅÒ×ÅÒÁ
188 OpenSSH. ÷ÁÍ ÐÏÔÒ¦ÂÎÏ ÂÕÄÅ ÝÅ ×ÓÔÁÎÏ×ÉÔÉ openssh-clients,
189 openssh-server, ÞÉ ÏÂÉÄ×Á ÐÁËÅÔÉ.
190
191 %package clients
192 Summary:        OpenSSH Secure Shell protocol clients
193 Summary(es):    Clientes de OpenSSH
194 Summary(pl):    Klienci protoko³u Secure Shell
195 Summary(pt_BR): Clientes do OpenSSH
196 Summary(ru):    OpenSSH - ËÌÉÅÎÔÙ ÐÒÏÔÏËÏÌÁ Secure Shell
197 Summary(uk):    OpenSSH - Ë̦¤ÎÔÉ ÐÒÏÔÏËÏÌÕ Secure Shell
198 Group:          Applications/Networking
199 Provides:       ssh-clients
200 Requires:       %{name} = %{epoch}:%{version}
201 Obsoletes:      ssh-clients
202
203 %description clients
204 Ssh (Secure Shell) a program for logging into a remote machine and for
205 executing commands in a remote machine. It is intended to replace
206 rlogin and rsh, and provide secure encrypted communications between
207 two untrusted hosts over an insecure network. X11 connections and
208 arbitrary TCP/IP ports can also be forwarded over the secure channel.
209
210 OpenSSH is OpenBSD's rework of the last free version of SSH, bringing
211 it up to date in terms of security and features, as well as removing
212 all patented algorithms to seperate libraries (OpenSSL).
213
214 This package includes the clients necessary to make encrypted
215 connections to SSH servers.
216
217 %description clients -l es
218 Este paquete incluye los clientes que se necesitan para hacer
219 conexiones codificadas con servidores SSH.
220
221 %description clients -l pl
222 Ssh (Secure Shell) to program s³u¿±cy do logowania siê na zdaln±
223 maszynê i uruchamiania na niej aplikacji. W zamierzeniu openssh ma
224 zast±piæ rlogin, rsh i dostarczyæ bezpieczne, szyfrowane po³±czenie
225 pomiedzy dwoma hostami.
226
227 Ten pakiet zawiera klientów s³u¿±cych do ³±czenia siê z serwerami SSH.
228
229 %description clients -l pt_BR
230 Esse pacote inclui os clientes necessários para fazer conexões
231 encriptadas com servidores SSH.
232
233 %description clients -l ru
234 Ssh (Secure Shell) - ÜÔÏ ÐÒÏÇÒÁÍÍÁ ÄÌÑ "ÚÁÈÏÄÁ" (login) ÎÁ ÕÄÁÌÅÎÎÕÀ
235 ÍÁÛÉÎÕ É ÄÌÑ ×ÙÐÏÌÎÅÎÉÑ ËÏÍÁÎÄ ÎÁ ÕÄÁÌÅÎÎÏÊ ÍÁÛÉÎÅ.
236
237 üÔÏÔ ÐÁËÅÔ ÓÏÄÅÒÖÉÔ ÐÒÏÇÒÁÍÍÙ-ËÌÉÅÎÔÙ, ÎÅÏÂÈÏÄÉÍÙÅ ÄÌÑ ÕÓÔÁÎÏ×ÌÅÎÉÑ
238 ÚÁÛÉÆÒÏ×ÁÎÎÙÈ ÓÏÅÄÉÎÅÎÉÊ Ó ÓÅÒ×ÅÒÁÍÉ SSH.
239
240 %description clients -l uk
241 Ssh (Secure Shell) - ÃÅ ÐÒÏÇÒÁÍÁ ÄÌÑ "ÚÁÈÏÄÕ" (login) ÄϠצÄÄÁÌÅÎϧ
242 ÍÁÛÉÎÉ ÔÁ ÄÌÑ ×ÉËÏÎÁÎÎÑ ËÏÍÁÎÄ ÎÁ ×¦ÄÄÁÌÅΦʠÍÁÛÉΦ.
243
244 ãÅÊ ÐÁËÅԠͦÓÔÉÔØ ÐÒÏÇÒÁÍÉ-Ë̦¤ÎÔÉ, ÎÅÏÂȦÄΦ ÄÌÑ ×ÓÔÁÎÏ×ÌÅÎÎÑ
245 ÚÁÛÉÆÒÏ×ÁÎÉÈ Ú'¤ÄÎÁÎØ Ú ÓÅÒ×ÅÒÁÍÉ SSH.
246
247 %package server
248 Summary:        OpenSSH Secure Shell protocol server (sshd)
249 Summary(de):    OpenSSH Secure Shell Protocol-Server (sshd)
250 Summary(es):    Servidor OpenSSH para comunicaciones codificadas
251 Summary(fr):    Serveur de protocole du shell sécurisé OpenSSH (sshd)
252 Summary(it):    Server OpenSSH per il protocollo Secure Shell (sshd)
253 Summary(pl):    Serwer protoko³u Secure Shell (sshd)
254 Summary(pt):    Servidor do protocolo 'Secure Shell' OpenSSH (sshd)
255 Summary(pt_BR): Servidor OpenSSH para comunicações encriptadas
256 Summary(ru):    OpenSSH - ÓÅÒ×ÅÒ ÐÒÏÔÏËÏÌÁ Secure Shell (sshd)
257 Summary(uk):    OpenSSH - ÓÅÒ×ÅÒ ÐÒÏÔÏËÏÌÕ Secure Shell (sshd)
258 Group:          Networking/Daemons
259 PreReq:         %{name} = %{epoch}:%{version}
260 PreReq:         rc-scripts >= 0.3.1-15
261 Requires(pre):  /bin/id
262 Requires(pre):  /usr/sbin/useradd
263 Requires(post,preun):   /sbin/chkconfig
264 Requires(post): chkconfig >= 0.9
265 Requires(post): grep
266 Requires(postun):       /usr/sbin/userdel
267 Requires:       /bin/login
268 Requires:       util-linux
269 Provides:       ssh-server
270
271 %description server
272 Ssh (Secure Shell) a program for logging into a remote machine and for
273 executing commands in a remote machine. It is intended to replace
274 rlogin and rsh, and provide secure encrypted communications between
275 two untrusted hosts over an insecure network. X11 connections and
276 arbitrary TCP/IP ports can also be forwarded over the secure channel.
277
278 OpenSSH is OpenBSD's rework of the last free version of SSH, bringing
279 it up to date in terms of security and features, as well as removing
280 all patented algorithms to seperate libraries (OpenSSL).
281
282 This package contains the secure shell daemon. The sshd is the server
283 part of the secure shell protocol and allows ssh clients to connect to
284 your host.
285
286 %description server -l de
287 Dieses Paket installiert den sshd, den Server-Teil der OpenSSH.
288
289 %description server -l es
290 Este paquete contiene el servidor SSH. sshd es la parte servidor del
291 protocolo secure shell y permite que clientes ssh se conecten a su
292 servidor.
293
294 %description server -l fr
295 Ce paquetage installe le 'sshd', partie serveur de OpenSSH.
296
297 %description server -l it
298 Questo pacchetto installa sshd, il server di OpenSSH.
299
300 %description server -l pl
301 Ssh (Secure Shell) to program s³u¿±cy do logowania siê na zdaln±
302 maszynê i uruchamiania na niej aplikacji. W zamierzeniu openssh ma
303 zast±piæ rlogin, rsh i dostarczyæ bezpieczne, szyfrowane po³±czenie
304 pomiedzy dwoma hostami.
305
306 Ten pakiet zawiera serwer sshd (do którego mog± ³±czyæ siê klienci
307 ssh).
308
309 %description server -l pt
310 Este pacote intala o sshd, o servidor do OpenSSH.
311
312 %description server -l pt_BR
313 Esse pacote contém o servidor SSH. O sshd é a parte servidor do
314 protocolo secure shell e permite que clientes ssh se conectem ao seu
315 host.
316
317 %description server -l ru
318 Ssh (Secure Shell) - ÜÔÏ ÐÒÏÇÒÁÍÍÁ ÄÌÑ "ÚÁÈÏÄÁ" (login) ÎÁ ÕÄÁÌÅÎÎÕÀ
319 ÍÁÛÉÎÕ É ÄÌÑ ×ÙÐÏÌÎÅÎÉÑ ËÏÍÁÎÄ ÎÁ ÕÄÁÌÅÎÎÏÊ ÍÁÛÉÎÅ.
320
321 üÔÏÔ ÐÁËÅÔ ÓÏÄÅÒÖÉÔ sshd - "ÄÅÍÏÎ" Secure Shell. sshd - ÜÔÏ ÓÅÒ×ÅÒÎÁÑ
322 ÞÁÓÔØ ÐÒÏÔÏËÏÌÁ Secure Shell, ÐÏÚ×ÏÌÑÀÝÁÑ ËÌÉÅÎÔÁÍ ssh ÓÏÅÄÉÎÑÔØÓÑ Ó
323 ×ÁÛÉÍ ÈÏÓÔÏÍ.
324
325 %description server -l uk
326 Ssh (Secure Shell) - ÃÅ ÐÒÏÇÒÁÍÁ ÄÌÑ "ÚÁÈÏÄÕ" (login) ÄϠצÄÄÁÌÅÎϧ
327 ÍÁÛÉÎÉ ÔÁ ÄÌÑ ×ÉËÏÎÁÎÎÑ ËÏÍÁÎÄ ÎÁ ×¦ÄÄÁÌÅΦʠÍÁÛÉΦ.
328
329 ãÅÊ ÐÁËÅԠͦÓÔÉÔØ sshd - "ÄÅÍÏÎ" Secure Shell. sshd - ÃÅ ÓÅÒ×ÅÒÎÁ
330 ÞÁÓÔÉÎÁ ÐÒÏÔÏËÏÌÕ Secure Shell, ÑËÁ ÄÏÚ×ÏÌѤ Ë̦¤ÎÔÁÍ ssh Ú×'ÑÚÕ×ÁÔÉÓØ
331 Ú ×ÁÛÉÍ ÈÏÓÔÏÍ.
332
333 %package gnome-askpass
334 Summary:        OpenSSH GNOME passphrase dialog
335 Summary(de):    OpenSSH GNOME Passwort-Dialog
336 Summary(es):    Diálogo para introducción de passphrase para GNOME
337 Summary(fr):    Dialogue pass-phrase GNOME d'OpenSSH
338 Summary(it):    Finestra di dialogo GNOME per la frase segreta di OpenSSH
339 Summary(pl):    Odpytywacz has³a OpenSSH dla GNOME
340 Summary(pt):    Diálogo de pedido de senha para GNOME do OpenSSH
341 Summary(pt_BR): Diálogo para entrada de passphrase para GNOME
342 Summary(ru):    OpenSSH - ÄÉÁÌÏÇ ××ÏÄÁ ËÌÀÞÅ×ÏÊ ÆÒÁÚÙ (passphrase) ÄÌÑ GNOME
343 Summary(uk):    OpenSSH - Ä¦ÁÌÏÇ ××ÏÄÕ ËÌÀÞÏ×ϧ ÆÒÁÚÉ (passphrase) ÄÌÑ GNOME
344 Group:          Applications/Networking
345 Requires:       %{name} = %{epoch}:%{version}
346 Obsoletes:      ssh-extras
347 Obsoletes:      ssh-askpass
348 Obsoletes:      openssh-askpass
349
350 %description gnome-askpass
351 Ssh (Secure Shell) a program for logging into a remote machine and for
352 executing commands in a remote machine. It is intended to replace
353 rlogin and rsh, and provide secure encrypted communications between
354 two untrusted hosts over an insecure network. X11 connections and
355 arbitrary TCP/IP ports can also be forwarded over the secure channel.
356
357 OpenSSH is OpenBSD's rework of the last free version of SSH, bringing
358 it up to date in terms of security and features, as well as removing
359 all patented algorithms to seperate libraries (OpenSSL).
360
361 This package contains the GNOME passphrase dialog.
362
363 %description gnome-askpass -l es
364 Este paquete contiene un programa que abre una caja de diálogo para
365 entrada de passphrase en GNOME.
366
367 %description gnome-askpass -l pl
368 Ssh (Secure Shell) to program s³u¿±cy do logowania siê na zdaln±
369 maszynê i uruchamiania na niej aplikacji. W zamierzeniu openssh ma
370 zast±piæ rlogin, rsh i dostarczyæ bezpieczne, szyfrowane po³±czenie
371 pomiedzy dwoma hostami.
372
373 Ten pakiet zawiera ,,odpytywacz has³a'' dla GNOME.
374
375 %description gnome-askpass -l pt_BR
376 Esse pacote contém um programa que abre uma caixa de diálogo para
377 entrada de passphrase no GNOME.
378
379 %description gnome-askpass -l ru
380 Ssh (Secure Shell) - ÜÔÏ ÐÒÏÇÒÁÍÍÁ ÄÌÑ "ÚÁÈÏÄÁ" (login) ÎÁ ÕÄÁÌÅÎÎÕÀ
381 ÍÁÛÉÎÕ É ÄÌÑ ×ÙÐÏÌÎÅÎÉÑ ËÏÍÁÎÄ ÎÁ ÕÄÁÌÅÎÎÏÊ ÍÁÛÉÎÅ.
382
383 üÔÏÔ ÐÁËÅÔ ÓÏÄÅÒÖÉÔ ÄÉÁÌÏÇ ××ÏÄÁ ËÌÀÞÅ×ÏÊ ÆÒÁÚÙ ÄÌÑ ÉÓÐÏÌØÚÏ×ÁÎÉÑ ÐÏÄ
384 GNOME.
385
386 %description gnome-askpass -l uk
387 Ssh (Secure Shell) - ÃÅ ÐÒÏÇÒÁÍÁ ÄÌÑ "ÚÁÈÏÄÕ" (login) ÄϠצÄÄÁÌÅÎϧ
388 ÍÁÛÉÎÉ ÔÁ ÄÌÑ ×ÉËÏÎÁÎÎÑ ËÏÍÁÎÄ ÎÁ ×¦ÄÄÁÌÅΦʠÍÁÛÉΦ.
389
390 ãÅÊ ÐÁËÅԠͦÓÔÉÔؠĦÁÌÏÇ ××ÏÄÕ ËÌÀÞÏ×ϧ ÆÒÁÚÉ ÄÌÑ ×ÉËÏÒÉÓÔÁÎÎѠЦÄ
391 GNOME.
392
393 %prep
394 %setup  -q -n %{name}-%{orig_ver}
395 %patch0 -p1
396 %patch2 -p1
397 %patch3 -p1
398 #%patch4 -p1
399 %{?_with_ldap:%patch5 -p1}
400 %{?_with_kerberos5:%patch6 -p1}
401 %patch7 -p1
402
403 %build
404 %{__aclocal}
405 %{__autoconf}
406
407 %configure \
408         PERL=%{__perl} \
409         --with-pam \
410         --with-mantype=man \
411         --with-md5-passwords \
412         --with-ipaddr-display \
413         --with-4in6 \
414         --disable-suid-ssh \
415         --with-tcp-wrappers \
416         %{?_with_ldap:--with-libs="-lldap -llber"} \
417         %{?_with_ldap:--with-cppflags="-DWITH_LDAP_PUBKEY"} \
418         %{?_with_kerberos5:--with-kerberos5} \
419         --with-privsep-path=%{_privsepdir} \
420         --with-pid-dir=%{_localstatedir}/run \
421         --with-xauth=/usr/X11R6/bin/xauth
422
423 echo '#define LOGIN_PROGRAM           "/bin/login"' >>config.h
424
425 %{__make}
426
427 cp -f %{SOURCE9} .
428 cp -f %{SOURCE10} .
429 %{__cc} %{rpmcflags} %{rpmldflags} connect.c -o connect
430
431 cd contrib
432 %if 0%{!?_without_gnome:1}
433 %{__make} gnome-ssh-askpass1 \
434         CC="%{__cc} %{rpmldflags} %{rpmcflags}"
435 %endif
436 %if 0%{!?_without_gtk:1}
437 %{__make} gnome-ssh-askpass2 \
438         CC="%{__cc} %{rpmldflags} %{rpmcflags}"
439 %endif
440
441 %install
442 rm -rf $RPM_BUILD_ROOT
443 install -d $RPM_BUILD_ROOT{%{_sysconfdir},/etc/{pam.d,rc.d/init.d,sysconfig,security,profile.d}} \
444         $RPM_BUILD_ROOT%{_libexecdir}/ssh
445
446 %{__make} install \
447         DESTDIR=$RPM_BUILD_ROOT
448         
449 install connect    $RPM_BUILD_ROOT%{_bindir}
450 install %{SOURCE4} $RPM_BUILD_ROOT/etc/pam.d/sshd
451 install %{SOURCE6} $RPM_BUILD_ROOT/etc/pam.d/passwdssh
452 install %{SOURCE5} $RPM_BUILD_ROOT/etc/sysconfig/sshd
453 install %{SOURCE3} $RPM_BUILD_ROOT/etc/rc.d/init.d/sshd
454 install %{SOURCE2} $RPM_BUILD_ROOT%{_sysconfdir}/ssh_config
455 install %{SOURCE1} $RPM_BUILD_ROOT%{_sysconfdir}/sshd_config
456
457 %if 0%{!?_without_gnome:1}
458 install contrib/gnome-ssh-askpass1 $RPM_BUILD_ROOT%{_libexecdir}/ssh/ssh-askpass
459 %endif
460 %if 0%{!?_without_gtk:1}
461 install contrib/gnome-ssh-askpass2 $RPM_BUILD_ROOT%{_libexecdir}/ssh/ssh-askpass
462 %endif
463 %if 0%{!?_without_gnome:1}%{!?_without_gtk:1}
464 install %{SOURCE7} %{SOURCE8} $RPM_BUILD_ROOT/etc/profile.d
465 %endif
466
467 rm -f   $RPM_BUILD_ROOT%{_mandir}/man1/slogin.1
468 echo ".so ssh.1" > $RPM_BUILD_ROOT%{_mandir}/man1/slogin.1
469
470 touch $RPM_BUILD_ROOT/etc/security/blacklist.sshd
471
472 %clean
473 rm -rf $RPM_BUILD_ROOT
474
475 %pre server
476 if [ -n "`id -u sshd 2>/dev/null`" ]; then
477         if [ "`id -u sshd`" != "40" ]; then
478                 echo "Error: user sshd doesn't have uid=40. Correct this before installing ssh server." 1>&2
479                 exit 1
480         fi
481 else
482         /usr/sbin/useradd -u 40 -d %{_privsepdir} -s /bin/false -M -r -c "OpenSSH PrivSep User" -g nobody sshd 1>&2
483 fi
484
485 %post server
486 /sbin/chkconfig --add sshd
487 if [ -f /var/lock/subsys/sshd ]; then
488         /etc/rc.d/init.d/sshd restart 1>&2
489 else
490         echo "Run \"/etc/rc.d/init.d/sshd start\" to start openssh daemon."
491 fi
492 if ! grep -qs ssh /etc/security/passwd.conf ; then
493         umask 022
494         echo "ssh" >> /etc/security/passwd.conf
495 fi
496
497 %preun server
498 if [ "$1" = "0" ]; then
499         if [ -f /var/lock/subsys/sshd ]; then
500                 /etc/rc.d/init.d/sshd stop 1>&2
501         fi
502         /sbin/chkconfig --del sshd
503 fi
504
505 %postun server
506 if [ "$1" = "0" ]; then
507         /usr/sbin/userdel sshd
508 fi
509
510 %files
511 %defattr(644,root,root,755)
512 %doc *.RNG TODO README OVERVIEW CREDITS Change*
513 %attr(755,root,root) %{_bindir}/ssh-key*
514 %{_mandir}/man1/ssh-key*.1*
515 %dir %{_sysconfdir}
516
517 %files clients
518 %defattr(644,root,root,755)
519 %doc connect.html
520 %attr(0755,root,root) %{_bindir}/connect
521 %attr(0755,root,root) %{_bindir}/ssh
522 %attr(0755,root,root) %{_bindir}/slogin
523 %attr(0755,root,root) %{_bindir}/sftp
524 %attr(0755,root,root) %{_bindir}/ssh-agent
525 %attr(0755,root,root) %{_bindir}/ssh-add
526 %attr(0755,root,root) %{_bindir}/scp
527 %config(noreplace) %verify(not md5 size mtime) %{_sysconfdir}/ssh_config
528 %{_mandir}/man1/scp.1*
529 %{_mandir}/man1/ssh.1*
530 %{_mandir}/man1/slogin.1*
531 %{_mandir}/man1/sftp.1*
532 %{_mandir}/man1/ssh-agent.1*
533 %{_mandir}/man1/ssh-add.1*
534 %{_mandir}/man5/ssh_config.5*
535
536 # for host-based auth (suid required for accessing private host key)
537 #%attr(4755,root,root) %{_libexecdir}/ssh-keysign
538 #%{_mandir}/man8/ssh-keysign.8*
539
540 %files server
541 %defattr(644,root,root,755)
542 %attr(755,root,root) %{_sbindir}/sshd
543 %attr(755,root,root) %{_libexecdir}/sftp-server
544 %dir %{_libexecdir}
545 %{_mandir}/man8/sshd.8*
546 %{_mandir}/man8/sftp-server.8*
547 %{_mandir}/man5/sshd_config.5*
548 %attr(640,root,root) %config(noreplace) %verify(not md5 size mtime) %{_sysconfdir}/sshd_config
549 %attr(640,root,root) %config(noreplace) %verify(not md5 size mtime) /etc/pam.d/sshd
550 %attr(640,root,root) %{_sysconfdir}/moduli
551 %attr(754,root,root) /etc/rc.d/init.d/sshd
552 %attr(640,root,root) %config(noreplace) %verify(not md5 size mtime) /etc/sysconfig/sshd
553 %attr(640,root,root) %config(noreplace) %verify(not md5 size mtime) /etc/security/blacklist.sshd
554
555 %if 0%{!?_without_gnome:1}%{!?_without_gtk:1}
556 %files gnome-askpass
557 %defattr(644,root,root,755)
558 %dir %{_libexecdir}/ssh
559 %attr(755,root,root) %{_libexecdir}/ssh/ssh-askpass
560 %attr(755,root,root) /etc/profile.d/*
561 %endif
This page took 0.082495 seconds and 3 git commands to generate.