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