summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog5
-rw-r--r--auth-pam.c20
-rw-r--r--contrib/caldera/openssh.spec6
-rw-r--r--contrib/redhat/openssh.spec6
-rw-r--r--contrib/suse/openssh.spec2
-rw-r--r--openbsd-compat/inet_ntoa.c1
6 files changed, 23 insertions, 17 deletions
diff --git a/ChangeLog b/ChangeLog
index 2815cea8e..71e501d00 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,6 @@
120030917
2 - (djm) Sync with V_3_7 branch
3
120030916 420030916
2 - (dtucker) [acconfig.h configure.ac defines.h session.c] Bug #252: Retrieve 5 - (dtucker) [acconfig.h configure.ac defines.h session.c] Bug #252: Retrieve
3 PATH (or SUPATH) and UMASK from /etc/default/login on platforms that have it 6 PATH (or SUPATH) and UMASK from /etc/default/login on platforms that have it
@@ -1105,4 +1108,4 @@
1105 - Fix sshd BindAddress and -b options for systems using fake-getaddrinfo. 1108 - Fix sshd BindAddress and -b options for systems using fake-getaddrinfo.
1106 Report from murple@murple.net, diagnosis from dtucker@zip.com.au 1109 Report from murple@murple.net, diagnosis from dtucker@zip.com.au
1107 1110
1108$Id: ChangeLog,v 1.2996 2003/09/16 17:23:29 mouring Exp $ 1111$Id: ChangeLog,v 1.2997 2003/09/16 21:24:25 djm Exp $
diff --git a/auth-pam.c b/auth-pam.c
index 806c80860..22706c5d6 100644
--- a/auth-pam.c
+++ b/auth-pam.c
@@ -31,7 +31,7 @@
31 31
32/* Based on $FreeBSD: src/crypto/openssh/auth2-pam-freebsd.c,v 1.11 2003/03/31 13:48:18 des Exp $ */ 32/* Based on $FreeBSD: src/crypto/openssh/auth2-pam-freebsd.c,v 1.11 2003/03/31 13:48:18 des Exp $ */
33#include "includes.h" 33#include "includes.h"
34RCSID("$Id: auth-pam.c,v 1.72 2003/09/13 12:12:11 dtucker Exp $"); 34RCSID("$Id: auth-pam.c,v 1.73 2003/09/16 21:24:25 djm Exp $");
35 35
36#ifdef USE_PAM 36#ifdef USE_PAM
37#include <security/pam_appl.h> 37#include <security/pam_appl.h>
@@ -672,17 +672,19 @@ do_pam_chauthtok(void)
672int 672int
673do_pam_putenv(char *name, char *value) 673do_pam_putenv(char *name, char *value)
674{ 674{
675 char *compound;
676 int ret = 1; 675 int ret = 1;
677
678#ifdef HAVE_PAM_PUTENV 676#ifdef HAVE_PAM_PUTENV
679 compound = xmalloc(strlen(name)+strlen(value)+2); 677 char *compound;
680 if (compound) { 678 size_t len;
681 sprintf(compound,"%s=%s",name,value); 679
682 ret = pam_putenv(sshpam_handle,compound); 680 len = strlen(name) + strlen(value) + 2;
683 xfree(compound); 681 compound = xmalloc(len);
684 } 682
683 snprintf(compound, len, "%s=%s", name, value);
684 ret = pam_putenv(sshpam_handle, compound);
685 xfree(compound);
685#endif 686#endif
687
686 return (ret); 688 return (ret);
687} 689}
688 690
diff --git a/contrib/caldera/openssh.spec b/contrib/caldera/openssh.spec
index 8e97c3818..8e8ac44d6 100644
--- a/contrib/caldera/openssh.spec
+++ b/contrib/caldera/openssh.spec
@@ -17,9 +17,9 @@
17#old cvs stuff. please update before use. may be deprecated. 17#old cvs stuff. please update before use. may be deprecated.
18%define use_stable 1 18%define use_stable 1
19%if %{use_stable} 19%if %{use_stable}
20 %define version 3.6.1p2 20 %define version 3.7p1
21 %define cvs %{nil} 21 %define cvs %{nil}
22 %define release 2 22 %define release 1
23%else 23%else
24 %define version 2.9.9p2 24 %define version 2.9.9p2
25 %define cvs cvs20011009 25 %define cvs cvs20011009
@@ -364,4 +364,4 @@ fi
364* Mon Jan 01 1998 ... 364* Mon Jan 01 1998 ...
365Template Version: 1.31 365Template Version: 1.31
366 366
367$Id: openssh.spec,v 1.43 2003/04/29 13:22:40 djm Exp $ 367$Id: openssh.spec,v 1.44 2003/09/16 21:24:25 djm Exp $
diff --git a/contrib/redhat/openssh.spec b/contrib/redhat/openssh.spec
index 656e692e8..ce7c564c3 100644
--- a/contrib/redhat/openssh.spec
+++ b/contrib/redhat/openssh.spec
@@ -1,5 +1,5 @@
1%define ver 3.6.1p2 1%define ver 3.7p1
2%define rel 3 2%define rel 1
3 3
4# OpenSSH privilege separation requires a user & group ID 4# OpenSSH privilege separation requires a user & group ID
5%define sshd_uid 74 5%define sshd_uid 74
@@ -84,7 +84,7 @@ BuildPreReq: /bin/login
84%if ! %{build6x} 84%if ! %{build6x}
85BuildPreReq: glibc-devel, pam 85BuildPreReq: glibc-devel, pam
86%else 86%else
87BuildPreReq: db1-devel, /usr/include/security/pam_appl.h 87BuildPreReq: /usr/include/security/pam_appl.h
88%endif 88%endif
89%if ! %{no_x11_askpass} 89%if ! %{no_x11_askpass}
90BuildPreReq: XFree86-devel 90BuildPreReq: XFree86-devel
diff --git a/contrib/suse/openssh.spec b/contrib/suse/openssh.spec
index 707c3a221..ca7437bd6 100644
--- a/contrib/suse/openssh.spec
+++ b/contrib/suse/openssh.spec
@@ -1,6 +1,6 @@
1Summary: OpenSSH, a free Secure Shell (SSH) protocol implementation 1Summary: OpenSSH, a free Secure Shell (SSH) protocol implementation
2Name: openssh 2Name: openssh
3Version: 3.6.1p2 3Version: 3.7p1
4URL: http://www.openssh.com/ 4URL: http://www.openssh.com/
5Release: 1 5Release: 1
6Source0: openssh-%{version}.tar.gz 6Source0: openssh-%{version}.tar.gz
diff --git a/openbsd-compat/inet_ntoa.c b/openbsd-compat/inet_ntoa.c
index f9fdc9ee5..e0384491d 100644
--- a/openbsd-compat/inet_ntoa.c
+++ b/openbsd-compat/inet_ntoa.c
@@ -43,6 +43,7 @@ static char rcsid[] = "$OpenBSD: inet_ntoa.c,v 1.4 2003/06/02 20:18:35 millert E
43#include <netinet/in.h> 43#include <netinet/in.h>
44#include <arpa/inet.h> 44#include <arpa/inet.h>
45#include <stdio.h> 45#include <stdio.h>
46#include "inet_ntoa.h"
46 47
47char *inet_ntoa(struct in_addr in) 48char *inet_ntoa(struct in_addr in)
48{ 49{