head	1.4;
access;
symbols
	RELEASE_7_4_0:1.3
	RELEASE_8_2_0:1.3
	RELEASE_6_EOL:1.3
	RELEASE_8_1_0:1.3
	RELEASE_7_3_0:1.3
	RELEASE_8_0_0:1.3
	RELEASE_7_2_0:1.3
	RELEASE_7_1_0:1.3
	RELEASE_6_4_0:1.3
	RELEASE_5_EOL:1.3
	RELEASE_7_0_0:1.3
	RELEASE_6_3_0:1.3
	PRE_XORG_7:1.3
	RELEASE_4_EOL:1.3
	RELEASE_6_2_0:1.3
	RELEASE_6_1_0:1.3
	RELEASE_5_5_0:1.3
	RELEASE_6_0_0:1.3
	RELEASE_5_4_0:1.3
	RELEASE_4_11_0:1.3
	RELEASE_5_3_0:1.2;
locks; strict;
comment	@# @;


1.4
date	2011.10.15.16.29.03;	author lwhsu;	state dead;
branches;
next	1.3;

1.3
date	2004.11.05.12.47.58;	author pav;	state Exp;
branches;
next	1.2;

1.2
date	2004.07.06.12.25.14;	author osa;	state Exp;
branches;
next	1.1;

1.1
date	2004.06.29.10.30.46;	author osa;	state Exp;
branches;
next	;


desc
@@


1.4
log
@- Update to 1.3.6

PR:		ports/161595
Submitted by:	KATO Tsuguru <tkato432@@yahoo.com>
@
text
@--- resolver-test.cpp.orig	Thu Oct 28 10:31:59 2004
+++ resolver-test.cpp	Thu Oct 28 10:33:18 2004
@@@@ -1,5 +1,7 @@@@
-#include "resolver.hh"
+#include <sys/param.h>
 #include <assert.h>
+
+#include "resolver.hh"
 /*
  Originally Written by John MacPherson <jrm21@@cs.waikato.ac.nz>
 
@


1.3
log
@- Update to 1.1

PR:		ports/73507
Submitted by:	Matthew Luckie <mjl@@luckie.org.nz>
Approved by:	maintainer
@
text
@@


1.2
log
@Attempt to fix build for sparc64.

Notice from:	kris via bento
Patch from:	Matt Brown <matt at crc dot net dot nz> (aka author)
@
text
@d1 3
a3 3
--- resolver-test.cpp.orig	Mon Jun  7 08:37:17 2004
+++ resolver-test.cpp	Tue Jul  6 16:16:12 2004
@@@@ -1,12 +1,15 @@@@
a5 1
+
a11 28
 */
 
 // grrr... stupid intel little endian!
-#define dottedquad(a,b,c,d) (a) + (b << 8) + (c << 16) + (d << 24);
+#define dottedquad(a,b,c,d) htonl((d) + (c << 8) + (b << 16) + (a << 24));
 
 int main(void) {
 
@@@@ -32,16 +35,16 @@@@
 	}
 	
 	/* Use Root Servers because they are unlikey to change IP */
-	i.s_addr = dottedquad(128,9,0,107);
+	i.s_addr = dottedquad(192,228,79,201);
 	t = r.get_name(i);
 	if (t) {
 		if (strcasecmp(t, "b.root-servers.net")!=0) {
-			fprintf(stderr, "FAILED: 128.9.0.107 resolves to %s"
+			fprintf(stderr, "FAILED: 192.228.79.201 resolves to %s"
 				" expected b.root-servers.net please check "
 				"your resolver!\n", t);
 		}
 	} else {
-		fprintf(stderr, "FAILED: Unable to resolve 128.9.0.107\n");
+		fprintf(stderr, "FAILED: Unable to resolve 192.228.79.201\n");
 	}
 
 	i.s_addr = dottedquad(192,203,230,10);
@


1.1
log
@Add Squid Report Generator.

Main features are:
 * PHP Output with built in authentication hooks
 * Fast Processing
 * Reporting right down the the location vistied

Submitted by:	Dmitry Semkin <lslarry@@gmail.ru>
@
text
@d1 21
a21 3
--- resolver-test.cpp.orig	Mon Jun 28 21:06:59 2004
+++ resolver-test.cpp	Mon Jun 28 21:08:30 2004
@@@@ -32,16 +32,16 @@@@
@

