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
9 Summary(ru): OpenSSH - Ó×ÏÂÏÄÎÁÑ ÒÅÁÌÉÚÁÃÉÑ ÐÒÏÔÏËÏÌÁ Secure Shell (SSH)
10 Summary(uk): OpenSSH - צÌØÎÁ ÒÅÁ̦ÚÁÃ¦Ñ ÐÒÏÔÏËÏÌÕ Secure Shell (SSH)
15 Group: Applications/Networking
16 Source0: ftp://ftp.ca.openbsd.org/pub/OpenBSD/OpenSSH/portable/%{name}-%{version}.tar.gz
17 Source1: %{name}d.conf
19 Source3: %{name}d.init
20 Source4: %{name}d.pamd
21 Source5: %{name}.sysconfig
23 Patch0: %{name}-no_libnsl.patch
24 Patch1: %{name}-set_12.patch
25 Patch2: %{name}-linux-ipv6.patch
26 URL: http://www.openssh.com/
27 BuildRequires: XFree86-devel
28 BuildRequires: autoconf
29 BuildRequires: automake
30 %{!?_without_gnome:BuildRequires: gnome-libs-devel}
31 BuildRequires: openssl-devel >= 0.9.6a
32 BuildRequires: pam-devel
33 BuildRequires: zlib-devel
34 BuildRequires: libwrap-devel
36 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
40 %define _sysconfdir /etc/ssh
41 %define _libexecdir %{_libdir}/%{name}
44 Ssh (Secure Shell) a program for logging into a remote machine and for
45 executing commands in a remote machine. It is intended to replace
46 rlogin and rsh, and provide secure encrypted communications between
47 two untrusted hosts over an insecure network. X11 connections and
48 arbitrary TCP/IP ports can also be forwarded over the secure channel.
50 OpenSSH is OpenBSD's rework of the last free version of SSH, bringing
51 it up to date in terms of security and features, as well as removing
52 all patented algorithms to seperate libraries (OpenSSL).
54 This package includes the core files necessary for both the OpenSSH
55 client and server. To make this package useful, you should also
56 install openssh-clients, openssh-server, or both.
59 SSH es un programa para accesar y ejecutar órdenes en computadores
60 remotos. Sustituye rlogin y rsh, y suministra un canal de comunicación
61 seguro entre dos servidores en una red insegura. Conexiones X11 y
62 puertas TCP/IP arbitrárias también pueden ser usadas por el canal
65 OpenSSH es el resultado del trabajo del equipo de OpenBSD para
66 continuar la última versión gratuita de SSH, actualizándolo en
67 términos de seguridad y recursos,así también eliminando todos los
68 algoritmos patentados y colocándolos en bibliotecas separadas
71 Este paquete contiene "port" para Linux de OpenSSH. Se debe instalar
72 también el paquete openssh-clients u openssh-server o ambos.
75 Ssh (Secure Shell) to program s³u¿±cy do logowania siê na zdaln±
76 maszynê i uruchamiania na niej aplikacji. W zamierzeniu openssh ma
77 zast±piæ rlogin, rsh i dostarczyæ bezpieczne, szyfrowane po³±czenie
78 pomiedzy dwoma hostami.
81 SSH é um programa para acessar e executar comandos em máquinas
82 remotas. Ele substitui rlogin e rsh, e provem um canal de comunicação
83 seguro entre dois hosts em uma rede insegura. Conexões X11 e portas
84 TCP/IP arbitrárias também podem ser usadas pelo canal seguro.
86 OpenSSH é o resultado do trabalho da equipe do OpenBSD em continuar a
87 última versão gratuita do SSH, atualizando-o em termos de segurança e
88 recursos, assim como removendo todos os algoritmos patenteados e
89 colocando-os em bibliotecas separadas (OpenSSL).
91 Esse pacote contém o "port" pra Linux do OpenSSH. Você deve instalar
92 também ou o pacote openssh-clients, ou o openssh-server, ou ambos.
95 Ssh (Secure Shell) - ÜÔÏ ÐÒÏÇÒÁÍÍÁ ÄÌÑ "ÚÁÈÏÄÁ" (login) ÎÁ ÕÄÁÌÅÎÎÕÀ
96 ÍÁÛÉÎÕ É ÄÌÑ ×ÙÐÏÌÎÅÎÉÑ ËÏÍÁÎÄ ÎÁ ÕÄÁÌÅÎÎÏÊ ÍÁÛÉÎÅ. ïÎÁ ÐÒÅÄÎÁÚÎÁÞÅÎÁ
97 ÄÌÑ ÚÁÍÅÎÙ rlogin É rsh É ÏÂÅÓÐÅÞÉ×ÁÅÔ ÂÅÚÏÐÁÓÎÕÀ ÛÉÆÒÏ×ÁÎÎÕÀ
98 ËÏÍÍÕÎÉËÁÃÉÀ ÍÅÖÄÕ Ä×ÕÍÑ ÈÏÓÔÁÍÉ × ÓÅÔÉ, Ñ×ÌÑÀÝÅÊÓÑ ÎÅÂÅÚÏÐÁÓÎÏÊ.
99 óÏÅÄÉÎÅÎÉÑ X11 É ÌÀÂÙÅ ÐÏÒÔÙ TCP/IP ÍÏÇÕÔ ÔÁËÖÅ ÂÙÔØ ÐÒÏ×ÅÄÅÎÙ ÞÅÒÅÚ
102 OpenSSH - ÜÔÏ ÐÅÒÅÄÅÌËÁ ËÏÍÁÎÄÏÊ ÒÁÚÒÁÂÏÔÞÉËÏ× OpenBSD ÐÏÓÌÅÄÎÅÊ
103 Ó×ÏÂÏÄÎÏÊ ×ÅÒÓÉÉ SSH, ÄÏ×ÅÄÅÎÎÁÑ ÄÏ ÓÏ×ÒÅÍÅÎÎÏÇÏ ÓÏÓÔÏÑÎÉÑ × ÔÅÒÍÉÎÁÈ
104 ÕÒÏ×ÎÑ ÂÅÚÏÐÁÓÎÏÓÔÉ É ÐÏÄÄÅÒÖÉ×ÁÅÍÙÈ ×ÏÚÍÏÖÎÏÓÔÅÊ. ÷ÓÅ ÐÁÔÅÎÔÏ×ÁÎÎÙÅ
105 ÁÌÇÏÒÉÔÍÙ ×ÙÎÅÓÅÎÙ × ÏÔÄÅÌØÎÙÅ ÂÉÂÌÉÏÔÅËÉ (OpenSSL).
107 üÔÏÔ ÐÁËÅÔ ÓÏÄÅÒÖÉÔ ÆÁÊÌÙ, ÎÅÏÂÈÏÄÉÍÙÅ ËÁË ÄÌÑ ËÌÉÅÎÔÁ, ÔÁË É ÄÌÑ
108 ÓÅÒ×ÅÒÁ OpenSSH. ÷ÁÍ ÎÕÖÎÏ ÂÕÄÅÔ ÕÓÔÁÎÏ×ÉÔØ ÅÝÅ openssh-clients,
109 openssh-server, ÉÌÉ ÏÂÁ ÐÁËÅÔÁ.
112 Ssh (Secure Shell) - ÃÅ ÐÒÏÇÒÁÍÁ ÄÌÑ "ÚÁÈÏÄÕ" (login) ÄÏ ×¦ÄÄÁÌÅÎϧ
113 ÍÁÛÉÎÉ ÔÁ ÄÌÑ ×ÉËÏÎÁÎÎÑ ËÏÍÁÎÄ ÎÁ צÄÄÁÌÅÎ¦Ê ÍÁÛÉΦ. ÷ÏÎÁ ÐÒÉÚÎÁÞÅÎÁ
114 ÄÌÑ ÚÁͦÎÉ rlogin ÔÁ rsh ¦ ÚÁÂÅÚÐÅÞÕ¤ ÂÅÚÐÅÞÎÕ ÛÉÆÒÏ×ÁÎÕ ËÏÍÕΦËÁæÀ
115 Í¦Ö Ä×ÏÍÁ ÈÏÓÔÁÍÉ × ÍÅÒÅÖ¦, ÑËÁ ÎÅ ¤ ÂÅÚÐÅÞÎÏÀ. ú'¤ÄÎÁÎÎÑ X11 ÔÁ
116 ÄÏצÌØΦ ÐÏÒÔÉ TCP/IP ÍÏÖÕÔØ ÔÁËÏÖ ÂÕÔÉ ÐÒÏ×ÅÄÅΦ ÞÅÒÅÚ ÂÅÚÐÅÞÎÉÊ
119 OpenSSH - ÃÅ ÐÅÒÅÒÏÂËÁ ËÏÍÁÎÄÏÀ ÒÏÚÒÏÂÎÉË¦× OpenBSD ÏÓÔÁÎÎØϧ צÌØÎϧ
120 ×ÅÒÓ¦§ SSH, ÄÏ×ÅÄÅÎÁ ÄÏ ÓÕÞÁÓÎÏÇÏ ÓÔÁÎÕ × ÔÅÒͦÎÁÈ Ò¦×ÎÑ ÂÅÚÐÅËÉ ÔÁ
121 ЦÄÔÒÉÍÕ×ÁÎÉÈ ÍÏÖÌÉ×ÏÓÔÅÊ. ÷Ó¦ ÐÁÔÅÎÔÏ×ÁΦ ÁÌÇÏÒÉÔÍÉ ×ÉÎÅÓÅΦ ÄÏ
122 ÏËÒÅÍÉÈ Â¦Â̦ÏÔÅË (OpenSSL).
124 ãÅÊ ÐÁËÅÔ Í¦ÓÔÉÔØ ÆÁÊÌÉ, ÎÅÏÂȦÄΦ ÑË ÄÌÑ Ë̦¤ÎÔÁ, ÔÁË ¦ ÄÌÑ ÓÅÒ×ÅÒÁ
125 OpenSSH. ÷ÁÍ ÐÏÔÒ¦ÂÎÏ ÂÕÄÅ ÝÅ ×ÓÔÁÎÏ×ÉÔÉ openssh-clients,
126 openssh-server, ÞÉ ÏÂÉÄ×Á ÐÁËÅÔÉ.
129 Summary: OpenSSH Secure Shell protocol clients
130 Summary(es): Clientes de OpenSSH
131 Summary(pl): Klienci protoko³u Secure Shell
132 Summary(pt_BR): Clientes do OpenSSH
133 Summary(ru): OpenSSH - ËÌÉÅÎÔÙ ÐÒÏÔÏËÏÌÁ Secure Shell
134 Summary(uk): OpenSSH - Ë̦¤ÎÔÉ ÐÒÏÔÏËÏÌÕ Secure Shell
136 Group: Applications/Networking
137 Obsoletes: ssh-clients
138 Requires: %{name} = %{version}
141 Ssh (Secure Shell) a program for logging into a remote machine and for
142 executing commands in a remote machine. It is intended to replace
143 rlogin and rsh, and provide secure encrypted communications between
144 two untrusted hosts over an insecure network. X11 connections and
145 arbitrary TCP/IP ports can also be forwarded over the secure channel.
147 OpenSSH is OpenBSD's rework of the last free version of SSH, bringing
148 it up to date in terms of security and features, as well as removing
149 all patented algorithms to seperate libraries (OpenSSL).
151 This package includes the clients necessary to make encrypted
152 connections to SSH servers.
154 %description clients -l es
155 Este paquete incluye los clientes que se necesitan para hacer
156 conexiones codificadas con servidores SSH.
158 %description clients -l pl
159 Ssh (Secure Shell) to program s³u¿±cy do logowania siê na zdaln±
160 maszynê i uruchamiania na niej aplikacji. W zamierzeniu openssh ma
161 zast±piæ rlogin, rsh i dostarczyæ bezpieczne, szyfrowane po³±czenie
162 pomiedzy dwoma hostami.
164 Ten pakiet zawiera klientów s³u¿±cych do ³±czenia siê z serwerami SSH.
166 %description clients -l pt_BR
167 Esse pacote inclui os clientes necessários para fazer conexões
168 encriptadas com servidores SSH.
170 %description clients -l ru
171 Ssh (Secure Shell) - ÜÔÏ ÐÒÏÇÒÁÍÍÁ ÄÌÑ "ÚÁÈÏÄÁ" (login) ÎÁ ÕÄÁÌÅÎÎÕÀ
172 ÍÁÛÉÎÕ É ÄÌÑ ×ÙÐÏÌÎÅÎÉÑ ËÏÍÁÎÄ ÎÁ ÕÄÁÌÅÎÎÏÊ ÍÁÛÉÎÅ.
174 üÔÏÔ ÐÁËÅÔ ÓÏÄÅÒÖÉÔ ÐÒÏÇÒÁÍÍÙ-ËÌÉÅÎÔÙ, ÎÅÏÂÈÏÄÉÍÙÅ ÄÌÑ ÕÓÔÁÎÏ×ÌÅÎÉÑ
175 ÚÁÛÉÆÒÏ×ÁÎÎÙÈ ÓÏÅÄÉÎÅÎÉÊ Ó ÓÅÒ×ÅÒÁÍÉ SSH.
177 %description clients -l uk
178 Ssh (Secure Shell) - ÃÅ ÐÒÏÇÒÁÍÁ ÄÌÑ "ÚÁÈÏÄÕ" (login) ÄÏ ×¦ÄÄÁÌÅÎϧ
179 ÍÁÛÉÎÉ ÔÁ ÄÌÑ ×ÉËÏÎÁÎÎÑ ËÏÍÁÎÄ ÎÁ צÄÄÁÌÅÎ¦Ê ÍÁÛÉΦ.
181 ãÅÊ ÐÁËÅÔ Í¦ÓÔÉÔØ ÐÒÏÇÒÁÍÉ-Ë̦¤ÎÔÉ, ÎÅÏÂȦÄΦ ÄÌÑ ×ÓÔÁÎÏ×ÌÅÎÎÑ
182 ÚÁÛÉÆÒÏ×ÁÎÉÈ Ú'¤ÄÎÁÎØ Ú ÓÅÒ×ÅÒÁÍÉ SSH.
185 Summary: OpenSSH Secure Shell protocol server (sshd)
186 Summary(es): Servidor OpenSSH para comunicaciones codificadas
187 Summary(pl): Serwer protoko³u Secure Shell (sshd)
188 Summary(pt_BR): Servidor OpenSSH para comunicações encriptadas
189 Summary(ru): OpenSSH - ÓÅÒ×ÅÒ ÐÒÏÔÏËÏÌÁ Secure Shell (sshd)
190 Summary(uk): OpenSSH - ÓÅÒ×ÅÒ ÐÒÏÔÏËÏÌÕ Secure Shell (sshd)
192 Requires: chkconfig >= 0.9
193 Group: Networking/Daemons
194 Obsoletes: ssh-server
198 Prereq: /sbin/chkconfig
199 Prereq: %{name} = %{version}
202 Ssh (Secure Shell) a program for logging into a remote machine and for
203 executing commands in a remote machine. It is intended to replace
204 rlogin and rsh, and provide secure encrypted communications between
205 two untrusted hosts over an insecure network. X11 connections and
206 arbitrary TCP/IP ports can also be forwarded over the secure channel.
208 OpenSSH is OpenBSD's rework of the last free version of SSH, bringing
209 it up to date in terms of security and features, as well as removing
210 all patented algorithms to seperate libraries (OpenSSL).
212 This package contains the secure shell daemon. The sshd is the server
213 part of the secure shell protocol and allows ssh clients to connect to
216 %description server -l es
217 Este paquete contiene el servidor SSH. sshd es la parte servidor del
218 protocolo secure shell y permite que clientes ssh se conecten a su
221 %description server -l pl
222 Ssh (Secure Shell) to program s³u¿±cy do logowania siê na zdaln±
223 maszynê i uruchamiania na niej aplikacji. W zamierzeniu openssh ma
224 zast±piæ rlogin, rsh i dostarczyæ bezpieczne, szyfrowane po³±czenie
225 pomiedzy dwoma hostami.
227 Ten pakiet zawiera serwer sshd (do którego mog± ³±czyæ siê klienci
230 %description server -l pt_BR
231 Esse pacote contém o servidor SSH. O sshd é a parte servidor do
232 protocolo secure shell e permite que clientes ssh se conectem ao seu
235 %description server -l ru
236 Ssh (Secure Shell) - ÜÔÏ ÐÒÏÇÒÁÍÍÁ ÄÌÑ "ÚÁÈÏÄÁ" (login) ÎÁ ÕÄÁÌÅÎÎÕÀ
237 ÍÁÛÉÎÕ É ÄÌÑ ×ÙÐÏÌÎÅÎÉÑ ËÏÍÁÎÄ ÎÁ ÕÄÁÌÅÎÎÏÊ ÍÁÛÉÎÅ.
239 üÔÏÔ ÐÁËÅÔ ÓÏÄÅÒÖÉÔ sshd - "ÄÅÍÏÎ" Secure Shell. sshd - ÜÔÏ ÓÅÒ×ÅÒÎÁÑ
240 ÞÁÓÔØ ÐÒÏÔÏËÏÌÁ Secure Shell, ÐÏÚ×ÏÌÑÀÝÁÑ ËÌÉÅÎÔÁÍ ssh ÓÏÅÄÉÎÑÔØÓÑ Ó
243 %description server -l uk
244 Ssh (Secure Shell) - ÃÅ ÐÒÏÇÒÁÍÁ ÄÌÑ "ÚÁÈÏÄÕ" (login) ÄÏ ×¦ÄÄÁÌÅÎϧ
245 ÍÁÛÉÎÉ ÔÁ ÄÌÑ ×ÉËÏÎÁÎÎÑ ËÏÍÁÎÄ ÎÁ צÄÄÁÌÅÎ¦Ê ÍÁÛÉΦ.
247 ãÅÊ ÐÁËÅÔ Í¦ÓÔÉÔØ sshd - "ÄÅÍÏÎ" Secure Shell. sshd - ÃÅ ÓÅÒ×ÅÒÎÁ
248 ÞÁÓÔÉÎÁ ÐÒÏÔÏËÏÌÕ Secure Shell, ÑËÁ ÄÏÚ×ÏÌѤ Ë̦¤ÎÔÁÍ ssh Ú×'ÑÚÕ×ÁÔÉÓØ
251 %package gnome-askpass
252 Summary: OpenSSH GNOME passphrase dialog
253 Summary(es): Diálogo para introducción de passphrase para GNOME
254 Summary(pl): Odpytywacz has³a OpenSSH dla GNOME
255 Summary(pt_BR): Diálogo para entrada de passphrase para GNOME
256 Summary(ru): OpenSSH - ÄÉÁÌÏÇ ××ÏÄÁ ËÌÀÞÅ×ÏÊ ÆÒÁÚÙ (passphrase) ÄÌÑ GNOME
257 Summary(uk): OpenSSH - ĦÁÌÏÇ ××ÏÄÕ ËÌÀÞÏ×ϧ ÆÒÁÚÉ (passphrase) ÄÌÑ GNOME
258 Group: Applications/Networking
259 Requires: %{name} = %{version}
260 Obsoletes: ssh-extras
261 Obsoletes: ssh-askpass
262 Obsoletes: openssh-askpass
264 %description gnome-askpass
265 Ssh (Secure Shell) a program for logging into a remote machine and for
266 executing commands in a remote machine. It is intended to replace
267 rlogin and rsh, and provide secure encrypted communications between
268 two untrusted hosts over an insecure network. X11 connections and
269 arbitrary TCP/IP ports can also be forwarded over the secure channel.
271 OpenSSH is OpenBSD's rework of the last free version of SSH, bringing
272 it up to date in terms of security and features, as well as removing
273 all patented algorithms to seperate libraries (OpenSSL).
275 This package contains the GNOME passphrase dialog.
277 %description gnome-askpass -l es
278 Este paquete contiene un programa que abre una caja de diálogo para
279 entrada de passphrase en GNOME.
281 %description gnome-askpass -l pl
282 Ssh (Secure Shell) to program s³u¿±cy do logowania siê na zdaln±
283 maszynê i uruchamiania na niej aplikacji. W zamierzeniu openssh ma
284 zast±piæ rlogin, rsh i dostarczyæ bezpieczne, szyfrowane po³±czenie
285 pomiedzy dwoma hostami.
287 Ten pakiet zawiera ,,odpytywacz has³a'' dla GNOME.
289 %description gnome-askpass -l pt_BR
290 Esse pacote contém um programa que abre uma caixa de diálogo para
291 entrada de passphrase no GNOME.
293 %description gnome-askpass -l ru
294 Ssh (Secure Shell) - ÜÔÏ ÐÒÏÇÒÁÍÍÁ ÄÌÑ "ÚÁÈÏÄÁ" (login) ÎÁ ÕÄÁÌÅÎÎÕÀ
295 ÍÁÛÉÎÕ É ÄÌÑ ×ÙÐÏÌÎÅÎÉÑ ËÏÍÁÎÄ ÎÁ ÕÄÁÌÅÎÎÏÊ ÍÁÛÉÎÅ.
297 üÔÏÔ ÐÁËÅÔ ÓÏÄÅÒÖÉÔ ÄÉÁÌÏÇ ××ÏÄÁ ËÌÀÞÅ×ÏÊ ÆÒÁÚÙ ÄÌÑ ÉÓÐÏÌØÚÏ×ÁÎÉÑ ÐÏÄ
300 %description gnome-askpass -l uk
301 Ssh (Secure Shell) - ÃÅ ÐÒÏÇÒÁÍÁ ÄÌÑ "ÚÁÈÏÄÕ" (login) ÄÏ ×¦ÄÄÁÌÅÎϧ
302 ÍÁÛÉÎÉ ÔÁ ÄÌÑ ×ÉËÏÎÁÎÎÑ ËÏÍÁÎÄ ÎÁ צÄÄÁÌÅÎ¦Ê ÍÁÛÉΦ.
304 ãÅÊ ÐÁËÅÔ Í¦ÓÔÉÔØ Ä¦ÁÌÏÇ ××ÏÄÕ ËÌÀÞÏ×ϧ ÆÒÁÚÉ ÄÌÑ ×ÉËÏÒÉÓÔÁÎÎÑ Ð¦Ä
318 %{!?_without_gnome:--with-gnome-askpass} \
321 --with-md5-passwords \
322 --with-ipaddr-display \
325 --with-tcp-wrappers \
326 --with-pid-dir=%{_localstatedir}/run
328 echo '#define LOGIN_PROGRAM "/bin/login"' >>config.h
332 %{!?_without_gnome:cd contrib && %{__cc} %{rpmcflags} `gnome-config --cflags gnome gnomeui gtk` } \
333 %{!?_without_gnome:gnome-ssh-askpass.c -o gnome-ssh-askpass } \
334 %{!?_without_gnome:`gnome-config --libs gnome gnomeui gtk` }
337 rm -rf $RPM_BUILD_ROOT
338 install -d $RPM_BUILD_ROOT{%{_sysconfdir},/etc/{pam.d,rc.d/init.d,sysconfig,security}}
340 %{__make} install DESTDIR="$RPM_BUILD_ROOT"
342 install %{SOURCE4} $RPM_BUILD_ROOT/etc/pam.d/sshd
343 install %{SOURCE6} $RPM_BUILD_ROOT/etc/pam.d/passwdssh
344 install %{SOURCE5} $RPM_BUILD_ROOT/etc/sysconfig/sshd
345 install %{SOURCE3} $RPM_BUILD_ROOT/etc/rc.d/init.d/sshd
346 install %{SOURCE2} $RPM_BUILD_ROOT%{_sysconfdir}/ssh_config
347 install %{SOURCE1} $RPM_BUILD_ROOT%{_sysconfdir}/sshd_config
348 install -d $RPM_BUILD_ROOT%{_libexecdir}/ssh
349 %{!?_without_gnome:install contrib/gnome-ssh-askpass $RPM_BUILD_ROOT%{_libexecdir}/ssh/ssh-askpass}
351 rm -f $RPM_BUILD_ROOT%{_mandir}/man1/slogin.1
352 echo ".so ssh.1" > $RPM_BUILD_ROOT%{_mandir}/man1/slogin.1
354 touch $RPM_BUILD_ROOT/etc/security/blacklist.sshd
357 rm -rf $RPM_BUILD_ROOT
360 /sbin/chkconfig --add sshd
361 if [ -f /var/lock/subsys/sshd ]; then
362 /etc/rc.d/init.d/sshd restart 1>&2
364 echo "Run \"/etc/rc.d/init.d/sshd start\" to start openssh daemon."
366 if ! grep ssh /etc/security/passwd.conf >/dev/null 2>&1 ; then
367 echo "ssh" >> /etc/security/passwd.conf
371 if [ "$1" = "0" ]; then
372 if [ -f /var/lock/subsys/sshd ]; then
373 /etc/rc.d/init.d/sshd stop 1>&2
375 /sbin/chkconfig --del sshd
379 %defattr(644,root,root,755)
380 %doc *.RNG TODO README OVERVIEW CREDITS Change*
381 %attr(755,root,root) %{_bindir}/ssh-key*
382 %{_mandir}/man1/ssh-key*.1*
386 %defattr(644,root,root,755)
387 %attr(0755,root,root) %{_bindir}/ssh
388 %attr(0755,root,root) %{_bindir}/slogin
389 %attr(0755,root,root) %{_bindir}/sftp
390 %attr(0755,root,root) %{_bindir}/ssh-agent
391 %attr(0755,root,root) %{_bindir}/ssh-add
392 %attr(0755,root,root) %{_bindir}/scp
393 %config(noreplace) %verify(not md5 size mtime) %{_sysconfdir}/ssh_config
394 %{_mandir}/man1/scp.1*
395 %{_mandir}/man1/ssh.1*
396 %{_mandir}/man1/slogin.1*
397 %{_mandir}/man1/sftp.1*
398 %{_mandir}/man1/ssh-agent.1*
399 %{_mandir}/man1/ssh-add.1*
400 %{_mandir}/man5/ssh_config.5*
403 %defattr(644,root,root,755)
404 %attr(755,root,root) %{_sbindir}/sshd
405 %attr(755,root,root) %{_libexecdir}/sftp-server
407 %{_mandir}/man8/sshd.8*
408 %{_mandir}/man8/sftp-server.8*
409 %{_mandir}/man5/sshd_config.5*
410 %attr(640,root,root) %config(noreplace) %verify(not md5 size mtime) %{_sysconfdir}/sshd_config
411 %attr(640,root,root) %config(noreplace) %verify(not md5 size mtime) /etc/pam.d/sshd
412 %attr(640,root,root) %{_sysconfdir}/moduli
413 %attr(754,root,root) /etc/rc.d/init.d/sshd
414 %attr(640,root,root) %config(noreplace) %verify(not md5 size mtime) /etc/sysconfig/sshd
415 %attr(640,root,root) %config(noreplace) %verify(not md5 size mtime) /etc/security/blacklist.sshd
417 %{!?_without_gnome:%files gnome-askpass}
418 %{!?_without_gnome:%defattr(644,root,root,755)}
419 %{!?_without_gnome:%dir %{_libexecdir}/ssh}
420 %{!?_without_gnome:%attr(755,root,root) %{_libexecdir}/ssh/ssh-askpass}