ports/66998: [PATCH] dns/pdnsd: update to 1.1.11

Andrey Slusar vasallia at ukr.net
Fri May 21 19:48:55 UTC 2004

> The following reply was made to PR ports/66998; it has been noted by GNATS.

> From: Toni Viemero <toni.viemero at iki.fi>
> To: FreeBSD-gnats-submit at FreeBSD.org
> Cc: ports at oven.org
> Subject: Re: ports/66998: [PATCH] dns/pdnsd: update to 1.1.11
> Date: Fri, 21 May 2004 18:09:24 +0300

>  Well, I was a little bit too excited after upgrading couple of Linux boxes.
>  Turns out this new version wasn't just a maintenance release. Lot of
>  internals has changed and this new version doesn't even compile out of the
>  box on FreeBSD. Thus making this PR bogus.
>  Sorry for inconvenience.
>  dns_query.c:71: warning: `SIN_LEN' redefined
>  ipvers.h:132: warning: this is the location of the previous definition
>  dns_query.c: In function `p_exec_query':
>  dns_query.c:854: `ENONET' undeclared (first use in this function)
>  dns_query.c:854: (Each undeclared identifier is reported only once
>  dns_query.c:854: for each function it appears in.)

 ENONET in linux errno.h is:
#define ENONET 64 /* Machine is not on the network */

 In freebsd errno.h not such this define - including in dns/pdnsd/files this patch:
--8<---------------cut here---------------start------------->8---
--- 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 */
--8<---------------cut here---------------end--------------->8---


More information about the freebsd-ports-bugs mailing list