Date: Sun, 23 May 2004 14:50:41 +0300 From: Andrey Slusar <vasallia@ukr.net> To: FreeBSD-gnats-submit@FreeBSD.org Cc: ports@oven.org Subject: ports/67075: [PATCH] dns/pdnsd: update to new version Message-ID: <E1BRrV3-00068G-GD@santinel.home.ua> Resent-Message-ID: <200405231200.i4NC0hmH078807@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>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:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?E1BRrV3-00068G-GD>