]> git.pld-linux.org Git - packages/openssh.git/blame - openssh.spec
- OpenSSH LDAP Public Key schema
[packages/openssh.git] / openssh.spec
CommitLineData
2ca913e8 1# Conditional build:
f6c7fa07 2%bcond_with gnome # with gnome-askpass (GNOME 1.x) utility
cd53fc87 3%bcond_without gtk # without GTK+ (2.x)
9cfed0b2 4%bcond_with ldap # with ldap support
f6c7fa07 5%bcond_without libedit # without libedit (editline/history support in sftp client)
9cfed0b2 6%bcond_without kerberos5 # without kerberos5 support
70329622 7%bcond_without selinux # build without SELinux support
5c609334 8%bcond_with hpn # High Performance SSH/SCP - HPN-SSH including Cipher NONE (broken too often)
516496e1 9
cef904f1
JB
10# gtk2-based gnome-askpass means no gnome1-based
11%{?with_gtk:%undefine with_gnome}
cae5b300 12#
52000378 13Summary: OpenSSH free Secure Shell (SSH) implementation
25e16946
ER
14Summary(de.UTF-8): OpenSSH - freie Implementation der Secure Shell (SSH)
15Summary(es.UTF-8): Implementación libre de SSH
16Summary(fr.UTF-8): Implémentation libre du shell sécurisé OpenSSH (SSH)
17Summary(it.UTF-8): Implementazione gratuita OpenSSH della Secure Shell
18Summary(pl.UTF-8): Publicznie dostępna implementacja bezpiecznego shella (SSH)
19Summary(pt.UTF-8): Implementação livre OpenSSH do protocolo 'Secure Shell' (SSH)
20Summary(pt_BR.UTF-8): Implementação livre do SSH
21Summary(ru.UTF-8): OpenSSH - свободная реализация протокола Secure Shell (SSH)
22Summary(uk.UTF-8): OpenSSH - вільна реалізація протоколу Secure Shell (SSH)
52000378 23Name: openssh
63352a35
AM
24Version: 5.2p1
25Release: 1
f5fc6a92 26Epoch: 2
5d1c7089 27License: BSD
28Group: Applications/Networking
6481986b 29Source0: ftp://ftp.openbsd.org/pub/OpenBSD/OpenSSH/portable/%{name}-%{version}.tar.gz
63352a35 30# Source0-md5: ada79c7328a8551bdf55c95e631e7dad
486d736c
JR
31Source1: http://www.mif.pg.gda.pl/homepages/ankry/man-PLD/%{name}-non-english-man-pages.tar.bz2
32# Source1-md5: 66943d481cc422512b537bcc2c7400d1
33Source2: %{name}d.init
34Source3: %{name}d.pamd
35Source4: %{name}.sysconfig
36Source5: ssh-agent.sh
37Source6: ssh-agent.conf
89eac7b5 38Patch0: %{name}-no_libnsl.patch
8d59ede4
JB
39Patch2: %{name}-pam_misc.patch
40Patch3: %{name}-sigpipe.patch
bb72f814 41# http://www.opendarwin.org/projects/openssh-lpk/
8d59ede4
JB
42Patch4: %{name}-lpk-4.3p1-0.3.7.patch
43Patch5: %{name}-config.patch
8d59ede4 44Patch7: %{name}-selinux.patch
0a069c2e 45# High Performance SSH/SCP - HPN-SSH - http://www.psc.edu/networking/projects/hpn-ssh/
7ed1a47d 46# http://www.psc.edu/networking/projects/hpn-ssh/openssh-4.9p1-hpn13v2.diff.gz
368d426b 47Patch9: %{name}-5.0p1-hpn13v4.diff
8d59ede4 48Patch10: %{name}-include.patch
100234b3 49Patch11: %{name}-chroot.patch
35844bbb 50Patch12: http://people.debian.org/~cjwatson/%{name}-blacklist.diff
e9cfdffe 51URL: http://www.openssh.com/
0a069c2e 52BuildRequires: %{__perl}
92d612e6 53BuildRequires: autoconf
8f12ae30 54BuildRequires: automake
9cfed0b2 55%{?with_gnome:BuildRequires: gnome-libs-devel}
56%{?with_gtk:BuildRequires: gtk+2-devel}
6cf633ed 57%{?with_kerberos5:BuildRequires: krb5-devel}
f6c7fa07 58%{?with_libedit:BuildRequires: libedit-devel}
70329622 59%{?with_selinux:BuildRequires: libselinux-devel}
a14c109c 60BuildRequires: libwrap-devel
eda86fb8 61%{?with_ldap:BuildRequires: openldap-devel >= 2.4.6}
b12dd014 62BuildRequires: openssl-devel >= 0.9.7d
92d612e6 63BuildRequires: pam-devel
9cfed0b2 64%{?with_gtk:BuildRequires: pkgconfig}
9be30b5d 65BuildRequires: rpmbuild(macros) >= 1.318
a14c109c 66BuildRequires: zlib-devel
680fc8d4 67Requires: filesystem >= 3.0-11
d38368b3 68Requires: pam >= 0.99.7.1
35844bbb 69Suggests: openssh-blacklist
a9abed26 70Suggests: xorg-app-xauth
f937b661 71Obsoletes: ssh
05fbd2e9 72BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
52000378 73
b7b47957 74%define _sysconfdir /etc/ssh
1dd7cf18 75%define _libexecdir %{_libdir}/%{name}
a14c109c 76%define _privsepdir /usr/share/empty
6fe24471
AF
77
78%description
79Ssh (Secure Shell) a program for logging into a remote machine and for
11530f15 80executing commands in a remote machine. It is intended to replace
81rlogin and rsh, and provide secure encrypted communications between
82two untrusted hosts over an insecure network. X11 connections and
83arbitrary TCP/IP ports can also be forwarded over the secure channel.
6fe24471 84
11530f15 85OpenSSH is OpenBSD's rework of the last free version of SSH, bringing
86it up to date in terms of security and features, as well as removing
87all patented algorithms to seperate libraries (OpenSSL).
6fe24471 88
11530f15 89This package includes the core files necessary for both the OpenSSH
90client and server. To make this package useful, you should also
91install openssh-clients, openssh-server, or both.
088aab43 92%if %{with hpn} || %{with hpn_none}
0a069c2e
ER
93This release includes High Performance SSH/SCP patches from
94http://www.psc.edu/networking/projects/hpn-ssh/ which are supposed
088aab43 95to increase throughput on fast connections with high RTT (20-150 msec).
96See the website for '-w' values for your connection and /proc/sys TCP
97values. BTW. in a LAN you have got generally RTT < 1 msec.
98%endif
99%if %{with hpn_none}
100It also includes an undocumented '-z' option which switches
0a069c2e
ER
101the cipher to none after authentication is completed. Data is
102still secured from tampering and corruption in transit through
088aab43 103the use of the Message Authentication Code (MAC).
0a069c2e
ER
104This option will significantly reduce the number of cpu cycles used
105by the SSH/SCP process. This may allow some users to see significant
106improvement in (sniffable) data tranfer rates.
088aab43 107%endif
6fe24471 108
84ae85a3 109%description -l de.UTF-8
aebfac88
JB
110OpenSSH (Secure Shell) stellt den Zugang zu anderen Rechnern her. Es
111ersetzt telnet, rlogin, rexec und rsh und stellt eine sichere,
84ae85a3
JR
112verschlüsselte Verbindung zwischen zwei nicht vertrauenswürdigen Hosts
113über eine unsicheres Netzwerk her. X11 Verbindungen und beliebige
114andere TCP/IP Ports können ebenso über den sicheren Channel
aebfac88
JB
115weitergeleitet werden.
116
84ae85a3
JR
117%description -l es.UTF-8
118SSH es un programa para accesar y ejecutar órdenes en computadores
119remotos. Sustituye rlogin y rsh, y suministra un canal de comunicación
6c34819e 120seguro entre dos servidores en una red insegura. Conexiones X11 y
84ae85a3 121puertas TCP/IP arbitrárias también pueden ser usadas por el canal
6c34819e 122seguro.
123
124OpenSSH es el resultado del trabajo del equipo de OpenBSD para
84ae85a3
JR
125continuar la última versión gratuita de SSH, actualizándolo en
126términos de seguridad y recursos,así también eliminando todos los
127algoritmos patentados y colocándolos en bibliotecas separadas
6c34819e 128(OpenSSL).
129
130Este paquete contiene "port" para Linux de OpenSSH. Se debe instalar
84ae85a3 131también el paquete openssh-clients u openssh-server o ambos.
6c34819e 132
84ae85a3
JR
133%description -l fr.UTF-8
134OpenSSH (Secure Shell) fournit un accès à un système distant. Il
aebfac88 135remplace telnet, rlogin, rexec et rsh, tout en assurant des
84ae85a3
JR
136communications cryptées securisées entre deux hôtes non fiabilisés sur
137un réseau non sécurisé. Des connexions X11 et des ports TCP/IP
138arbitraires peuvent également être transmis sur le canal sécurisé.
aebfac88 139
84ae85a3 140%description -l it.UTF-8
aebfac88
JB
141OpenSSH (Secure Shell) fornisce l'accesso ad un sistema remoto.
142Sostituisce telnet, rlogin, rexec, e rsh, e fornisce comunicazioni
143sicure e crittate tra due host non fidati su una rete non sicura. Le
144connessioni X11 ad una porta TCP/IP arbitraria possono essere
145inoltrate attraverso un canale sicuro.
146
84ae85a3
JR
147%description -l pl.UTF-8
148Ssh (Secure Shell) to program służący do logowania się na zdalną
149maszynę i uruchamiania na niej aplikacji. W zamierzeniu openssh ma
150zastąpić rlogin, rsh i dostarczyć bezpieczne, szyfrowane połączenie
151pomiędzy dwoma hostami.
93e2d77c 152
84ae85a3
JR
153Ten pakiet zawiera podstawowe pliki potrzebne zarówno po stronie
154klienta jak i serwera OpenSSH. Aby był użyteczny, trzeba zainstalować
155co najmniej jeden z pakietów: openssh-clients lub openssh-server.
088aab43 156%if %{with hpn} || %{with hpn_none}
84ae85a3
JR
157Ta wersja zawiera łaty z projektu High Performance SSH/SCP
158http://www.psc.edu/networking/projects/hpn-ssh/, które mają na celu
159zwiększenie przepustowości transmisji dla szybkich połączeń
160z dużym RTT (20-150 msec). Na stronie projektu znaleźć można
161odpowednie dla danego połączenia wartości parametru '-w' oraz
162opcje /proc/sys dla TCP. Nawiasem mówiąc w sieciach LAN RTT < 1 msec.
088aab43 163%endif
164%if %{with hpn_none}
84ae85a3
JR
165Obsługiwana jest również nieudokumentowana opcja '-z' odpowiedzialna
166za wyłączenie szyfrowania danych po zakończeniu procesu uwierzytelniania.
167Dane są zabezpieczone przed modyfikacją lub uszkodzeniem przez
088aab43 168stosowanie Message Authentication Code (MAC).
84ae85a3
JR
169Opcja ta znacznie redukuje liczbę cykli procesora zużywanych przez
170procesy SSH/SCP. W wybranych zastosowaniach może ona wpłynąć
171na wyraźne przyspieszenie (podsłuchiwalnej) transmisji danych.
088aab43 172%endif
aebfac88 173
84ae85a3 174%description -l pt.UTF-8
aebfac88 175OpenSSH (Secure Shell) fornece acesso a um sistema remoto. Substitui o
84ae85a3
JR
176telnet, rlogin, rexec, e o rsh e fornece comunicações seguras e
177cifradas entre duas máquinas sem confiança mútua sobre uma rede
178insegura. Ligações X11 e portos TCP/IP arbitrários também poder ser
aebfac88
JB
179reenviados pelo canal seguro.
180
84ae85a3
JR
181%description -l pt_BR.UTF-8
182SSH é um programa para acessar e executar comandos em máquinas
183remotas. Ele substitui rlogin e rsh, e provem um canal de comunicação
184seguro entre dois hosts em uma rede insegura. Conexões X11 e portas
185TCP/IP arbitrárias também podem ser usadas pelo canal seguro.
6c34819e 186
84ae85a3
JR
187OpenSSH é o resultado do trabalho da equipe do OpenBSD em continuar a
188última versão gratuita do SSH, atualizando-o em termos de segurança e
6c34819e 189recursos, assim como removendo todos os algoritmos patenteados e
190colocando-os em bibliotecas separadas (OpenSSL).
191
84ae85a3
JR
192Esse pacote contém o "port" pra Linux do OpenSSH. Você deve instalar
193também ou o pacote openssh-clients, ou o openssh-server, ou ambos.
194
195%description -l ru.UTF-8
196Ssh (Secure Shell) - это программа для "захода" (login) на удаленную
197машину и для выполнения команд на удаленной машине. Она предназначена
198для замены rlogin и rsh и обеспечивает безопасную шифрованную
199коммуникацию между двумя хостами в сети, являющейся небезопасной.
200Соединения X11 и любые порты TCP/IP могут также быть проведены через
201безопасный канал.
202
203OpenSSH - это переделка командой разработчиков OpenBSD последней
204свободной версии SSH, доведенная до современного состояния в терминах
205уровня безопасности и поддерживаемых возможностей. Все патентованные
206алгоритмы вынесены в отдельные библиотеки (OpenSSL).
207
208Этот пакет содержит файлы, необходимые как для клиента, так и для
209сервера OpenSSH. Вам нужно будет установить еще openssh-clients,
210openssh-server, или оба пакета.
211
212%description -l uk.UTF-8
213Ssh (Secure Shell) - це програма для "заходу" (login) до віддаленої
214машини та для виконання команд на віддаленій машині. Вона призначена
215для заміни rlogin та rsh і забезпечує безпечну шифровану комунікацію
216між двома хостами в мережі, яка не є безпечною. З'єднання X11 та
217довільні порти TCP/IP можуть також бути проведені через безпечний
218канал.
219
220OpenSSH - це переробка командою розробників OpenBSD останньої вільної
221версії SSH, доведена до сучасного стану в термінах рівня безпеки та
222підтримуваних можливостей. Всі патентовані алгоритми винесені до
223окремих бібліотек (OpenSSL).
224
225Цей пакет містить файли, необхідні як для клієнта, так і для сервера
226OpenSSH. Вам потрібно буде ще встановити openssh-clients,
227openssh-server, чи обидва пакети.
cb086001 228
52000378
AF
229%package clients
230Summary: OpenSSH Secure Shell protocol clients
25e16946
ER
231Summary(es.UTF-8): Clientes de OpenSSH
232Summary(pl.UTF-8): Klienci protokołu Secure Shell
233Summary(pt_BR.UTF-8): Clientes do OpenSSH
234Summary(ru.UTF-8): OpenSSH - клиенты протокола Secure Shell
235Summary(uk.UTF-8): OpenSSH - клієнти протоколу Secure Shell
52000378 236Group: Applications/Networking
92815192 237Requires: %{name} = %{epoch}:%{version}-%{release}
516496e1 238Provides: ssh-clients
a14c109c 239Obsoletes: ssh-clients
6fe24471 240
52000378
AF
241%description clients
242Ssh (Secure Shell) a program for logging into a remote machine and for
11530f15 243executing commands in a remote machine. It is intended to replace
244rlogin and rsh, and provide secure encrypted communications between
245two untrusted hosts over an insecure network. X11 connections and
246arbitrary TCP/IP ports can also be forwarded over the secure channel.
6fe24471 247
11530f15 248OpenSSH is OpenBSD's rework of the last free version of SSH, bringing
249it up to date in terms of security and features, as well as removing
250all patented algorithms to seperate libraries (OpenSSL).
52000378 251
11530f15 252This package includes the clients necessary to make encrypted
253connections to SSH servers.
52000378 254
84ae85a3 255%description clients -l es.UTF-8
6c34819e 256Este paquete incluye los clientes que se necesitan para hacer
257conexiones codificadas con servidores SSH.
258
84ae85a3
JR
259%description clients -l pl.UTF-8
260Ssh (Secure Shell) to program służący do logowania się na zdalną
261maszynę i uruchamiania na niej aplikacji. W zamierzeniu openssh ma
262zastąpić rlogin, rsh i dostarczyć bezpieczne, szyfrowane połączenie
263pomiędzy dwoma hostami.
93e2d77c 264
84ae85a3 265Ten pakiet zawiera klientów służących do łączenia się z serwerami SSH.
93e2d77c 266
84ae85a3
JR
267%description clients -l pt_BR.UTF-8
268Esse pacote inclui os clientes necessários para fazer conexões
6c34819e 269encriptadas com servidores SSH.
270
84ae85a3
JR
271%description clients -l ru.UTF-8
272Ssh (Secure Shell) - это программа для "захода" (login) на удаленную
273машину и для выполнения команд на удаленной машине.
cb086001 274
84ae85a3
JR
275Этот пакет содержит программы-клиенты, необходимые для установления
276зашифрованных соединений с серверами SSH.
cb086001 277
84ae85a3
JR
278%description clients -l uk.UTF-8
279Ssh (Secure Shell) - це програма для "заходу" (login) до віддаленої
280машини та для виконання команд на віддаленій машині.
cb086001 281
84ae85a3
JR
282Цей пакет містить програми-клієнти, необхідні для встановлення
283зашифрованих з'єднань з серверами SSH.
cb086001 284
8a7ba6eb
AM
285%package clients-agent-profile_d
286Summary: OpenSSH Secure Shell agent init script
4944be5f 287Summary(pl.UTF-8): Skrypt startowy agenta OpenSSH
8a7ba6eb
AM
288Group: Applications/Networking
289Requires: %{name}-clients = %{epoch}:%{version}-%{release}
290
291%description clients-agent-profile_d
292profile.d scripts for starting SSH agent.
293
4944be5f
JB
294%description clients-agent-profile_d -l pl.UTF-8
295Skrypty profile.d do uruchamiania agenta SSH.
296
8a7ba6eb
AM
297%package clients-agent-xinitrc
298Summary: OpenSSH Secure Shell agent init script
299Summary(pl.UTF-8): Skrypt inicjujący agenta ssh przez xinitrc
300Group: Applications/Networking
301Requires: %{name}-clients-agent-profile_d = %{epoch}:%{version}-%{release}
302Requires: xinitrc
303
304%description clients-agent-xinitrc
305xinitrc scripts for starting SSH agent.
306
4944be5f
JB
307%description clients-agent-xinitrc -l pl.UTF-8
308Skrypty xinitrc do uruchamiania agenta SSH.
8a7ba6eb 309
52000378
AF
310%package server
311Summary: OpenSSH Secure Shell protocol server (sshd)
25e16946
ER
312Summary(de.UTF-8): OpenSSH Secure Shell Protocol-Server (sshd)
313Summary(es.UTF-8): Servidor OpenSSH para comunicaciones codificadas
314Summary(fr.UTF-8): Serveur de protocole du shell sécurisé OpenSSH (sshd)
315Summary(it.UTF-8): Server OpenSSH per il protocollo Secure Shell (sshd)
316Summary(pl.UTF-8): Serwer protokołu Secure Shell (sshd)
317Summary(pt.UTF-8): Servidor do protocolo 'Secure Shell' OpenSSH (sshd)
318Summary(pt_BR.UTF-8): Servidor OpenSSH para comunicações encriptadas
319Summary(ru.UTF-8): OpenSSH - сервер протокола Secure Shell (sshd)
320Summary(uk.UTF-8): OpenSSH - сервер протоколу Secure Shell (sshd)
52000378 321Group: Networking/Daemons
a14c109c 322Requires(post): chkconfig >= 0.9
40cb2e83 323Requires(post): grep
0a069c2e 324Requires(post,preun): /sbin/chkconfig
9b604401 325Requires(postun): /usr/sbin/userdel
0a069c2e
ER
326Requires(pre): /bin/id
327Requires(pre): /usr/sbin/useradd
328Requires: %{name} = %{epoch}:%{version}-%{release}
b5529f6f 329Requires: /bin/login
d38368b3 330Requires: pam >= 0.99.7.1
aa0e4c97 331Requires: rc-scripts >= 0.4.1.23
0a069c2e 332Requires: util-linux
516496e1
ER
333Provides: ssh-server
334Provides: user(sshd)
52000378
AF
335
336%description server
337Ssh (Secure Shell) a program for logging into a remote machine and for
11530f15 338executing commands in a remote machine. It is intended to replace
339rlogin and rsh, and provide secure encrypted communications between
340two untrusted hosts over an insecure network. X11 connections and
341arbitrary TCP/IP ports can also be forwarded over the secure channel.
52000378 342
11530f15 343OpenSSH is OpenBSD's rework of the last free version of SSH, bringing
344it up to date in terms of security and features, as well as removing
345all patented algorithms to seperate libraries (OpenSSL).
52000378 346
11530f15 347This package contains the secure shell daemon. The sshd is the server
348part of the secure shell protocol and allows ssh clients to connect to
349your host.
6fe24471 350
84ae85a3 351%description server -l de.UTF-8
aebfac88
JB
352Dieses Paket installiert den sshd, den Server-Teil der OpenSSH.
353
84ae85a3 354%description server -l es.UTF-8
6c34819e 355Este paquete contiene el servidor SSH. sshd es la parte servidor del
356protocolo secure shell y permite que clientes ssh se conecten a su
357servidor.
358
84ae85a3 359%description server -l fr.UTF-8
aebfac88
JB
360Ce paquetage installe le 'sshd', partie serveur de OpenSSH.
361
84ae85a3 362%description server -l it.UTF-8
aebfac88
JB
363Questo pacchetto installa sshd, il server di OpenSSH.
364
84ae85a3
JR
365%description server -l pl.UTF-8
366Ssh (Secure Shell) to program służący do logowania się na zdalną
367maszynę i uruchamiania na niej aplikacji. W zamierzeniu openssh ma
368zastąpić rlogin, rsh i dostarczyć bezpieczne, szyfrowane połączenie
369pomiędzy dwoma hostami.
93e2d77c 370
84ae85a3 371Ten pakiet zawiera serwer sshd (do którego mogą łączyć się klienci
11530f15 372ssh).
93e2d77c 373
84ae85a3 374%description server -l pt.UTF-8
aebfac88
JB
375Este pacote intala o sshd, o servidor do OpenSSH.
376
84ae85a3
JR
377%description server -l pt_BR.UTF-8
378Esse pacote contém o servidor SSH. O sshd é a parte servidor do
6c34819e 379protocolo secure shell e permite que clientes ssh se conectem ao seu
380host.
381
84ae85a3
JR
382%description server -l ru.UTF-8
383Ssh (Secure Shell) - это программа для "захода" (login) на удаленную
384машину и для выполнения команд на удаленной машине.
cb086001 385
84ae85a3
JR
386Этот пакет содержит sshd - "демон" Secure Shell. sshd - это серверная
387часть протокола Secure Shell, позволяющая клиентам ssh соединяться с
388вашим хостом.
cb086001 389
84ae85a3
JR
390%description server -l uk.UTF-8
391Ssh (Secure Shell) - це програма для "заходу" (login) до віддаленої
392машини та для виконання команд на віддаленій машині.
cb086001 393
84ae85a3
JR
394Цей пакет містить sshd - "демон" Secure Shell. sshd - це серверна
395частина протоколу Secure Shell, яка дозволяє клієнтам ssh зв'язуватись
396з вашим хостом.
cb086001 397
6e70f4f7 398%package gnome-askpass
52000378 399Summary: OpenSSH GNOME passphrase dialog
25e16946
ER
400Summary(de.UTF-8): OpenSSH GNOME Passwort-Dialog
401Summary(es.UTF-8): Diálogo para introducción de passphrase para GNOME
402Summary(fr.UTF-8): Dialogue pass-phrase GNOME d'OpenSSH
403Summary(it.UTF-8): Finestra di dialogo GNOME per la frase segreta di OpenSSH
404Summary(pl.UTF-8): Odpytywacz hasła OpenSSH dla GNOME
405Summary(pt.UTF-8): Diálogo de pedido de senha para GNOME do OpenSSH
406Summary(pt_BR.UTF-8): Diálogo para entrada de passphrase para GNOME
407Summary(ru.UTF-8): OpenSSH - диалог ввода ключевой фразы (passphrase) для GNOME
408Summary(uk.UTF-8): OpenSSH - діалог вводу ключової фрази (passphrase) для GNOME
52000378 409Group: Applications/Networking
96f686c2 410Requires: %{name} = %{epoch}:%{version}-%{release}
f937b661 411Obsoletes: openssh-askpass
0a069c2e
ER
412Obsoletes: ssh-askpass
413Obsoletes: ssh-extras
52000378 414
6e70f4f7 415%description gnome-askpass
52000378 416Ssh (Secure Shell) a program for logging into a remote machine and for
11530f15 417executing commands in a remote machine. It is intended to replace
418rlogin and rsh, and provide secure encrypted communications between
419two untrusted hosts over an insecure network. X11 connections and
420arbitrary TCP/IP ports can also be forwarded over the secure channel.
52000378 421
11530f15 422OpenSSH is OpenBSD's rework of the last free version of SSH, bringing
423it up to date in terms of security and features, as well as removing
424all patented algorithms to seperate libraries (OpenSSL).
52000378
AF
425
426This package contains the GNOME passphrase dialog.
427
84ae85a3
JR
428%description gnome-askpass -l es.UTF-8
429Este paquete contiene un programa que abre una caja de diálogo para
6c34819e 430entrada de passphrase en GNOME.
431
84ae85a3
JR
432%description gnome-askpass -l pl.UTF-8
433Ssh (Secure Shell) to program służący do logowania się na zdalną
434maszynę i uruchamiania na niej aplikacji. W zamierzeniu openssh ma
435zastąpić rlogin, rsh i dostarczyć bezpieczne, szyfrowane połączenie
436pomiędzy dwoma hostami.
93e2d77c 437
84ae85a3 438Ten pakiet zawiera ,,odpytywacz hasła'' dla GNOME.
93e2d77c 439
84ae85a3
JR
440%description gnome-askpass -l pt_BR.UTF-8
441Esse pacote contém um programa que abre uma caixa de diálogo para
6c34819e 442entrada de passphrase no GNOME.
443
84ae85a3
JR
444%description gnome-askpass -l ru.UTF-8
445Ssh (Secure Shell) - это программа для "захода" (login) на удаленную
446машину и для выполнения команд на удаленной машине.
cb086001 447
84ae85a3 448Этот пакет содержит диалог ввода ключевой фразы для использования под
cb086001 449GNOME.
450
84ae85a3
JR
451%description gnome-askpass -l uk.UTF-8
452Ssh (Secure Shell) - це програма для "заходу" (login) до віддаленої
453машини та для виконання команд на віддаленій машині.
cb086001 454
84ae85a3 455Цей пакет містить діалог вводу ключової фрази для використання під
cb086001 456GNOME.
457
52000378 458%prep
ecf377a3 459%setup -q
4946f6e5 460%patch0 -p1
1aca01a4 461%patch2 -p1
200ba837 462%patch3 -p1
8d59ede4
JB
463%{?with_ldap:%patch4 -p1}
464%patch5 -p1
8d59ede4 465%patch7 -p1
516496e1 466%{?with_hpn:%patch9 -p1}
8d59ede4 467%patch10 -p1
100234b3 468%patch11 -p1
35844bbb 469%patch12 -p1
52000378
AF
470
471%build
64f1c35c 472cp /usr/share/automake/config.sub .
0b24ec17 473%{__aclocal}
5c76eb87 474%{__autoconf}
37aa5700 475CPPFLAGS="-DCHROOT"
52000378 476%configure \
c59fae24 477 PERL=%{__perl} \
ad852e00 478 --with-dns \
41897191
AM
479 --with-pam \
480 --with-mantype=man \
f9bf943b 481 --with-md5-passwords \
4946f6e5 482 --with-ipaddr-display \
f6c7fa07 483 %{?with_libedit:--with-libedit} \
93e2d77c 484 --with-4in6 \
41897191 485 --disable-suid-ssh \
06b95d40 486 --with-tcp-wrappers \
9cfed0b2 487 %{?with_ldap:--with-libs="-lldap -llber"} \
488 %{?with_ldap:--with-cppflags="-DWITH_LDAP_PUBKEY"} \
4a5c0c7d 489 %{?with_kerberos5:--with-kerberos5=/usr} \
a14c109c 490 --with-privsep-path=%{_privsepdir} \
05fbd2e9 491 --with-pid-dir=%{_localstatedir}/run \
c7963a12
JR
492 --with-xauth=/usr/bin/xauth \
493 --enable-utmpx \
494 --enable-wtmpx
82f989ae 495
b8002dec 496echo '#define LOGIN_PROGRAM "/bin/login"' >>config.h
f9bf943b 497
100832a0 498%{__make}
475ef6df 499
40cb2e83 500cd contrib
9cfed0b2 501%if %{with gnome}
40cb2e83
JB
502%{__make} gnome-ssh-askpass1 \
503 CC="%{__cc} %{rpmldflags} %{rpmcflags}"
504%endif
9cfed0b2 505%if %{with gtk}
40cb2e83
JB
506%{__make} gnome-ssh-askpass2 \
507 CC="%{__cc} %{rpmldflags} %{rpmcflags}"
508%endif
6fe24471
AF
509
510%install
511rm -rf $RPM_BUILD_ROOT
1d1e6997 512install -d $RPM_BUILD_ROOT{%{_sysconfdir},/etc/{pam.d,rc.d/init.d,sysconfig,security,env.d}} \
9a2a459a 513 $RPM_BUILD_ROOT%{_libexecdir}/ssh
8a7ba6eb 514install -d $RPM_BUILD_ROOT/etc/{profile.d,X11/xinit/xinitrc.d}
52000378 515
9a2a459a
PG
516%{__make} install \
517 DESTDIR=$RPM_BUILD_ROOT
0d32b20f 518
486d736c 519bzip2 -dc %{SOURCE1} | tar xf - -C $RPM_BUILD_ROOT%{_mandir}
40cb2e83 520
486d736c
JR
521install %{SOURCE2} $RPM_BUILD_ROOT/etc/rc.d/init.d/sshd
522install %{SOURCE3} $RPM_BUILD_ROOT/etc/pam.d/sshd
523install %{SOURCE4} $RPM_BUILD_ROOT/etc/sysconfig/sshd
524install %{SOURCE5} $RPM_BUILD_ROOT/etc/profile.d
525ln -sf /etc/profile.d/ssh-agent.sh $RPM_BUILD_ROOT/etc/X11/xinit/xinitrc.d/ssh-agent.sh
526install %{SOURCE6} $RPM_BUILD_ROOT%{_sysconfdir}
2b7669a6 527
9cfed0b2 528%if %{with gnome}
40cb2e83
JB
529install contrib/gnome-ssh-askpass1 $RPM_BUILD_ROOT%{_libexecdir}/ssh/ssh-askpass
530%endif
9cfed0b2 531%if %{with gtk}
40cb2e83 532install contrib/gnome-ssh-askpass2 $RPM_BUILD_ROOT%{_libexecdir}/ssh/ssh-askpass
1d1e6997
PG
533%endif
534%if %{with gnome} || %{with gtk}
6157007b 535cat << 'EOF' >$RPM_BUILD_ROOT/etc/env.d/GNOME_SSH_ASKPASS_GRAB_SERVER
1d1e6997
PG
536#GNOME_SSH_ASKPASS_GRAB_SERVER="true"
537EOF
6157007b 538cat << 'EOF' >$RPM_BUILD_ROOT/etc/env.d/GNOME_SSH_ASKPASS_GRAB_POINTER
1d1e6997
PG
539#GNOME_SSH_ASKPASS_GRAB_POINTER="true"
540EOF
4ae0bc0d 541ln -s %{_libexecdir}/ssh/ssh-askpass $RPM_BUILD_ROOT%{_libexecdir}/ssh-askpass
40cb2e83 542%endif
6e70f4f7 543
0906c8d0 544install contrib/ssh-copy-id $RPM_BUILD_ROOT%{_bindir}
545install contrib/ssh-copy-id.1 $RPM_BUILD_ROOT%{_mandir}/man1
546
8e700b6b 547rm -f $RPM_BUILD_ROOT%{_mandir}/man1/slogin.1
5f72fe6f 548echo ".so ssh.1" > $RPM_BUILD_ROOT%{_mandir}/man1/slogin.1
41897191 549
ffbc041f 550touch $RPM_BUILD_ROOT/etc/security/blacklist.sshd
643dc12f 551
b8002dec 552cat << 'EOF' > $RPM_BUILD_ROOT/etc/env.d/SSH_ASKPASS
1d1e6997
PG
553#SSH_ASKPASS="%{_libexecdir}/ssh-askpass"
554EOF
555
92815192
ER
556rm -f $RPM_BUILD_ROOT%{_datadir}/Ssh.bin # ???
557rm -f $RPM_BUILD_ROOT%{_mandir}/README.openssh-non-english-man-pages
558
6fe24471
AF
559%clean
560rm -rf $RPM_BUILD_ROOT
561
b259ae2c
ER
562%post clients
563%env_update
564
565%postun clients
566%env_update
567
568%post gnome-askpass
569%env_update
570
571%postun gnome-askpass
572%env_update
573
8a304ceb 574%pre server
0225d3b8 575%useradd -P %{name}-server -u 40 -d %{_privsepdir} -s /bin/false -c "OpenSSH PrivSep User" -g nobody sshd
4c8ae2f8 576
52000378 577%post server
d7fde396 578/sbin/chkconfig --add sshd
2c99507e 579%service sshd reload "openssh daemon"
40cb2e83
JB
580if ! grep -qs ssh /etc/security/passwd.conf ; then
581 umask 022
ec00afd0
JR
582 echo "ssh" >> /etc/security/passwd.conf
583fi
6fe24471 584
52000378 585%preun server
d7fde396 586if [ "$1" = "0" ]; then
b054de44 587 %service sshd stop
d7fde396 588 /sbin/chkconfig --del sshd
589fi
6fe24471 590
9b604401
JB
591%postun server
592if [ "$1" = "0" ]; then
5f4ffc90 593 %userremove sshd
9b604401
JB
594fi
595
6fe24471 596%files
52000378 597%defattr(644,root,root,755)
7cc45b9b 598%doc *.RNG TODO README OVERVIEW CREDITS Change*
a6eef44c 599%attr(755,root,root) %{_bindir}/ssh-key*
35844bbb 600%attr(755,root,root) %{_bindir}/ssh-vulnkey*
a6eef44c 601%{_mandir}/man1/ssh-key*.1*
35844bbb 602%{_mandir}/man1/ssh-vulnkey*.1*
52000378 603%dir %{_sysconfdir}
9df62d0f 604%dir %{_libexecdir}
52000378
AF
605
606%files clients
607%defattr(644,root,root,755)
96f686c2
JB
608%attr(755,root,root) %{_bindir}/ssh
609%attr(755,root,root) %{_bindir}/slogin
610%attr(755,root,root) %{_bindir}/sftp
611%attr(755,root,root) %{_bindir}/ssh-agent
612%attr(755,root,root) %{_bindir}/ssh-add
0906c8d0 613%attr(755,root,root) %{_bindir}/ssh-copy-id
96f686c2 614%attr(755,root,root) %{_bindir}/scp
794e0987
JB
615%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/ssh_config
616%config(noreplace,missingok) %verify(not md5 mtime size) /etc/env.d/SSH_ASKPASS
52000378
AF
617%{_mandir}/man1/scp.1*
618%{_mandir}/man1/ssh.1*
41897191 619%{_mandir}/man1/slogin.1*
a6eef44c 620%{_mandir}/man1/sftp.1*
52000378
AF
621%{_mandir}/man1/ssh-agent.1*
622%{_mandir}/man1/ssh-add.1*
0906c8d0 623%{_mandir}/man1/ssh-copy-id.1*
902cef13 624%{_mandir}/man5/ssh_config.5*
2b7669a6 625%lang(it) %{_mandir}/it/man1/ssh.1*
626%lang(it) %{_mandir}/it/man5/ssh_config.5*
627%lang(pl) %{_mandir}/pl/man1/scp.1*
628%lang(zh_CN) %{_mandir}/zh_CN/man1/scp.1*
ec82f607
JB
629
630# for host-based auth (suid required for accessing private host key)
631#%attr(4755,root,root) %{_libexecdir}/ssh-keysign
632#%{_mandir}/man8/ssh-keysign.8*
52000378 633
8a7ba6eb
AM
634%files clients-agent-profile_d
635%defattr(644,root,root,755)
636%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/ssh-agent.conf
637%attr(755,root,root) /etc/profile.d/ssh-agent.sh
638
639%files clients-agent-xinitrc
640%defattr(644,root,root,755)
641%attr(755,root,root) /etc/X11/xinit/xinitrc.d/ssh-agent.sh
642
52000378
AF
643%files server
644%defattr(644,root,root,755)
645%attr(755,root,root) %{_sbindir}/sshd
a6eef44c 646%attr(755,root,root) %{_libexecdir}/sftp-server
ad852e00 647%attr(755,root,root) %{_libexecdir}/ssh-keysign
52000378 648%{_mandir}/man8/sshd.8*
a6eef44c 649%{_mandir}/man8/sftp-server.8*
ad852e00 650%{_mandir}/man8/ssh-keysign.8*
902cef13 651%{_mandir}/man5/sshd_config.5*
78aa4c3c 652%{_mandir}/man5/moduli.5*
794e0987
JB
653%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/sshd_config
654%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/pam.d/sshd
634d69b4 655%attr(640,root,root) %{_sysconfdir}/moduli
52000378 656%attr(754,root,root) /etc/rc.d/init.d/sshd
794e0987
JB
657%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/sshd
658%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/security/blacklist.sshd
52000378 659
0d32b20f 660%if %{with gnome} || %{with gtk}
40cb2e83
JB
661%files gnome-askpass
662%defattr(644,root,root,755)
794e0987 663%config(noreplace,missingok) %verify(not md5 mtime size) /etc/env.d/GNOME_SSH_ASKPASS*
40cb2e83
JB
664%dir %{_libexecdir}/ssh
665%attr(755,root,root) %{_libexecdir}/ssh/ssh-askpass
4ae0bc0d 666%attr(755,root,root) %{_libexecdir}/ssh-askpass
40cb2e83 667%endif
This page took 0.177028 seconds and 4 git commands to generate.