20011023
- (bal) Updated version to 3.0p1 in preparing for release.
- (bal) Added 'PAM_TTY_KLUDGE' to Solaris platform.
+ - (tim) [configure.in] Fix test for broken dirname. Based on patch from
+ Dave Dykstra <dwd@bell-labs.com>. Remove un-needed test for zlib.h.
+ [contrib/caldera/openssh.spec, contrib/redhat/openssh.spec,
+ contrib/suse/openssh.spec] Update version to match version.h
20011022
- (djm) Fix fd leak in loginrec.c (ro fd to lastlog was left open).
- Wrote replacements for strlcpy and mkdtemp
- Released 1.0pre1
-$Id: ChangeLog,v 1.1613 2001/10/23 17:14:00 mouring Exp $
+$Id: ChangeLog,v 1.1614 2001/10/24 05:36:54 tim Exp $
-# $Id: configure.in,v 1.316 2001/10/23 17:14:01 mouring Exp $
+# $Id: configure.in,v 1.317 2001/10/24 05:36:55 tim Exp $
AC_INIT
AC_CONFIG_SRCDIR([ssh.c])
]
)
-AC_CHECK_HEADER(zlib.h,
- AC_CHECK_LIB(z, gzread, ,
- AC_MSG_ERROR([*** zlib missing. install first or check config.log ***])),
- AC_MSG_ERROR([*** zlib missing. install first or check config.log ***]))
-
+AC_CHECK_LIB(z, deflate, ,AC_MSG_ERROR([*** zlib missing - please install first or check config.log ***]))
# We don't want to check if we did an pcre override.
if test -z "$no_comp_check" ; then
# Checks for header files.
AC_CHECK_HEADERS(bstring.h crypt.h endian.h floatingpoint.h \
- getopt.h glob.h lastlog.h libgen.h limits.h login.h \
+ getopt.h glob.h lastlog.h limits.h login.h \
login_cap.h maillock.h netdb.h netgroup.h \
netinet/in_systm.h paths.h poll.h pty.h regex.h \
security/pam_appl.h shadow.h stddef.h stdint.h \
vhangup vsnprintf waitpid __b64_ntop _getpty)
dnl IRIX and Solaris 2.5.1 have dirname() in libgen
-AC_CHECK_FUNCS(dirname, ,[
+AC_CHECK_FUNCS(dirname, [AC_CHECK_HEADERS(libgen.h)] ,[
AC_CHECK_LIB(gen, dirname,[
AC_CACHE_CHECK([for broken dirname],
ac_cv_have_broken_dirname, [
+ save_LIBS="$LIBS"
+ LIBS="$LIBS -lgen"
AC_TRY_RUN(
[
#include <libgen.h>
strncpy(buf,"/etc", 32);
s = dirname(buf);
- if (s && s[0] == '\0') {
+ if (!s || strncmp(s, "/", 32) != 0) {
exit(1);
} else {
exit(0);
[ ac_cv_have_broken_dirname="no" ],
[ ac_cv_have_broken_dirname="yes" ]
)
+ LIBS="$save_LIBS"
])
- if test "x$ac_cv_have_getopt_optreset" = "xno" ; then
+ if test "x$ac_cv_have_broken_dirname" = "xno" ; then
LIBS="$LIBS -lgen"
AC_DEFINE(HAVE_DIRNAME)
+ AC_CHECK_HEADERS(libgen.h)
fi
])
])
%define askpass 1.2.4.1
Name : openssh
-Version : 2.9.9p2
-Release : 3
+Version : 3.0p2
+Release : 1
Group : System/Network
-Summary : OpenSSH free Secure Shell (SSH) implementation.
+Summary : OpenSSH free Secure Shell (SSH) protocol implementation.
Summary(de) : OpenSSH - freie Implementation der Secure Shell (SSH).
Summary(es) : OpenSSH implementación libre de Secure Shell (SSH).
Summary(fr) : Implémentation libre du shell sécurisé OpenSSH (SSH).
Source0: ftp://ftp.openbsd.org/pub/OpenBSD/OpenSSH/portable/openssh-%{Version}.tar.gz
Source1: http://www.ntrnet.net/~jmknoble/software/x11-ssh-askpass/x11-ssh-askpass-%{askpass}.tar.gz
-Source2: http://www.openssh.com/openssh-faq.html
+Source2: http://www.openssh.com/faq.html
%Package server
* Mon Jan 01 1998 ...
Template Version: 1.31
-$Id: openssh.spec,v 1.21 2001/09/28 10:05:08 djm Exp $
+$Id: openssh.spec,v 1.22 2001/10/24 05:36:55 tim Exp $