Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 27 Mar 2012 08:10:36 -0500 (CDT)
From:      Jim Riggs <ports@christianserving.org>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/166444: [MAINTAINER] net/ifstated: update to 5.1,1
Message-ID:  <20120327131036.E40E62788A9@zion.christianserving.org>
Resent-Message-ID: <201203271320.q2RDKCZH016402@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>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 <sys/time.h>
  #include <sys/ioctl.h>
@@ -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:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20120327131036.E40E62788A9>