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