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