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