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: %{name}-pseudo-mmap.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: libwrap-devel
33 BuildRequires: openssl-devel >= 0.9.6a
34 BuildRequires: pam-devel
36 BuildRequires: zlib-devel
37 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
39 Requires: FHS >= 2.1-24
42 %define _sysconfdir /etc/ssh
43 %define _libexecdir %{_libdir}/%{name}
44 %define _privsepdir /usr/share/empty
47 Ssh (Secure Shell) a program for logging into a remote machine and for
48 executing commands in a remote machine. It is intended to replace
49 rlogin and rsh, and provide secure encrypted communications between
50 two untrusted hosts over an insecure network. X11 connections and
51 arbitrary TCP/IP ports can also be forwarded over the secure channel.
53 OpenSSH is OpenBSD's rework of the last free version of SSH, bringing
54 it up to date in terms of security and features, as well as removing
55 all patented algorithms to seperate libraries (OpenSSL).
57 This package includes the core files necessary for both the OpenSSH
58 client and server. To make this package useful, you should also
59 install openssh-clients, openssh-server, or both.
62 SSH es un programa para accesar y ejecutar órdenes en computadores
63 remotos. Sustituye rlogin y rsh, y suministra un canal de comunicación
64 seguro entre dos servidores en una red insegura. Conexiones X11 y
65 puertas TCP/IP arbitrárias también pueden ser usadas por el canal
68 OpenSSH es el resultado del trabajo del equipo de OpenBSD para
69 continuar la última versión gratuita de SSH, actualizándolo en
70 términos de seguridad y recursos,así también eliminando todos los
71 algoritmos patentados y colocándolos en bibliotecas separadas
74 Este paquete contiene "port" para Linux de OpenSSH. Se debe instalar
75 también el paquete openssh-clients u openssh-server o ambos.
78 Ssh (Secure Shell) to program s³u¿±cy do logowania siê na zdaln±
79 maszynê i uruchamiania na niej aplikacji. W zamierzeniu openssh ma
80 zast±piæ rlogin, rsh i dostarczyæ bezpieczne, szyfrowane po³±czenie
81 pomiedzy dwoma hostami.
84 SSH é um programa para acessar e executar comandos em máquinas
85 remotas. Ele substitui rlogin e rsh, e provem um canal de comunicação
86 seguro entre dois hosts em uma rede insegura. Conexões X11 e portas
87 TCP/IP arbitrárias também podem ser usadas pelo canal seguro.
89 OpenSSH é o resultado do trabalho da equipe do OpenBSD em continuar a
90 última versão gratuita do SSH, atualizando-o em termos de segurança e
91 recursos, assim como removendo todos os algoritmos patenteados e
92 colocando-os em bibliotecas separadas (OpenSSL).
94 Esse pacote contém o "port" pra Linux do OpenSSH. Você deve instalar
95 também ou o pacote openssh-clients, ou o openssh-server, ou ambos.
98 Ssh (Secure Shell) - ÜÔÏ ÐÒÏÇÒÁÍÍÁ ÄÌÑ "ÚÁÈÏÄÁ" (login) ÎÁ ÕÄÁÌÅÎÎÕÀ
99 ÍÁÛÉÎÕ É ÄÌÑ ×ÙÐÏÌÎÅÎÉÑ ËÏÍÁÎÄ ÎÁ ÕÄÁÌÅÎÎÏÊ ÍÁÛÉÎÅ. ïÎÁ ÐÒÅÄÎÁÚÎÁÞÅÎÁ
100 ÄÌÑ ÚÁÍÅÎÙ rlogin É rsh É ÏÂÅÓÐÅÞÉ×ÁÅÔ ÂÅÚÏÐÁÓÎÕÀ ÛÉÆÒÏ×ÁÎÎÕÀ
101 ËÏÍÍÕÎÉËÁÃÉÀ ÍÅÖÄÕ Ä×ÕÍÑ ÈÏÓÔÁÍÉ × ÓÅÔÉ, Ñ×ÌÑÀÝÅÊÓÑ ÎÅÂÅÚÏÐÁÓÎÏÊ.
102 óÏÅÄÉÎÅÎÉÑ X11 É ÌÀÂÙÅ ÐÏÒÔÙ TCP/IP ÍÏÇÕÔ ÔÁËÖÅ ÂÙÔØ ÐÒÏ×ÅÄÅÎÙ ÞÅÒÅÚ
105 OpenSSH - ÜÔÏ ÐÅÒÅÄÅÌËÁ ËÏÍÁÎÄÏÊ ÒÁÚÒÁÂÏÔÞÉËÏ× OpenBSD ÐÏÓÌÅÄÎÅÊ
106 Ó×ÏÂÏÄÎÏÊ ×ÅÒÓÉÉ SSH, ÄÏ×ÅÄÅÎÎÁÑ ÄÏ ÓÏ×ÒÅÍÅÎÎÏÇÏ ÓÏÓÔÏÑÎÉÑ × ÔÅÒÍÉÎÁÈ
107 ÕÒÏ×ÎÑ ÂÅÚÏÐÁÓÎÏÓÔÉ É ÐÏÄÄÅÒÖÉ×ÁÅÍÙÈ ×ÏÚÍÏÖÎÏÓÔÅÊ. ÷ÓÅ ÐÁÔÅÎÔÏ×ÁÎÎÙÅ
108 ÁÌÇÏÒÉÔÍÙ ×ÙÎÅÓÅÎÙ × ÏÔÄÅÌØÎÙÅ ÂÉÂÌÉÏÔÅËÉ (OpenSSL).
110 üÔÏÔ ÐÁËÅÔ ÓÏÄÅÒÖÉÔ ÆÁÊÌÙ, ÎÅÏÂÈÏÄÉÍÙÅ ËÁË ÄÌÑ ËÌÉÅÎÔÁ, ÔÁË É ÄÌÑ
111 ÓÅÒ×ÅÒÁ OpenSSH. ÷ÁÍ ÎÕÖÎÏ ÂÕÄÅÔ ÕÓÔÁÎÏ×ÉÔØ ÅÝÅ openssh-clients,
112 openssh-server, ÉÌÉ ÏÂÁ ÐÁËÅÔÁ.
115 Ssh (Secure Shell) - ÃÅ ÐÒÏÇÒÁÍÁ ÄÌÑ "ÚÁÈÏÄÕ" (login) ÄÏ ×¦ÄÄÁÌÅÎϧ
116 ÍÁÛÉÎÉ ÔÁ ÄÌÑ ×ÉËÏÎÁÎÎÑ ËÏÍÁÎÄ ÎÁ צÄÄÁÌÅÎ¦Ê ÍÁÛÉΦ. ÷ÏÎÁ ÐÒÉÚÎÁÞÅÎÁ
117 ÄÌÑ ÚÁͦÎÉ rlogin ÔÁ rsh ¦ ÚÁÂÅÚÐÅÞÕ¤ ÂÅÚÐÅÞÎÕ ÛÉÆÒÏ×ÁÎÕ ËÏÍÕΦËÁæÀ
118 Í¦Ö Ä×ÏÍÁ ÈÏÓÔÁÍÉ × ÍÅÒÅÖ¦, ÑËÁ ÎÅ ¤ ÂÅÚÐÅÞÎÏÀ. ú'¤ÄÎÁÎÎÑ X11 ÔÁ
119 ÄÏצÌØΦ ÐÏÒÔÉ TCP/IP ÍÏÖÕÔØ ÔÁËÏÖ ÂÕÔÉ ÐÒÏ×ÅÄÅΦ ÞÅÒÅÚ ÂÅÚÐÅÞÎÉÊ
122 OpenSSH - ÃÅ ÐÅÒÅÒÏÂËÁ ËÏÍÁÎÄÏÀ ÒÏÚÒÏÂÎÉË¦× OpenBSD ÏÓÔÁÎÎØϧ צÌØÎϧ
123 ×ÅÒÓ¦§ SSH, ÄÏ×ÅÄÅÎÁ ÄÏ ÓÕÞÁÓÎÏÇÏ ÓÔÁÎÕ × ÔÅÒͦÎÁÈ Ò¦×ÎÑ ÂÅÚÐÅËÉ ÔÁ
124 ЦÄÔÒÉÍÕ×ÁÎÉÈ ÍÏÖÌÉ×ÏÓÔÅÊ. ÷Ó¦ ÐÁÔÅÎÔÏ×ÁΦ ÁÌÇÏÒÉÔÍÉ ×ÉÎÅÓÅΦ ÄÏ
125 ÏËÒÅÍÉÈ Â¦Â̦ÏÔÅË (OpenSSL).
127 ãÅÊ ÐÁËÅÔ Í¦ÓÔÉÔØ ÆÁÊÌÉ, ÎÅÏÂȦÄΦ ÑË ÄÌÑ Ë̦¤ÎÔÁ, ÔÁË ¦ ÄÌÑ ÓÅÒ×ÅÒÁ
128 OpenSSH. ÷ÁÍ ÐÏÔÒ¦ÂÎÏ ÂÕÄÅ ÝÅ ×ÓÔÁÎÏ×ÉÔÉ openssh-clients,
129 openssh-server, ÞÉ ÏÂÉÄ×Á ÐÁËÅÔÉ.
132 Summary: OpenSSH Secure Shell protocol clients
133 Summary(es): Clientes de OpenSSH
134 Summary(pl): Klienci protoko³u Secure Shell
135 Summary(pt_BR): Clientes do OpenSSH
136 Summary(ru): OpenSSH - ËÌÉÅÎÔÙ ÐÒÏÔÏËÏÌÁ Secure Shell
137 Summary(uk): OpenSSH - Ë̦¤ÎÔÉ ÐÒÏÔÏËÏÌÕ Secure Shell
138 Group: Applications/Networking
139 Requires: %{name} = %{version}
140 Obsoletes: ssh-clients
143 Ssh (Secure Shell) a program for logging into a remote machine and for
144 executing commands in a remote machine. It is intended to replace
145 rlogin and rsh, and provide secure encrypted communications between
146 two untrusted hosts over an insecure network. X11 connections and
147 arbitrary TCP/IP ports can also be forwarded over the secure channel.
149 OpenSSH is OpenBSD's rework of the last free version of SSH, bringing
150 it up to date in terms of security and features, as well as removing
151 all patented algorithms to seperate libraries (OpenSSL).
153 This package includes the clients necessary to make encrypted
154 connections to SSH servers.
156 %description clients -l es
157 Este paquete incluye los clientes que se necesitan para hacer
158 conexiones codificadas con servidores SSH.
160 %description clients -l pl
161 Ssh (Secure Shell) to program s³u¿±cy do logowania siê na zdaln±
162 maszynê i uruchamiania na niej aplikacji. W zamierzeniu openssh ma
163 zast±piæ rlogin, rsh i dostarczyæ bezpieczne, szyfrowane po³±czenie
164 pomiedzy dwoma hostami.
166 Ten pakiet zawiera klientów s³u¿±cych do ³±czenia siê z serwerami SSH.
168 %description clients -l pt_BR
169 Esse pacote inclui os clientes necessários para fazer conexões
170 encriptadas com servidores SSH.
172 %description clients -l ru
173 Ssh (Secure Shell) - ÜÔÏ ÐÒÏÇÒÁÍÍÁ ÄÌÑ "ÚÁÈÏÄÁ" (login) ÎÁ ÕÄÁÌÅÎÎÕÀ
174 ÍÁÛÉÎÕ É ÄÌÑ ×ÙÐÏÌÎÅÎÉÑ ËÏÍÁÎÄ ÎÁ ÕÄÁÌÅÎÎÏÊ ÍÁÛÉÎÅ.
176 üÔÏÔ ÐÁËÅÔ ÓÏÄÅÒÖÉÔ ÐÒÏÇÒÁÍÍÙ-ËÌÉÅÎÔÙ, ÎÅÏÂÈÏÄÉÍÙÅ ÄÌÑ ÕÓÔÁÎÏ×ÌÅÎÉÑ
177 ÚÁÛÉÆÒÏ×ÁÎÎÙÈ ÓÏÅÄÉÎÅÎÉÊ Ó ÓÅÒ×ÅÒÁÍÉ SSH.
179 %description clients -l uk
180 Ssh (Secure Shell) - ÃÅ ÐÒÏÇÒÁÍÁ ÄÌÑ "ÚÁÈÏÄÕ" (login) ÄÏ ×¦ÄÄÁÌÅÎϧ
181 ÍÁÛÉÎÉ ÔÁ ÄÌÑ ×ÉËÏÎÁÎÎÑ ËÏÍÁÎÄ ÎÁ צÄÄÁÌÅÎ¦Ê ÍÁÛÉΦ.
183 ãÅÊ ÐÁËÅÔ Í¦ÓÔÉÔØ ÐÒÏÇÒÁÍÉ-Ë̦¤ÎÔÉ, ÎÅÏÂȦÄΦ ÄÌÑ ×ÓÔÁÎÏ×ÌÅÎÎÑ
184 ÚÁÛÉÆÒÏ×ÁÎÉÈ Ú'¤ÄÎÁÎØ Ú ÓÅÒ×ÅÒÁÍÉ SSH.
187 Summary: OpenSSH Secure Shell protocol server (sshd)
188 Summary(es): Servidor OpenSSH para comunicaciones codificadas
189 Summary(pl): Serwer protoko³u Secure Shell (sshd)
190 Summary(pt_BR): Servidor OpenSSH para comunicações encriptadas
191 Summary(ru): OpenSSH - ÓÅÒ×ÅÒ ÐÒÏÔÏËÏÌÁ Secure Shell (sshd)
192 Summary(uk): OpenSSH - ÓÅÒ×ÅÒ ÐÒÏÔÏËÏÌÕ Secure Shell (sshd)
193 Group: Networking/Daemons
194 PreReq: %{name} = %{version}
195 PreReq: rc-scripts >= 0.3.1-3
196 Requires(pre): /bin/id
197 Requires(pre): /usr/sbin/useradd
198 Requires(post): /sbin/chkconfig
199 Requires(post): chkconfig >= 0.9
200 Requires(postun): /usr/sbin/userdel
203 Obsoletes: ssh-server
206 Ssh (Secure Shell) a program for logging into a remote machine and for
207 executing commands in a remote machine. It is intended to replace
208 rlogin and rsh, and provide secure encrypted communications between
209 two untrusted hosts over an insecure network. X11 connections and
210 arbitrary TCP/IP ports can also be forwarded over the secure channel.
212 OpenSSH is OpenBSD's rework of the last free version of SSH, bringing
213 it up to date in terms of security and features, as well as removing
214 all patented algorithms to seperate libraries (OpenSSL).
216 This package contains the secure shell daemon. The sshd is the server
217 part of the secure shell protocol and allows ssh clients to connect to
220 %description server -l es
221 Este paquete contiene el servidor SSH. sshd es la parte servidor del
222 protocolo secure shell y permite que clientes ssh se conecten a su
225 %description server -l pl
226 Ssh (Secure Shell) to program s³u¿±cy do logowania siê na zdaln±
227 maszynê i uruchamiania na niej aplikacji. W zamierzeniu openssh ma
228 zast±piæ rlogin, rsh i dostarczyæ bezpieczne, szyfrowane po³±czenie
229 pomiedzy dwoma hostami.
231 Ten pakiet zawiera serwer sshd (do którego mog± ³±czyæ siê klienci
234 %description server -l pt_BR
235 Esse pacote contém o servidor SSH. O sshd é a parte servidor do
236 protocolo secure shell e permite que clientes ssh se conectem ao seu
239 %description server -l ru
240 Ssh (Secure Shell) - ÜÔÏ ÐÒÏÇÒÁÍÍÁ ÄÌÑ "ÚÁÈÏÄÁ" (login) ÎÁ ÕÄÁÌÅÎÎÕÀ
241 ÍÁÛÉÎÕ É ÄÌÑ ×ÙÐÏÌÎÅÎÉÑ ËÏÍÁÎÄ ÎÁ ÕÄÁÌÅÎÎÏÊ ÍÁÛÉÎÅ.
243 üÔÏÔ ÐÁËÅÔ ÓÏÄÅÒÖÉÔ sshd - "ÄÅÍÏÎ" Secure Shell. sshd - ÜÔÏ ÓÅÒ×ÅÒÎÁÑ
244 ÞÁÓÔØ ÐÒÏÔÏËÏÌÁ Secure Shell, ÐÏÚ×ÏÌÑÀÝÁÑ ËÌÉÅÎÔÁÍ ssh ÓÏÅÄÉÎÑÔØÓÑ Ó
247 %description server -l uk
248 Ssh (Secure Shell) - ÃÅ ÐÒÏÇÒÁÍÁ ÄÌÑ "ÚÁÈÏÄÕ" (login) ÄÏ ×¦ÄÄÁÌÅÎϧ
249 ÍÁÛÉÎÉ ÔÁ ÄÌÑ ×ÉËÏÎÁÎÎÑ ËÏÍÁÎÄ ÎÁ צÄÄÁÌÅÎ¦Ê ÍÁÛÉΦ.
251 ãÅÊ ÐÁËÅÔ Í¦ÓÔÉÔØ sshd - "ÄÅÍÏÎ" Secure Shell. sshd - ÃÅ ÓÅÒ×ÅÒÎÁ
252 ÞÁÓÔÉÎÁ ÐÒÏÔÏËÏÌÕ Secure Shell, ÑËÁ ÄÏÚ×ÏÌѤ Ë̦¤ÎÔÁÍ ssh Ú×'ÑÚÕ×ÁÔÉÓØ
255 %package gnome-askpass
256 Summary: OpenSSH GNOME passphrase dialog
257 Summary(es): Diálogo para introducción de passphrase para GNOME
258 Summary(pl): Odpytywacz has³a OpenSSH dla GNOME
259 Summary(pt_BR): Diálogo para entrada de passphrase para GNOME
260 Summary(ru): OpenSSH - ÄÉÁÌÏÇ ××ÏÄÁ ËÌÀÞÅ×ÏÊ ÆÒÁÚÙ (passphrase) ÄÌÑ GNOME
261 Summary(uk): OpenSSH - ĦÁÌÏÇ ××ÏÄÕ ËÌÀÞÏ×ϧ ÆÒÁÚÉ (passphrase) ÄÌÑ GNOME
262 Group: Applications/Networking
263 Requires: %{name} = %{version}
264 Obsoletes: ssh-extras
265 Obsoletes: ssh-askpass
266 Obsoletes: openssh-askpass
268 %description gnome-askpass
269 Ssh (Secure Shell) a program for logging into a remote machine and for
270 executing commands in a remote machine. It is intended to replace
271 rlogin and rsh, and provide secure encrypted communications between
272 two untrusted hosts over an insecure network. X11 connections and
273 arbitrary TCP/IP ports can also be forwarded over the secure channel.
275 OpenSSH is OpenBSD's rework of the last free version of SSH, bringing
276 it up to date in terms of security and features, as well as removing
277 all patented algorithms to seperate libraries (OpenSSL).
279 This package contains the GNOME passphrase dialog.
281 %description gnome-askpass -l es
282 Este paquete contiene un programa que abre una caja de diálogo para
283 entrada de passphrase en GNOME.
285 %description gnome-askpass -l pl
286 Ssh (Secure Shell) to program s³u¿±cy do logowania siê na zdaln±
287 maszynê i uruchamiania na niej aplikacji. W zamierzeniu openssh ma
288 zast±piæ rlogin, rsh i dostarczyæ bezpieczne, szyfrowane po³±czenie
289 pomiedzy dwoma hostami.
291 Ten pakiet zawiera ,,odpytywacz has³a'' dla GNOME.
293 %description gnome-askpass -l pt_BR
294 Esse pacote contém um programa que abre uma caixa de diálogo para
295 entrada de passphrase no GNOME.
297 %description gnome-askpass -l ru
298 Ssh (Secure Shell) - ÜÔÏ ÐÒÏÇÒÁÍÍÁ ÄÌÑ "ÚÁÈÏÄÁ" (login) ÎÁ ÕÄÁÌÅÎÎÕÀ
299 ÍÁÛÉÎÕ É ÄÌÑ ×ÙÐÏÌÎÅÎÉÑ ËÏÍÁÎÄ ÎÁ ÕÄÁÌÅÎÎÏÊ ÍÁÛÉÎÅ.
301 üÔÏÔ ÐÁËÅÔ ÓÏÄÅÒÖÉÔ ÄÉÁÌÏÇ ××ÏÄÁ ËÌÀÞÅ×ÏÊ ÆÒÁÚÙ ÄÌÑ ÉÓÐÏÌØÚÏ×ÁÎÉÑ ÐÏÄ
304 %description gnome-askpass -l uk
305 Ssh (Secure Shell) - ÃÅ ÐÒÏÇÒÁÍÁ ÄÌÑ "ÚÁÈÏÄÕ" (login) ÄÏ ×¦ÄÄÁÌÅÎϧ
306 ÍÁÛÉÎÉ ÔÁ ÄÌÑ ×ÉËÏÎÁÎÎÑ ËÏÍÁÎÄ ÎÁ צÄÄÁÌÅÎ¦Ê ÍÁÛÉΦ.
308 ãÅÊ ÐÁËÅÔ Í¦ÓÔÉÔØ Ä¦ÁÌÏÇ ××ÏÄÕ ËÌÀÞÏ×ϧ ÆÒÁÚÉ ÄÌÑ ×ÉËÏÒÉÓÔÁÎÎÑ Ð¦Ä
323 %{!?_without_gnome:--with-gnome-askpass} \
326 --with-md5-passwords \
327 --with-ipaddr-display \
330 --with-tcp-wrappers \
331 --with-privsep-path=%{_privsepdir} \
332 --with-pid-dir=%{_localstatedir}/run
334 echo '#define LOGIN_PROGRAM "/bin/login"' >>config.h
338 %{!?_without_gnome:cd contrib && %{__cc} %{rpmcflags} `gnome-config --cflags gnome gnomeui gtk` } \
339 %{!?_without_gnome:gnome-ssh-askpass.c -o gnome-ssh-askpass } \
340 %{!?_without_gnome:`gnome-config --libs gnome gnomeui gtk` }
343 rm -rf $RPM_BUILD_ROOT
344 install -d $RPM_BUILD_ROOT{%{_sysconfdir},/etc/{pam.d,rc.d/init.d,sysconfig,security}}
346 %{__make} install DESTDIR="$RPM_BUILD_ROOT"
348 install %{SOURCE4} $RPM_BUILD_ROOT/etc/pam.d/sshd
349 install %{SOURCE6} $RPM_BUILD_ROOT/etc/pam.d/passwdssh
350 install %{SOURCE5} $RPM_BUILD_ROOT/etc/sysconfig/sshd
351 install %{SOURCE3} $RPM_BUILD_ROOT/etc/rc.d/init.d/sshd
352 install %{SOURCE2} $RPM_BUILD_ROOT%{_sysconfdir}/ssh_config
353 install %{SOURCE1} $RPM_BUILD_ROOT%{_sysconfdir}/sshd_config
354 install -d $RPM_BUILD_ROOT%{_libexecdir}/ssh
355 %{!?_without_gnome:install contrib/gnome-ssh-askpass $RPM_BUILD_ROOT%{_libexecdir}/ssh/ssh-askpass}
357 rm -f $RPM_BUILD_ROOT%{_mandir}/man1/slogin.1
358 echo ".so ssh.1" > $RPM_BUILD_ROOT%{_mandir}/man1/slogin.1
360 touch $RPM_BUILD_ROOT/etc/security/blacklist.sshd
363 rm -rf $RPM_BUILD_ROOT
366 if [ -n "`id -u sshd 2>/dev/null`" ]; then
367 if [ "`id -u sshd`" != "40" ]; then
368 echo "Error: user sshd doesn't have uid=40. Correct this before installing ssh server." 1>&2
372 /usr/sbin/useradd -u 40 -d %{_privsepdir} -s /bin/false -M -r -c "OpenSSH PrivSep User" -g nobody sshd 1>&2
376 /sbin/chkconfig --add sshd
377 if [ -f /var/lock/subsys/sshd ]; then
378 /etc/rc.d/init.d/sshd restart 1>&2
380 echo "Run \"/etc/rc.d/init.d/sshd start\" to start openssh daemon."
382 if ! grep ssh /etc/security/passwd.conf >/dev/null 2>&1 ; then
383 echo "ssh" >> /etc/security/passwd.conf
387 if [ "$1" = "0" ]; then
388 if [ -f /var/lock/subsys/sshd ]; then
389 /etc/rc.d/init.d/sshd stop 1>&2
391 /sbin/chkconfig --del sshd
395 if [ "$1" = "0" ]; then
396 /usr/sbin/userdel sshd
400 %defattr(644,root,root,755)
401 %doc *.RNG TODO README OVERVIEW CREDITS Change*
402 %attr(755,root,root) %{_bindir}/ssh-key*
403 %{_mandir}/man1/ssh-key*.1*
407 %defattr(644,root,root,755)
408 %attr(0755,root,root) %{_bindir}/ssh
409 %attr(0755,root,root) %{_bindir}/slogin
410 %attr(0755,root,root) %{_bindir}/sftp
411 %attr(0755,root,root) %{_bindir}/ssh-agent
412 %attr(0755,root,root) %{_bindir}/ssh-add
413 %attr(0755,root,root) %{_bindir}/scp
414 %config(noreplace) %verify(not md5 size mtime) %{_sysconfdir}/ssh_config
415 %{_mandir}/man1/scp.1*
416 %{_mandir}/man1/ssh.1*
417 %{_mandir}/man1/slogin.1*
418 %{_mandir}/man1/sftp.1*
419 %{_mandir}/man1/ssh-agent.1*
420 %{_mandir}/man1/ssh-add.1*
421 %{_mandir}/man5/ssh_config.5*
424 %defattr(644,root,root,755)
425 %attr(755,root,root) %{_sbindir}/sshd
426 %attr(755,root,root) %{_libexecdir}/sftp-server
428 %{_mandir}/man8/sshd.8*
429 %{_mandir}/man8/sftp-server.8*
430 %{_mandir}/man5/sshd_config.5*
431 %attr(640,root,root) %config(noreplace) %verify(not md5 size mtime) %{_sysconfdir}/sshd_config
432 %attr(640,root,root) %config(noreplace) %verify(not md5 size mtime) /etc/pam.d/sshd
433 %attr(640,root,root) %{_sysconfdir}/moduli
434 %attr(754,root,root) /etc/rc.d/init.d/sshd
435 %attr(640,root,root) %config(noreplace) %verify(not md5 size mtime) /etc/sysconfig/sshd
436 %attr(640,root,root) %config(noreplace) %verify(not md5 size mtime) /etc/security/blacklist.sshd
438 %{!?_without_gnome:%files gnome-askpass}
439 %{!?_without_gnome:%defattr(644,root,root,755)}
440 %{!?_without_gnome:%dir %{_libexecdir}/ssh}
441 %{!?_without_gnome:%attr(755,root,root) %{_libexecdir}/ssh/ssh-askpass}