From owner-freebsd-ports-bugs@FreeBSD.ORG Sun Nov 29 20:50:08 2009 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B01511065694 for ; Sun, 29 Nov 2009 20:50:08 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 787958FC1D for ; Sun, 29 Nov 2009 20:50:08 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id nATKo8Qm065380 for ; Sun, 29 Nov 2009 20:50:08 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id nATKo8o5065379; Sun, 29 Nov 2009 20:50:08 GMT (envelope-from gnats) Resent-Date: Sun, 29 Nov 2009 20:50:08 GMT Resent-Message-Id: <200911292050.nATKo8o5065379@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, Sahil Tandon Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 28B8C106566B; Sun, 29 Nov 2009 20:45:50 +0000 (UTC) (envelope-from sahil@spartan.hamla.org) Received: from spartan.hamla.org (spartan.hamla.org [206.251.255.30]) by mx1.freebsd.org (Postfix) with ESMTP id 04D4E8FC14; Sun, 29 Nov 2009 20:45:49 +0000 (UTC) Received: by spartan.hamla.org (Postfix, from userid 1001) id BBE8B17137; Sun, 29 Nov 2009 15:45:49 -0500 (EST) Message-Id: <20091129204549.BBE8B17137@spartan.hamla.org> Date: Sun, 29 Nov 2009 15:45:49 -0500 (EST) From: Sahil Tandon To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: pusateri@bangj.com, miwi@FreeBSD.org Subject: ports/141004: [PATCH] net/libevnet: update to 0.3.11 + misc. cleanups X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Sahil Tandon List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 29 Nov 2009 20:50:08 -0000 >Number: 141004 >Category: ports >Synopsis: [PATCH] net/libevnet: update to 0.3.11 + misc. cleanups >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: update >Submitter-Id: current-users >Arrival-Date: Sun Nov 29 20:50:07 UTC 2009 >Closed-Date: >Last-Modified: >Originator: Sahil Tandon >Release: FreeBSD 7.2-RELEASE i386 >Organization: >Environment: >Description: - Update to 0.3.11 - Remove files/patch-src::lookup.c (adopted upstream) - Remove files/patch-Makefile; replicate instead in Makefile while respecting custom LOCALBASE Note: There is a warning in the build phase about the redefinition of _REENTRANT; this same warning was also present in the build logs (confirmed on pointyhat) for the previous version of the port[1]. This obviously occurs because -D_REENTRANT is passed via CPPFLAGS. It appears innocuous and I did not remove the definition because I must assume it is there for a good readon(tm). :) I defer to the maintainer to decide whether we should keep that flag! >How-To-Repeat: >Fix: --- libevnet.diff begins here --- Index: Makefile =================================================================== RCS file: /home/ncvs/ports/net/libevnet/Makefile,v retrieving revision 1.8 diff -u -r1.8 Makefile --- Makefile 4 Oct 2009 02:20:08 -0000 1.8 +++ Makefile 29 Nov 2009 20:37:15 -0000 @@ -7,8 +7,7 @@ # PORTNAME= libevnet -PORTVERSION= 0.3.8 -PORTREVISION= 5 +PORTVERSION= 0.3.11 CATEGORIES= net MASTER_SITES= http://www.25thandclement.com/~william/projects/releases/ EXTRACT_SUFX= .tgz @@ -19,9 +18,15 @@ BUILD_DEPENDS= ${LOCALBASE}/lib/libarena.a:${PORTSDIR}/devel/libarena LIB_DEPENDS= event-1.4:${PORTSDIR}/devel/libevent \ cares.2:${PORTSDIR}/dns/c-ares -RUN_DEPENDS= ${LOCALBASE}/lib/libarena.a:${PORTSDIR}/devel/libarena +RUN_DEPENDS= ${BUILD_DEPENDS} USE_OPENSSL= yes USE_GMAKE= yes +CPPFLAGS= -I${LOCALBASE}/include \ + -DUSE_OPENSSL -DUSE_CARES -DUSE_IPV6 -DUSE_PTHREADS \ + -DHAVE_STRLCPY -DHAVE_STRLCAT -D_REENTRANT + +MAKE_ENV+= CPPFLAGS="${CPPFLAGS}" + .include Index: distinfo =================================================================== RCS file: /home/ncvs/ports/net/libevnet/distinfo,v retrieving revision 1.2 diff -u -r1.2 distinfo --- distinfo 11 Jun 2007 15:16:21 -0000 1.2 +++ distinfo 29 Nov 2009 20:37:15 -0000 @@ -1,3 +1,3 @@ -MD5 (libevnet-0.3.8.tgz) = 1f8b8f6aec64cf6d183ad48f92bb46ec -SHA256 (libevnet-0.3.8.tgz) = 72c5ce004e8190e902475e0602e93f60a0c4cd165c6a4d79af7e49774caa5cac -SIZE (libevnet-0.3.8.tgz) = 81265 +MD5 (libevnet-0.3.11.tgz) = 5aa32a4bafb3790fa7f177e91af20908 +SHA256 (libevnet-0.3.11.tgz) = 99ac2c2ac7fb6708b31481d8b04af9c197ba6fc6a9af812edec183f2bc6d07c5 +SIZE (libevnet-0.3.11.tgz) = 103977 Index: files/patch-Makefile =================================================================== RCS file: files/patch-Makefile diff -N files/patch-Makefile --- files/patch-Makefile 11 Jun 2007 15:16:21 -0000 1.1 +++ /dev/null 1 Jan 1970 00:00:00 -0000 @@ -1,10 +0,0 @@ ---- Makefile.orig Mon Jun 11 23:07:29 2007 -+++ Makefile Mon Jun 11 23:07:58 2007 -@@ -1,3 +1,7 @@ -+CPPFLAGS += -I/usr/local/include -+CPPFLAGS += -DUSE_OPENSSL -DUSE_CARES -DUSE_IPV6 -DUSE_PTHREADS -+CPPFLAGS += -DHAVE_STRLCPY -DHAVE_STRLCAT -+CPPFLAGS += -D_REENTRANT - - # - # Setup our targets Index: files/patch-src::lookup.c =================================================================== RCS file: files/patch-src::lookup.c diff -N files/patch-src::lookup.c --- files/patch-src::lookup.c 4 Oct 2009 02:20:08 -0000 1.1 +++ /dev/null 1 Jan 1970 00:00:00 -0000 @@ -1,29 +0,0 @@ ---- src/lookup.c.orig 2009-10-04 10:13:19.191192582 +0800 -+++ src/lookup.c 2009-10-04 10:15:44.531364833 +0800 -@@ -2037,7 +2037,7 @@ - } /* lookup_additional_query() */ - - --static void lookup_catch_ares(void *, int, unsigned char *, int); -+static void lookup_catch_ares(void *, int, int, unsigned char *, int); - - static void lookup_issue_query(struct lookup *l, struct lookup_query *q, const char *qname, size_t qnamelen, int rtype) { - struct ares_channel *c; -@@ -2052,7 +2052,7 @@ - q->channel = c; - - if (l->opts.query_max != 0 && q->live_queries_made >= l->opts.query_max) { -- lookup_catch_ares(q, ARES_ENODATA, NULL, 0); -+ lookup_catch_ares(q, ARES_ENODATA, 0, NULL, 0); - } else { - ++q->live_queries_made; - ares_query(c->channel, qname, C_IN, lookup_rtype2arpa(rtype), lookup_catch_ares, q); -@@ -2708,7 +2708,7 @@ - } /* lookup_process() */ - - --static void lookup_catch_ares(void *l_, int ares_errno, unsigned char *abuf, int alen) { -+static void lookup_catch_ares(void *l_, int ares_errno, int timeouts, unsigned char *abuf, int alen) { - int lookup_errno = LOOKUP_ESUCCESS; - struct lookup_query *q; - struct lookup *l; --- libevnet.diff ends here --- >Release-Note: >Audit-Trail: >Unformatted: