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