From owner-freebsd-ports-bugs@FreeBSD.ORG Tue Mar 27 13:20:13 2012 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 17D041065677 for ; Tue, 27 Mar 2012 13:20:13 +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 8367F8FC0A for ; Tue, 27 Mar 2012 13:20:12 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.5/8.14.5) with ESMTP id q2RDKC6u016403 for ; Tue, 27 Mar 2012 13:20:12 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.5/8.14.5/Submit) id q2RDKCZH016402; Tue, 27 Mar 2012 13:20:12 GMT (envelope-from gnats) Resent-Date: Tue, 27 Mar 2012 13:20:12 GMT Resent-Message-Id: <201203271320.q2RDKCZH016402@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, Jim Riggs Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id E0FE21065672 for ; Tue, 27 Mar 2012 13:17:45 +0000 (UTC) (envelope-from postmaster@christianserving.org) Received: from zion.christianserving.org (zion.christianserving.org [66.128.242.154]) by mx1.freebsd.org (Postfix) with ESMTP id BE9DA8FC14 for ; Tue, 27 Mar 2012 13:17:45 +0000 (UTC) Received: by zion.christianserving.org (Postfix, from userid 0) id E40E62788A9; Tue, 27 Mar 2012 08:10:36 -0500 (CDT) Message-Id: <20120327131036.E40E62788A9@zion.christianserving.org> Date: Tue, 27 Mar 2012 08:10:36 -0500 (CDT) From: Jim Riggs To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: Subject: ports/166444: [MAINTAINER] net/ifstated: update to 5.1,1 X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 27 Mar 2012 13:20:13 -0000 >Number: 166444 >Category: ports >Synopsis: [MAINTAINER] net/ifstated: update to 5.1,1 >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: maintainer-update >Submitter-Id: current-users >Arrival-Date: Tue Mar 27 13:20:12 UTC 2012 >Closed-Date: >Last-Modified: >Originator: Jim Riggs >Release: FreeBSD 8.2-RELEASE amd64 >Organization: >Environment: System: FreeBSD packagebuild.peace.daveramsey.com 8.2-RELEASE FreeBSD 8.2-RELEASE #0: Thu Feb 17 02:41:51 UTC 2011 >Description: - Update to 5.1,1 Generated with FreeBSD Port Tools 0.99_4 (mode: update, diff: ports) >How-To-Repeat: >Fix: --- ifstated-5.1,1.patch begins here --- diff -ruN --exclude=CVS /usr/ports/net/ifstated/Makefile ./Makefile --- /usr/ports/net/ifstated/Makefile 2010-08-21 20:15:32.000000000 -0500 +++ ./Makefile 2012-03-23 14:26:17.629670221 -0500 @@ -6,8 +6,7 @@ # PORTNAME= ifstated -PORTVERSION= 4.7 -PORTREVISION= 2 +PORTVERSION= 5.1 PORTEPOCH= 1 CATEGORIES= net MASTER_SITES= http://christianserving.org/ports/net/ifstated/ diff -ruN --exclude=CVS /usr/ports/net/ifstated/distinfo ./distinfo --- /usr/ports/net/ifstated/distinfo 2011-03-20 07:51:30.000000000 -0500 +++ ./distinfo 2012-03-23 14:26:23.671861695 -0500 @@ -1,2 +1,2 @@ -SHA256 (ifstated-4.7.tar.gz) = 68381cc577f4f323f90477c1a9bb090a369c3dd098d5baf5175c20941961a7af -SIZE (ifstated-4.7.tar.gz) = 15057 +SHA256 (ifstated-5.1.tar.gz) = b5073994acf31111da2da938075b20d92cfe87616448081bcd7120087c2a8642 +SIZE (ifstated-5.1.tar.gz) = 15149 diff -ruN --exclude=CVS /usr/ports/net/ifstated/files/patch-ifstated.c ./files/patch-ifstated.c --- /usr/ports/net/ifstated/files/patch-ifstated.c 2010-08-21 20:15:32.000000000 -0500 +++ ./files/patch-ifstated.c 2012-03-23 14:33:25.492902303 -0500 @@ -1,5 +1,5 @@ ---- ifstated.c.orig 2010-06-11 12:20:08.000000000 -0500 -+++ ifstated.c 2010-07-30 21:55:03.045444649 -0500 +--- ifstated.c.orig 2011-07-03 23:34:14.000000000 -0500 ++++ ifstated.c 2012-03-23 14:32:56.412119431 -0500 @@ -26,9 +26,11 @@ #include #include @@ -66,7 +66,7 @@ case 'v': if (opts & IFSD_OPT_VERBOSE) opts |= IFSD_OPT_VERBOSE2; -@@ -159,7 +168,6 @@ +@@ -156,7 +165,6 @@ startup_handler(int fd, short event, void *arg) { int rt_fd; @@ -74,7 +74,7 @@ if ((rt_fd = socket(PF_ROUTE, SOCK_RAW, 0)) < 0) err(1, "no routing socket"); -@@ -169,11 +177,24 @@ +@@ -166,11 +174,24 @@ exit(1); } @@ -104,16 +104,15 @@ event_set(&rt_msg_ev, rt_fd, EV_READ|EV_PERSIST, rt_msg_handler, NULL); event_add(&rt_msg_ev, NULL); -@@ -406,6 +427,8 @@ +@@ -403,6 +424,7 @@ } } -+#define LINK_STATE_IS_UP(_s) \ -+ ((_s) >= LINK_STATE_UP) - #define LINK_STATE_IS_DOWN(_s) \ - (!LINK_STATE_IS_UP((_s)) && (_s) != LINK_STATE_UNKNOWN) ++#define LINK_STATE_IS_UP(_s) ((_s) >= LINK_STATE_UP) + #define LINK_STATE_IS_DOWN(_s) (!LINK_STATE_IS_UP((_s))) -@@ -584,6 +607,44 @@ + int +@@ -580,6 +602,44 @@ } } @@ -158,7 +157,7 @@ /* * Fetch the current link states. */ -@@ -593,26 +654,31 @@ +@@ -589,26 +649,31 @@ struct ifaddrs *ifap, *ifa; char *oname = NULL; int sock = socket(AF_INET, SOCK_DGRAM, 0); @@ -198,7 +197,7 @@ } freeifaddrs(ifap); close(sock); -@@ -707,3 +773,13 @@ +@@ -703,3 +768,13 @@ } free(expression); } --- ifstated-5.1,1.patch ends here --- >Release-Note: >Audit-Trail: >Unformatted: