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