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