]> git.pld-linux.org Git - packages/openssh.git/blob - openssh.spec
- kerberos enabled by default (of course -libs is very small); enabled ability to...
[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 # _without_kerberos5    - without kerberos5 support
7 #
8 # default to gtk2-based gnome-askpass
9
10 %{!?_without_gtk:%define _without_gnome 1}
11 Summary:        OpenSSH free Secure Shell (SSH) implementation
12 Summary(de):    OpenSSH - freie Implementation der Secure Shell (SSH)
13 Summary(es):    Implementación libre de SSH
14 Summary(fr):    Implémentation libre du shell sécurisé OpenSSH (SSH)
15 Summary(it):    Implementazione gratuita OpenSSH della Secure Shell
16 Summary(pl):    Publicznie dostêpna implementacja bezpiecznego shella (SSH)
17 Summary(pt):    Implementação livre OpenSSH do protocolo 'Secure Shell' (SSH)
18 Summary(pt_BR): Implementação livre do SSH
19 Summary(ru):    OpenSSH - Ó×ÏÂÏÄÎÁÑ ÒÅÁÌÉÚÁÃÉÑ ÐÒÏÔÏËÏÌÁ Secure Shell (SSH)
20 Summary(uk):    OpenSSH - ×¦ÌØÎÁ ÒÅÁ̦ÚÁæѠÐÒÏÔÏËÏÌÕ Secure Shell (SSH)
21 Name:           openssh
22 Version:        3.7.1p2
23 Release:        3
24 Epoch:          2
25 License:        BSD
26 Group:          Applications/Networking
27 Source0:        ftp://ftp.ca.openbsd.org/pub/OpenBSD/OpenSSH/portable/%{name}-%{version}.tar.gz
28 # Source0-md5:  61cf5b059938718308836d00f6764a94
29 Source1:        %{name}d.conf
30 Source2:        %{name}.conf
31 Source3:        %{name}d.init
32 Source4:        %{name}d.pamd
33 Source5:        %{name}.sysconfig
34 Source6:        passwd.pamd
35 Source7:        %{name}-askpass.sh
36 Source8:        %{name}-askpass.csh
37 Source9:        http://www.imasy.or.jp/~gotoh/ssh/connect.c
38 # NoSource9-md5:        c78de727e1208799072be78c05d64398
39 Source10:       http://www.imasy.or.jp/~gotoh/ssh/connect.html
40 # NoSource10-md5:       f14cb61fafd067a3f5ce4eaa9643bf05
41 Patch0:         %{name}-no_libnsl.patch
42 Patch2:         %{name}-linux-ipv6.patch
43 Patch3:         %{name}-pam_misc.patch
44 Patch4:         %{name}-sigpipe.patch
45 # http://ldappubkey.gcu-squad.org/
46 Patch5:         ldappubkey-ossh3.6-v2.patch
47 Patch6:         %{name}-heimdal.patch
48 Patch7:         %{name}-pam-conv.patch
49 URL:            http://www.openssh.com/
50 BuildRequires:  autoconf
51 BuildRequires:  automake
52 %{!?_without_gnome:BuildRequires: gnome-libs-devel}
53 %{!?_without_gtk:BuildRequires: gtk+2-devel}
54 BuildRequires:  libwrap-devel
55 BuildRequires:  openssl-devel >= 0.9.7c
56 %{?_with_ldap:BuildRequires:    openldap-devel}
57 %{!?_without_kerberos5:BuildRequires:   heimdal-devel}
58 BuildRequires:  pam-devel
59 BuildRequires:  %{__perl}
60 %{!?_without_gtk:BuildRequires: pkgconfig}
61 BuildRequires:  zlib-devel
62 PreReq:         FHS >= 2.1-24
63 PreReq:         openssl >= 0.9.7c
64 Obsoletes:      ssh
65 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
66
67 %define         _sysconfdir     /etc/ssh
68 %define         _libexecdir     %{_libdir}/%{name}
69 %define         _privsepdir     /usr/share/empty
70
71 %description
72 Ssh (Secure Shell) a program for logging into a remote machine and for
73 executing commands in a remote machine. It is intended to replace
74 rlogin and rsh, and provide secure encrypted communications between
75 two untrusted hosts over an insecure network. X11 connections and
76 arbitrary TCP/IP ports can also be forwarded over the secure channel.
77
78 OpenSSH is OpenBSD's rework of the last free version of SSH, bringing
79 it up to date in terms of security and features, as well as removing
80 all patented algorithms to seperate libraries (OpenSSL).
81
82 This package includes the core files necessary for both the OpenSSH
83 client and server. To make this package useful, you should also
84 install openssh-clients, openssh-server, or both.
85
86 %description -l de
87 OpenSSH (Secure Shell) stellt den Zugang zu anderen Rechnern her. Es
88 ersetzt telnet, rlogin, rexec und rsh und stellt eine sichere,
89 verschlüsselte Verbindung zwischen zwei nicht vertrauenswürdigen Hosts
90 über eine unsicheres Netzwerk her. X11 Verbindungen und beliebige
91 andere TCP/IP Ports können ebenso über den sicheren Channel
92 weitergeleitet werden.
93
94 %description -l es
95 SSH es un programa para accesar y ejecutar órdenes en computadores
96 remotos. Sustituye rlogin y rsh, y suministra un canal de comunicación
97 seguro entre dos servidores en una red insegura. Conexiones X11 y
98 puertas TCP/IP arbitrárias también pueden ser usadas por el canal
99 seguro.
100
101 OpenSSH es el resultado del trabajo del equipo de OpenBSD para
102 continuar la última versión gratuita de SSH, actualizándolo en
103 términos de seguridad y recursos,así también eliminando todos los
104 algoritmos patentados y colocándolos en bibliotecas separadas
105 (OpenSSL).
106
107 Este paquete contiene "port" para Linux de OpenSSH. Se debe instalar
108 también el paquete openssh-clients u openssh-server o ambos.
109
110 %description -l fr
111 OpenSSH (Secure Shell) fournit un accès à un système distant. Il
112 remplace telnet, rlogin, rexec et rsh, tout en assurant des
113 communications cryptées securisées entre deux hôtes non fiabilisés sur
114 un réseau non sécurisé. Des connexions X11 et des ports TCP/IP
115 arbitraires peuvent également être transmis sur le canal sécurisé.
116
117 %description -l it
118 OpenSSH (Secure Shell) fornisce l'accesso ad un sistema remoto.
119 Sostituisce telnet, rlogin, rexec, e rsh, e fornisce comunicazioni
120 sicure e crittate tra due host non fidati su una rete non sicura. Le
121 connessioni X11 ad una porta TCP/IP arbitraria possono essere
122 inoltrate attraverso un canale sicuro.
123
124 %description -l pl
125 Ssh (Secure Shell) to program s³u¿±cy do logowania siê na zdaln±
126 maszynê i uruchamiania na niej aplikacji. W zamierzeniu openssh ma
127 zast±piæ rlogin, rsh i dostarczyæ bezpieczne, szyfrowane po³±czenie
128 pomiedzy dwoma hostami.
129
130 Ten pakiet zawiera podstawowe pliki potrzebne zarówno po stronie
131 klienta jak i serwera OpenSSH. Aby by³ u¿yteczny, trzeba zainstalowaæ
132 co najmniej jeden z pakietów: openssh-clients lub openssh-server.
133
134 %description -l pt
135 OpenSSH (Secure Shell) fornece acesso a um sistema remoto. Substitui o
136 telnet, rlogin, rexec, e o rsh e fornece comunicações seguras e
137 cifradas entre duas máquinas sem confiança mútua sobre uma rede
138 insegura. Ligações X11 e portos TCP/IP arbitrários também poder ser
139 reenviados pelo canal seguro.
140
141 %description -l pt_BR
142 SSH é um programa para acessar e executar comandos em máquinas
143 remotas. Ele substitui rlogin e rsh, e provem um canal de comunicação
144 seguro entre dois hosts em uma rede insegura. Conexões X11 e portas
145 TCP/IP arbitrárias também podem ser usadas pelo canal seguro.
146
147 OpenSSH é o resultado do trabalho da equipe do OpenBSD em continuar a
148 última versão gratuita do SSH, atualizando-o em termos de segurança e
149 recursos, assim como removendo todos os algoritmos patenteados e
150 colocando-os em bibliotecas separadas (OpenSSL).
151
152 Esse pacote contém o "port" pra Linux do OpenSSH. Você deve instalar
153 também ou o pacote openssh-clients, ou o openssh-server, ou ambos.
154
155 %description -l ru
156 Ssh (Secure Shell) - ÜÔÏ ÐÒÏÇÒÁÍÍÁ ÄÌÑ "ÚÁÈÏÄÁ" (login) ÎÁ ÕÄÁÌÅÎÎÕÀ
157 ÍÁÛÉÎÕ É ÄÌÑ ×ÙÐÏÌÎÅÎÉÑ ËÏÍÁÎÄ ÎÁ ÕÄÁÌÅÎÎÏÊ ÍÁÛÉÎÅ. ïÎÁ ÐÒÅÄÎÁÚÎÁÞÅÎÁ
158 ÄÌÑ ÚÁÍÅÎÙ rlogin É rsh É ÏÂÅÓÐÅÞÉ×ÁÅÔ ÂÅÚÏÐÁÓÎÕÀ ÛÉÆÒÏ×ÁÎÎÕÀ
159 ËÏÍÍÕÎÉËÁÃÉÀ ÍÅÖÄÕ Ä×ÕÍÑ ÈÏÓÔÁÍÉ × ÓÅÔÉ, Ñ×ÌÑÀÝÅÊÓÑ ÎÅÂÅÚÏÐÁÓÎÏÊ.
160 óÏÅÄÉÎÅÎÉÑ X11 É ÌÀÂÙÅ ÐÏÒÔÙ TCP/IP ÍÏÇÕÔ ÔÁËÖÅ ÂÙÔØ ÐÒÏ×ÅÄÅÎÙ ÞÅÒÅÚ
161 ÂÅÚÏÐÁÓÎÙÊ ËÁÎÁÌ.
162
163 OpenSSH - ÜÔÏ ÐÅÒÅÄÅÌËÁ ËÏÍÁÎÄÏÊ ÒÁÚÒÁÂÏÔÞÉËÏ× OpenBSD ÐÏÓÌÅÄÎÅÊ
164 Ó×ÏÂÏÄÎÏÊ ×ÅÒÓÉÉ SSH, ÄÏ×ÅÄÅÎÎÁÑ ÄÏ ÓÏ×ÒÅÍÅÎÎÏÇÏ ÓÏÓÔÏÑÎÉÑ × ÔÅÒÍÉÎÁÈ
165 ÕÒÏ×ÎÑ ÂÅÚÏÐÁÓÎÏÓÔÉ É ÐÏÄÄÅÒÖÉ×ÁÅÍÙÈ ×ÏÚÍÏÖÎÏÓÔÅÊ. ÷ÓÅ ÐÁÔÅÎÔÏ×ÁÎÎÙÅ
166 ÁÌÇÏÒÉÔÍÙ ×ÙÎÅÓÅÎÙ × ÏÔÄÅÌØÎÙÅ ÂÉÂÌÉÏÔÅËÉ (OpenSSL).
167
168 üÔÏÔ ÐÁËÅÔ ÓÏÄÅÒÖÉÔ ÆÁÊÌÙ, ÎÅÏÂÈÏÄÉÍÙÅ ËÁË ÄÌÑ ËÌÉÅÎÔÁ, ÔÁË É ÄÌÑ
169 ÓÅÒ×ÅÒÁ OpenSSH. ÷ÁÍ ÎÕÖÎÏ ÂÕÄÅÔ ÕÓÔÁÎÏ×ÉÔØ ÅÝÅ openssh-clients,
170 openssh-server, ÉÌÉ ÏÂÁ ÐÁËÅÔÁ.
171
172 %description -l uk
173 Ssh (Secure Shell) - ÃÅ ÐÒÏÇÒÁÍÁ ÄÌÑ "ÚÁÈÏÄÕ" (login) ÄϠצÄÄÁÌÅÎϧ
174 ÍÁÛÉÎÉ ÔÁ ÄÌÑ ×ÉËÏÎÁÎÎÑ ËÏÍÁÎÄ ÎÁ ×¦ÄÄÁÌÅΦʠÍÁÛÉΦ. ÷ÏÎÁ ÐÒÉÚÎÁÞÅÎÁ
175 ÄÌÑ ÚÁͦÎÉ rlogin ÔÁ rsh ¦ ÚÁÂÅÚÐÅÞÕ¤ ÂÅÚÐÅÞÎÕ ÛÉÆÒÏ×ÁÎÕ ËÏÍÕΦËÁæÀ
176 ͦ֠Ä×ÏÍÁ ÈÏÓÔÁÍÉ × ÍÅÒÅÖ¦, ÑËÁ ÎÅ ¤ ÂÅÚÐÅÞÎÏÀ. ú'¤ÄÎÁÎÎÑ X11 ÔÁ
177 ÄÏצÌØΦ ÐÏÒÔÉ TCP/IP ÍÏÖÕÔØ ÔÁËÏÖ ÂÕÔÉ ÐÒÏ×ÅÄÅΦ ÞÅÒÅÚ ÂÅÚÐÅÞÎÉÊ
178 ËÁÎÁÌ.
179
180 OpenSSH - ÃÅ ÐÅÒÅÒÏÂËÁ ËÏÍÁÎÄÏÀ ÒÏÚÒÏÂÎÉ˦נOpenBSD ÏÓÔÁÎÎØϧ ×¦ÌØÎϧ
181 ×ÅÒÓ¦§ SSH, ÄÏ×ÅÄÅÎÁ ÄÏ ÓÕÞÁÓÎÏÇÏ ÓÔÁÎÕ × ÔÅÒͦÎÁÈ Ò¦×ÎÑ ÂÅÚÐÅËÉ ÔÁ
182 ЦÄÔÒÉÍÕ×ÁÎÉÈ ÍÏÖÌÉ×ÏÓÔÅÊ. ÷Ó¦ ÐÁÔÅÎÔÏ×ÁΦ ÁÌÇÏÒÉÔÍÉ ×ÉÎÅÓÅΦ ÄÏ
183 ÏËÒÅÍÉȠ¦Â̦ÏÔÅË (OpenSSL).
184
185 ãÅÊ ÐÁËÅԠͦÓÔÉÔØ ÆÁÊÌÉ, ÎÅÏÂȦÄΦ ÑË ÄÌÑ Ë̦¤ÎÔÁ, ÔÁË ¦ ÄÌÑ ÓÅÒ×ÅÒÁ
186 OpenSSH. ÷ÁÍ ÐÏÔÒ¦ÂÎÏ ÂÕÄÅ ÝÅ ×ÓÔÁÎÏ×ÉÔÉ openssh-clients,
187 openssh-server, ÞÉ ÏÂÉÄ×Á ÐÁËÅÔÉ.
188
189 %package clients
190 Summary:        OpenSSH Secure Shell protocol clients
191 Summary(es):    Clientes de OpenSSH
192 Summary(pl):    Klienci protoko³u Secure Shell
193 Summary(pt_BR): Clientes do OpenSSH
194 Summary(ru):    OpenSSH - ËÌÉÅÎÔÙ ÐÒÏÔÏËÏÌÁ Secure Shell
195 Summary(uk):    OpenSSH - Ë̦¤ÎÔÉ ÐÒÏÔÏËÏÌÕ Secure Shell
196 Group:          Applications/Networking
197 Provides:       ssh-clients
198 Requires:       %{name} = %{epoch}:%{version}
199 Obsoletes:      ssh-clients
200
201 %description 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.
207
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).
211
212 This package includes the clients necessary to make encrypted
213 connections to SSH servers.
214
215 %description clients -l es
216 Este paquete incluye los clientes que se necesitan para hacer
217 conexiones codificadas con servidores SSH.
218
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.
224
225 Ten pakiet zawiera klientów s³u¿±cych do ³±czenia siê z serwerami SSH.
226
227 %description clients -l pt_BR
228 Esse pacote inclui os clientes necessários para fazer conexões
229 encriptadas com servidores SSH.
230
231 %description clients -l ru
232 Ssh (Secure Shell) - ÜÔÏ ÐÒÏÇÒÁÍÍÁ ÄÌÑ "ÚÁÈÏÄÁ" (login) ÎÁ ÕÄÁÌÅÎÎÕÀ
233 ÍÁÛÉÎÕ É ÄÌÑ ×ÙÐÏÌÎÅÎÉÑ ËÏÍÁÎÄ ÎÁ ÕÄÁÌÅÎÎÏÊ ÍÁÛÉÎÅ.
234
235 üÔÏÔ ÐÁËÅÔ ÓÏÄÅÒÖÉÔ ÐÒÏÇÒÁÍÍÙ-ËÌÉÅÎÔÙ, ÎÅÏÂÈÏÄÉÍÙÅ ÄÌÑ ÕÓÔÁÎÏ×ÌÅÎÉÑ
236 ÚÁÛÉÆÒÏ×ÁÎÎÙÈ ÓÏÅÄÉÎÅÎÉÊ Ó ÓÅÒ×ÅÒÁÍÉ SSH.
237
238 %description clients -l uk
239 Ssh (Secure Shell) - ÃÅ ÐÒÏÇÒÁÍÁ ÄÌÑ "ÚÁÈÏÄÕ" (login) ÄϠצÄÄÁÌÅÎϧ
240 ÍÁÛÉÎÉ ÔÁ ÄÌÑ ×ÉËÏÎÁÎÎÑ ËÏÍÁÎÄ ÎÁ ×¦ÄÄÁÌÅΦʠÍÁÛÉΦ.
241
242 ãÅÊ ÐÁËÅԠͦÓÔÉÔØ ÐÒÏÇÒÁÍÉ-Ë̦¤ÎÔÉ, ÎÅÏÂȦÄΦ ÄÌÑ ×ÓÔÁÎÏ×ÌÅÎÎÑ
243 ÚÁÛÉÆÒÏ×ÁÎÉÈ Ú'¤ÄÎÁÎØ Ú ÓÅÒ×ÅÒÁÍÉ SSH.
244
245 %package server
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
263 Requires(post): grep
264 Requires(postun):       /usr/sbin/userdel
265 Requires:       /bin/login
266 Requires:       util-linux
267 Requires:       pam >= 0.77.3
268 Provides:       ssh-server
269
270 %description server
271 Ssh (Secure Shell) a program for logging into a remote machine and for
272 executing commands in a remote machine. It is intended to replace
273 rlogin and rsh, and provide secure encrypted communications between
274 two untrusted hosts over an insecure network. X11 connections and
275 arbitrary TCP/IP ports can also be forwarded over the secure channel.
276
277 OpenSSH is OpenBSD's rework of the last free version of SSH, bringing
278 it up to date in terms of security and features, as well as removing
279 all patented algorithms to seperate libraries (OpenSSL).
280
281 This package contains the secure shell daemon. The sshd is the server
282 part of the secure shell protocol and allows ssh clients to connect to
283 your host.
284
285 %description server -l de
286 Dieses Paket installiert den sshd, den Server-Teil der OpenSSH.
287
288 %description server -l es
289 Este paquete contiene el servidor SSH. sshd es la parte servidor del
290 protocolo secure shell y permite que clientes ssh se conecten a su
291 servidor.
292
293 %description server -l fr
294 Ce paquetage installe le 'sshd', partie serveur de OpenSSH.
295
296 %description server -l it
297 Questo pacchetto installa sshd, il server di OpenSSH.
298
299 %description server -l pl
300 Ssh (Secure Shell) to program s³u¿±cy do logowania siê na zdaln±
301 maszynê i uruchamiania na niej aplikacji. W zamierzeniu openssh ma
302 zast±piæ rlogin, rsh i dostarczyæ bezpieczne, szyfrowane po³±czenie
303 pomiedzy dwoma hostami.
304
305 Ten pakiet zawiera serwer sshd (do którego mog± ³±czyæ siê klienci
306 ssh).
307
308 %description server -l pt
309 Este pacote intala o sshd, o servidor do OpenSSH.
310
311 %description server -l pt_BR
312 Esse pacote contém o servidor SSH. O sshd é a parte servidor do
313 protocolo secure shell e permite que clientes ssh se conectem ao seu
314 host.
315
316 %description server -l ru
317 Ssh (Secure Shell) - ÜÔÏ ÐÒÏÇÒÁÍÍÁ ÄÌÑ "ÚÁÈÏÄÁ" (login) ÎÁ ÕÄÁÌÅÎÎÕÀ
318 ÍÁÛÉÎÕ É ÄÌÑ ×ÙÐÏÌÎÅÎÉÑ ËÏÍÁÎÄ ÎÁ ÕÄÁÌÅÎÎÏÊ ÍÁÛÉÎÅ.
319
320 üÔÏÔ ÐÁËÅÔ ÓÏÄÅÒÖÉÔ sshd - "ÄÅÍÏÎ" Secure Shell. sshd - ÜÔÏ ÓÅÒ×ÅÒÎÁÑ
321 ÞÁÓÔØ ÐÒÏÔÏËÏÌÁ Secure Shell, ÐÏÚ×ÏÌÑÀÝÁÑ ËÌÉÅÎÔÁÍ ssh ÓÏÅÄÉÎÑÔØÓÑ Ó
322 ×ÁÛÉÍ ÈÏÓÔÏÍ.
323
324 %description server -l uk
325 Ssh (Secure Shell) - ÃÅ ÐÒÏÇÒÁÍÁ ÄÌÑ "ÚÁÈÏÄÕ" (login) ÄϠצÄÄÁÌÅÎϧ
326 ÍÁÛÉÎÉ ÔÁ ÄÌÑ ×ÉËÏÎÁÎÎÑ ËÏÍÁÎÄ ÎÁ ×¦ÄÄÁÌÅΦʠÍÁÛÉΦ.
327
328 ãÅÊ ÐÁËÅԠͦÓÔÉÔØ sshd - "ÄÅÍÏÎ" Secure Shell. sshd - ÃÅ ÓÅÒ×ÅÒÎÁ
329 ÞÁÓÔÉÎÁ ÐÒÏÔÏËÏÌÕ Secure Shell, ÑËÁ ÄÏÚ×ÏÌѤ Ë̦¤ÎÔÁÍ ssh Ú×'ÑÚÕ×ÁÔÉÓØ
330 Ú ×ÁÛÉÍ ÈÏÓÔÏÍ.
331
332 %package gnome-askpass
333 Summary:        OpenSSH GNOME passphrase dialog
334 Summary(de):    OpenSSH GNOME Passwort-Dialog
335 Summary(es):    Diálogo para introducción de passphrase para GNOME
336 Summary(fr):    Dialogue pass-phrase GNOME d'OpenSSH
337 Summary(it):    Finestra di dialogo GNOME per la frase segreta di OpenSSH
338 Summary(pl):    Odpytywacz has³a OpenSSH dla GNOME
339 Summary(pt):    Diálogo de pedido de senha para GNOME do OpenSSH
340 Summary(pt_BR): Diálogo para entrada de passphrase para GNOME
341 Summary(ru):    OpenSSH - ÄÉÁÌÏÇ ××ÏÄÁ ËÌÀÞÅ×ÏÊ ÆÒÁÚÙ (passphrase) ÄÌÑ GNOME
342 Summary(uk):    OpenSSH - Ä¦ÁÌÏÇ ××ÏÄÕ ËÌÀÞÏ×ϧ ÆÒÁÚÉ (passphrase) ÄÌÑ GNOME
343 Group:          Applications/Networking
344 Requires:       %{name} = %{epoch}:%{version}
345 Obsoletes:      ssh-extras
346 Obsoletes:      ssh-askpass
347 Obsoletes:      openssh-askpass
348
349 %description gnome-askpass
350 Ssh (Secure Shell) a program for logging into a remote machine and for
351 executing commands in a remote machine. It is intended to replace
352 rlogin and rsh, and provide secure encrypted communications between
353 two untrusted hosts over an insecure network. X11 connections and
354 arbitrary TCP/IP ports can also be forwarded over the secure channel.
355
356 OpenSSH is OpenBSD's rework of the last free version of SSH, bringing
357 it up to date in terms of security and features, as well as removing
358 all patented algorithms to seperate libraries (OpenSSL).
359
360 This package contains the GNOME passphrase dialog.
361
362 %description gnome-askpass -l es
363 Este paquete contiene un programa que abre una caja de diálogo para
364 entrada de passphrase en GNOME.
365
366 %description gnome-askpass -l pl
367 Ssh (Secure Shell) to program s³u¿±cy do logowania siê na zdaln±
368 maszynê i uruchamiania na niej aplikacji. W zamierzeniu openssh ma
369 zast±piæ rlogin, rsh i dostarczyæ bezpieczne, szyfrowane po³±czenie
370 pomiedzy dwoma hostami.
371
372 Ten pakiet zawiera ,,odpytywacz has³a'' dla GNOME.
373
374 %description gnome-askpass -l pt_BR
375 Esse pacote contém um programa que abre uma caixa de diálogo para
376 entrada de passphrase no GNOME.
377
378 %description gnome-askpass -l ru
379 Ssh (Secure Shell) - ÜÔÏ ÐÒÏÇÒÁÍÍÁ ÄÌÑ "ÚÁÈÏÄÁ" (login) ÎÁ ÕÄÁÌÅÎÎÕÀ
380 ÍÁÛÉÎÕ É ÄÌÑ ×ÙÐÏÌÎÅÎÉÑ ËÏÍÁÎÄ ÎÁ ÕÄÁÌÅÎÎÏÊ ÍÁÛÉÎÅ.
381
382 üÔÏÔ ÐÁËÅÔ ÓÏÄÅÒÖÉÔ ÄÉÁÌÏÇ ××ÏÄÁ ËÌÀÞÅ×ÏÊ ÆÒÁÚÙ ÄÌÑ ÉÓÐÏÌØÚÏ×ÁÎÉÑ ÐÏÄ
383 GNOME.
384
385 %description gnome-askpass -l uk
386 Ssh (Secure Shell) - ÃÅ ÐÒÏÇÒÁÍÁ ÄÌÑ "ÚÁÈÏÄÕ" (login) ÄϠצÄÄÁÌÅÎϧ
387 ÍÁÛÉÎÉ ÔÁ ÄÌÑ ×ÉËÏÎÁÎÎÑ ËÏÍÁÎÄ ÎÁ ×¦ÄÄÁÌÅΦʠÍÁÛÉΦ.
388
389 ãÅÊ ÐÁËÅԠͦÓÔÉÔؠĦÁÌÏÇ ××ÏÄÕ ËÌÀÞÏ×ϧ ÆÒÁÚÉ ÄÌÑ ×ÉËÏÒÉÓÔÁÎÎѠЦÄ
390 GNOME.
391
392 %prep
393 %setup -q
394 %patch0 -p1
395 %patch2 -p1
396 %patch3 -p1
397 #%patch4 -p1
398 %{?_with_ldap:%patch5 -p1}
399 %{!?_without_kerberos5:%patch6 -p1}
400 %patch7 -p1
401
402 %build
403 %{__aclocal}
404 %{__autoconf}
405
406 %configure \
407         PERL=%{__perl} \
408         --with-dns \
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         %{!?_without_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 %attr(755,root,root) %{_libexecdir}/ssh-keysign
545 %dir %{_libexecdir}
546 %{_mandir}/man8/sshd.8*
547 %{_mandir}/man8/sftp-server.8*
548 %{_mandir}/man8/ssh-keysign.8*
549 %{_mandir}/man5/sshd_config.5*
550 %attr(640,root,root) %config(noreplace) %verify(not md5 size mtime) %{_sysconfdir}/sshd_config
551 %attr(640,root,root) %config(noreplace) %verify(not md5 size mtime) /etc/pam.d/sshd
552 %attr(640,root,root) %{_sysconfdir}/moduli
553 %attr(754,root,root) /etc/rc.d/init.d/sshd
554 %attr(640,root,root) %config(noreplace) %verify(not md5 size mtime) /etc/sysconfig/sshd
555 %attr(640,root,root) %config(noreplace) %verify(not md5 size mtime) /etc/security/blacklist.sshd
556
557 %if 0%{!?_without_gnome:1}%{!?_without_gtk:1}
558 %files gnome-askpass
559 %defattr(644,root,root,755)
560 %dir %{_libexecdir}/ssh
561 %attr(755,root,root) %{_libexecdir}/ssh/ssh-askpass
562 %attr(755,root,root) /etc/profile.d/*
563 %endif
This page took 0.078483 seconds and 4 git commands to generate.