From vasallia@ukr.net  Sun May 23 04:51:56 2004
Return-Path: <vasallia@ukr.net>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 89C6C16A4CE
	for <FreeBSD-gnats-submit@freebsd.org>; Sun, 23 May 2004 04:51:56 -0700 (PDT)
Received: from mx0.rambler.ru (mx0.rambler.ru [81.19.66.47])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 128C243D45
	for <FreeBSD-gnats-submit@freebsd.org>; Sun, 23 May 2004 04:51:56 -0700 (PDT)
	(envelope-from vasallia@ukr.net)
Received: from mailc.rambler.ru (mailc.rambler.ru [81.19.66.27])
	by mx0.rambler.ru (Postfix) with ESMTP id 45A0542F29E;
	Sun, 23 May 2004 15:51:44 +0400 (MSD)
Received: from santinel.home.ua ([212.86.247.156])
	(authenticated bits=0)
	by mailc.rambler.ru (8.12.10/8.12.10) with ESMTP id i4NBp5xB009868;
	Sun, 23 May 2004 15:51:34 +0400 (MSD)
Received: from anray by santinel.home.ua with local (Exim 4.34 (FreeBSD))
	id 1BRrV3-00068G-GD; Sun, 23 May 2004 14:50:41 +0300
Message-Id: <E1BRrV3-00068G-GD@santinel.home.ua>
Date: Sun, 23 May 2004 14:50:41 +0300
From: Andrey Slusar <vasallia@ukr.net>
Reply-To: Andrey Slusar <vasallia@ukr.net>
To: FreeBSD-gnats-submit@freebsd.org
Cc: ports@oven.org
Subject: [PATCH] dns/pdnsd: update to new version
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         67075
>Category:       ports
>Synopsis:       [PATCH] dns/pdnsd: update to new version
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    pav
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sun May 23 05:00:43 PDT 2004
>Closed-Date:    Sun Jun 06 15:53:13 PDT 2004
>Last-Modified:  Sun Jun 06 15:53:13 PDT 2004
>Originator:     Andrey Slusar
>Release:        FreeBSD 5.2-CURRENT i386
>Organization:
Santinel
>Environment:
System: FreeBSD santinel.home.ua 5.2-CURRENT FreeBSD 5.2-CURRENT #0: Sat May 15 17:05:19 EEST 2004 root@santinel.home.ua:/usr/obj/usr/src/sys/ANRAY i386
>Description:
	Mainteiner cc'ed
	Update to 1.1.11
>How-To-Repeat:
	N/A
>Fix:
--- pdnsd.diff begins here ---
diff -ruN pdnsd/Makefile pdnsd.new/Makefile
--- pdnsd/Makefile	Fri Mar 12 02:32:21 2004
+++ pdnsd.new/Makefile	Fri May 21 20:57:47 2004
@@ -6,7 +6,7 @@
 #
 
 PORTNAME=	pdnsd
-PORTVERSION=	1.1.10
+PORTVERSION=	1.1.11
 CATEGORIES=	dns
 MASTER_SITES=	http://www.phys.uu.nl/~rombouts/pdnsd/
 DISTNAME=	${PORTNAME}-${PORTVERSION}-par
diff -ruN pdnsd/distinfo pdnsd.new/distinfo
--- pdnsd/distinfo	Tue Mar 30 02:35:16 2004
+++ pdnsd.new/distinfo	Fri May 21 22:35:27 2004
@@ -1,2 +1,2 @@
-MD5 (pdnsd-1.1.10-par.tar.gz) = 780e76f2838ebabfbfae7d52194c8018
-SIZE (pdnsd-1.1.10-par.tar.gz) = 287373
+MD5 (pdnsd-1.1.11-par.tar.gz) = be79162852e3efa2d7cb78c83371fcf2
+SIZE (pdnsd-1.1.11-par.tar.gz) = 304803
diff -ruN pdnsd/files/patch-dns_query.c pdnsd.new/files/patch-dns_query.c
--- pdnsd/files/patch-dns_query.c	Thu Jan  1 03:00:00 1970
+++ pdnsd.new/files/patch-dns_query.c	Fri May 21 22:31:02 2004
@@ -0,0 +1,10 @@
+--- src/dns_query.c.old	Fri May 21 22:25:42 2004
++++ src/dns_query.c	Fri May 21 22:30:10 2004
+@@ -851,7 +851,6 @@
+ 				case ECONNREFUSED: /* port unreachable */
+ 				case ENETDOWN:     /* network down */
+ 				case EHOSTDOWN:    /* host down */
+-				case ENONET:       /* machine not on the network */
+ 					/* Mark this server as down for a period of time */
+ 					sched_server_test(PDNSD_A(st),1,0);
+ 					st->needs_testing=0;
diff -ruN pdnsd/files/patch-ipvers.h pdnsd.new/files/patch-ipvers.h
--- pdnsd/files/patch-ipvers.h	Thu Jan  1 03:00:00 1970
+++ pdnsd.new/files/patch-ipvers.h	Sat May 22 18:36:11 2004
@@ -0,0 +1,22 @@
+--- src/ipvers.h.old	Sun Apr 11 16:10:49 2004
++++ src/ipvers.h	Sat May 22 18:32:27 2004
+@@ -128,10 +128,6 @@
+ # endif
+ #endif
+ 
+-#if defined(ENABLE_IPV4) && !defined(SIN_LEN) && (TARGET==TARGET_BSD)
+-# define SIN_LEN
+-#endif 
+-
+ #if defined(ENABLE_IPV6) && TARGET==LINUX
+ 
+ /* Some glibc versions (I know of 2.1.2) get this wrong, so we define out own. To be exact, this is fixed
+@@ -189,7 +185,7 @@
+ 
+ /* See if we need 4.4BSD style sockaddr_* structures and define some macros that set the length field. 
+  * The non-4.4BSD behaviour is the only one that is POSIX-conformant.*/
+-#if defined(SIN6_LEN) || defined(SIN_LEN)
++#if defined(SIN6_LEN) || defined(SIN_LEN) || defined(ENABLE_IPV4)
+ # define BSD44_SOCKA
+ # define SET_SOCKA_LEN4(socka) (socka.sin_len=sizeof(struct sockaddr_in))
+ # define SET_SOCKA_LEN6(socka) (socka.sin6_len=sizeof(struct sockaddr_in6))
--- pdnsd.diff ends here ---


>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->feedback 
State-Changed-By: pav 
State-Changed-When: Sun May 23 05:07:16 PDT 2004 
State-Changed-Why:  
Asked maintainer for approval. 


Responsible-Changed-From-To: freebsd-ports-bugs->pav 
Responsible-Changed-By: pav 
Responsible-Changed-When: Sun May 23 05:07:16 PDT 2004 
Responsible-Changed-Why:  
Handle this 

http://www.freebsd.org/cgi/query-pr.cgi?pr=67075 

From: Pav Lucistnik <pav@FreeBSD.org>
To: freebsd-gnats-submit@FreeBSD.org, vasallia@ukr.net,
	ports@oven.org
Cc:  
Subject: Re: ports/67075: [PATCH] dns/pdnsd: update to new version
Date: Sun, 23 May 2004 14:07:11 +0200

 Dear maintainer of FreeBSD port dns/pdnsd, please take a look at
 
 http://www.freebsd.org/cgi/query-pr.cgi?q=67075
 
 Do you approve this update?
 
 -- 
 Pav Lucistnik <pav@oook.cz>
               <pav@FreeBSD.org>
 
 It's the classic Microsoft security-bulletin formula: "The vulnerability is
 important (never dangerous); you have nothing to fear and no reason to regret
 trusting us; we have no intention of apologizing for it or even explaining it
 adequately; now go get your patch, shut up, and be grateful nothing bad has
 happened.
   -- The Register

From: Andrey Slusar <vasallia@ukr.net>
To: pav@FreeBSD.org
Cc: freebsd-gnats-submit@FreeBSD.org, vasallia@ukr.net,
	ports@oven.org
Subject: Re: ports/67075: [PATCH] dns/pdnsd: update to new version
Date: Sun, 23 May 2004 17:15:28 +0300

  Hi.
 
 Sun, 23 May 2004 14:07:11 +0200, you wrote:
 
 > Dear maintainer of FreeBSD port dns/pdnsd, please take a look at
 
 > http://www.freebsd.org/cgi/query-pr.cgi?q=67075
 
 > Do you approve this update?
 
  Stop, see this:
 
 http://www.phys.uu.nl/~rombouts/pdnsd.html
 
  Note for FreeBSD users: the version 1.1.11 source reportedly does not
 compile on some versions of FreeBSD because the macro ENONET is not
 defined. I have made a new 1.1.11a tarball that bypasses 
 this problem. For Linux users there is no difference between 1.1.11-par and 1.1.11a-par.
 
  Current version is 1.1,11a
 
 --anray

From: Pav Lucistnik <pav@FreeBSD.org>
To: Andrey Slusar <vasallia@ukr.net>
Cc: freebsd-gnats-submit@FreeBSD.org, ports@oven.org
Subject: Re: ports/67075: [PATCH] dns/pdnsd: update to new version
Date: Sun, 23 May 2004 16:21:28 +0200

 --=-jSdOTcCfO942JU8kHPsK
 Content-Type: text/plain; charset=iso-8859-2
 Content-Transfer-Encoding: quoted-printable
 
 V ne, 23. 05. 2004 v 16:15, Andrey Slusar p=ED=B9e:
 
 > Sun, 23 May 2004 14:07:11 +0200, you wrote:
 >=20
 > > Dear maintainer of FreeBSD port dns/pdnsd, please take a look at
 >=20
 > > http://www.freebsd.org/cgi/query-pr.cgi?q=3D67075
 >=20
 > > Do you approve this update?
 >=20
 >  Stop, see this:
 >=20
 > http://www.phys.uu.nl/~rombouts/pdnsd.html
 >=20
 >  Note for FreeBSD users: the version 1.1.11 source reportedly does not
 > compile on some versions of FreeBSD because the macro ENONET is not
 > defined. I have made a new 1.1.11a tarball that bypasses=20
 > this problem. For Linux users there is no difference between 1.1.11-par a=
 nd 1.1.11a-par.
 >=20
 >  Current version is 1.1,11a
 
 Ok, should I cancel ports/67075 or will you followup with updated patch
 soon?
 
 --=20
 Pav Lucistnik <pav@oook.cz>
               <pav@FreeBSD.org>
 
 A computer programmer is a device for turning requirements
 into undocumented features. It runs on cola, pizza and Dilbert cartoons.
   -- Bram Moolenaar
 
 --=-jSdOTcCfO942JU8kHPsK
 Content-Type: application/pgp-signature; name=signature.asc
 Content-Description: Toto je =?iso-8859-2?Q?digit=E1ln=EC?=
 	=?ISO-8859-1?Q?_podepsan=E1?= =?iso-8859-2?Q?_=E8=E1st?=
 	=?ISO-8859-1?Q?_zpr=E1vy?=
 
 -----BEGIN PGP SIGNATURE-----
 Version: GnuPG v1.2.4 (FreeBSD)
 
 iD8DBQBAsLNmntdYP8FOsoIRAjLPAKDOFiX8uMQmlO133dhva9g/EZo3rgCfUhWc
 GbPW2AdbBqbkMZbOKwMYDAQ=
 =IpbL
 -----END PGP SIGNATURE-----
 
 --=-jSdOTcCfO942JU8kHPsK--

From: Andrey Slusar <vasallia@ukr.net>
To: FreeBSD-gnats-submit@freebsd.org
Cc: ports@oven.org, pav@freebsd.org
Subject: ports/67075: [PATCH] dns/pdnsd: update to new version
Date: Sun, 23 May 2004 17:49:20 +0300

 >Submitter-Id:	current-users
 >Originator:	Andrey Slusar
 >Organization:	Santinel
 >Confidential:	no
 >Synopsis:	ports/67075: [PATCH] dns/pdnsd: update to new version
 >Severity:	non-critical
 >Priority:	low
 >Category:	ports
 >Class:		change-request
 >Release:	FreeBSD 5.2-CURRENT i386
 >Environment:
 System: FreeBSD santinel.home.ua 5.2-CURRENT FreeBSD 5.2-CURRENT #0: Sat May 15 17:05:19 EEST 2004 root@santinel.home.ua:/usr/obj/usr/src/sys/ANRAY i386
 >Description:
 	Update to 1.1.11a
 >How-To-Repeat:
 	N/A
 >Fix:
 
 --- pdnsd.diff begins here ---
 diff -ruN pdnsd/Makefile pdnsd.new/Makefile
 --- pdnsd/Makefile	Fri Mar 12 02:32:21 2004
 +++ pdnsd.new/Makefile	Sun May 23 17:24:46 2004
 @@ -6,7 +6,7 @@
  #
  
  PORTNAME=	pdnsd
 -PORTVERSION=	1.1.10
 +PORTVERSION=	1.1.11a
  CATEGORIES=	dns
  MASTER_SITES=	http://www.phys.uu.nl/~rombouts/pdnsd/
  DISTNAME=	${PORTNAME}-${PORTVERSION}-par
 diff -ruN pdnsd/distinfo pdnsd.new/distinfo
 --- pdnsd/distinfo	Tue Mar 30 02:35:16 2004
 +++ pdnsd.new/distinfo	Sun May 23 17:24:52 2004
 @@ -1,2 +1,2 @@
 -MD5 (pdnsd-1.1.10-par.tar.gz) = 780e76f2838ebabfbfae7d52194c8018
 -SIZE (pdnsd-1.1.10-par.tar.gz) = 287373
 +MD5 (pdnsd-1.1.11a-par.tar.gz) = 2caf6335b92e0955f07af9bd9d429443
 +SIZE (pdnsd-1.1.11a-par.tar.gz) = 305135
 --- pdnsd.diff ends here ---
 
 
State-Changed-From-To: feedback->closed 
State-Changed-By: pav 
State-Changed-When: Sun Jun 6 15:53:06 PDT 2004 
State-Changed-Why:  
Committed, thanks! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=67075 
>Unformatted:
