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