+20030917
+ - (djm) Sync with V_3_7 branch
+
20030916
- (dtucker) [acconfig.h configure.ac defines.h session.c] Bug #252: Retrieve
PATH (or SUPATH) and UMASK from /etc/default/login on platforms that have it
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);
}
#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
-%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
%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
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
#include <netinet/in.h>
#include <arpa/inet.h>
#include <stdio.h>
+#include "inet_ntoa.h"
char *inet_ntoa(struct in_addr in)
{