add KAME IPv6 patch
This commit is contained in:
parent
26cc173369
commit
90d98d6193
@ -1,8 +1,13 @@
|
||||
# $OpenBSD: Makefile,v 1.8 2000/10/22 15:42:31 espie Exp $
|
||||
# $OpenBSD: Makefile,v 1.9 2000/12/25 06:37:18 brad Exp $
|
||||
|
||||
DISTNAME= cucipop-1.31
|
||||
DISTNAME= cucipop-1.31
|
||||
CATEGORIES= mail
|
||||
NEED_VERSION= 1.336
|
||||
MASTER_SITES= ftp://ftp.informatik.rwth-aachen.de/pub/packages/cucipop/
|
||||
MASTER_SITES0= ftp://ftp.kame.net/pub/kame/misc/
|
||||
|
||||
PATCHFILES= cucipop-1.31-v6-20001122.diff.gz:0
|
||||
PATCH_DIST_STRIP= -p1
|
||||
|
||||
MAINTAINER= ports@openbsd.org
|
||||
|
||||
|
@ -1,3 +1,6 @@
|
||||
MD5 (cucipop-1.31-v6-20001122.diff.gz) = 3001f8b32a7ec0fae48e5f2c94f44420
|
||||
MD5 (cucipop-1.31.tar.gz) = e4dc7c3c6e3a4a83dde5cbbe21fee5f8
|
||||
RMD160 (cucipop-1.31-v6-20001122.diff.gz) = a58e19fa003fa486c41ce22e82d126a7b95ffb33
|
||||
RMD160 (cucipop-1.31.tar.gz) = dbca1b313a755544578f89586c200a0227858f92
|
||||
SHA1 (cucipop-1.31-v6-20001122.diff.gz) = 1190629f1a2467ece31809ef8282f2eb292b9cfd
|
||||
SHA1 (cucipop-1.31.tar.gz) = d9b5dc2960e96ad1ee63f0a6f8879165f4477434
|
||||
|
@ -1,6 +1,6 @@
|
||||
--- authenticate.c.orig Wed May 13 23:57:39 1998
|
||||
+++ authenticate.c Thu Jan 13 00:26:51 2000
|
||||
@@ -22,7 +22,7 @@
|
||||
--- authenticate.c.orig Mon Dec 25 01:20:36 2000
|
||||
+++ authenticate.c Mon Dec 25 01:25:08 2000
|
||||
@@ -28,7 +28,7 @@
|
||||
#else
|
||||
#include "config.h"
|
||||
|
||||
@ -9,7 +9,7 @@
|
||||
|
||||
#include <sys/types.h>
|
||||
#include <unistd.h>
|
||||
@@ -44,7 +44,7 @@
|
||||
@@ -50,7 +50,7 @@
|
||||
#define VIRTUALUSER "vpop"
|
||||
|
||||
#ifndef MAILSPOOLDIR
|
||||
@ -18,17 +18,17 @@
|
||||
#endif
|
||||
#ifndef MAILSPOOLHASH
|
||||
#define MAILSPOOLHASH 0 /* 2 would deliver to /var/spool/mail/b/a/bar */
|
||||
@@ -82,6 +82,7 @@
|
||||
|
||||
static void getlogname(user,sock)const char*user;const int sock;
|
||||
{ struct sockaddr_in sockname;int namelen=sizeof sockname;const char*retval="";
|
||||
@@ -100,6 +100,7 @@
|
||||
struct sockaddr_in sockname;
|
||||
#endif
|
||||
int namelen=sizeof sockname;const char*retval="";
|
||||
+ void *p;
|
||||
if(!getsockname(sock,(struct sockaddr*)&sockname,&namelen))
|
||||
{ const struct hostent*hent=
|
||||
gethostbyaddr((void*)&sockname.sin_addr.s_addr,sizeof sockname.sin_addr,
|
||||
@@ -89,16 +90,17 @@
|
||||
if(hent)
|
||||
{
|
||||
#ifdef INET6
|
||||
@@ -115,16 +116,17 @@
|
||||
retval=hent->h_name;
|
||||
#endif
|
||||
}
|
||||
- if(auth_logname= /* memory leak when out of memory */
|
||||
- realloc(auth_logname,(namelen=strlen(retval))+1+strlen(user)+1))
|
||||
@ -48,7 +48,7 @@
|
||||
#ifdef VIRTUALSERVER
|
||||
DB_ENV dbenv;DB*db;
|
||||
memset(&dbenv,0,sizeof dbenv);
|
||||
@@ -129,14 +131,18 @@
|
||||
@@ -155,14 +157,18 @@
|
||||
novirt: strcpy(auth_logname,user);
|
||||
}
|
||||
db->close(db,0);
|
||||
|
@ -1,7 +1,7 @@
|
||||
--- config.h.orig Tue May 12 17:09:14 1998
|
||||
+++ config.h Mon Mar 27 15:12:54 2000
|
||||
+++ config.h Mon Dec 25 01:28:21 2000
|
||||
@@ -1,9 +1,9 @@
|
||||
/*$Id: patch-af,v 1.2 2000/03/27 20:16:39 brad Exp $*/
|
||||
/*$Id: patch-af,v 1.3 2000/12/25 06:37:18 brad Exp $*/
|
||||
|
||||
-#define USEdot_lock /**/
|
||||
+/*#define USEdot_lock /**/
|
||||
|
Loading…
Reference in New Issue
Block a user