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