upgraded siproxd to 0.5.12

This commit is contained in:
Georg Schwarz 2006-04-30 08:19:01 +00:00 committed by Thomas Klausner
parent 7472f4630c
commit 9e05c4028a
3 changed files with 39 additions and 6 deletions

View file

@ -1,6 +1,6 @@
# $NetBSD: Makefile,v 1.8 2006/03/14 01:28:13 jlamwww Exp $
# $NetBSD: Makefile,v 1.9 2006/04/30 08:19:01 gschwarz Exp $
DISTNAME= siproxd-0.5.11
DISTNAME= siproxd-0.5.12
CATEGORIES= net
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=siproxd/}

View file

@ -1,6 +1,7 @@
$NetBSD: distinfo,v 1.4 2005/11/12 22:22:24 gschwarz Exp $
$NetBSD: distinfo,v 1.5 2006/04/30 08:19:03 gschwarz Exp $
SHA1 (siproxd-0.5.11.tar.gz) = b1fb295cd8194d743f98dd3c5c5976ed6bcd96ab
RMD160 (siproxd-0.5.11.tar.gz) = ef9fc14421c64d42a131a53627391b2fab934465
Size (siproxd-0.5.11.tar.gz) = 216684 bytes
SHA1 (siproxd-0.5.12.tar.gz) = 791d3cbaf494be2311d1ef8063466614254d232b
RMD160 (siproxd-0.5.12.tar.gz) = 61975a1bd02a850c4dad0c7f9128ab2deb60d209
Size (siproxd-0.5.12.tar.gz) = 222772 bytes
SHA1 (patch-aa) = f95e0c08a076c1d045047b122b939a02e2e253c8
SHA1 (patch-ab) = 95d5391e6b666c561b2584b495caa26ea6343f19

32
siproxd/patches/patch-ab Normal file
View file

@ -0,0 +1,32 @@
$NetBSD: patch-ab,v 1.1 2006/04/30 08:19:03 gschwarz Exp $
--- src/resolve.c.orig 2006-04-23 21:42:56.000000000 +0200
+++ src/resolve.c 2006-04-29 19:17:46.000000000 +0200
@@ -21,6 +21,9 @@
#include <arpa/inet.h>
#include <netinet/in.h>
#include <arpa/nameser.h>
+#ifdef __APPLE__
+#include <arpa/nameser_compat.h>
+#endif
#include <resolv.h>
#include <string.h>
@@ -62,7 +65,7 @@
int class=C_ANY;
// message buffer
- char msg[PACKETSZ];
+ unsigned char msg[PACKETSZ];
int msglen=PACKETSZ;
// response header
@@ -73,7 +76,7 @@
int exp_dnlen=MAXDNAME;
int i, j, co;
- char *mptr, *xptr;
+ unsigned char *mptr, *xptr;
unsigned short *usp,ty;
unsigned int *uip;