Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 30 May 2010 17:20:51 +0200 (CEST)
From:      Janos Mohacsi <janos.mohacsi@bsd.hu>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/147217: [MAINTAINER] net-mgmt/ndpmon: update to 1.4.0
Message-ID:  <201005301520.o4UFKpxF045798@csoki.ki.iif.hu>
Resent-Message-ID: <201005301530.o4UFU7r5086723@freefall.freebsd.org>

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

>Number:         147217
>Category:       ports
>Synopsis:       [MAINTAINER] net-mgmt/ndpmon: update to 1.4.0
>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:   Sun May 30 15:30:07 UTC 2010
>Closed-Date:
>Last-Modified:
>Originator:     Janos Mohacsi
>Release:        FreeBSD 6.4-STABLE i386
>Organization:
NIIF/HUNGARNET
>Environment:
System: FreeBSD csoki.ki.iif.hu 6.4-STABLE FreeBSD 6.4-STABLE #16: Sat May 22 20:16:54 CEST 2010
>Description:
- Update to 1.4.0
- fixing conditional compilation error

Added file(s):
- files/patch-parser.c
- files/patch-routers.c

Generated with FreeBSD Port Tools 0.99
>How-To-Repeat:
>Fix:

--- ndpmon-1.4.0.patch begins here ---
diff -ruN --exclude=CVS /usr/ports/net-mgmt/ndpmon.orig/Makefile /usr/ports/net-mgmt/ndpmon/Makefile
--- /usr/ports/net-mgmt/ndpmon.orig/Makefile	2009-08-25 16:20:31.000000000 +0200
+++ /usr/ports/net-mgmt/ndpmon/Makefile	2010-05-30 16:54:38.000000000 +0200
@@ -6,9 +6,9 @@
 #
 
 PORTNAME=	ndpmon
-PORTVERSION=	1.3d
+PORTVERSION=	1.4.0
 CATEGORIES=	net-mgmt ipv6
-MASTER_SITES=	SF/${PORTNAME}/${PORTNAME}/${PORTNAME}-1.3
+MASTER_SITES=	SF/${PORTNAME}/${PORTNAME}/${PORTNAME}-1.4/
 EXTRACT_SUFX=	.tgz
 
 MAINTAINER=	janos.mohacsi@bsd.hu
diff -ruN --exclude=CVS /usr/ports/net-mgmt/ndpmon.orig/distinfo /usr/ports/net-mgmt/ndpmon/distinfo
--- /usr/ports/net-mgmt/ndpmon.orig/distinfo	2008-01-29 19:23:29.000000000 +0100
+++ /usr/ports/net-mgmt/ndpmon/distinfo	2010-05-30 16:54:45.000000000 +0200
@@ -1,3 +1,3 @@
-MD5 (ndpmon-1.3d.tgz) = 82ff35019ad6e9c03fecb350147e7322
-SHA256 (ndpmon-1.3d.tgz) = d1bf47b133ab78d9e558104cfe09f8c40e8b9a37324383749a43f4d6f56747a1
-SIZE (ndpmon-1.3d.tgz) = 247919
+MD5 (ndpmon-1.4.0.tgz) = 4e9573a97b972e5a01de276cdabf3921
+SHA256 (ndpmon-1.4.0.tgz) = 132df9d8d3bfa263025131c713278026ae1ee0a423a91652b7a15259363efaeb
+SIZE (ndpmon-1.4.0.tgz) = 321695
diff -ruN --exclude=CVS /usr/ports/net-mgmt/ndpmon.orig/files/patch-config__ndpmon.xml /usr/ports/net-mgmt/ndpmon/files/patch-config__ndpmon.xml
--- /usr/ports/net-mgmt/ndpmon.orig/files/patch-config__ndpmon.xml	2007-10-26 15:33:43.000000000 +0200
+++ /usr/ports/net-mgmt/ndpmon/files/patch-config__ndpmon.xml	2010-05-30 16:59:07.000000000 +0200
@@ -1,5 +1,5 @@
 
-$FreeBSD: ports/net-mgmt/ndpmon/files/patch-config__ndpmon.xml,v 1.3 2007/10/26 13:33:43 pav Exp $
+$FreeBSD$
 
 --- config_ndpmon.xml.orig
 +++ config_ndpmon.xml
@@ -13,16 +13,16 @@
  	<syslog_facility>LOG_LOCAL1</syslog_facility>
 @@ -8,12 +8,12 @@
          <actions_low_pri>
-         	<sendmail>1</sendmail>
-         	<syslog>1</syslog>
--        	<exec_pipe_program>/usr/local/ndpmon/create_html_table.py</exec_pipe_program>
-+        	<exec_pipe_program>%%PREFIX%%/share/ndpmon/create_html_table.py</exec_pipe_program>
+             <sendmail>1</sendmail>
+             <syslog>1</syslog>
+-            <exec_pipe_program>/usr/local/ndpmon/create_html_table.py</exec_pipe_program>
++            <exec_pipe_program>%%PREFIX%%/share/ndpmon/create_html_table.py</exec_pipe_program>
          </actions_low_pri>
          <actions_high_pri>
-         	<sendmail>1</sendmail>
-         	<syslog>1</syslog>
--        	<exec_pipe_program>/usr/local/ndpmon/create_html_table.py</exec_pipe_program>
-+        	<exec_pipe_program>%%PREFIX%%/share/ndpmon/create_html_table.py</exec_pipe_program>
+             <sendmail>1</sendmail>
+             <syslog>1</syslog>
+-            <exec_pipe_program>/usr/local/ndpmon/create_html_table.py</exec_pipe_program>
++            <exec_pipe_program>%%PREFIX%%/share/ndpmon/create_html_table.py</exec_pipe_program>
          </actions_high_pri>
          <use_reverse_hostlookups>1</use_reverse_hostlookups>
-         <routers>
+     <routers>
diff -ruN --exclude=CVS /usr/ports/net-mgmt/ndpmon.orig/files/patch-config__ndpmon.xml.in /usr/ports/net-mgmt/ndpmon/files/patch-config__ndpmon.xml.in
--- /usr/ports/net-mgmt/ndpmon.orig/files/patch-config__ndpmon.xml.in	2007-10-26 15:33:43.000000000 +0200
+++ /usr/ports/net-mgmt/ndpmon/files/patch-config__ndpmon.xml.in	2010-05-30 17:01:07.000000000 +0200
@@ -1,20 +1,20 @@
 
-$FreeBSD: ports/net-mgmt/ndpmon/files/patch-config__ndpmon.xml.in,v 1.1 2007/10/26 13:33:43 pav Exp $
+$FreeBSD$
 
 --- config_ndpmon.xml.in.orig
 +++ config_ndpmon.xml.in
 @@ -8,12 +8,12 @@
          <actions_low_pri>
-         	<sendmail>1</sendmail>
-         	<syslog>1</syslog>
--        	<exec_pipe_program>/usr/local/ndpmon/create_html_table.py</exec_pipe_program>
-+        	<exec_pipe_program>@prefix@/share/ndpmon/create_html_table.py</exec_pipe_program>
+             <sendmail>1</sendmail>
+             <syslog>1</syslog>
+-            <exec_pipe_program>/usr/local/ndpmon/create_html_table.py</exec_pipe_program>
++            <exec_pipe_program>%%PREFIX%%/share/ndpmon/create_html_table.py</exec_pipe_program>
          </actions_low_pri>
          <actions_high_pri>
-         	<sendmail>1</sendmail>
-         	<syslog>1</syslog>
--        	<exec_pipe_program>/usr/local/ndpmon/create_html_table.py</exec_pipe_program>
-+        	<exec_pipe_program>@prefix@/share/ndpmon/create_html_table.py</exec_pipe_program>
+             <sendmail>1</sendmail>
+             <syslog>1</syslog>
+-            <exec_pipe_program>/usr/local/ndpmon/create_html_table.py</exec_pipe_program>
++            <exec_pipe_program>%%PREFIX%%/share/ndpmon/create_html_table.py</exec_pipe_program>
          </actions_high_pri>
          <use_reverse_hostlookups>1</use_reverse_hostlookups>
-         <routers>
+     <routers>
diff -ruN --exclude=CVS /usr/ports/net-mgmt/ndpmon.orig/files/patch-parser.c /usr/ports/net-mgmt/ndpmon/files/patch-parser.c
--- /usr/ports/net-mgmt/ndpmon.orig/files/patch-parser.c	1970-01-01 01:00:00.000000000 +0100
+++ /usr/ports/net-mgmt/ndpmon/files/patch-parser.c	2010-05-30 17:19:02.000000000 +0200
@@ -0,0 +1,15 @@
+
+$FreeBSD$
+
+--- parser.c.orig
++++ parser.c
+@@ -77,8 +77,8 @@
+ 		write_proc("/proc/sys/net/ipv6/conf/all/accept_ra_defrtr",flag);
+ 		write_proc("/proc/sys/net/ipv6/conf/all/accept_ra_pinfo",flag);
+ 		write_proc("/proc/sys/net/ipv6/conf/all/accept_redirects",flag);
+-	}
+ #endif
++	}
+ 	xmlXPathFreeObject (xmlobject);
+ 	return;
+ }
diff -ruN --exclude=CVS /usr/ports/net-mgmt/ndpmon.orig/files/patch-routers.c /usr/ports/net-mgmt/ndpmon/files/patch-routers.c
--- /usr/ports/net-mgmt/ndpmon.orig/files/patch-routers.c	1970-01-01 01:00:00.000000000 +0100
+++ /usr/ports/net-mgmt/ndpmon/files/patch-routers.c	2010-05-30 17:15:23.000000000 +0200
@@ -0,0 +1,29 @@
+
+$FreeBSD$
+
+--- routers.c.orig
++++ routers.c
+@@ -261,9 +261,11 @@
+ 		if (tmp->param_flags_reserved&ND_RA_FLAG_OTHER) {
+ 			fprintf(stderr,"OTHER ");
+ 		}
++/* no support for home agent in FreeBSD
+ 		if (tmp->param_flags_reserved&ND_RA_FLAG_HOME_AGENT) {
+ 			fprintf(stderr,"HOME_AGENT ");
+ 		}
++*/
+ 		fprintf(stderr,"]\n");
+ 		fprintf(stderr,"        router lifetime: %u\n", tmp->param_router_lifetime);
+ 		fprintf(stderr,"        reachable timer: %u\n", tmp->param_reachable_timer);
+@@ -297,9 +299,11 @@
+ 			if (ptmp->param_flags_reserved&ND_OPT_PI_FLAG_AUTO) {
+ 				fprintf(stderr,"AUTO ");
+ 			}
++/* No suuportin FreeBSD yet
+ 			if (ptmp->param_flags_reserved&ND_OPT_PI_FLAG_RADDR) {
+ 				fprintf(stderr,"RADDR ");
+ 			}
++*/
+ 			fprintf(stderr,"]\n");
+ 			fprintf(stderr,"            valid time:     %u\n", ptmp->param_valid_time);
+ 			fprintf(stderr,"            preferred time: %u\n", ptmp->param_preferred_time);
--- ndpmon-1.4.0.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?201005301520.o4UFKpxF045798>