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