- Update to 1.4.0

PR:		ports/147217
Submitted by:	Janos Mohacsi <janos.mohacsi@bsd.hu> (maintainer)
This commit is contained in:
Sylvio Cesar Teixeira 2010-05-30 23:55:31 +00:00
parent 9695508112
commit 87b36fd013
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=255362
6 changed files with 67 additions and 23 deletions

View File

@ -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

View File

@ -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

View File

@ -13,16 +13,16 @@ $FreeBSD$
<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>

View File

@ -5,16 +5,16 @@ $FreeBSD$
+++ 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>

View File

@ -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;
}

View File

@ -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);