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