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