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 Patch3: openssh-pam-limits.patch
27 URL: http://www.openssh.com/
28 BuildRequires: XFree86-devel
29 BuildRequires: autoconf
30 BuildRequires: automake
31 %{!?_without_gnome:BuildRequires: gnome-libs-devel}
32 BuildRequires: openssl-devel >= 0.9.6a
33 BuildRequires: pam-devel
34 BuildRequires: zlib-devel
35 BuildRequires: libwrap-devel
37 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
41 %define _sysconfdir /etc/ssh
42 %define _libexecdir %{_libdir}/%{name}
45 Ssh (Secure Shell) a program for logging into a remote machine and for
46 executing commands in a remote machine. It is intended to replace
47 rlogin and rsh, and provide secure encrypted communications between
48 two untrusted hosts over an insecure network. X11 connections and
49 arbitrary TCP/IP ports can also be forwarded over the secure channel.
51 OpenSSH is OpenBSD's rework of the last free version of SSH, bringing
52 it up to date in terms of security and features, as well as removing
53 all patented algorithms to seperate libraries (OpenSSL).
55 This package includes the core files necessary for both the OpenSSH
56 client and server. To make this package useful, you should also
57 install openssh-clients, openssh-server, or both.
60 SSH es un programa para accesar y ejecutar órdenes en computadores
61 remotos. Sustituye rlogin y rsh, y suministra un canal de comunicación
62 seguro entre dos servidores en una red insegura. Conexiones X11 y
63 puertas TCP/IP arbitrárias también pueden ser usadas por el canal
66 OpenSSH es el resultado del trabajo del equipo de OpenBSD para
67 continuar la última versión gratuita de SSH, actualizándolo en
68 términos de seguridad y recursos,así también eliminando todos los
69 algoritmos patentados y colocándolos en bibliotecas separadas
72 Este paquete contiene "port" para Linux de OpenSSH. Se debe instalar
73 también el paquete openssh-clients u openssh-server o ambos.
76 Ssh (Secure Shell) to program s³u¿±cy do logowania siê na zdaln±
77 maszynê i uruchamiania na niej aplikacji. W zamierzeniu openssh ma
78 zast±piæ rlogin, rsh i dostarczyæ bezpieczne, szyfrowane po³±czenie
79 pomiedzy dwoma hostami.
82 SSH é um programa para acessar e executar comandos em máquinas
83 remotas. Ele substitui rlogin e rsh, e provem um canal de comunicação
84 seguro entre dois hosts em uma rede insegura. Conexões X11 e portas
85 TCP/IP arbitrárias também podem ser usadas pelo canal seguro.
87 OpenSSH é o resultado do trabalho da equipe do OpenBSD em continuar a
88 última versão gratuita do SSH, atualizando-o em termos de segurança e
89 recursos, assim como removendo todos os algoritmos patenteados e
90 colocando-os em bibliotecas separadas (OpenSSL).
92 Esse pacote contém o "port" pra Linux do OpenSSH. Você deve instalar
93 também ou o pacote openssh-clients, ou o openssh-server, ou ambos.
96 Ssh (Secure Shell) - ÜÔÏ ÐÒÏÇÒÁÍÍÁ ÄÌÑ "ÚÁÈÏÄÁ" (login) ÎÁ ÕÄÁÌÅÎÎÕÀ
97 ÍÁÛÉÎÕ É ÄÌÑ ×ÙÐÏÌÎÅÎÉÑ ËÏÍÁÎÄ ÎÁ ÕÄÁÌÅÎÎÏÊ ÍÁÛÉÎÅ. ïÎÁ ÐÒÅÄÎÁÚÎÁÞÅÎÁ
98 ÄÌÑ ÚÁÍÅÎÙ rlogin É rsh É ÏÂÅÓÐÅÞÉ×ÁÅÔ ÂÅÚÏÐÁÓÎÕÀ ÛÉÆÒÏ×ÁÎÎÕÀ
99 ËÏÍÍÕÎÉËÁÃÉÀ ÍÅÖÄÕ Ä×ÕÍÑ ÈÏÓÔÁÍÉ × ÓÅÔÉ, Ñ×ÌÑÀÝÅÊÓÑ ÎÅÂÅÚÏÐÁÓÎÏÊ.
100 óÏÅÄÉÎÅÎÉÑ X11 É ÌÀÂÙÅ ÐÏÒÔÙ TCP/IP ÍÏÇÕÔ ÔÁËÖÅ ÂÙÔØ ÐÒÏ×ÅÄÅÎÙ ÞÅÒÅÚ
103 OpenSSH - ÜÔÏ ÐÅÒÅÄÅÌËÁ ËÏÍÁÎÄÏÊ ÒÁÚÒÁÂÏÔÞÉËÏ× OpenBSD ÐÏÓÌÅÄÎÅÊ
104 Ó×ÏÂÏÄÎÏÊ ×ÅÒÓÉÉ SSH, ÄÏ×ÅÄÅÎÎÁÑ ÄÏ ÓÏ×ÒÅÍÅÎÎÏÇÏ ÓÏÓÔÏÑÎÉÑ × ÔÅÒÍÉÎÁÈ
105 ÕÒÏ×ÎÑ ÂÅÚÏÐÁÓÎÏÓÔÉ É ÐÏÄÄÅÒÖÉ×ÁÅÍÙÈ ×ÏÚÍÏÖÎÏÓÔÅÊ. ÷ÓÅ ÐÁÔÅÎÔÏ×ÁÎÎÙÅ
106 ÁÌÇÏÒÉÔÍÙ ×ÙÎÅÓÅÎÙ × ÏÔÄÅÌØÎÙÅ ÂÉÂÌÉÏÔÅËÉ (OpenSSL).
108 üÔÏÔ ÐÁËÅÔ ÓÏÄÅÒÖÉÔ ÆÁÊÌÙ, ÎÅÏÂÈÏÄÉÍÙÅ ËÁË ÄÌÑ ËÌÉÅÎÔÁ, ÔÁË É ÄÌÑ
109 ÓÅÒ×ÅÒÁ OpenSSH. ÷ÁÍ ÎÕÖÎÏ ÂÕÄÅÔ ÕÓÔÁÎÏ×ÉÔØ ÅÝÅ openssh-clients,
110 openssh-server, ÉÌÉ ÏÂÁ ÐÁËÅÔÁ.
113 Ssh (Secure Shell) - ÃÅ ÐÒÏÇÒÁÍÁ ÄÌÑ "ÚÁÈÏÄÕ" (login) ÄÏ ×¦ÄÄÁÌÅÎϧ
114 ÍÁÛÉÎÉ ÔÁ ÄÌÑ ×ÉËÏÎÁÎÎÑ ËÏÍÁÎÄ ÎÁ צÄÄÁÌÅÎ¦Ê ÍÁÛÉΦ. ÷ÏÎÁ ÐÒÉÚÎÁÞÅÎÁ
115 ÄÌÑ ÚÁͦÎÉ rlogin ÔÁ rsh ¦ ÚÁÂÅÚÐÅÞÕ¤ ÂÅÚÐÅÞÎÕ ÛÉÆÒÏ×ÁÎÕ ËÏÍÕΦËÁæÀ
116 Í¦Ö Ä×ÏÍÁ ÈÏÓÔÁÍÉ × ÍÅÒÅÖ¦, ÑËÁ ÎÅ ¤ ÂÅÚÐÅÞÎÏÀ. ú'¤ÄÎÁÎÎÑ X11 ÔÁ
117 ÄÏצÌØΦ ÐÏÒÔÉ TCP/IP ÍÏÖÕÔØ ÔÁËÏÖ ÂÕÔÉ ÐÒÏ×ÅÄÅΦ ÞÅÒÅÚ ÂÅÚÐÅÞÎÉÊ
120 OpenSSH - ÃÅ ÐÅÒÅÒÏÂËÁ ËÏÍÁÎÄÏÀ ÒÏÚÒÏÂÎÉË¦× OpenBSD ÏÓÔÁÎÎØϧ צÌØÎϧ
121 ×ÅÒÓ¦§ SSH, ÄÏ×ÅÄÅÎÁ ÄÏ ÓÕÞÁÓÎÏÇÏ ÓÔÁÎÕ × ÔÅÒͦÎÁÈ Ò¦×ÎÑ ÂÅÚÐÅËÉ ÔÁ
122 ЦÄÔÒÉÍÕ×ÁÎÉÈ ÍÏÖÌÉ×ÏÓÔÅÊ. ÷Ó¦ ÐÁÔÅÎÔÏ×ÁΦ ÁÌÇÏÒÉÔÍÉ ×ÉÎÅÓÅΦ ÄÏ
123 ÏËÒÅÍÉÈ Â¦Â̦ÏÔÅË (OpenSSL).
125 ãÅÊ ÐÁËÅÔ Í¦ÓÔÉÔØ ÆÁÊÌÉ, ÎÅÏÂȦÄΦ ÑË ÄÌÑ Ë̦¤ÎÔÁ, ÔÁË ¦ ÄÌÑ ÓÅÒ×ÅÒÁ
126 OpenSSH. ÷ÁÍ ÐÏÔÒ¦ÂÎÏ ÂÕÄÅ ÝÅ ×ÓÔÁÎÏ×ÉÔÉ openssh-clients,
127 openssh-server, ÞÉ ÏÂÉÄ×Á ÐÁËÅÔÉ.
130 Summary: OpenSSH Secure Shell protocol clients
131 Summary(es): Clientes de OpenSSH
132 Summary(pl): Klienci protoko³u Secure Shell
133 Summary(pt_BR): Clientes do OpenSSH
134 Summary(ru): OpenSSH - ËÌÉÅÎÔÙ ÐÒÏÔÏËÏÌÁ Secure Shell
135 Summary(uk): OpenSSH - Ë̦¤ÎÔÉ ÐÒÏÔÏËÏÌÕ Secure Shell
137 Group: Applications/Networking
138 Obsoletes: ssh-clients
139 Requires: %{name} = %{version}
142 Ssh (Secure Shell) a program for logging into a remote machine and for
143 executing commands in a remote machine. It is intended to replace
144 rlogin and rsh, and provide secure encrypted communications between
145 two untrusted hosts over an insecure network. X11 connections and
146 arbitrary TCP/IP ports can also be forwarded over the secure channel.
148 OpenSSH is OpenBSD's rework of the last free version of SSH, bringing
149 it up to date in terms of security and features, as well as removing
150 all patented algorithms to seperate libraries (OpenSSL).
152 This package includes the clients necessary to make encrypted
153 connections to SSH servers.
155 %description clients -l es
156 Este paquete incluye los clientes que se necesitan para hacer
157 conexiones codificadas con servidores SSH.
159 %description clients -l pl
160 Ssh (Secure Shell) to program s³u¿±cy do logowania siê na zdaln±
161 maszynê i uruchamiania na niej aplikacji. W zamierzeniu openssh ma
162 zast±piæ rlogin, rsh i dostarczyæ bezpieczne, szyfrowane po³±czenie
163 pomiedzy dwoma hostami.
165 Ten pakiet zawiera klientów s³u¿±cych do ³±czenia siê z serwerami SSH.
167 %description clients -l pt_BR
168 Esse pacote inclui os clientes necessários para fazer conexões
169 encriptadas com servidores SSH.
171 %description clients -l ru
172 Ssh (Secure Shell) - ÜÔÏ ÐÒÏÇÒÁÍÍÁ ÄÌÑ "ÚÁÈÏÄÁ" (login) ÎÁ ÕÄÁÌÅÎÎÕÀ
173 ÍÁÛÉÎÕ É ÄÌÑ ×ÙÐÏÌÎÅÎÉÑ ËÏÍÁÎÄ ÎÁ ÕÄÁÌÅÎÎÏÊ ÍÁÛÉÎÅ.
175 üÔÏÔ ÐÁËÅÔ ÓÏÄÅÒÖÉÔ ÐÒÏÇÒÁÍÍÙ-ËÌÉÅÎÔÙ, ÎÅÏÂÈÏÄÉÍÙÅ ÄÌÑ ÕÓÔÁÎÏ×ÌÅÎÉÑ
176 ÚÁÛÉÆÒÏ×ÁÎÎÙÈ ÓÏÅÄÉÎÅÎÉÊ Ó ÓÅÒ×ÅÒÁÍÉ SSH.
178 %description clients -l uk
179 Ssh (Secure Shell) - ÃÅ ÐÒÏÇÒÁÍÁ ÄÌÑ "ÚÁÈÏÄÕ" (login) ÄÏ ×¦ÄÄÁÌÅÎϧ
180 ÍÁÛÉÎÉ ÔÁ ÄÌÑ ×ÉËÏÎÁÎÎÑ ËÏÍÁÎÄ ÎÁ צÄÄÁÌÅÎ¦Ê ÍÁÛÉΦ.
182 ãÅÊ ÐÁËÅÔ Í¦ÓÔÉÔØ ÐÒÏÇÒÁÍÉ-Ë̦¤ÎÔÉ, ÎÅÏÂȦÄΦ ÄÌÑ ×ÓÔÁÎÏ×ÌÅÎÎÑ
183 ÚÁÛÉÆÒÏ×ÁÎÉÈ Ú'¤ÄÎÁÎØ Ú ÓÅÒ×ÅÒÁÍÉ SSH.
186 Summary: OpenSSH Secure Shell protocol server (sshd)
187 Summary(es): Servidor OpenSSH para comunicaciones codificadas
188 Summary(pl): Serwer protoko³u Secure Shell (sshd)
189 Summary(pt_BR): Servidor OpenSSH para comunicações encriptadas
190 Summary(ru): OpenSSH - ÓÅÒ×ÅÒ ÐÒÏÔÏËÏÌÁ Secure Shell (sshd)
191 Summary(uk): OpenSSH - ÓÅÒ×ÅÒ ÐÒÏÔÏËÏÌÕ Secure Shell (sshd)
193 Requires: chkconfig >= 0.9
194 Group: Networking/Daemons
195 Obsoletes: ssh-server
199 Prereq: /sbin/chkconfig
200 Prereq: %{name} = %{version}
203 Ssh (Secure Shell) a program for logging into a remote machine and for
204 executing commands in a remote machine. It is intended to replace
205 rlogin and rsh, and provide secure encrypted communications between
206 two untrusted hosts over an insecure network. X11 connections and
207 arbitrary TCP/IP ports can also be forwarded over the secure channel.
209 OpenSSH is OpenBSD's rework of the last free version of SSH, bringing
210 it up to date in terms of security and features, as well as removing
211 all patented algorithms to seperate libraries (OpenSSL).
213 This package contains the secure shell daemon. The sshd is the server
214 part of the secure shell protocol and allows ssh clients to connect to
217 %description server -l es
218 Este paquete contiene el servidor SSH. sshd es la parte servidor del
219 protocolo secure shell y permite que clientes ssh se conecten a su
222 %description server -l pl
223 Ssh (Secure Shell) to program s³u¿±cy do logowania siê na zdaln±
224 maszynê i uruchamiania na niej aplikacji. W zamierzeniu openssh ma
225 zast±piæ rlogin, rsh i dostarczyæ bezpieczne, szyfrowane po³±czenie
226 pomiedzy dwoma hostami.
228 Ten pakiet zawiera serwer sshd (do którego mog± ³±czyæ siê klienci
231 %description server -l pt_BR
232 Esse pacote contém o servidor SSH. O sshd é a parte servidor do
233 protocolo secure shell e permite que clientes ssh se conectem ao seu
236 %description server -l ru
237 Ssh (Secure Shell) - ÜÔÏ ÐÒÏÇÒÁÍÍÁ ÄÌÑ "ÚÁÈÏÄÁ" (login) ÎÁ ÕÄÁÌÅÎÎÕÀ
238 ÍÁÛÉÎÕ É ÄÌÑ ×ÙÐÏÌÎÅÎÉÑ ËÏÍÁÎÄ ÎÁ ÕÄÁÌÅÎÎÏÊ ÍÁÛÉÎÅ.
240 üÔÏÔ ÐÁËÅÔ ÓÏÄÅÒÖÉÔ sshd - "ÄÅÍÏÎ" Secure Shell. sshd - ÜÔÏ ÓÅÒ×ÅÒÎÁÑ
241 ÞÁÓÔØ ÐÒÏÔÏËÏÌÁ Secure Shell, ÐÏÚ×ÏÌÑÀÝÁÑ ËÌÉÅÎÔÁÍ ssh ÓÏÅÄÉÎÑÔØÓÑ Ó
244 %description server -l uk
245 Ssh (Secure Shell) - ÃÅ ÐÒÏÇÒÁÍÁ ÄÌÑ "ÚÁÈÏÄÕ" (login) ÄÏ ×¦ÄÄÁÌÅÎϧ
246 ÍÁÛÉÎÉ ÔÁ ÄÌÑ ×ÉËÏÎÁÎÎÑ ËÏÍÁÎÄ ÎÁ צÄÄÁÌÅÎ¦Ê ÍÁÛÉΦ.
248 ãÅÊ ÐÁËÅÔ Í¦ÓÔÉÔØ sshd - "ÄÅÍÏÎ" Secure Shell. sshd - ÃÅ ÓÅÒ×ÅÒÎÁ
249 ÞÁÓÔÉÎÁ ÐÒÏÔÏËÏÌÕ Secure Shell, ÑËÁ ÄÏÚ×ÏÌѤ Ë̦¤ÎÔÁÍ ssh Ú×'ÑÚÕ×ÁÔÉÓØ
252 %package gnome-askpass
253 Summary: OpenSSH GNOME passphrase dialog
254 Summary(es): Diálogo para introducción de passphrase para GNOME
255 Summary(pl): Odpytywacz has³a OpenSSH dla GNOME
256 Summary(pt_BR): Diálogo para entrada de passphrase para GNOME
257 Summary(ru): OpenSSH - ÄÉÁÌÏÇ ××ÏÄÁ ËÌÀÞÅ×ÏÊ ÆÒÁÚÙ (passphrase) ÄÌÑ GNOME
258 Summary(uk): OpenSSH - ĦÁÌÏÇ ××ÏÄÕ ËÌÀÞÏ×ϧ ÆÒÁÚÉ (passphrase) ÄÌÑ GNOME
259 Group: Applications/Networking
260 Requires: %{name} = %{version}
261 Obsoletes: ssh-extras
262 Obsoletes: ssh-askpass
263 Obsoletes: openssh-askpass
265 %description gnome-askpass
266 Ssh (Secure Shell) a program for logging into a remote machine and for
267 executing commands in a remote machine. It is intended to replace
268 rlogin and rsh, and provide secure encrypted communications between
269 two untrusted hosts over an insecure network. X11 connections and
270 arbitrary TCP/IP ports can also be forwarded over the secure channel.
272 OpenSSH is OpenBSD's rework of the last free version of SSH, bringing
273 it up to date in terms of security and features, as well as removing
274 all patented algorithms to seperate libraries (OpenSSL).
276 This package contains the GNOME passphrase dialog.
278 %description gnome-askpass -l es
279 Este paquete contiene un programa que abre una caja de diálogo para
280 entrada de passphrase en GNOME.
282 %description gnome-askpass -l pl
283 Ssh (Secure Shell) to program s³u¿±cy do logowania siê na zdaln±
284 maszynê i uruchamiania na niej aplikacji. W zamierzeniu openssh ma
285 zast±piæ rlogin, rsh i dostarczyæ bezpieczne, szyfrowane po³±czenie
286 pomiedzy dwoma hostami.
288 Ten pakiet zawiera ,,odpytywacz has³a'' dla GNOME.
290 %description gnome-askpass -l pt_BR
291 Esse pacote contém um programa que abre uma caixa de diálogo para
292 entrada de passphrase no GNOME.
294 %description gnome-askpass -l ru
295 Ssh (Secure Shell) - ÜÔÏ ÐÒÏÇÒÁÍÍÁ ÄÌÑ "ÚÁÈÏÄÁ" (login) ÎÁ ÕÄÁÌÅÎÎÕÀ
296 ÍÁÛÉÎÕ É ÄÌÑ ×ÙÐÏÌÎÅÎÉÑ ËÏÍÁÎÄ ÎÁ ÕÄÁÌÅÎÎÏÊ ÍÁÛÉÎÅ.
298 üÔÏÔ ÐÁËÅÔ ÓÏÄÅÒÖÉÔ ÄÉÁÌÏÇ ××ÏÄÁ ËÌÀÞÅ×ÏÊ ÆÒÁÚÙ ÄÌÑ ÉÓÐÏÌØÚÏ×ÁÎÉÑ ÐÏÄ
301 %description gnome-askpass -l uk
302 Ssh (Secure Shell) - ÃÅ ÐÒÏÇÒÁÍÁ ÄÌÑ "ÚÁÈÏÄÕ" (login) ÄÏ ×¦ÄÄÁÌÅÎϧ
303 ÍÁÛÉÎÉ ÔÁ ÄÌÑ ×ÉËÏÎÁÎÎÑ ËÏÍÁÎÄ ÎÁ צÄÄÁÌÅÎ¦Ê ÍÁÛÉΦ.
305 ãÅÊ ÐÁËÅÔ Í¦ÓÔÉÔØ Ä¦ÁÌÏÇ ××ÏÄÕ ËÌÀÞÏ×ϧ ÆÒÁÚÉ ÄÌÑ ×ÉËÏÒÉÓÔÁÎÎÑ Ð¦Ä
320 %{!?_without_gnome:--with-gnome-askpass} \
323 --with-md5-passwords \
324 --with-ipaddr-display \
327 --with-tcp-wrappers \
328 --with-pid-dir=%{_localstatedir}/run
330 echo '#define LOGIN_PROGRAM "/bin/login"' >>config.h
334 %{!?_without_gnome:cd contrib && %{__cc} %{rpmcflags} `gnome-config --cflags gnome gnomeui gtk` } \
335 %{!?_without_gnome:gnome-ssh-askpass.c -o gnome-ssh-askpass } \
336 %{!?_without_gnome:`gnome-config --libs gnome gnomeui gtk` }
339 rm -rf $RPM_BUILD_ROOT
340 install -d $RPM_BUILD_ROOT{%{_sysconfdir},/etc/{pam.d,rc.d/init.d,sysconfig,security}}
342 %{__make} install DESTDIR="$RPM_BUILD_ROOT"
344 install %{SOURCE4} $RPM_BUILD_ROOT/etc/pam.d/sshd
345 install %{SOURCE6} $RPM_BUILD_ROOT/etc/pam.d/passwdssh
346 install %{SOURCE5} $RPM_BUILD_ROOT/etc/sysconfig/sshd
347 install %{SOURCE3} $RPM_BUILD_ROOT/etc/rc.d/init.d/sshd
348 install %{SOURCE2} $RPM_BUILD_ROOT%{_sysconfdir}/ssh_config
349 install %{SOURCE1} $RPM_BUILD_ROOT%{_sysconfdir}/sshd_config
350 install -d $RPM_BUILD_ROOT%{_libexecdir}/ssh
351 %{!?_without_gnome:install contrib/gnome-ssh-askpass $RPM_BUILD_ROOT%{_libexecdir}/ssh/ssh-askpass}
353 rm -f $RPM_BUILD_ROOT%{_mandir}/man1/slogin.1
354 echo ".so ssh.1" > $RPM_BUILD_ROOT%{_mandir}/man1/slogin.1
356 touch $RPM_BUILD_ROOT/etc/security/blacklist.sshd
359 rm -rf $RPM_BUILD_ROOT
362 /sbin/chkconfig --add sshd
363 if [ -f /var/lock/subsys/sshd ]; then
364 /etc/rc.d/init.d/sshd restart 1>&2
366 echo "Run \"/etc/rc.d/init.d/sshd start\" to start openssh daemon."
368 if ! grep ssh /etc/security/passwd.conf >/dev/null 2>&1 ; then
369 echo "ssh" >> /etc/security/passwd.conf
373 if [ "$1" = "0" ]; then
374 if [ -f /var/lock/subsys/sshd ]; then
375 /etc/rc.d/init.d/sshd stop 1>&2
377 /sbin/chkconfig --del sshd
381 %defattr(644,root,root,755)
382 %doc *.RNG TODO README OVERVIEW CREDITS Change*
383 %attr(755,root,root) %{_bindir}/ssh-key*
384 %{_mandir}/man1/ssh-key*.1*
388 %defattr(644,root,root,755)
389 %attr(0755,root,root) %{_bindir}/ssh
390 %attr(0755,root,root) %{_bindir}/slogin
391 %attr(0755,root,root) %{_bindir}/sftp
392 %attr(0755,root,root) %{_bindir}/ssh-agent
393 %attr(0755,root,root) %{_bindir}/ssh-add
394 %attr(755,root,root) %{_bindir}/scp
395 %{_mandir}/man1/scp.1*
396 %{_mandir}/man1/ssh.1*
397 %{_mandir}/man1/slogin.1*
398 %{_mandir}/man1/sftp.1*
399 %{_mandir}/man1/ssh-agent.1*
400 %{_mandir}/man1/ssh-add.1*
401 %config(noreplace) %verify(not md5 size mtime) %{_sysconfdir}/ssh_config
404 %defattr(644,root,root,755)
405 %attr(755,root,root) %{_sbindir}/sshd
406 %attr(755,root,root) %{_libexecdir}/sftp-server
408 %{_mandir}/man8/sshd.8*
409 %{_mandir}/man8/sftp-server.8*
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}