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}-no_libnsl.patch
22 Patch1: %{name}-set_12.patch
23 Patch2: %{name}-linux-ipv6.patch
24 URL: http://www.openssh.com/
25 BuildRequires: XFree86-devel
26 BuildRequires: autoconf
27 BuildRequires: automake
28 %{!?_without_gnome:BuildRequires: gnome-libs-devel}
29 BuildRequires: openssl-devel >= 0.9.6a
30 BuildRequires: pam-devel
31 BuildRequires: zlib-devel
32 BuildRequires: libwrap-devel
34 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
38 %define _sysconfdir /etc/ssh
39 %define _libexecdir %{_libdir}/%{name}
42 Ssh (Secure Shell) a program for logging into a remote machine and for
43 executing commands in a remote machine. It is intended to replace
44 rlogin and rsh, and provide secure encrypted communications between
45 two untrusted hosts over an insecure network. X11 connections and
46 arbitrary TCP/IP ports can also be forwarded over the secure channel.
48 OpenSSH is OpenBSD's rework of the last free version of SSH, bringing
49 it up to date in terms of security and features, as well as removing
50 all patented algorithms to seperate libraries (OpenSSL).
52 This package includes the core files necessary for both the OpenSSH
53 client and server. To make this package useful, you should also
54 install openssh-clients, openssh-server, or both.
57 SSH es un programa para accesar y ejecutar órdenes en computadores
58 remotos. Sustituye rlogin y rsh, y suministra un canal de comunicación
59 seguro entre dos servidores en una red insegura. Conexiones X11 y
60 puertas TCP/IP arbitrárias también pueden ser usadas por el canal
63 OpenSSH es el resultado del trabajo del equipo de OpenBSD para
64 continuar la última versión gratuita de SSH, actualizándolo en
65 términos de seguridad y recursos,así también eliminando todos los
66 algoritmos patentados y colocándolos en bibliotecas separadas
69 Este paquete contiene "port" para Linux de OpenSSH. Se debe instalar
70 también el paquete openssh-clients u openssh-server o ambos.
73 Ssh (Secure Shell) to program s³u¿±cy do logowania siê na zdaln±
74 maszynê i uruchamiania na niej aplikacji. W zamierzeniu openssh ma
75 zast±piæ rlogin, rsh i dostarczyæ bezpieczne, szyfrowane po³±czenie
76 pomiedzy dwoma hostami.
79 SSH é um programa para acessar e executar comandos em máquinas
80 remotas. Ele substitui rlogin e rsh, e provem um canal de comunicação
81 seguro entre dois hosts em uma rede insegura. Conexões X11 e portas
82 TCP/IP arbitrárias também podem ser usadas pelo canal seguro.
84 OpenSSH é o resultado do trabalho da equipe do OpenBSD em continuar a
85 última versão gratuita do SSH, atualizando-o em termos de segurança e
86 recursos, assim como removendo todos os algoritmos patenteados e
87 colocando-os em bibliotecas separadas (OpenSSL).
89 Esse pacote contém o "port" pra Linux do OpenSSH. Você deve instalar
90 também ou o pacote openssh-clients, ou o openssh-server, ou ambos.
93 Summary: OpenSSH Secure Shell protocol clients
94 Summary(es): Clientes de OpenSSH
95 Summary(pl): Klienci protoko³u Secure Shell
96 Summary(pt_BR): Clientes do OpenSSH
98 Group: Applications/Networking
99 Obsoletes: ssh-clients
100 Requires: %{name} = %{version}
103 Ssh (Secure Shell) a program for logging into a remote machine and for
104 executing commands in a remote machine. It is intended to replace
105 rlogin and rsh, and provide secure encrypted communications between
106 two untrusted hosts over an insecure network. X11 connections and
107 arbitrary TCP/IP ports can also be forwarded over the secure channel.
109 OpenSSH is OpenBSD's rework of the last free version of SSH, bringing
110 it up to date in terms of security and features, as well as removing
111 all patented algorithms to seperate libraries (OpenSSL).
113 This package includes the clients necessary to make encrypted
114 connections to SSH servers.
116 %description clients -l es
117 Este paquete incluye los clientes que se necesitan para hacer
118 conexiones codificadas con servidores SSH.
120 %description clients -l pl
121 Ssh (Secure Shell) to program s³u¿±cy do logowania siê na zdaln±
122 maszynê i uruchamiania na niej aplikacji. W zamierzeniu openssh ma
123 zast±piæ rlogin, rsh i dostarczyæ bezpieczne, szyfrowane po³±czenie
124 pomiedzy dwoma hostami.
126 Ten pakiet zawiera klientów s³u¿±cych do ³±czenia siê z serwerami SSH.
128 %description clients -l pt_BR
129 Esse pacote inclui os clientes necessários para fazer conexões
130 encriptadas com servidores SSH.
133 Summary: OpenSSH Secure Shell protocol server (sshd)
134 Summary(es): Servidor OpenSSH para comunicaciones codificadas
135 Summary(pl): Serwer protoko³u Secure Shell (sshd)
136 Summary(pt_BR): Servidor OpenSSH para comunicações encriptadas
138 Requires: chkconfig >= 0.9
139 Group: Networking/Daemons
140 Obsoletes: ssh-server
144 Prereq: /sbin/chkconfig
145 Prereq: %{name} = %{version}
148 Ssh (Secure Shell) a program for logging into a remote machine and for
149 executing commands in a remote machine. It is intended to replace
150 rlogin and rsh, and provide secure encrypted communications between
151 two untrusted hosts over an insecure network. X11 connections and
152 arbitrary TCP/IP ports can also be forwarded over the secure channel.
154 OpenSSH is OpenBSD's rework of the last free version of SSH, bringing
155 it up to date in terms of security and features, as well as removing
156 all patented algorithms to seperate libraries (OpenSSL).
158 This package contains the secure shell daemon. The sshd is the server
159 part of the secure shell protocol and allows ssh clients to connect to
162 %description server -l es
163 Este paquete contiene el servidor SSH. sshd es la parte servidor del
164 protocolo secure shell y permite que clientes ssh se conecten a su
167 %description server -l pl
168 Ssh (Secure Shell) to program s³u¿±cy do logowania siê na zdaln±
169 maszynê i uruchamiania na niej aplikacji. W zamierzeniu openssh ma
170 zast±piæ rlogin, rsh i dostarczyæ bezpieczne, szyfrowane po³±czenie
171 pomiedzy dwoma hostami.
173 Ten pakiet zawiera serwer sshd (do którego mog± ³±czyæ siê klienci
176 %description server -l pt_BR
177 Esse pacote contém o servidor SSH. O sshd é a parte servidor do
178 protocolo secure shell e permite que clientes ssh se conectem ao seu
181 %package gnome-askpass
182 Summary: OpenSSH GNOME passphrase dialog
183 Summary(es): Diálogo para introducción de passphrase para GNOME
184 Summary(pl): Odpytywacz has³a OpenSSH dla GNOME
185 Summary(pt_BR): Diálogo para entrada de passphrase para GNOME
186 Group: Applications/Networking
187 Requires: %{name} = %{version}
188 Obsoletes: ssh-extras
189 Obsoletes: ssh-askpass
190 Obsoletes: openssh-askpass
192 %description gnome-askpass
193 Ssh (Secure Shell) a program for logging into a remote machine and for
194 executing commands in a remote machine. It is intended to replace
195 rlogin and rsh, and provide secure encrypted communications between
196 two untrusted hosts over an insecure network. X11 connections and
197 arbitrary TCP/IP ports can also be forwarded over the secure channel.
199 OpenSSH is OpenBSD's rework of the last free version of SSH, bringing
200 it up to date in terms of security and features, as well as removing
201 all patented algorithms to seperate libraries (OpenSSL).
203 This package contains the GNOME passphrase dialog.
205 %description gnome-askpass -l es
206 Este paquete contiene un programa que abre una caja de diálogo para
207 entrada de passphrase en GNOME.
209 %description gnome-askpass -l pl
210 Ssh (Secure Shell) to program s³u¿±cy do logowania siê na zdaln±
211 maszynê i uruchamiania na niej aplikacji. W zamierzeniu openssh ma
212 zast±piæ rlogin, rsh i dostarczyæ bezpieczne, szyfrowane po³±czenie
213 pomiedzy dwoma hostami.
215 Ten pakiet zawiera ,,odpytywacz has³a'' dla GNOME.
217 %description gnome-askpass -l pt_BR
218 Esse pacote contém um programa que abre uma caixa de diálogo para
219 entrada de passphrase no GNOME.
232 %{!?_without_gnome:--with-gnome-askpass} \
235 --with-md5-passwords \
236 --with-ipaddr-display \
239 --with-tcp-wrappers \
240 --with-pid-dir=%{_localstatedir}/run
242 echo '#define LOGIN_PROGRAM "/bin/login"' >>config.h
246 %{!?_without_gnome:cd contrib && %{__cc} %{rpmcflags} `gnome-config --cflags gnome gnomeui gtk` } \
247 %{!?_without_gnome:gnome-ssh-askpass.c -o gnome-ssh-askpass } \
248 %{!?_without_gnome:`gnome-config --libs gnome gnomeui gtk` }
251 rm -rf $RPM_BUILD_ROOT
252 install -d $RPM_BUILD_ROOT{%{_sysconfdir},/etc/{pam.d,rc.d/init.d,sysconfig,security}}
254 %{__make} install DESTDIR="$RPM_BUILD_ROOT"
256 install %{SOURCE4} $RPM_BUILD_ROOT/etc/pam.d/sshd
257 install %{SOURCE6} $RPM_BUILD_ROOT/etc/pam.d/passwdssh
258 install %{SOURCE5} $RPM_BUILD_ROOT/etc/sysconfig/sshd
259 install %{SOURCE3} $RPM_BUILD_ROOT/etc/rc.d/init.d/sshd
260 install %{SOURCE2} $RPM_BUILD_ROOT%{_sysconfdir}/ssh_config
261 install %{SOURCE1} $RPM_BUILD_ROOT%{_sysconfdir}/sshd_config
262 install -d $RPM_BUILD_ROOT%{_libexecdir}/ssh
263 %{!?_without_gnome:install contrib/gnome-ssh-askpass $RPM_BUILD_ROOT%{_libexecdir}/ssh/ssh-askpass}
265 rm -f $RPM_BUILD_ROOT%{_mandir}/man1/slogin.1
266 echo ".so ssh.1" > $RPM_BUILD_ROOT%{_mandir}/man1/slogin.1
268 gzip -9nf *.RNG TODO README OVERVIEW CREDITS Change*
270 touch $RPM_BUILD_ROOT/etc/security/blacklist.sshd
273 rm -rf $RPM_BUILD_ROOT
276 /sbin/chkconfig --add sshd
277 if [ -f /var/lock/subsys/sshd ]; then
278 /etc/rc.d/init.d/sshd restart 1>&2
280 echo "Run \"/etc/rc.d/init.d/sshd start\" to start openssh daemon."
282 if ! grep ssh /etc/security/passwd.conf >/dev/null 2>&1 ; then
283 echo "ssh" >> /etc/security/passwd.conf
287 if [ "$1" = "0" ]; then
288 if [ -f /var/lock/subsys/sshd ]; then
289 /etc/rc.d/init.d/sshd stop 1>&2
291 /sbin/chkconfig --del sshd
295 %defattr(644,root,root,755)
297 %attr(755,root,root) %{_bindir}/ssh-key*
298 %{_mandir}/man1/ssh-key*.1*
302 %defattr(644,root,root,755)
303 %attr(0755,root,root) %{_bindir}/ssh
304 %attr(0755,root,root) %{_bindir}/slogin
305 %attr(0755,root,root) %{_bindir}/sftp
306 %attr(0755,root,root) %{_bindir}/ssh-agent
307 %attr(0755,root,root) %{_bindir}/ssh-add
308 %attr(755,root,root) %{_bindir}/scp
309 %{_mandir}/man1/scp.1*
310 %{_mandir}/man1/ssh.1*
311 %{_mandir}/man1/slogin.1*
312 %{_mandir}/man1/sftp.1*
313 %{_mandir}/man1/ssh-agent.1*
314 %{_mandir}/man1/ssh-add.1*
315 %config(noreplace) %verify(not md5 size mtime) %{_sysconfdir}/ssh_config
318 %defattr(644,root,root,755)
319 %attr(755,root,root) %{_sbindir}/sshd
320 %attr(755,root,root) %{_libexecdir}/sftp-server
322 %{_mandir}/man8/sshd.8*
323 %{_mandir}/man8/sftp-server.8*
324 %attr(640,root,root) %config(noreplace) %verify(not md5 size mtime) %{_sysconfdir}/sshd_config
325 %attr(640,root,root) %config(noreplace) %verify(not md5 size mtime) /etc/pam.d/sshd
326 %attr(640,root,root) %{_sysconfdir}/moduli
327 %attr(754,root,root) /etc/rc.d/init.d/sshd
328 %attr(640,root,root) %config(noreplace) %verify(not md5 size mtime) /etc/sysconfig/sshd
329 %attr(640,root,root) %config(noreplace) %verify(not md5 size mtime) /etc/security/blacklist.sshd
331 %{!?_without_gnome:%files gnome-askpass}
332 %{!?_without_gnome:%defattr(644,root,root,755)}
333 %{!?_without_gnome:%dir %{_libexecdir}/ssh}
334 %{!?_without_gnome:%attr(755,root,root) %{_libexecdir}/ssh/ssh-askpass}