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