4 # OpenSSH privilege separation requires a user & group ID
8 # Version of ssh-askpass
9 %define aversion 1.2.4.1
11 # Do we want to disable building of x11-askpass? (1=yes 0=no)
12 %define no_x11_askpass 0
14 # Do we want to disable building of gnome-askpass? (1=yes 0=no)
15 %define no_gnome_askpass 0
17 # Do we want to link against a static libcrypto? (1=yes 0=no)
18 %define static_libcrypto 0
20 # Do we want smartcard support (1=yes 0=no)
23 # Use GTK2 instead of GNOME in gnome-ssh-askpass
26 # Is this build for RHL 6.x?
29 # Disable IPv6 (avoids DNS hangs on some glibc versions)
32 # Do we want kerberos5 support (1=yes 0=no)
35 # Reserve options to override askpass settings with:
36 # rpm -ba|--rebuild --define 'skip_xxx 1'
37 %{?skip_x11_askpass:%define no_x11_askpass 1}
38 %{?skip_gnome_askpass:%define no_gnome_askpass 1}
40 # Is this a build for RHL 6.x or earlier?
41 %{?build_6x:%define build6x 1}
43 # If this is RHL 6.x, the default configuration has sysconfdir in /usr/etc.
45 %define _sysconfdir /etc
49 # Options for static OpenSSL link:
50 # rpm -ba|--rebuild --define "static_openssl 1"
51 %{?static_openssl:%define static_libcrypto 1}
53 # Options for Smartcard support: (needs libsectok and openssl-engine)
54 # rpm -ba|--rebuild --define "smartcard 1"
55 %{?smartcard:%define scard 1}
57 # Option to disable ipv6
58 # rpm -ba|--rebuild --define "noipv6 1"
59 %{?noipv6:%define noip6 1}
61 # Is this a build for the rescue CD (without PAM, with MD5)? (1=yes 0=no)
63 %{?build_rescue:%define rescue 1}
65 # Turn off some stuff for resuce builds
70 Summary: The OpenSSH implementation of SSH protocol versions 1 and 2.
78 URL: http://www.openssh.com/portable.html
79 Source0: ftp://ftp.openbsd.org/pub/OpenBSD/OpenSSH/portable/openssh-%{version}.tar.gz
80 Source1: http://www.pobox.com/~jmknoble/software/x11-ssh-askpass/x11-ssh-askpass-%{aversion}.tar.gz
82 Group: Applications/Internet
83 BuildRoot: %{_tmppath}/%{name}-%{version}-buildroot
86 PreReq: initscripts >= 5.00
88 PreReq: initscripts >= 5.20
90 BuildPreReq: perl, openssl-devel, sharutils, tcp_wrappers
91 BuildPreReq: /bin/login
93 BuildPreReq: glibc-devel, pam
95 BuildPreReq: db1-devel, /usr/include/security/pam_appl.h
97 %if ! %{no_x11_askpass}
98 BuildPreReq: XFree86-devel
100 %if ! %{no_gnome_askpass}
101 BuildPreReq: pkgconfig
104 BuildPreReq: krb5-devel
105 BuildPreReq: krb5-libs
109 Summary: OpenSSH clients.
110 Requires: openssh = %{version}-%{release}
111 Group: Applications/Internet
112 Obsoletes: ssh-clients
115 Summary: The OpenSSH server daemon.
116 Group: System Environment/Daemons
117 Obsoletes: ssh-server
118 PreReq: openssh = %{version}-%{release}, chkconfig >= 0.9
120 Requires: /etc/pam.d/system-auth
124 Summary: A passphrase dialog for OpenSSH and X.
125 Group: Applications/Internet
126 Requires: openssh = %{version}-%{release}
127 Obsoletes: ssh-extras
129 %package askpass-gnome
130 Summary: A passphrase dialog for OpenSSH, X, and GNOME.
131 Group: Applications/Internet
132 Requires: openssh = %{version}-%{release}
133 Obsoletes: ssh-extras
136 SSH (Secure SHell) is a program for logging into and executing
137 commands on a remote machine. SSH is intended to replace rlogin and
138 rsh, and to provide secure encrypted communications between two
139 untrusted hosts over an insecure network. X11 connections and
140 arbitrary TCP/IP ports can also be forwarded over the secure channel.
142 OpenSSH is OpenBSD's version of the last free version of SSH, bringing
143 it up to date in terms of security and features, as well as removing
144 all patented algorithms to separate libraries.
146 This package includes the core files necessary for both the OpenSSH
147 client and server. To make this package useful, you should also
148 install openssh-clients, openssh-server, or both.
151 OpenSSH is a free version of SSH (Secure SHell), a program for logging
152 into and executing commands on a remote machine. This package includes
153 the clients necessary to make encrypted connections to SSH servers.
154 You'll also need to install the openssh package on OpenSSH clients.
157 OpenSSH is a free version of SSH (Secure SHell), a program for logging
158 into and executing commands on a remote machine. This package contains
159 the secure shell daemon (sshd). The sshd daemon allows SSH clients to
160 securely connect to your SSH server. You also need to have the openssh
164 OpenSSH is a free version of SSH (Secure SHell), a program for logging
165 into and executing commands on a remote machine. This package contains
166 an X11 passphrase dialog for OpenSSH.
168 %description askpass-gnome
169 OpenSSH is a free version of SSH (Secure SHell), a program for logging
170 into and executing commands on a remote machine. This package contains
171 an X11 passphrase dialog for OpenSSH and the GNOME GUI desktop
176 %if ! %{no_x11_askpass}
184 CFLAGS="$RPM_OPT_FLAGS -Os"; export CFLAGS
188 --sysconfdir=%{_sysconfdir}/ssh \
189 --libexecdir=%{_libexecdir}/openssh \
190 --datadir=%{_datadir}/openssh \
191 --with-tcp-wrappers \
192 --with-rsh=%{_bindir}/rsh \
193 --with-default-path=/usr/local/bin:/bin:/usr/bin \
194 --with-superuser-path=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin \
195 --with-privsep-path=%{_var}/empty/sshd \
200 --with-ipv4-default \
203 --without-pam --with-md5-passwords \
208 --with-kerberos5=/usr/kerberos \
212 %if %{static_libcrypto}
213 perl -pi -e "s|-lcrypto|%{_libdir}/libcrypto.a|g" Makefile
218 %if ! %{no_x11_askpass}
219 pushd x11-ssh-askpass-%{aversion}
220 %configure --libexecdir=%{_libexecdir}/openssh
226 # Define a variable to toggle gnome1/gtk2 building. This is necessary
227 # because RPM doesn't handle nested %if statements.
234 %if ! %{no_gnome_askpass}
236 if [ $gtk2 = yes ] ; then
237 make gnome-ssh-askpass2
238 mv gnome-ssh-askpass2 gnome-ssh-askpass
240 make gnome-ssh-askpass1
241 mv gnome-ssh-askpass1 gnome-ssh-askpass
247 rm -rf $RPM_BUILD_ROOT
248 mkdir -p -m755 $RPM_BUILD_ROOT%{_sysconfdir}/ssh
249 mkdir -p -m755 $RPM_BUILD_ROOT%{_libexecdir}/openssh
250 mkdir -p -m755 $RPM_BUILD_ROOT%{_var}/empty/sshd
252 make install DESTDIR=$RPM_BUILD_ROOT
254 install -d $RPM_BUILD_ROOT/etc/pam.d/
255 install -d $RPM_BUILD_ROOT/etc/rc.d/init.d
256 install -d $RPM_BUILD_ROOT%{_libexecdir}/openssh
258 install -m644 contrib/redhat/sshd.pam.old $RPM_BUILD_ROOT/etc/pam.d/sshd
260 install -m644 contrib/redhat/sshd.pam $RPM_BUILD_ROOT/etc/pam.d/sshd
262 install -m755 contrib/redhat/sshd.init $RPM_BUILD_ROOT/etc/rc.d/init.d/sshd
264 %if ! %{no_x11_askpass}
265 install -s x11-ssh-askpass-%{aversion}/x11-ssh-askpass $RPM_BUILD_ROOT%{_libexecdir}/openssh/x11-ssh-askpass
266 ln -s x11-ssh-askpass $RPM_BUILD_ROOT%{_libexecdir}/openssh/ssh-askpass
269 %if ! %{no_gnome_askpass}
270 install -s contrib/gnome-ssh-askpass $RPM_BUILD_ROOT%{_libexecdir}/openssh/gnome-ssh-askpass
273 install -m 755 -d $RPM_BUILD_ROOT%{_sysconfdir}/profile.d/
274 install -m 755 contrib/redhat/gnome-ssh-askpass.csh $RPM_BUILD_ROOT%{_sysconfdir}/profile.d/
275 install -m 755 contrib/redhat/gnome-ssh-askpass.sh $RPM_BUILD_ROOT%{_sysconfdir}/profile.d/
277 perl -pi -e "s|$RPM_BUILD_ROOT||g" $RPM_BUILD_ROOT%{_mandir}/man*/*
280 rm -rf $RPM_BUILD_ROOT
282 %triggerun server -- ssh-server
283 if [ "$1" != 0 -a -r /var/run/sshd.pid ] ; then
284 touch /var/run/sshd.restart
287 %triggerun server -- openssh-server < 2.5.0p1
288 # Count the number of HostKey and HostDsaKey statements we have.
289 gawk 'BEGIN {IGNORECASE=1}
290 /^hostkey/ || /^hostdsakey/ {sawhostkey = sawhostkey + 1}
291 END {exit sawhostkey}' /etc/ssh/sshd_config
292 # And if we only found one, we know the client was relying on the old default
293 # behavior, which loaded the the SSH2 DSA host key when HostDsaKey wasn't
294 # specified. Now that HostKey is used for both SSH1 and SSH2 keys, specifying
295 # one nullifies the default, which would have loaded both.
296 if [ $? -eq 1 ] ; then
297 echo HostKey /etc/ssh/ssh_host_rsa_key >> /etc/ssh/sshd_config
298 echo HostKey /etc/ssh/ssh_host_dsa_key >> /etc/ssh/sshd_config
301 %triggerpostun server -- ssh-server
302 if [ "$1" != 0 ] ; then
303 /sbin/chkconfig --add sshd
304 if test -f /var/run/sshd.restart ; then
305 rm -f /var/run/sshd.restart
306 /sbin/service sshd start > /dev/null 2>&1 || :
311 %{_sbindir}/groupadd -r -g %{sshd_gid} sshd 2>/dev/null || :
312 %{_sbindir}/useradd -d /var/empty/sshd -s /bin/false -u %{sshd_uid} \
313 -g sshd -M -r sshd 2>/dev/null || :
316 /sbin/chkconfig --add sshd
319 /sbin/service sshd condrestart > /dev/null 2>&1 || :
324 /sbin/service sshd stop > /dev/null 2>&1 || :
325 /sbin/chkconfig --del sshd
329 %defattr(-,root,root)
330 %doc CREDITS ChangeLog INSTALL LICENCE OVERVIEW README* RFC* TODO WARNING*
331 %attr(0755,root,root) %{_bindir}/scp
332 %attr(0644,root,root) %{_mandir}/man1/scp.1*
333 %attr(0755,root,root) %dir %{_sysconfdir}/ssh
334 %attr(0600,root,root) %config(noreplace) %{_sysconfdir}/ssh/moduli
336 %attr(0755,root,root) %{_bindir}/ssh-keygen
337 %attr(0644,root,root) %{_mandir}/man1/ssh-keygen.1*
338 %attr(0755,root,root) %dir %{_libexecdir}/openssh
339 %attr(4711,root,root) %{_libexecdir}/openssh/ssh-keysign
340 %attr(0644,root,root) %{_mandir}/man8/ssh-keysign.8*
343 %attr(0755,root,root) %dir %{_datadir}/openssh
344 %attr(0644,root,root) %{_datadir}/openssh/Ssh.bin
348 %defattr(-,root,root)
349 %attr(0755,root,root) %{_bindir}/ssh
350 %attr(0644,root,root) %{_mandir}/man1/ssh.1*
351 %attr(0644,root,root) %{_mandir}/man5/ssh_config.5*
352 %attr(0644,root,root) %config(noreplace) %{_sysconfdir}/ssh/ssh_config
353 %attr(-,root,root) %{_bindir}/slogin
354 %attr(-,root,root) %{_mandir}/man1/slogin.1*
356 %attr(0755,root,root) %{_bindir}/ssh-agent
357 %attr(0755,root,root) %{_bindir}/ssh-add
358 %attr(0755,root,root) %{_bindir}/ssh-keyscan
359 %attr(0755,root,root) %{_bindir}/sftp
360 %attr(0644,root,root) %{_mandir}/man1/ssh-agent.1*
361 %attr(0644,root,root) %{_mandir}/man1/ssh-add.1*
362 %attr(0644,root,root) %{_mandir}/man1/ssh-keyscan.1*
363 %attr(0644,root,root) %{_mandir}/man1/sftp.1*
368 %defattr(-,root,root)
369 %dir %attr(0111,root,root) %{_var}/empty/sshd
370 %attr(0755,root,root) %{_sbindir}/sshd
371 %attr(0755,root,root) %{_libexecdir}/openssh/sftp-server
372 %attr(0644,root,root) %{_mandir}/man8/sshd.8*
373 %attr(0644,root,root) %{_mandir}/man5/sshd_config.5*
374 %attr(0644,root,root) %{_mandir}/man8/sftp-server.8*
375 %attr(0755,root,root) %dir %{_sysconfdir}/ssh
376 %attr(0600,root,root) %config(noreplace) %{_sysconfdir}/ssh/sshd_config
377 %attr(0600,root,root) %config(noreplace) /etc/pam.d/sshd
378 %attr(0755,root,root) %config /etc/rc.d/init.d/sshd
381 %if ! %{no_x11_askpass}
383 %defattr(-,root,root)
384 %doc x11-ssh-askpass-%{aversion}/README
385 %doc x11-ssh-askpass-%{aversion}/ChangeLog
386 %doc x11-ssh-askpass-%{aversion}/SshAskpass*.ad
387 %attr(0755,root,root) %{_libexecdir}/openssh/ssh-askpass
388 %attr(0755,root,root) %{_libexecdir}/openssh/x11-ssh-askpass
391 %if ! %{no_gnome_askpass}
393 %defattr(-,root,root)
394 %attr(0755,root,root) %config %{_sysconfdir}/profile.d/gnome-ssh-askpass.*
395 %attr(0755,root,root) %{_libexecdir}/openssh/gnome-ssh-askpass
399 * Mon Sep 30 2002 Damien Miller <djm@mindrot.org>
400 - Use contrib/ Makefile for building askpass programs
402 * Fri Jun 21 2002 Damien Miller <djm@mindrot.org>
403 - Merge in spec changes from seba@iq.pl (Sebastian Pachuta)
404 - Add new {ssh,sshd}_config.5 manpages
405 - Add new ssh-keysign program and remove setuid from ssh client
407 * Fri May 10 2002 Damien Miller <djm@mindrot.org>
408 - Merge in spec changes from RedHat, reorgansie a little
409 - Add Privsep user, group and directory
411 * Thu Mar 7 2002 Nalin Dahyabhai <nalin@redhat.com> 3.1p1-2
412 - bump and grind (through the build system)
414 * Thu Mar 7 2002 Nalin Dahyabhai <nalin@redhat.com> 3.1p1-1
415 - require sharutils for building (mindrot #137)
416 - require db1-devel only when building for 6.x (#55105), which probably won't
417 work anyway (3.1 requires OpenSSL 0.9.6 to build), but what the heck
418 - require pam-devel by file (not by package name) again
419 - add Markus's patch to compile with OpenSSL 0.9.5a (from
420 http://bugzilla.mindrot.org/show_bug.cgi?id=141) and apply it if we're
423 * Thu Mar 7 2002 Nalin Dahyabhai <nalin@redhat.com> 3.1p1-0
426 * Tue Mar 5 2002 Nalin Dahyabhai <nalin@redhat.com> SNAP-20020305
427 - update to SNAP-20020305
428 - drop debug patch, fixed upstream
430 * Wed Feb 20 2002 Nalin Dahyabhai <nalin@redhat.com> SNAP-20020220
431 - update to SNAP-20020220 for testing purposes (you've been warned, if there's
432 anything to be warned about, gss patches won't apply, I don't mind)
434 * Wed Feb 13 2002 Nalin Dahyabhai <nalin@redhat.com> 3.0.2p1-3
435 - add patches from Simon Wilkinson and Nicolas Williams for GSSAPI key
436 exchange, authentication, and named key support
438 * Wed Jan 23 2002 Nalin Dahyabhai <nalin@redhat.com> 3.0.2p1-2
439 - remove dependency on db1-devel, which has just been swallowed up whole
442 * Sun Dec 29 2001 Nalin Dahyabhai <nalin@redhat.com>
443 - adjust build dependencies so that build6x actually works right (fix
444 from Hugo van der Kooij)
446 * Tue Dec 4 2001 Nalin Dahyabhai <nalin@redhat.com> 3.0.2p1-1
449 * Fri Nov 16 2001 Nalin Dahyabhai <nalin@redhat.com> 3.0.1p1-1
452 * Tue Nov 13 2001 Nalin Dahyabhai <nalin@redhat.com>
453 - update to current CVS (not for use in distribution)
455 * Thu Nov 8 2001 Nalin Dahyabhai <nalin@redhat.com> 3.0p1-1
456 - merge some of Damien Miller <djm@mindrot.org> changes from the upstream
457 3.0p1 spec file and init script
459 * Wed Nov 7 2001 Nalin Dahyabhai <nalin@redhat.com>
461 - update to x11-ssh-askpass 1.2.4.1
462 - change build dependency on a file from pam-devel to the pam-devel package
463 - replace primes with moduli
465 * Thu Sep 27 2001 Nalin Dahyabhai <nalin@redhat.com> 2.9p2-9
466 - incorporate fix from Markus Friedl's advisory for IP-based authorization bugs
468 * Thu Sep 13 2001 Bernhard Rosenkraenzer <bero@redhat.com> 2.9p2-8
469 - Merge changes to rescue build from current sysadmin survival cd
471 * Thu Sep 6 2001 Nalin Dahyabhai <nalin@redhat.com> 2.9p2-7
472 - fix scp's server's reporting of file sizes, and build with the proper
473 preprocessor define to get large-file capable open(), stat(), etc.
474 (sftp has been doing this correctly all along) (#51827)
475 - configure without --with-ipv4-default on RHL 7.x and newer (#45987,#52247)
476 - pull cvs patch to fix support for /etc/nologin for non-PAM logins (#47298)
477 - mark profile.d scriptlets as config files (#42337)
478 - refer to Jason Stone's mail for zsh workaround for exit-hanging quasi-bug
479 - change a couple of log() statements to debug() statements (#50751)
480 - pull cvs patch to add -t flag to sshd (#28611)
481 - clear fd_sets correctly (one bit per FD, not one byte per FD) (#43221)
483 * Mon Aug 20 2001 Nalin Dahyabhai <nalin@redhat.com> 2.9p2-6
484 - add db1-devel as a BuildPrerequisite (noted by Hans Ecke)
486 * Thu Aug 16 2001 Nalin Dahyabhai <nalin@redhat.com>
487 - pull cvs patch to fix remote port forwarding with protocol 2
489 * Thu Aug 9 2001 Nalin Dahyabhai <nalin@redhat.com>
490 - pull cvs patch to add session initialization to no-pty sessions
491 - pull cvs patch to not cut off challengeresponse auth needlessly
492 - refuse to do X11 forwarding if xauth isn't there, handy if you enable
493 it by default on a system that doesn't have X installed (#49263)
495 * Wed Aug 8 2001 Nalin Dahyabhai <nalin@redhat.com>
496 - don't apply patches to code we don't intend to build (spotted by Matt Galgoci)
498 * Mon Aug 6 2001 Nalin Dahyabhai <nalin@redhat.com>
499 - pass OPTIONS correctly to initlog (#50151)
501 * Wed Jul 25 2001 Nalin Dahyabhai <nalin@redhat.com>
502 - switch to x11-ssh-askpass 1.2.2
504 * Wed Jul 11 2001 Nalin Dahyabhai <nalin@redhat.com>
505 - rebuild in new environment
507 * Mon Jun 25 2001 Nalin Dahyabhai <nalin@redhat.com>
508 - disable the gssapi patch
510 * Mon Jun 18 2001 Nalin Dahyabhai <nalin@redhat.com>
512 - refresh to a new version of the gssapi patch
514 * Thu Jun 7 2001 Nalin Dahyabhai <nalin@redhat.com>
515 - change Copyright: BSD to License: BSD
516 - add Markus Friedl's unverified patch for the cookie file deletion problem
517 so that we can verify it
518 - drop patch to check if xauth is present (was folded into cookie patch)
519 - don't apply gssapi patches for the errata candidate
520 - clear supplemental groups list at startup
522 * Fri May 25 2001 Nalin Dahyabhai <nalin@redhat.com>
523 - fix an error parsing the new default sshd_config
524 - add a fix from Markus Friedl (via openssh-unix-dev) for ssh-keygen not
525 dealing with comments right
527 * Thu May 24 2001 Nalin Dahyabhai <nalin@redhat.com>
528 - add in Simon Wilkinson's GSSAPI patch to give it some testing in-house,
529 to be removed before the next beta cycle because it's a big departure
530 from the upstream version
532 * Thu May 3 2001 Nalin Dahyabhai <nalin@redhat.com>
533 - finish marking strings in the init script for translation
534 - modify init script to source /etc/sysconfig/sshd and pass $OPTIONS to sshd
535 at startup (change merged from openssh.com init script, originally by
537 - refuse to do X11 forwarding if xauth isn't there, handy if you enable
538 it by default on a system that doesn't have X installed
540 * Wed May 2 2001 Nalin Dahyabhai <nalin@redhat.com>
542 - drop various patches that came from or went upstream or to or from CVS
544 * Wed Apr 18 2001 Nalin Dahyabhai <nalin@redhat.com>
545 - only require initscripts 5.00 on 6.2 (reported by Peter Bieringer)
547 * Sun Apr 8 2001 Preston Brown <pbrown@redhat.com>
548 - remove explicit openssl requirement, fixes builddistro issue
549 - make initscript stop() function wait until sshd really dead to avoid
552 * Mon Apr 2 2001 Nalin Dahyabhai <nalin@redhat.com>
553 - mention that challengereponse supports PAM, so disabling password doesn't
554 limit users to pubkey and rsa auth (#34378)
555 - bypass the daemon() function in the init script and call initlog directly,
556 because daemon() won't start a daemon it detects is already running (like
558 - require the version of openssl we had when we were built
560 * Fri Mar 23 2001 Nalin Dahyabhai <nalin@redhat.com>
561 - make do_pam_setcred() smart enough to know when to establish creds and
562 when to reinitialize them
563 - add in a couple of other fixes from Damien for inclusion in the errata
565 * Thu Mar 22 2001 Nalin Dahyabhai <nalin@redhat.com>
567 - call setcred() again after initgroups, because the "creds" could actually
570 * Tue Mar 20 2001 Nalin Dahyabhai <nalin@redhat.com>
571 - update to 2.5.2p1 (includes endianness fixes in the rijndael implementation)
572 - don't enable challenge-response by default until we find a way to not
573 have too many userauth requests (we may make up to six pubkey and up to
574 three password attempts as it is)
575 - remove build dependency on rsh to match openssh.com's packages more closely
577 * Sat Mar 3 2001 Nalin Dahyabhai <nalin@redhat.com>
578 - remove dependency on openssl -- would need to be too precise
580 * Fri Mar 2 2001 Nalin Dahyabhai <nalin@redhat.com>
581 - rebuild in new environment
583 * Mon Feb 26 2001 Nalin Dahyabhai <nalin@redhat.com>
584 - Revert the patch to move pam_open_session.
585 - Init script and spec file changes from Pekka Savola. (#28750)
586 - Patch sftp to recognize '-o protocol' arguments. (#29540)
588 * Thu Feb 22 2001 Nalin Dahyabhai <nalin@redhat.com>
589 - Chuck the closing patch.
590 - Add a trigger to add host keys for protocol 2 to the config file, now that
591 configuration file syntax requires us to specify it with HostKey if we
592 specify any other HostKey values, which we do.
594 * Tue Feb 20 2001 Nalin Dahyabhai <nalin@redhat.com>
595 - Redo patch to move pam_open_session after the server setuid()s to the user.
596 - Rework the nopam patch to use be picked up by autoconf.
598 * Mon Feb 19 2001 Nalin Dahyabhai <nalin@redhat.com>
599 - Update for 2.5.1p1.
600 - Add init script mods from Pekka Savola.
601 - Tweak the init script to match the CVS contrib script more closely.
602 - Redo patch to ssh-add to try to adding both identity and id_dsa to also try
605 * Fri Feb 16 2001 Nalin Dahyabhai <nalin@redhat.com>
606 - Update for 2.5.0p1.
607 - Use $RPM_OPT_FLAGS instead of -O when building gnome-ssh-askpass
608 - Resync with parts of Damien Miller's openssh.spec from CVS, including
609 update of x11 askpass to 1.2.0.
610 - Only require openssl (don't prereq) because we generate keys in the init
613 * Tue Feb 13 2001 Nalin Dahyabhai <nalin@redhat.com>
614 - Don't open a PAM session until we've forked and become the user (#25690).
615 - Apply Andrew Bartlett's patch for letting pam_authenticate() know which
616 host the user is attempting a login from.
617 - Resync with parts of Damien Miller's openssh.spec from CVS.
618 - Don't expose KbdInt responses in debug messages (from CVS).
619 - Detect and handle errors in rsa_{public,private}_decrypt (from CVS).
621 * Wed Feb 7 2001 Trond Eivind Glomsrxd <teg@redhat.com>
622 - i18n-tweak to initscript.
624 * Tue Jan 23 2001 Nalin Dahyabhai <nalin@redhat.com>
626 - Close all files after going into daemon mode (needs more testing).
627 - Extract patch from CVS to handle auth banners (in the client).
628 - Extract patch from CVS to handle compat weirdness.
630 * Fri Jan 19 2001 Nalin Dahyabhai <nalin@redhat.com>
631 - Finish with the gettextizing.
633 * Thu Jan 18 2001 Nalin Dahyabhai <nalin@redhat.com>
634 - Fix a bug in auth2-pam.c (#23877)
635 - Gettextize the init script.
637 * Wed Dec 20 2000 Nalin Dahyabhai <nalin@redhat.com>
638 - Incorporate a switch for using PAM configs for 6.x, just in case.
640 * Tue Dec 5 2000 Nalin Dahyabhai <nalin@redhat.com>
641 - Incorporate Bero's changes for a build specifically for rescue CDs.
643 * Wed Nov 29 2000 Nalin Dahyabhai <nalin@redhat.com>
644 - Don't treat pam_setcred() failure as fatal unless pam_authenticate() has
645 succeeded, to allow public-key authentication after a failure with "none"
646 authentication. (#21268)
648 * Tue Nov 28 2000 Nalin Dahyabhai <nalin@redhat.com>
649 - Update to x11-askpass 1.1.1. (#21301)
650 - Don't second-guess fixpaths, which causes paths to get fixed twice. (#21290)
652 * Mon Nov 27 2000 Nalin Dahyabhai <nalin@redhat.com>
653 - Merge multiple PAM text messages into subsequent prompts when possible when
654 doing keyboard-interactive authentication.
656 * Sun Nov 26 2000 Nalin Dahyabhai <nalin@redhat.com>
657 - Disable the built-in MD5 password support. We're using PAM.
658 - Take a crack at doing keyboard-interactive authentication with PAM, and
659 enable use of it in the default client configuration so that the client
660 will try it when the server disallows password authentication.
661 - Build with debugging flags. Build root policies strip all binaries anyway.
663 * Tue Nov 21 2000 Nalin Dahyabhai <nalin@redhat.com>
664 - Use DESTDIR instead of %%makeinstall.
665 - Remove /usr/X11R6/bin from the path-fixing patch.
667 * Mon Nov 20 2000 Nalin Dahyabhai <nalin@redhat.com>
668 - Add the primes file from the latest snapshot to the main package (#20884).
669 - Add the dev package to the prereq list (#19984).
670 - Remove the default path and mimic login's behavior in the server itself.
672 * Fri Nov 17 2000 Nalin Dahyabhai <nalin@redhat.com>
673 - Resync with conditional options in Damien Miller's .spec file for an errata.
674 - Change libexecdir from %%{_libexecdir}/ssh to %%{_libexecdir}/openssh.
676 * Tue Nov 7 2000 Nalin Dahyabhai <nalin@redhat.com>
677 - Update to OpenSSH 2.3.0p1.
678 - Update to x11-askpass 1.1.0.
679 - Enable keyboard-interactive authentication.
681 * Mon Oct 30 2000 Nalin Dahyabhai <nalin@redhat.com>
682 - Update to ssh-askpass-x11 1.0.3.
683 - Change authentication related messages to be private (#19966).
685 * Tue Oct 10 2000 Nalin Dahyabhai <nalin@redhat.com>
686 - Patch ssh-keygen to be able to list signatures for DSA public key files
689 * Thu Oct 5 2000 Nalin Dahyabhai <nalin@redhat.com>
690 - Add BuildPreReq on /usr/include/security/pam_appl.h to be sure we always
691 build PAM authentication in.
692 - Try setting SSH_ASKPASS if gnome-ssh-askpass is installed.
693 - Clean out no-longer-used patches.
694 - Patch ssh-add to try to add both identity and id_dsa, and to error only
697 * Mon Oct 2 2000 Nalin Dahyabhai <nalin@redhat.com>
698 - Update x11-askpass to 1.0.2. (#17835)
699 - Add BuildPreReqs for /bin/login and /usr/bin/rsh so that configure will
700 always find them in the right place. (#17909)
701 - Set the default path to be the same as the one supplied by /bin/login, but
702 add /usr/X11R6/bin. (#17909)
703 - Try to handle obsoletion of ssh-server more cleanly. Package names
704 are different, but init script name isn't. (#17865)
706 * Wed Sep 6 2000 Nalin Dahyabhai <nalin@redhat.com>
707 - Update to 2.2.0p1. (#17835)
708 - Tweak the init script to allow proper restarting. (#18023)
710 * Wed Aug 23 2000 Nalin Dahyabhai <nalin@redhat.com>
711 - Update to 20000823 snapshot.
712 - Change subpackage requirements from %%{version} to %%{version}-%%{release}
713 - Back out the pipe patch.
715 * Mon Jul 17 2000 Nalin Dahyabhai <nalin@redhat.com>
716 - Update to 2.1.1p4, which includes fixes for config file parsing problems.
717 - Move the init script back.
718 - Add Damien's quick fix for wackiness.
720 * Wed Jul 12 2000 Nalin Dahyabhai <nalin@redhat.com>
721 - Update to 2.1.1p3, which includes fixes for X11 forwarding and strtok().
723 * Thu Jul 6 2000 Nalin Dahyabhai <nalin@redhat.com>
724 - Move condrestart to server postun.
725 - Move key generation to init script.
726 - Actually use the right patch for moving the key generation to the init script.
727 - Clean up the init script a bit.
729 * Wed Jul 5 2000 Nalin Dahyabhai <nalin@redhat.com>
730 - Fix X11 forwarding, from mail post by Chan Shih-Ping Richard.
732 * Sun Jul 2 2000 Nalin Dahyabhai <nalin@redhat.com>
734 - Use of strtok() considered harmful.
736 * Sat Jul 1 2000 Nalin Dahyabhai <nalin@redhat.com>
737 - Get the build root out of the man pages.
739 * Thu Jun 29 2000 Nalin Dahyabhai <nalin@redhat.com>
740 - Add and use condrestart support in the init script.
741 - Add newer initscripts as a prereq.
743 * Tue Jun 27 2000 Nalin Dahyabhai <nalin@redhat.com>
744 - Build in new environment (release 2)
745 - Move -clients subpackage to Applications/Internet group
747 * Fri Jun 9 2000 Nalin Dahyabhai <nalin@redhat.com>
750 * Sat Jun 3 2000 Nalin Dahyabhai <nalin@redhat.com>
751 - Patch to build with neither RSA nor RSAref.
752 - Miscellaneous FHS-compliance tweaks.
753 - Fix for possibly-compressed man pages.
755 * Wed Mar 15 2000 Damien Miller <djm@ibs.com.au>
756 - Updated for new location
757 - Updated for new gnome-ssh-askpass build
759 * Sun Dec 26 1999 Damien Miller <djm@mindrot.org>
760 - Added Jim Knoble's <jmknoble@pobox.com> askpass
762 * Mon Nov 15 1999 Damien Miller <djm@mindrot.org>
763 - Split subpackages further based on patch from jim knoble <jmknoble@pobox.com>
765 * Sat Nov 13 1999 Damien Miller <djm@mindrot.org>
766 - Added 'Obsoletes' directives
768 * Tue Nov 09 1999 Damien Miller <djm@ibs.com.au>
772 * Mon Nov 08 1999 Damien Miller <djm@ibs.com.au>
773 - Added links for slogin
774 - Fixed perms on manpages
776 * Sat Oct 30 1999 Damien Miller <djm@ibs.com.au>
777 - Renamed init script
779 * Fri Oct 29 1999 Damien Miller <djm@ibs.com.au>
780 - Back to old binary names
782 * Thu Oct 28 1999 Damien Miller <djm@ibs.com.au>
786 * Wed Oct 27 1999 Damien Miller <djm@ibs.com.au>
787 - Initial RPMification, based on Jan "Yenya" Kasprzak's <kas@fi.muni.cz> spec.