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: libwrap-devel
32 BuildRequires: openssl-devel >= 0.9.6a
33 BuildRequires: pam-devel
35 BuildRequires: zlib-devel
36 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
38 Requires: FHS >= 2.1-24
41 %define _sysconfdir /etc/ssh
42 %define _libexecdir %{_libdir}/%{name}
43 %define _privsepdir /usr/share/empty
46 Ssh (Secure Shell) a program for logging into a remote machine and for
47 executing commands in a remote machine. It is intended to replace
48 rlogin and rsh, and provide secure encrypted communications between
49 two untrusted hosts over an insecure network. X11 connections and
50 arbitrary TCP/IP ports can also be forwarded over the secure channel.
52 OpenSSH is OpenBSD's rework of the last free version of SSH, bringing
53 it up to date in terms of security and features, as well as removing
54 all patented algorithms to seperate libraries (OpenSSL).
56 This package includes the core files necessary for both the OpenSSH
57 client and server. To make this package useful, you should also
58 install openssh-clients, openssh-server, or both.
61 SSH es un programa para accesar y ejecutar órdenes en computadores
62 remotos. Sustituye rlogin y rsh, y suministra un canal de comunicación
63 seguro entre dos servidores en una red insegura. Conexiones X11 y
64 puertas TCP/IP arbitrárias también pueden ser usadas por el canal
67 OpenSSH es el resultado del trabajo del equipo de OpenBSD para
68 continuar la última versión gratuita de SSH, actualizándolo en
69 términos de seguridad y recursos,así también eliminando todos los
70 algoritmos patentados y colocándolos en bibliotecas separadas
73 Este paquete contiene "port" para Linux de OpenSSH. Se debe instalar
74 también el paquete openssh-clients u openssh-server o ambos.
77 Ssh (Secure Shell) to program s³u¿±cy do logowania siê na zdaln±
78 maszynê i uruchamiania na niej aplikacji. W zamierzeniu openssh ma
79 zast±piæ rlogin, rsh i dostarczyæ bezpieczne, szyfrowane po³±czenie
80 pomiedzy dwoma hostami.
83 SSH é um programa para acessar e executar comandos em máquinas
84 remotas. Ele substitui rlogin e rsh, e provem um canal de comunicação
85 seguro entre dois hosts em uma rede insegura. Conexões X11 e portas
86 TCP/IP arbitrárias também podem ser usadas pelo canal seguro.
88 OpenSSH é o resultado do trabalho da equipe do OpenBSD em continuar a
89 última versão gratuita do SSH, atualizando-o em termos de segurança e
90 recursos, assim como removendo todos os algoritmos patenteados e
91 colocando-os em bibliotecas separadas (OpenSSL).
93 Esse pacote contém o "port" pra Linux do OpenSSH. Você deve instalar
94 também ou o pacote openssh-clients, ou o openssh-server, ou ambos.
97 Ssh (Secure Shell) - ÜÔÏ ÐÒÏÇÒÁÍÍÁ ÄÌÑ "ÚÁÈÏÄÁ" (login) ÎÁ ÕÄÁÌÅÎÎÕÀ
98 ÍÁÛÉÎÕ É ÄÌÑ ×ÙÐÏÌÎÅÎÉÑ ËÏÍÁÎÄ ÎÁ ÕÄÁÌÅÎÎÏÊ ÍÁÛÉÎÅ. ïÎÁ ÐÒÅÄÎÁÚÎÁÞÅÎÁ
99 ÄÌÑ ÚÁÍÅÎÙ rlogin É rsh É ÏÂÅÓÐÅÞÉ×ÁÅÔ ÂÅÚÏÐÁÓÎÕÀ ÛÉÆÒÏ×ÁÎÎÕÀ
100 ËÏÍÍÕÎÉËÁÃÉÀ ÍÅÖÄÕ Ä×ÕÍÑ ÈÏÓÔÁÍÉ × ÓÅÔÉ, Ñ×ÌÑÀÝÅÊÓÑ ÎÅÂÅÚÏÐÁÓÎÏÊ.
101 óÏÅÄÉÎÅÎÉÑ X11 É ÌÀÂÙÅ ÐÏÒÔÙ TCP/IP ÍÏÇÕÔ ÔÁËÖÅ ÂÙÔØ ÐÒÏ×ÅÄÅÎÙ ÞÅÒÅÚ
104 OpenSSH - ÜÔÏ ÐÅÒÅÄÅÌËÁ ËÏÍÁÎÄÏÊ ÒÁÚÒÁÂÏÔÞÉËÏ× OpenBSD ÐÏÓÌÅÄÎÅÊ
105 Ó×ÏÂÏÄÎÏÊ ×ÅÒÓÉÉ SSH, ÄÏ×ÅÄÅÎÎÁÑ ÄÏ ÓÏ×ÒÅÍÅÎÎÏÇÏ ÓÏÓÔÏÑÎÉÑ × ÔÅÒÍÉÎÁÈ
106 ÕÒÏ×ÎÑ ÂÅÚÏÐÁÓÎÏÓÔÉ É ÐÏÄÄÅÒÖÉ×ÁÅÍÙÈ ×ÏÚÍÏÖÎÏÓÔÅÊ. ÷ÓÅ ÐÁÔÅÎÔÏ×ÁÎÎÙÅ
107 ÁÌÇÏÒÉÔÍÙ ×ÙÎÅÓÅÎÙ × ÏÔÄÅÌØÎÙÅ ÂÉÂÌÉÏÔÅËÉ (OpenSSL).
109 üÔÏÔ ÐÁËÅÔ ÓÏÄÅÒÖÉÔ ÆÁÊÌÙ, ÎÅÏÂÈÏÄÉÍÙÅ ËÁË ÄÌÑ ËÌÉÅÎÔÁ, ÔÁË É ÄÌÑ
110 ÓÅÒ×ÅÒÁ OpenSSH. ÷ÁÍ ÎÕÖÎÏ ÂÕÄÅÔ ÕÓÔÁÎÏ×ÉÔØ ÅÝÅ openssh-clients,
111 openssh-server, ÉÌÉ ÏÂÁ ÐÁËÅÔÁ.
114 Ssh (Secure Shell) - ÃÅ ÐÒÏÇÒÁÍÁ ÄÌÑ "ÚÁÈÏÄÕ" (login) ÄÏ ×¦ÄÄÁÌÅÎϧ
115 ÍÁÛÉÎÉ ÔÁ ÄÌÑ ×ÉËÏÎÁÎÎÑ ËÏÍÁÎÄ ÎÁ צÄÄÁÌÅÎ¦Ê ÍÁÛÉΦ. ÷ÏÎÁ ÐÒÉÚÎÁÞÅÎÁ
116 ÄÌÑ ÚÁͦÎÉ rlogin ÔÁ rsh ¦ ÚÁÂÅÚÐÅÞÕ¤ ÂÅÚÐÅÞÎÕ ÛÉÆÒÏ×ÁÎÕ ËÏÍÕΦËÁæÀ
117 Í¦Ö Ä×ÏÍÁ ÈÏÓÔÁÍÉ × ÍÅÒÅÖ¦, ÑËÁ ÎÅ ¤ ÂÅÚÐÅÞÎÏÀ. ú'¤ÄÎÁÎÎÑ X11 ÔÁ
118 ÄÏצÌØΦ ÐÏÒÔÉ TCP/IP ÍÏÖÕÔØ ÔÁËÏÖ ÂÕÔÉ ÐÒÏ×ÅÄÅΦ ÞÅÒÅÚ ÂÅÚÐÅÞÎÉÊ
121 OpenSSH - ÃÅ ÐÅÒÅÒÏÂËÁ ËÏÍÁÎÄÏÀ ÒÏÚÒÏÂÎÉË¦× OpenBSD ÏÓÔÁÎÎØϧ צÌØÎϧ
122 ×ÅÒÓ¦§ SSH, ÄÏ×ÅÄÅÎÁ ÄÏ ÓÕÞÁÓÎÏÇÏ ÓÔÁÎÕ × ÔÅÒͦÎÁÈ Ò¦×ÎÑ ÂÅÚÐÅËÉ ÔÁ
123 ЦÄÔÒÉÍÕ×ÁÎÉÈ ÍÏÖÌÉ×ÏÓÔÅÊ. ÷Ó¦ ÐÁÔÅÎÔÏ×ÁΦ ÁÌÇÏÒÉÔÍÉ ×ÉÎÅÓÅΦ ÄÏ
124 ÏËÒÅÍÉÈ Â¦Â̦ÏÔÅË (OpenSSL).
126 ãÅÊ ÐÁËÅÔ Í¦ÓÔÉÔØ ÆÁÊÌÉ, ÎÅÏÂȦÄΦ ÑË ÄÌÑ Ë̦¤ÎÔÁ, ÔÁË ¦ ÄÌÑ ÓÅÒ×ÅÒÁ
127 OpenSSH. ÷ÁÍ ÐÏÔÒ¦ÂÎÏ ÂÕÄÅ ÝÅ ×ÓÔÁÎÏ×ÉÔÉ openssh-clients,
128 openssh-server, ÞÉ ÏÂÉÄ×Á ÐÁËÅÔÉ.
131 Summary: OpenSSH Secure Shell protocol clients
132 Summary(es): Clientes de OpenSSH
133 Summary(pl): Klienci protoko³u Secure Shell
134 Summary(pt_BR): Clientes do OpenSSH
135 Summary(ru): OpenSSH - ËÌÉÅÎÔÙ ÐÒÏÔÏËÏÌÁ Secure Shell
136 Summary(uk): OpenSSH - Ë̦¤ÎÔÉ ÐÒÏÔÏËÏÌÕ Secure Shell
137 Group: Applications/Networking
138 Requires: %{name} = %{version}
139 Obsoletes: ssh-clients
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)
192 Group: Networking/Daemons
193 PreReq: %{name} = %{version}
195 Requires(post): /sbin/chkconfig
196 Requires(post): chkconfig >= 0.9
199 Obsoletes: ssh-server
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-privsep-path=%{_privsepdir} \
327 --with-pid-dir=%{_localstatedir}/run
329 echo '#define LOGIN_PROGRAM "/bin/login"' >>config.h
333 %{!?_without_gnome:cd contrib && %{__cc} %{rpmcflags} `gnome-config --cflags gnome gnomeui gtk` } \
334 %{!?_without_gnome:gnome-ssh-askpass.c -o gnome-ssh-askpass } \
335 %{!?_without_gnome:`gnome-config --libs gnome gnomeui gtk` }
338 rm -rf $RPM_BUILD_ROOT
339 install -d $RPM_BUILD_ROOT{%{_sysconfdir},/etc/{pam.d,rc.d/init.d,sysconfig,security}}
341 %{__make} install DESTDIR="$RPM_BUILD_ROOT"
343 install %{SOURCE4} $RPM_BUILD_ROOT/etc/pam.d/sshd
344 install %{SOURCE6} $RPM_BUILD_ROOT/etc/pam.d/passwdssh
345 install %{SOURCE5} $RPM_BUILD_ROOT/etc/sysconfig/sshd
346 install %{SOURCE3} $RPM_BUILD_ROOT/etc/rc.d/init.d/sshd
347 install %{SOURCE2} $RPM_BUILD_ROOT%{_sysconfdir}/ssh_config
348 install %{SOURCE1} $RPM_BUILD_ROOT%{_sysconfdir}/sshd_config
349 install -d $RPM_BUILD_ROOT%{_libexecdir}/ssh
350 %{!?_without_gnome:install contrib/gnome-ssh-askpass $RPM_BUILD_ROOT%{_libexecdir}/ssh/ssh-askpass}
352 rm -f $RPM_BUILD_ROOT%{_mandir}/man1/slogin.1
353 echo ".so ssh.1" > $RPM_BUILD_ROOT%{_mandir}/man1/slogin.1
355 touch $RPM_BUILD_ROOT/etc/security/blacklist.sshd
358 rm -rf $RPM_BUILD_ROOT
361 %{_sbindir}/groupadd -r -g %{sshd_gid} sshd 2>/dev/null || :
362 %{_sbindir}/useradd -d %{_privsepdir} -s /bin/false -u %{sshd_uid} \
363 -g sshd -M -r sshd 2>/dev/null || :
366 /sbin/chkconfig --add sshd
367 if [ -f /var/lock/subsys/sshd ]; then
368 /etc/rc.d/init.d/sshd restart 1>&2
370 echo "Run \"/etc/rc.d/init.d/sshd start\" to start openssh daemon."
372 if ! grep ssh /etc/security/passwd.conf >/dev/null 2>&1 ; then
373 echo "ssh" >> /etc/security/passwd.conf
377 if [ "$1" = "0" ]; then
378 if [ -f /var/lock/subsys/sshd ]; then
379 /etc/rc.d/init.d/sshd stop 1>&2
381 /sbin/chkconfig --del sshd
385 %defattr(644,root,root,755)
386 %doc *.RNG TODO README OVERVIEW CREDITS Change*
387 %attr(755,root,root) %{_bindir}/ssh-key*
388 %{_mandir}/man1/ssh-key*.1*
392 %defattr(644,root,root,755)
393 %attr(0755,root,root) %{_bindir}/ssh
394 %attr(0755,root,root) %{_bindir}/slogin
395 %attr(0755,root,root) %{_bindir}/sftp
396 %attr(0755,root,root) %{_bindir}/ssh-agent
397 %attr(0755,root,root) %{_bindir}/ssh-add
398 %attr(0755,root,root) %{_bindir}/scp
399 %config(noreplace) %verify(not md5 size mtime) %{_sysconfdir}/ssh_config
400 %{_mandir}/man1/scp.1*
401 %{_mandir}/man1/ssh.1*
402 %{_mandir}/man1/slogin.1*
403 %{_mandir}/man1/sftp.1*
404 %{_mandir}/man1/ssh-agent.1*
405 %{_mandir}/man1/ssh-add.1*
406 %{_mandir}/man5/ssh_config.5*
409 %defattr(644,root,root,755)
410 %attr(755,root,root) %{_sbindir}/sshd
411 %attr(755,root,root) %{_libexecdir}/sftp-server
413 %{_mandir}/man8/sshd.8*
414 %{_mandir}/man8/sftp-server.8*
415 %{_mandir}/man5/sshd_config.5*
416 %attr(640,root,root) %config(noreplace) %verify(not md5 size mtime) %{_sysconfdir}/sshd_config
417 %attr(640,root,root) %config(noreplace) %verify(not md5 size mtime) /etc/pam.d/sshd
418 %attr(640,root,root) %{_sysconfdir}/moduli
419 %attr(754,root,root) /etc/rc.d/init.d/sshd
420 %attr(640,root,root) %config(noreplace) %verify(not md5 size mtime) /etc/sysconfig/sshd
421 %attr(640,root,root) %config(noreplace) %verify(not md5 size mtime) /etc/security/blacklist.sshd
423 %{!?_without_gnome:%files gnome-askpass}
424 %{!?_without_gnome:%defattr(644,root,root,755)}
425 %{!?_without_gnome:%dir %{_libexecdir}/ssh}
426 %{!?_without_gnome:%attr(755,root,root) %{_libexecdir}/ssh/ssh-askpass}