diff options
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | auth-pam.c | 20 | ||||
-rw-r--r-- | contrib/caldera/openssh.spec | 6 | ||||
-rw-r--r-- | contrib/redhat/openssh.spec | 6 | ||||
-rw-r--r-- | contrib/suse/openssh.spec | 2 | ||||
-rw-r--r-- | openbsd-compat/inet_ntoa.c | 1 |
6 files changed, 23 insertions, 17 deletions
@@ -1,3 +1,6 @@ | |||
1 | 20030917 | ||
2 | - (djm) Sync with V_3_7 branch | ||
3 | |||
1 | 20030916 | 4 | 20030916 |
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" |
34 | RCSID("$Id: auth-pam.c,v 1.72 2003/09/13 12:12:11 dtucker Exp $"); | 34 | RCSID("$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) | |||
672 | int | 672 | int |
673 | do_pam_putenv(char *name, char *value) | 673 | do_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 ... |
365 | Template Version: 1.31 | 365 | Template 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} |
85 | BuildPreReq: glibc-devel, pam | 85 | BuildPreReq: glibc-devel, pam |
86 | %else | 86 | %else |
87 | BuildPreReq: db1-devel, /usr/include/security/pam_appl.h | 87 | BuildPreReq: /usr/include/security/pam_appl.h |
88 | %endif | 88 | %endif |
89 | %if ! %{no_x11_askpass} | 89 | %if ! %{no_x11_askpass} |
90 | BuildPreReq: XFree86-devel | 90 | BuildPreReq: 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 @@ | |||
1 | Summary: OpenSSH, a free Secure Shell (SSH) protocol implementation | 1 | Summary: OpenSSH, a free Secure Shell (SSH) protocol implementation |
2 | Name: openssh | 2 | Name: openssh |
3 | Version: 3.6.1p2 | 3 | Version: 3.7p1 |
4 | URL: http://www.openssh.com/ | 4 | URL: http://www.openssh.com/ |
5 | Release: 1 | 5 | Release: 1 |
6 | Source0: openssh-%{version}.tar.gz | 6 | Source0: 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 | ||
47 | char *inet_ntoa(struct in_addr in) | 48 | char *inet_ntoa(struct in_addr in) |
48 | { | 49 | { |