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