1 Summary: OpenSSH free Secure Shell (SSH) implementation
2 Summary(pl): Publicznie dostêpna implementacja bezpiecznego shella (SSH)
7 Group: Applications/Networking
8 Group(de): Applikationen/Netzwerkwesen
9 Group(pl): Aplikacje/Sieciowe
10 Source0: ftp://ftp.ca.openbsd.org/pub/OpenBSD/OpenSSH/portable/%{name}-%{version}.tar.gz
11 Source1: %{name}d.conf
13 Source3: %{name}d.init
14 Source4: %{name}d.pamd
15 Source5: %{name}.sysconfig
17 Patch0: %{name}-libwrap.patch
18 Patch1: %{name}-LIBS.patch
19 Patch2: %{name}-no_libnsl.patch
20 Patch3: %{name}-canonname.patch
21 URL: http://www.openssh.com/
22 BuildRequires: autoconf
23 BuildRequires: openssl-devel >= 0.9.5a
24 BuildRequires: rpm >= 3.0.4
25 BuildRequires: zlib-devel
26 BuildRequires: pam-devel
27 BuildRequires: XFree86-devel
28 BuildRequires: gnome-libs-devel
29 BuildRequires: gtk+-devel
30 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
31 Prereq: openssl >= 0.9.5a
32 Obsoletes: ssh < %{version}, ssh > %{version}
34 %define _sysconfdir /etc/ssh
37 Ssh (Secure Shell) a program for logging into a remote machine and for
38 executing commands in a remote machine. It is intended to replace
39 rlogin and rsh, and provide secure encrypted communications between
40 two untrusted hosts over an insecure network. X11 connections and
41 arbitrary TCP/IP ports can also be forwarded over the secure channel.
43 OpenSSH is OpenBSD's rework of the last free version of SSH, bringing
44 it up to date in terms of security and features, as well as removing
45 all patented algorithms to seperate libraries (OpenSSL).
47 This package includes the core files necessary for both the OpenSSH
48 client and server. To make this package useful, you should also
49 install openssh-clients, openssh-server, or both.
52 Ssh (Secure Shell) to program s³u¿±cy do logowania siê na zdaln±
53 maszynê i uruchamiania na niej aplikacji. W zamierzeniu openssh ma
54 zast±piæ rlogin, rsh i dostarczyæ bezpieczne, szyfrowane po³±czenie
55 pomiedzy dwoma hostami.
58 Summary: OpenSSH Secure Shell protocol clients
59 Summary(pl): Klienci protoko³u Secure Shell
61 Group: Applications/Networking
62 Group(de): Applikationen/Netzwerkwesen
63 Group(pl): Aplikacje/Sieciowe
64 Obsoletes: ssh-clients < %{version}, ssh-clients > %{version}
65 Requires: %{name} = %{version}
68 Ssh (Secure Shell) a program for logging into a remote machine and for
69 executing commands in a remote machine. It is intended to replace
70 rlogin and rsh, and provide secure encrypted communications between
71 two untrusted hosts over an insecure network. X11 connections and
72 arbitrary TCP/IP ports can also be forwarded over the secure channel.
74 OpenSSH is OpenBSD's rework of the last free version of SSH, bringing
75 it up to date in terms of security and features, as well as removing
76 all patented algorithms to seperate libraries (OpenSSL).
78 This package includes the clients necessary to make encrypted
79 connections to SSH servers.
81 %description -l pl clients
82 Ssh (Secure Shell) to program s³u¿±cy do logowania siê na zdaln±
83 maszynê i uruchamiania na niej aplikacji. W zamierzeniu openssh ma
84 zast±piæ rlogin, rsh i dostarczyæ bezpieczne, szyfrowane po³±czenie
85 pomiedzy dwoma hostami.
87 Ten pakiet zawiera klientów s³u¿±cych do ³±czenia siê z serwerami SSH.
90 Summary: OpenSSH Secure Shell protocol server (sshd)
91 Summary(pl): Serwer protoko³u Secure Shell (sshd)
92 Requires: openssh chkconfig >= 0.9
93 Group: Networking/Daemons
94 Group(de): Netzwerkwesen/Server
95 Group(pl): Sieciowe/Serwery
96 Obsoletes: ssh-server < %{version}, ssh-server > %{version}
101 Prereq: %{name} = %{version}
104 Ssh (Secure Shell) a program for logging into a remote machine and for
105 executing commands in a remote machine. It is intended to replace
106 rlogin and rsh, and provide secure encrypted communications between
107 two untrusted hosts over an insecure network. X11 connections and
108 arbitrary TCP/IP ports can also be forwarded over the secure channel.
110 OpenSSH is OpenBSD's rework of the last free version of SSH, bringing
111 it up to date in terms of security and features, as well as removing
112 all patented algorithms to seperate libraries (OpenSSL).
114 This package contains the secure shell daemon. The sshd is the server
115 part of the secure shell protocol and allows ssh clients to connect to
118 %description -l pl server
119 Ssh (Secure Shell) to program s³u¿±cy do logowania siê na zdaln±
120 maszynê i uruchamiania na niej aplikacji. W zamierzeniu openssh ma
121 zast±piæ rlogin, rsh i dostarczyæ bezpieczne, szyfrowane po³±czenie
122 pomiedzy dwoma hostami.
124 Ten pakiet zawiera serwer sshd (do którego mog± ³±czyæ siê klienci
127 %package gnome-askpass
128 Summary: OpenSSH GNOME passphrase dialog
129 Summary(pl): Odpytywacz has³a OpenSSH dla GNOME
130 Group: Applications/Networking
131 Group(de): Applikationen/Netzwerkwesen
132 Group(pl): Aplikacje/Sieciowe
133 Requires: %{name} = %{version}
134 Obsoletes: ssh-extras < %{version}, ssh-extras > %{version}
135 Obsoletes: ssh-askpass < %{version}, ssh-askpass > %{version}
136 Obsoletes: openssh-askpass < %{version}, openssh-askpass > %{version}
138 %description gnome-askpass
139 Ssh (Secure Shell) a program for logging into a remote machine and for
140 executing commands in a remote machine. It is intended to replace
141 rlogin and rsh, and provide secure encrypted communications between
142 two untrusted hosts over an insecure network. X11 connections and
143 arbitrary TCP/IP ports can also be forwarded over the secure channel.
145 OpenSSH is OpenBSD's rework of the last free version of SSH, bringing
146 it up to date in terms of security and features, as well as removing
147 all patented algorithms to seperate libraries (OpenSSL).
149 This package contains the GNOME passphrase dialog.
151 %description -l pl gnome-askpass
152 Ssh (Secure Shell) to program s³u¿±cy do logowania siê na zdaln±
153 maszynê i uruchamiania na niej aplikacji. W zamierzeniu openssh ma
154 zast±piæ rlogin, rsh i dostarczyæ bezpieczne, szyfrowane po³±czenie
155 pomiedzy dwoma hostami.
157 Ten pakiet zawiera ,,odpytywacz has³a'' dla GNOME.
169 --with-gnome-askpass \
170 --with-tcp-wrappers \
171 --with-md5-passwords \
172 --with-ipaddr-display \
177 echo '#define LOGIN_PROGRAM "/bin/login"' >>config.h
180 cd contrib && gcc $RPM_OPT_FLAGS `gnome-config --cflags gnome gnomeui` \
181 gnome-ssh-askpass.c -o gnome-ssh-askpass \
182 `gnome-config --libs gnome gnomeui`
185 rm -rf $RPM_BUILD_ROOT
187 install -d $RPM_BUILD_ROOT{%{_sysconfdir},/etc/{pam.d,rc.d/init.d,sysconfig,security}}
189 %{__make} install DESTDIR="$RPM_BUILD_ROOT"
191 install %{SOURCE4} $RPM_BUILD_ROOT/etc/pam.d/sshd
192 install %{SOURCE6} $RPM_BUILD_ROOT/etc/pam.d/passwdssh
193 install %{SOURCE5} $RPM_BUILD_ROOT/etc/sysconfig/sshd
194 install %{SOURCE3} $RPM_BUILD_ROOT/etc/rc.d/init.d/sshd
195 install %{SOURCE2} $RPM_BUILD_ROOT%{_sysconfdir}/ssh_config
196 install %{SOURCE1} $RPM_BUILD_ROOT%{_sysconfdir}/sshd_config
197 install -d $RPM_BUILD_ROOT%{_libexecdir}/ssh
198 install contrib/gnome-ssh-askpass \
199 $RPM_BUILD_ROOT%{_libexecdir}/ssh/ssh-askpass
201 gzip -9nf ChangeLog OVERVIEW COPYING.Ylonen README README.Ylonen UPGRADING
203 touch $RPM_BUILD_ROOT/etc/security/blacklist.sshd
206 rm -rf $RPM_BUILD_ROOT
209 /sbin/chkconfig --add sshd
210 if [ ! -f %{_sysconfdir}/ssh_host_key -o ! -s %{_sysconfdir}/ssh_host_key ]; then
211 %{_bindir}/ssh-keygen -b 1024 -f %{_sysconfdir}/ssh_host_key -N '' 1>&2
213 if [ ! -f %{_sysconfdir}/ssh_host_dsa_key -o ! -s %{_sysconfdir}/ssh_host_dsa_key ]; then
214 %{_bindir}/ssh-keygen -d -f %{_sysconfdir}/ssh_host_dsa_key -N '' 1>&2
216 if [ -f /var/lock/subsys/sshd ]; then
217 /etc/rc.d/init.d/sshd restart 1>&2
219 echo "Run \"/etc/rc.d/init.d/sshd start\" to start openssh daemon."
221 if ! grep ssh /etc/security/passwd.conf >/dev/null 2>&1 ; then
222 echo "ssh" >> /etc/security/passwd.conf
226 if [ "$1" = "0" ]; then
227 if [ -f /var/lock/subsys/sshd ]; then
228 /etc/rc.d/init.d/sshd stop 1>&2
230 /sbin/chkconfig --del sshd
234 %defattr(644,root,root,755)
235 %doc {ChangeLog,OVERVIEW,COPYING.Ylonen,README,README.Ylonen,UPGRADING}.gz
236 %attr(755,root,root) %{_bindir}/ssh-keygen
237 %{_mandir}/man1/ssh-keygen.1*
241 %defattr(644,root,root,755)
242 %attr(0755,root,root) %{_bindir}/ssh
243 %attr(0755,root,root) %{_bindir}/ssh-agent
244 %attr(0755,root,root) %{_bindir}/ssh-add
245 %attr(755,root,root) %{_bindir}/scp
246 %{_mandir}/man1/scp.1*
247 %{_mandir}/man1/ssh.1*
248 %{_mandir}/man1/ssh-agent.1*
249 %{_mandir}/man1/ssh-add.1*
250 %config(noreplace) %verify(not md5 size mtime) %{_sysconfdir}/ssh_config
253 %defattr(644,root,root,755)
254 %attr(755,root,root) %{_sbindir}/sshd
255 %{_mandir}/man8/sshd.8*
256 %attr(640,root,root) %config(noreplace) %verify(not md5 size mtime) %{_sysconfdir}/sshd_config
257 %attr(640,root,root) %config(noreplace) %verify(not md5 size mtime) /etc/pam.d/sshd
258 %attr(754,root,root) /etc/rc.d/init.d/sshd
259 %attr(640,root,root) %config(noreplace) %verify(not md5 size mtime) /etc/sysconfig/sshd
260 %attr(640,root,root) %config(noreplace) %verify(not md5 size mtime) /etc/security/blacklist.sshd
263 %defattr(644,root,root,755)
264 %dir %{_libexecdir}/ssh
265 %attr(755,root,root) %{_libexecdir}/ssh/ssh-askpass