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