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