From owner-freebsd-ports-bugs@FreeBSD.ORG Sun May 23 05:01:32 2004 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 70D7916A4CE for ; Sun, 23 May 2004 05:01:32 -0700 (PDT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5664343D39 for ; Sun, 23 May 2004 05:01:32 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) i4NC0hei078812 for ; Sun, 23 May 2004 05:00:43 -0700 (PDT) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.11/8.12.11/Submit) id i4NC0hmH078807; Sun, 23 May 2004 05:00:43 -0700 (PDT) (envelope-from gnats) Resent-Date: Sun, 23 May 2004 05:00:43 -0700 (PDT) Resent-Message-Id: <200405231200.i4NC0hmH078807@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Andrey Slusar Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 89C6C16A4CE for ; 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 ; 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: Date: Sun, 23 May 2004 14:50:41 +0300 From: Andrey Slusar To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 cc: ports@oven.org Subject: ports/67075: [PATCH] dns/pdnsd: update to new version X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Andrey Slusar List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 23 May 2004 12:01:32 -0000 >Number: 67075 >Category: ports >Synopsis: [PATCH] dns/pdnsd: update to new version >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Sun May 23 05:00:43 PDT 2004 >Closed-Date: >Last-Modified: >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: >Unformatted: