3 # _without_gnome - without gnome-askpass utility
5 Summary: OpenSSH free Secure Shell (SSH) implementation
6 Summary(es): Implementación libre de SSH
7 Summary(pl): Publicznie dostêpna implementacja bezpiecznego shella (SSH)
8 Summary(pt_BR): Implementação livre do SSH
13 Group: Applications/Networking
14 Source0: ftp://ftp.ca.openbsd.org/pub/OpenBSD/OpenSSH/portable/%{name}-%{version}.tar.gz
15 Source1: %{name}d.conf
17 Source3: %{name}d.init
18 Source4: %{name}d.pamd
19 Source5: %{name}.sysconfig
21 Patch0: %{name}-libwrap.patch
22 Patch1: %{name}-no_libnsl.patch
23 Patch2: %{name}-no-openssl-ver-check.patch
24 Patch3: %{name}-set_12.patch
25 URL: http://www.openssh.com/
26 BuildRequires: XFree86-devel
27 BuildRequires: autoconf
28 BuildRequires: automake
29 %{!?_without_gnome:BuildRequires: gnome-libs-devel}
30 BuildRequires: openssl-devel >= 0.9.6a
31 BuildRequires: pam-devel
32 BuildRequires: zlib-devel
33 BuildRequires: libwrap-devel
35 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
39 %define _sysconfdir /etc/ssh
40 %define _libexecdir %{_libdir}/%{name}
43 Ssh (Secure Shell) a program for logging into a remote machine and for
44 executing commands in a remote machine. It is intended to replace
45 rlogin and rsh, and provide secure encrypted communications between
46 two untrusted hosts over an insecure network. X11 connections and
47 arbitrary TCP/IP ports can also be forwarded over the secure channel.
49 OpenSSH is OpenBSD's rework of the last free version of SSH, bringing
50 it up to date in terms of security and features, as well as removing
51 all patented algorithms to seperate libraries (OpenSSL).
53 This package includes the core files necessary for both the OpenSSH
54 client and server. To make this package useful, you should also
55 install openssh-clients, openssh-server, or both.
58 SSH es un programa para accesar y ejecutar órdenes en computadores
59 remotos. Sustituye rlogin y rsh, y suministra un canal de comunicación
60 seguro entre dos servidores en una red insegura. Conexiones X11 y
61 puertas TCP/IP arbitrárias también pueden ser usadas por el canal
64 OpenSSH es el resultado del trabajo del equipo de OpenBSD para
65 continuar la última versión gratuita de SSH, actualizándolo en
66 términos de seguridad y recursos,así también eliminando todos los
67 algoritmos patentados y colocándolos en bibliotecas separadas
70 Este paquete contiene "port" para Linux de OpenSSH. Se debe instalar
71 también el paquete openssh-clients u openssh-server o ambos.
74 Ssh (Secure Shell) to program s³u¿±cy do logowania siê na zdaln±
75 maszynê i uruchamiania na niej aplikacji. W zamierzeniu openssh ma
76 zast±piæ rlogin, rsh i dostarczyæ bezpieczne, szyfrowane po³±czenie
77 pomiedzy dwoma hostami.
80 SSH é um programa para acessar e executar comandos em máquinas
81 remotas. Ele substitui rlogin e rsh, e provem um canal de comunicação
82 seguro entre dois hosts em uma rede insegura. Conexões X11 e portas
83 TCP/IP arbitrárias também podem ser usadas pelo canal seguro.
85 OpenSSH é o resultado do trabalho da equipe do OpenBSD em continuar a
86 última versão gratuita do SSH, atualizando-o em termos de segurança e
87 recursos, assim como removendo todos os algoritmos patenteados e
88 colocando-os em bibliotecas separadas (OpenSSL).
90 Esse pacote contém o "port" pra Linux do OpenSSH. Você deve instalar
91 também ou o pacote openssh-clients, ou o openssh-server, ou ambos.
94 Summary: OpenSSH Secure Shell protocol clients
95 Summary(es): Clientes de OpenSSH
96 Summary(pl): Klienci protoko³u Secure Shell
97 Summary(pt_BR): Clientes do OpenSSH
99 Group: Applications/Networking
100 Obsoletes: ssh-clients
101 Requires: %{name} = %{version}
104 Ssh (Secure Shell) a program for logging into a remote machine and for
105 executing commands in a remote machine. It is intended to replace
106 rlogin and rsh, and provide secure encrypted communications between
107 two untrusted hosts over an insecure network. X11 connections and
108 arbitrary TCP/IP ports can also be forwarded over the secure channel.
110 OpenSSH is OpenBSD's rework of the last free version of SSH, bringing
111 it up to date in terms of security and features, as well as removing
112 all patented algorithms to seperate libraries (OpenSSL).
114 This package includes the clients necessary to make encrypted
115 connections to SSH servers.
117 %description clients -l es
118 Este paquete incluye los clientes que se necesitan para hacer
119 conexiones codificadas con servidores SSH.
121 %description clients -l pl
122 Ssh (Secure Shell) to program s³u¿±cy do logowania siê na zdaln±
123 maszynê i uruchamiania na niej aplikacji. W zamierzeniu openssh ma
124 zast±piæ rlogin, rsh i dostarczyæ bezpieczne, szyfrowane po³±czenie
125 pomiedzy dwoma hostami.
127 Ten pakiet zawiera klientów s³u¿±cych do ³±czenia siê z serwerami SSH.
129 %description clients -l pt_BR
130 Esse pacote inclui os clientes necessários para fazer conexões
131 encriptadas com servidores SSH.
134 Summary: OpenSSH Secure Shell protocol server (sshd)
135 Summary(es): Servidor OpenSSH para comunicaciones codificadas
136 Summary(pl): Serwer protoko³u Secure Shell (sshd)
137 Summary(pt_BR): Servidor OpenSSH para comunicações encriptadas
139 Requires: chkconfig >= 0.9
140 Group: Networking/Daemons
141 Obsoletes: ssh-server
145 Prereq: /sbin/chkconfig
146 Prereq: %{name} = %{version}
149 Ssh (Secure Shell) a program for logging into a remote machine and for
150 executing commands in a remote machine. It is intended to replace
151 rlogin and rsh, and provide secure encrypted communications between
152 two untrusted hosts over an insecure network. X11 connections and
153 arbitrary TCP/IP ports can also be forwarded over the secure channel.
155 OpenSSH is OpenBSD's rework of the last free version of SSH, bringing
156 it up to date in terms of security and features, as well as removing
157 all patented algorithms to seperate libraries (OpenSSL).
159 This package contains the secure shell daemon. The sshd is the server
160 part of the secure shell protocol and allows ssh clients to connect to
163 %description server -l es
164 Este paquete contiene el servidor SSH. sshd es la parte servidor del
165 protocolo secure shell y permite que clientes ssh se conecten a su
168 %description server -l pl
169 Ssh (Secure Shell) to program s³u¿±cy do logowania siê na zdaln±
170 maszynê i uruchamiania na niej aplikacji. W zamierzeniu openssh ma
171 zast±piæ rlogin, rsh i dostarczyæ bezpieczne, szyfrowane po³±czenie
172 pomiedzy dwoma hostami.
174 Ten pakiet zawiera serwer sshd (do którego mog± ³±czyæ siê klienci
177 %description server -l pt_BR
178 Esse pacote contém o servidor SSH. O sshd é a parte servidor do
179 protocolo secure shell e permite que clientes ssh se conectem ao seu
182 %package gnome-askpass
183 Summary: OpenSSH GNOME passphrase dialog
184 Summary(es): Diálogo para introducción de passphrase para GNOME
185 Summary(pl): Odpytywacz has³a OpenSSH dla GNOME
186 Summary(pt_BR): Diálogo para entrada de passphrase para GNOME
187 Group: Applications/Networking
188 Requires: %{name} = %{version}
189 Obsoletes: ssh-extras
190 Obsoletes: ssh-askpass
191 Obsoletes: openssh-askpass
193 %description gnome-askpass
194 Ssh (Secure Shell) a program for logging into a remote machine and for
195 executing commands in a remote machine. It is intended to replace
196 rlogin and rsh, and provide secure encrypted communications between
197 two untrusted hosts over an insecure network. X11 connections and
198 arbitrary TCP/IP ports can also be forwarded over the secure channel.
200 OpenSSH is OpenBSD's rework of the last free version of SSH, bringing
201 it up to date in terms of security and features, as well as removing
202 all patented algorithms to seperate libraries (OpenSSL).
204 This package contains the GNOME passphrase dialog.
206 %description gnome-askpass -l es
207 Este paquete contiene un programa que abre una caja de diálogo para
208 entrada de passphrase en GNOME.
210 %description gnome-askpass -l pl
211 Ssh (Secure Shell) to program s³u¿±cy do logowania siê na zdaln±
212 maszynê i uruchamiania na niej aplikacji. W zamierzeniu openssh ma
213 zast±piæ rlogin, rsh i dostarczyæ bezpieczne, szyfrowane po³±czenie
214 pomiedzy dwoma hostami.
216 Ten pakiet zawiera ,,odpytywacz has³a'' dla GNOME.
218 %description gnome-askpass -l pt_BR
219 Esse pacote contém um programa que abre uma caixa de diálogo para
220 entrada de passphrase no GNOME.
234 %{!?_without_gnome:--with-gnome-askpass} \
237 --with-md5-passwords \
238 --with-ipaddr-display \
241 --with-tcp-wrappers \
242 --with-pid-dir=%{_localstatedir}/run
244 echo '#define LOGIN_PROGRAM "/bin/login"' >>config.h
248 %{!?_without_gnome:cd contrib && %{__cc} %{rpmcflags} `gnome-config --cflags gnome gnomeui gtk` } \
249 %{!?_without_gnome:gnome-ssh-askpass.c -o gnome-ssh-askpass } \
250 %{!?_without_gnome:`gnome-config --libs gnome gnomeui gtk` }
253 rm -rf $RPM_BUILD_ROOT
254 install -d $RPM_BUILD_ROOT{%{_sysconfdir},/etc/{pam.d,rc.d/init.d,sysconfig,security}}
256 %{__make} install DESTDIR="$RPM_BUILD_ROOT"
258 install %{SOURCE4} $RPM_BUILD_ROOT/etc/pam.d/sshd
259 install %{SOURCE6} $RPM_BUILD_ROOT/etc/pam.d/passwdssh
260 install %{SOURCE5} $RPM_BUILD_ROOT/etc/sysconfig/sshd
261 install %{SOURCE3} $RPM_BUILD_ROOT/etc/rc.d/init.d/sshd
262 install %{SOURCE2} $RPM_BUILD_ROOT%{_sysconfdir}/ssh_config
263 install %{SOURCE1} $RPM_BUILD_ROOT%{_sysconfdir}/sshd_config
264 install -d $RPM_BUILD_ROOT%{_libexecdir}/ssh
265 %{!?_without_gnome:install contrib/gnome-ssh-askpass $RPM_BUILD_ROOT%{_libexecdir}/ssh/ssh-askpass}
267 rm -f $RPM_BUILD_ROOT%{_mandir}/man1/slogin.1
268 echo ".so man1/ssh.1" > $RPM_BUILD_ROOT%{_mandir}/man1/slogin.1
270 gzip -9nf *.RNG TODO README OVERVIEW CREDITS Change*
272 touch $RPM_BUILD_ROOT/etc/security/blacklist.sshd
275 rm -rf $RPM_BUILD_ROOT
278 /sbin/chkconfig --add sshd
279 if [ -f /var/lock/subsys/sshd ]; then
280 /etc/rc.d/init.d/sshd restart 1>&2
282 echo "Run \"/etc/rc.d/init.d/sshd start\" to start openssh daemon."
284 if ! grep ssh /etc/security/passwd.conf >/dev/null 2>&1 ; then
285 echo "ssh" >> /etc/security/passwd.conf
289 if [ "$1" = "0" ]; then
290 if [ -f /var/lock/subsys/sshd ]; then
291 /etc/rc.d/init.d/sshd stop 1>&2
293 /sbin/chkconfig --del sshd
297 %defattr(644,root,root,755)
299 %attr(755,root,root) %{_bindir}/ssh-key*
300 %{_mandir}/man1/ssh-key*.1*
304 %defattr(644,root,root,755)
305 %attr(0755,root,root) %{_bindir}/ssh
306 %attr(0755,root,root) %{_bindir}/slogin
307 %attr(0755,root,root) %{_bindir}/sftp
308 %attr(0755,root,root) %{_bindir}/ssh-agent
309 %attr(0755,root,root) %{_bindir}/ssh-add
310 %attr(755,root,root) %{_bindir}/scp
311 %{_mandir}/man1/scp.1*
312 %{_mandir}/man1/ssh.1*
313 %{_mandir}/man1/slogin.1*
314 %{_mandir}/man1/sftp.1*
315 %{_mandir}/man1/ssh-agent.1*
316 %{_mandir}/man1/ssh-add.1*
317 %config(noreplace) %verify(not md5 size mtime) %{_sysconfdir}/ssh_config
320 %defattr(644,root,root,755)
321 %attr(755,root,root) %{_sbindir}/sshd
322 %attr(755,root,root) %{_libexecdir}/sftp-server
324 %{_mandir}/man8/sshd.8*
325 %{_mandir}/man8/sftp-server.8*
326 %attr(640,root,root) %config(noreplace) %verify(not md5 size mtime) %{_sysconfdir}/sshd_config
327 %attr(640,root,root) %config(noreplace) %verify(not md5 size mtime) /etc/pam.d/sshd
328 %attr(640,root,root) %{_sysconfdir}/moduli
329 %attr(754,root,root) /etc/rc.d/init.d/sshd
330 %attr(640,root,root) %config(noreplace) %verify(not md5 size mtime) /etc/sysconfig/sshd
331 %attr(640,root,root) %config(noreplace) %verify(not md5 size mtime) /etc/security/blacklist.sshd
333 %{!?_without_gnome:%files gnome-askpass}
334 %{!?_without_gnome:%defattr(644,root,root,755)}
335 %{!?_without_gnome:%dir %{_libexecdir}/ssh}
336 %{!?_without_gnome:%attr(755,root,root) %{_libexecdir}/ssh/ssh-askpass}