Compare commits

...
5 Commits
Author SHA1 Message Date
Damien Miller 9d14715146 reset release numbers to 1 2003-09-16 16:02:40 +10:00
Damien Miller 04a1d8d67d - (djm) Banish sprintf from auth-pam.c. Patch from bal 2003-09-16 16:00:52 +10:00
Tim Rice 5502e5895d [configure.ac] Fix portability issues. 2003-09-15 22:48:15 -07:00
Damien Miller 315212b531 release 2003-09-16 14:08:37 +10:00
Damien Miller 42978c7f28 - (djm) Crank spec versions 2003-09-16 13:59:42 +10:00
6 changed files with 27 additions and 21 deletions
+5 -1
View File
@@ -7,6 +7,10 @@
- [email protected] 2003/09/16 03:03:47
[buffer.c]
do not expand buffer before attempting to reallocate it; markus ok
- (djm) Crank spec versions
- (djm) Banish (safe) sprintf from auth-pam.c. Patch from bal
- (tim) [configure.ac] Fix portability issues.
- (djm) Release 3.7p1
20030914
- (dtucker) [Makefile regress/Makefile] Fix portability issues preventing
@@ -1103,4 +1107,4 @@
- Fix sshd BindAddress and -b options for systems using fake-getaddrinfo.
Report from [email protected], diagnosis from [email protected]
$Id: ChangeLog,v 1.2994 2003/09/16 03:31:03 mouring Exp $
$Id: ChangeLog,v 1.2994.2.4 2003/09/16 06:00:52 djm Exp $
+11 -9
View File
@@ -31,7 +31,7 @@
/* Based on $FreeBSD: src/crypto/openssh/auth2-pam-freebsd.c,v 1.11 2003/03/31 13:48:18 des Exp $ */
#include "includes.h"
RCSID("$Id: auth-pam.c,v 1.72 2003/09/13 12:12:11 dtucker Exp $");
RCSID("$Id: auth-pam.c,v 1.72.2.1 2003/09/16 06:00:52 djm Exp $");
#ifdef USE_PAM
#include <security/pam_appl.h>
@@ -672,17 +672,19 @@ do_pam_chauthtok(void)
int
do_pam_putenv(char *name, char *value)
{
char *compound;
int ret = 1;
#ifdef HAVE_PAM_PUTENV
compound = xmalloc(strlen(name)+strlen(value)+2);
if (compound) {
sprintf(compound,"%s=%s",name,value);
ret = pam_putenv(sshpam_handle,compound);
xfree(compound);
}
char *compound;
size_t len;
len = strlen(name) + strlen(value) + 2;
compound = xmalloc(len);
snprintf(compound, len, "%s=%s", name, value);
ret = pam_putenv(sshpam_handle, compound);
xfree(compound);
#endif
return (ret);
}
+4 -4
View File
@@ -1,4 +1,4 @@
# $Id: configure.ac,v 1.154 2003/09/16 01:52:19 dtucker Exp $
# $Id: configure.ac,v 1.154.2.1 2003/09/16 05:48:15 tim Exp $
AC_INIT
AC_CONFIG_SRCDIR([ssh.c])
@@ -2205,7 +2205,7 @@ AC_ARG_WITH(default-path,
--with-default-path=PATH has no effect on this system.
Edit /etc/login.conf instead.])
elif test "x$withval" != "xno" ; then
if ! test -z "$external_path_file" ; then
if test ! -z "$external_path_file" ; then
AC_MSG_WARN([
--with-default-path=PATH will only be used if PATH is not defined in
$external_path_file .])
@@ -2217,7 +2217,7 @@ $external_path_file .])
[ if test "x$external_path_file" = "x/etc/login.conf" ; then
AC_MSG_WARN([Make sure the path to scp is in /etc/login.conf])
else
if ! test -z "$external_path_file" ; then
if test ! -z "$external_path_file" ; then
AC_MSG_WARN([
If PATH is defined in $external_path_file, ensure the path to scp is included,
otherwise scp will not work.])
@@ -2652,7 +2652,7 @@ echo " At runtime, sshd will use the path defined in $external_path_file"
echo " Make sure the path to scp is present, otherwise scp will not work"
else
echo " sshd default user PATH: $I"
if ! test -z "$external_path_file"; then
if test ! -z "$external_path_file"; then
echo " (If PATH is set in $external_path_file it will be used instead. If"
echo " used, ensure the path to scp is present, otherwise scp will not work.)"
fi
+3 -3
View File
@@ -17,9 +17,9 @@
#old cvs stuff. please update before use. may be deprecated.
%define use_stable 1
%if %{use_stable}
%define version 3.6.1p2
%define version 3.7p1
%define cvs %{nil}
%define release 2
%define release 1
%else
%define version 2.9.9p2
%define cvs cvs20011009
@@ -364,4 +364,4 @@ fi
* Mon Jan 01 1998 ...
Template Version: 1.31
$Id: openssh.spec,v 1.43 2003/04/29 13:22:40 djm Exp $
$Id: openssh.spec,v 1.43.2.2 2003/09/16 06:02:40 djm Exp $
+3 -3
View File
@@ -1,5 +1,5 @@
%define ver 3.6.1p2
%define rel 3
%define ver 3.7p1
%define rel 1
# OpenSSH privilege separation requires a user & group ID
%define sshd_uid 74
@@ -84,7 +84,7 @@ BuildPreReq: /bin/login
%if ! %{build6x}
BuildPreReq: glibc-devel, pam
%else
BuildPreReq: db1-devel, /usr/include/security/pam_appl.h
BuildPreReq: /usr/include/security/pam_appl.h
%endif
%if ! %{no_x11_askpass}
BuildPreReq: XFree86-devel
+1 -1
View File
@@ -1,6 +1,6 @@
Summary: OpenSSH, a free Secure Shell (SSH) protocol implementation
Name: openssh
Version: 3.6.1p2
Version: 3.7p1
URL: http://www.openssh.com/
Release: 1
Source0: openssh-%{version}.tar.gz