]> git.pld-linux.org Git - packages/openssh.git/blob - openssh.spec
201308ecd9db78107fd06ffcb5089e2552a8fbae
[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.1
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 Patch4:         %{name}-3.4p1-owl-hide-unknown.diff 
33 Patch5:         %{name}-3.4p1-owl-always-auth.diff 
34 Patch6:         %{name}-3.4p1-owl-pam_userpass.diff 
35 Patch7:         %{name}-3.4p1-owl-password-changing.diff 
36 Patch8:         %{name}-3.4p1-owl-logging.diff 
37 Patch9:         %{name}-3.4p1-owl-fatal_cleanups.diff 
38 URL:            http://www.openssh.com/
39 BuildRequires:  XFree86-devel
40 BuildRequires:  autoconf
41 BuildRequires:  automake
42 %{!?_without_gnome:BuildRequires: gnome-libs-devel}
43 BuildRequires:  libwrap-devel
44 BuildRequires:  openssl-devel >= 0.9.6a
45 BuildRequires:  pam-devel
46 BuildRequires:  perl
47 BuildRequires:  zlib-devel
48 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
49 Prereq:         openssl
50 Prereq:         FHS >= 2.1-24
51 Obsoletes:      ssh
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(postun):       /usr/sbin/userdel
249 Requires:       /bin/login
250 Requires:       util-linux
251 Obsoletes:      ssh-server
252
253 %description server
254 Ssh (Secure Shell) a program for logging into a remote machine and for
255 executing commands in a remote machine. It is intended to replace
256 rlogin and rsh, and provide secure encrypted communications between
257 two untrusted hosts over an insecure network. X11 connections and
258 arbitrary TCP/IP ports can also be forwarded over the secure channel.
259
260 OpenSSH is OpenBSD's rework of the last free version of SSH, bringing
261 it up to date in terms of security and features, as well as removing
262 all patented algorithms to seperate libraries (OpenSSL).
263
264 This package contains the secure shell daemon. The sshd is the server
265 part of the secure shell protocol and allows ssh clients to connect to
266 your host.
267
268 %description server -l de
269 Dieses Paket installiert den sshd, den Server-Teil der OpenSSH.
270
271 %description server -l es
272 Este paquete contiene el servidor SSH. sshd es la parte servidor del
273 protocolo secure shell y permite que clientes ssh se conecten a su
274 servidor.
275
276 %description server -l fr
277 Ce paquetage installe le 'sshd', partie serveur de OpenSSH.
278
279 %description server -l it
280 Questo pacchetto installa sshd, il server di OpenSSH.
281
282 %description server -l pl
283 Ssh (Secure Shell) to program s³u¿±cy do logowania siê na zdaln±
284 maszynê i uruchamiania na niej aplikacji. W zamierzeniu openssh ma
285 zast±piæ rlogin, rsh i dostarczyæ bezpieczne, szyfrowane po³±czenie
286 pomiedzy dwoma hostami.
287
288 Ten pakiet zawiera serwer sshd (do którego mog± ³±czyæ siê klienci
289 ssh).
290
291 %description server -l pt
292 Este pacote intala o sshd, o servidor do OpenSSH.
293
294 %description server -l pt_BR
295 Esse pacote contém o servidor SSH. O sshd é a parte servidor do
296 protocolo secure shell e permite que clientes ssh se conectem ao seu
297 host.
298
299 %description server -l ru
300 Ssh (Secure Shell) - ÜÔÏ ÐÒÏÇÒÁÍÍÁ ÄÌÑ "ÚÁÈÏÄÁ" (login) ÎÁ ÕÄÁÌÅÎÎÕÀ
301 ÍÁÛÉÎÕ É ÄÌÑ ×ÙÐÏÌÎÅÎÉÑ ËÏÍÁÎÄ ÎÁ ÕÄÁÌÅÎÎÏÊ ÍÁÛÉÎÅ.
302
303 üÔÏÔ ÐÁËÅÔ ÓÏÄÅÒÖÉÔ sshd - "ÄÅÍÏÎ" Secure Shell. sshd - ÜÔÏ ÓÅÒ×ÅÒÎÁÑ
304 ÞÁÓÔØ ÐÒÏÔÏËÏÌÁ Secure Shell, ÐÏÚ×ÏÌÑÀÝÁÑ ËÌÉÅÎÔÁÍ ssh ÓÏÅÄÉÎÑÔØÓÑ Ó
305 ×ÁÛÉÍ ÈÏÓÔÏÍ.
306
307 %description server -l uk
308 Ssh (Secure Shell) - ÃÅ ÐÒÏÇÒÁÍÁ ÄÌÑ "ÚÁÈÏÄÕ" (login) ÄϠצÄÄÁÌÅÎϧ
309 ÍÁÛÉÎÉ ÔÁ ÄÌÑ ×ÉËÏÎÁÎÎÑ ËÏÍÁÎÄ ÎÁ ×¦ÄÄÁÌÅΦʠÍÁÛÉΦ.
310
311 ãÅÊ ÐÁËÅԠͦÓÔÉÔØ sshd - "ÄÅÍÏÎ" Secure Shell. sshd - ÃÅ ÓÅÒ×ÅÒÎÁ
312 ÞÁÓÔÉÎÁ ÐÒÏÔÏËÏÌÕ Secure Shell, ÑËÁ ÄÏÚ×ÏÌѤ Ë̦¤ÎÔÁÍ ssh Ú×'ÑÚÕ×ÁÔÉÓØ
313 Ú ×ÁÛÉÍ ÈÏÓÔÏÍ.
314
315 %package gnome-askpass
316 Summary:        OpenSSH GNOME passphrase dialog
317 Summary(de):    OpenSSH GNOME Passwort-Dialog
318 Summary(es):    Diálogo para introducción de passphrase para GNOME
319 Summary(fr):    Dialogue pass-phrase GNOME d'OpenSSH
320 Summary(it):    Finestra di dialogo GNOME per la frase segreta di OpenSSH
321 Summary(pl):    Odpytywacz has³a OpenSSH dla GNOME
322 Summary(pt):    Diálogo de pedido de senha para GNOME do OpenSSH
323 Summary(pt_BR): Diálogo para entrada de passphrase para GNOME
324 Summary(ru):    OpenSSH - ÄÉÁÌÏÇ ××ÏÄÁ ËÌÀÞÅ×ÏÊ ÆÒÁÚÙ (passphrase) ÄÌÑ GNOME
325 Summary(uk):    OpenSSH - Ä¦ÁÌÏÇ ××ÏÄÕ ËÌÀÞÏ×ϧ ÆÒÁÚÉ (passphrase) ÄÌÑ GNOME
326 Group:          Applications/Networking
327 Requires:       %{name} = %{version}
328 Obsoletes:      ssh-extras
329 Obsoletes:      ssh-askpass
330 Obsoletes:      openssh-askpass
331
332 %description gnome-askpass
333 Ssh (Secure Shell) a program for logging into a remote machine and for
334 executing commands in a remote machine. It is intended to replace
335 rlogin and rsh, and provide secure encrypted communications between
336 two untrusted hosts over an insecure network. X11 connections and
337 arbitrary TCP/IP ports can also be forwarded over the secure channel.
338
339 OpenSSH is OpenBSD's rework of the last free version of SSH, bringing
340 it up to date in terms of security and features, as well as removing
341 all patented algorithms to seperate libraries (OpenSSL).
342
343 This package contains the GNOME passphrase dialog.
344
345 %description gnome-askpass -l es
346 Este paquete contiene un programa que abre una caja de diálogo para
347 entrada de passphrase en GNOME.
348
349 %description gnome-askpass -l pl
350 Ssh (Secure Shell) to program s³u¿±cy do logowania siê na zdaln±
351 maszynê i uruchamiania na niej aplikacji. W zamierzeniu openssh ma
352 zast±piæ rlogin, rsh i dostarczyæ bezpieczne, szyfrowane po³±czenie
353 pomiedzy dwoma hostami.
354
355 Ten pakiet zawiera ,,odpytywacz has³a'' dla GNOME.
356
357 %description gnome-askpass -l pt_BR
358 Esse pacote contém um programa que abre uma caixa de diálogo para
359 entrada de passphrase no GNOME.
360
361 %description gnome-askpass -l ru
362 Ssh (Secure Shell) - ÜÔÏ ÐÒÏÇÒÁÍÍÁ ÄÌÑ "ÚÁÈÏÄÁ" (login) ÎÁ ÕÄÁÌÅÎÎÕÀ
363 ÍÁÛÉÎÕ É ÄÌÑ ×ÙÐÏÌÎÅÎÉÑ ËÏÍÁÎÄ ÎÁ ÕÄÁÌÅÎÎÏÊ ÍÁÛÉÎÅ.
364
365 üÔÏÔ ÐÁËÅÔ ÓÏÄÅÒÖÉÔ ÄÉÁÌÏÇ ××ÏÄÁ ËÌÀÞÅ×ÏÊ ÆÒÁÚÙ ÄÌÑ ÉÓÐÏÌØÚÏ×ÁÎÉÑ ÐÏÄ
366 GNOME.
367
368 %description gnome-askpass -l uk
369 Ssh (Secure Shell) - ÃÅ ÐÒÏÇÒÁÍÁ ÄÌÑ "ÚÁÈÏÄÕ" (login) ÄϠצÄÄÁÌÅÎϧ
370 ÍÁÛÉÎÉ ÔÁ ÄÌÑ ×ÉËÏÎÁÎÎÑ ËÏÍÁÎÄ ÎÁ ×¦ÄÄÁÌÅΦʠÍÁÛÉΦ.
371
372 ãÅÊ ÐÁËÅԠͦÓÔÉÔؠĦÁÌÏÇ ××ÏÄÕ ËÌÀÞÏ×ϧ ÆÒÁÚÉ ÄÌÑ ×ÉËÏÒÉÓÔÁÎÎѠЦÄ
373 GNOME.
374
375 %prep
376 %setup  -q
377 %patch0 -p1
378 %patch1 -p1
379 %patch2 -p1
380 %patch3 -p1
381 %patch4 -p1
382 %patch5 -p1
383 %patch6 -p1
384 %patch7 -p1
385 %patch8 -p1
386 %patch9 -p1
387
388 %build
389 aclocal
390 %{__autoconf}
391
392 %configure \
393         %{!?_without_gnome:--with-gnome-askpass} \
394         --with-pam \
395         --with-mantype=man \
396         --with-md5-passwords \
397         --with-ipaddr-display \
398         --with-4in6 \
399         --disable-suid-ssh \
400         --with-tcp-wrappers \
401         --with-privsep-path=%{_privsepdir} \
402         --with-pid-dir=%{_localstatedir}/run
403
404 echo '#define LOGIN_PROGRAM           "/bin/login"' >>config.h
405
406 %{__make}
407
408 %{!?_without_gnome:cd contrib && %{__cc} %{rpmcflags} `gnome-config --cflags gnome gnomeui gtk` } \
409 %{!?_without_gnome:gnome-ssh-askpass.c -o gnome-ssh-askpass } \
410 %{!?_without_gnome:`gnome-config --libs gnome gnomeui gtk` }
411
412 %install
413 rm -rf $RPM_BUILD_ROOT
414 install -d $RPM_BUILD_ROOT{%{_sysconfdir},/etc/{pam.d,rc.d/init.d,sysconfig,security}}
415
416 %{__make} install DESTDIR="$RPM_BUILD_ROOT"
417
418 install %{SOURCE4} $RPM_BUILD_ROOT/etc/pam.d/sshd
419 install %{SOURCE6} $RPM_BUILD_ROOT/etc/pam.d/passwdssh
420 install %{SOURCE5} $RPM_BUILD_ROOT/etc/sysconfig/sshd
421 install %{SOURCE3} $RPM_BUILD_ROOT/etc/rc.d/init.d/sshd
422 install %{SOURCE2} $RPM_BUILD_ROOT%{_sysconfdir}/ssh_config
423 install %{SOURCE1} $RPM_BUILD_ROOT%{_sysconfdir}/sshd_config
424 install -d $RPM_BUILD_ROOT%{_libexecdir}/ssh
425 %{!?_without_gnome:install contrib/gnome-ssh-askpass $RPM_BUILD_ROOT%{_libexecdir}/ssh/ssh-askpass}
426
427 rm -f   $RPM_BUILD_ROOT%{_mandir}/man1/slogin.1
428 echo ".so ssh.1" > $RPM_BUILD_ROOT%{_mandir}/man1/slogin.1
429
430 touch $RPM_BUILD_ROOT/etc/security/blacklist.sshd
431
432 %clean
433 rm -rf $RPM_BUILD_ROOT
434
435 %pre server
436 if [ -n "`id -u sshd 2>/dev/null`" ]; then
437         if [ "`id -u sshd`" != "40" ]; then
438                 echo "Error: user sshd doesn't have uid=40. Correct this before installing ssh server." 1>&2
439                 exit 1
440         fi
441 else
442         /usr/sbin/useradd -u 40 -d %{_privsepdir} -s /bin/false -M -r -c "OpenSSH PrivSep User" -g nobody sshd 1>&2
443 fi
444         
445 %post server
446 /sbin/chkconfig --add sshd
447 if [ -f /var/lock/subsys/sshd ]; then
448         /etc/rc.d/init.d/sshd restart 1>&2
449 else
450         echo "Run \"/etc/rc.d/init.d/sshd start\" to start openssh daemon."
451 fi
452 if ! grep ssh /etc/security/passwd.conf >/dev/null 2>&1 ; then
453         echo "ssh" >> /etc/security/passwd.conf
454 fi
455
456 %preun server
457 if [ "$1" = "0" ]; then
458         if [ -f /var/lock/subsys/sshd ]; then
459                 /etc/rc.d/init.d/sshd stop 1>&2
460         fi
461         /sbin/chkconfig --del sshd
462 fi
463
464 %postun server
465 if [ "$1" = "0" ]; then
466         /usr/sbin/userdel sshd
467 fi
468
469 %files
470 %defattr(644,root,root,755)
471 %doc *.RNG TODO README OVERVIEW CREDITS Change*
472 %attr(755,root,root) %{_bindir}/ssh-key*
473 %{_mandir}/man1/ssh-key*.1*
474 %dir %{_sysconfdir}
475
476 %files clients
477 %defattr(644,root,root,755)
478 %attr(0755,root,root) %{_bindir}/ssh
479 %attr(0755,root,root) %{_bindir}/slogin
480 %attr(0755,root,root) %{_bindir}/sftp
481 %attr(0755,root,root) %{_bindir}/ssh-agent
482 %attr(0755,root,root) %{_bindir}/ssh-add
483 %attr(0755,root,root) %{_bindir}/scp
484 %config(noreplace) %verify(not md5 size mtime) %{_sysconfdir}/ssh_config
485 %{_mandir}/man1/scp.1*
486 %{_mandir}/man1/ssh.1*
487 %{_mandir}/man1/slogin.1*
488 %{_mandir}/man1/sftp.1*
489 %{_mandir}/man1/ssh-agent.1*
490 %{_mandir}/man1/ssh-add.1*
491 %{_mandir}/man5/ssh_config.5*
492
493 %files server
494 %defattr(644,root,root,755)
495 %attr(755,root,root) %{_sbindir}/sshd
496 %attr(755,root,root) %{_libexecdir}/sftp-server
497 %dir %{_libexecdir}
498 %{_mandir}/man8/sshd.8*
499 %{_mandir}/man8/sftp-server.8*
500 %{_mandir}/man5/sshd_config.5*
501 %attr(640,root,root) %config(noreplace) %verify(not md5 size mtime) %{_sysconfdir}/sshd_config
502 %attr(640,root,root) %config(noreplace) %verify(not md5 size mtime) /etc/pam.d/sshd
503 %attr(640,root,root) %{_sysconfdir}/moduli
504 %attr(754,root,root) /etc/rc.d/init.d/sshd
505 %attr(640,root,root) %config(noreplace) %verify(not md5 size mtime) /etc/sysconfig/sshd
506 %attr(640,root,root) %config(noreplace) %verify(not md5 size mtime) /etc/security/blacklist.sshd
507
508 %{!?_without_gnome:%files gnome-askpass}
509 %{!?_without_gnome:%defattr(644,root,root,755)}
510 %{!?_without_gnome:%dir %{_libexecdir}/ssh}
511 %{!?_without_gnome:%attr(755,root,root) %{_libexecdir}/ssh/ssh-askpass}
This page took 0.40816 seconds and 2 git commands to generate.