Date: Wed, 21 Mar 2007 08:58:15 +0100 (CET) From: Janos Mohacsi <janos.mohacsi@bsd.hu> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/110606: [MAINTAINER] net-mgmt/ndpmon: update to 1.1b Message-ID: <200703210758.l2L7wFuo001593@scone.ki.iif.hu> Resent-Message-ID: <200703210840.l2L8e7eK064887@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 110606 >Category: ports >Synopsis: [MAINTAINER] net-mgmt/ndpmon: update to 1.1b >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: Wed Mar 21 08:40:07 GMT 2007 >Closed-Date: >Last-Modified: >Originator: Janos Mohacsi >Release: FreeBSD 6.2-STABLE i386 >Organization: NIIF/HUNGARNET >Environment: System: FreeBSD scone.ki.iif.hu 6.2-STABLE FreeBSD 6.2-STABLE #21: Wed Mar 21 00:15:37 CET 2007 >Description: - Update to 1.1b Added file(s): - files/patch-demopipeprogram.pl Generated with FreeBSD Port Tools 0.77 >How-To-Repeat: >Fix: --- ndpmon-1.1b.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 Thu Dec 21 21:20:49 2006 +++ /usr/ports/net-mgmt/ndpmon/Makefile Tue Mar 20 22:50:22 2007 @@ -6,16 +6,17 @@ # PORTNAME= ndpmon -PORTVERSION= 1.0 +PORTVERSION= 1.1b CATEGORIES= net-mgmt ipv6 MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} MASTER_SITE_SUBDIR= ${PORTNAME} -DISTFILES= ${PORTNAME}-${PORTVERSION}b.tgz +EXTRACT_SUFX= .tgz MAINTAINER= janos.mohacsi@bsd.hu COMMENT= On-link icmpv6 message monitoring and reporting daemon USE_GNOME= libxml2 +USE_PERL5_RUN= yes GNU_CONFIGURE= yes @@ -27,13 +28,16 @@ ${WRKSRC}/ndpmon.c \ ${WRKSRC}/ndpmon.8 \ ${WRKSRC}/config_ndpmon.xml \ - ${WRKSRC}/neighbor_list.xml + ${WRKSRC}/neighbor_list.xml \ + ${WRKSRC}/demopipeprogram.pl do-install: ${INSTALL_MAN} ${WRKSRC}/ndpmon.8 ${PREFIX}/man/man8 ${INSTALL_PROGRAM} ${WRKSRC}/ndpmon ${PREFIX}/sbin ${MKDIR} ${DATADIR} ${INSTALL_DATA} ${WRKSRC}/*.dtd \ + ${DATADIR} + ${INSTALL_SCRIPT} ${WRKSRC}/demopipeprogram.pl \ ${DATADIR} ${INSTALL_DATA} ${WRKSRC}/config_ndpmon.xml ${PREFIX}/etc/config_ndpmon.xml-dist ${MKDIR} ${PREFIX}/var diff -ruN --exclude=CVS /usr/ports/net-mgmt/ndpmon.orig/distinfo /usr/ports/net-mgmt/ndpmon/distinfo --- /usr/ports/net-mgmt/ndpmon.orig/distinfo Thu Dec 21 21:20:49 2006 +++ /usr/ports/net-mgmt/ndpmon/distinfo Tue Mar 20 21:41:29 2007 @@ -1,3 +1,3 @@ -MD5 (ndpmon-1.0b.tgz) = 80c2076de3399fde5fd9959d487538c1 -SHA256 (ndpmon-1.0b.tgz) = c8e26f1bdf69a9609b482afe05dacbab5c129fc80964b0fdf1e272948f098651 -SIZE (ndpmon-1.0b.tgz) = 49818 +MD5 (ndpmon-1.1b.tgz) = d7d4b3397938d6a716ed6bfae4cc1e06 +SHA256 (ndpmon-1.1b.tgz) = a01b9511defbedebef05a2c614a05ba05e8bd83461e5e239af72607a62ca95b2 +SIZE (ndpmon-1.1b.tgz) = 281973 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 Thu Dec 21 21:20:49 2006 +++ /usr/ports/net-mgmt/ndpmon/files/patch-config__ndpmon.xml Tue Mar 20 22:38:40 2007 @@ -1,5 +1,5 @@ -$FreeBSD: ports/net-mgmt/ndpmon/files/patch-config__ndpmon.xml,v 1.1 2006/12/21 20:20:49 miwi Exp $ +$FreeBSD$ --- config_ndpmon.xml.orig +++ config_ndpmon.xml @@ -10,3 +10,18 @@ <config_ndpmon> <ignor_autoconf>1</ignor_autoconf> <syslog_facility>LOG_LOCAL1</syslog_facility> +@@ -7,12 +7,12 @@ + <actions_low_pri> + <sendmail>1</sendmail> + <syslog>1</syslog> +- <exec_pipe_program>/usr/local/ndpmon/demopipeprogram.pl</exec_pipe_program> ++ <exec_pipe_program>%%PREFIX%%/share/ndpmon/demopipeprogram.pl</exec_pipe_program> + </actions_low_pri> + <actions_high_pri> + <sendmail>1</sendmail> + <syslog>1</syslog> +- <exec_pipe_program>/usr/local/ndpmon/demopipeprogram.pl</exec_pipe_program> ++ <exec_pipe_program>%%PREFIX%%/share/ndpmon/demopipeprogram.pl</exec_pipe_program> + </actions_high_pri> + <use_reverse_hostlookups>1</use_reverse_hostlookups> + <routers> diff -ruN --exclude=CVS /usr/ports/net-mgmt/ndpmon.orig/files/patch-demopipeprogram.pl /usr/ports/net-mgmt/ndpmon/files/patch-demopipeprogram.pl --- /usr/ports/net-mgmt/ndpmon.orig/files/patch-demopipeprogram.pl Thu Jan 1 01:00:00 1970 +++ /usr/ports/net-mgmt/ndpmon/files/patch-demopipeprogram.pl Tue Mar 20 22:49:21 2007 @@ -0,0 +1,21 @@ + +$FreeBSD$ + +--- demopipeprogram.pl.orig ++++ demopipeprogram.pl +@@ -1,7 +1,7 @@ + #!/usr/bin/perl + + my $i=0; +-open DATA, ">>/usr/local/ndpmon/test.txt" or die "Cannot open /usr/local/ndpmon/test.txt for writing\n"; ++open DATA, ">>%%PREFIX%%/var/ndpmon_test.txt" or die "Cannot open %%PREFIX%%/var/ndpmon_test.txt for writing\n"; + + print DATA "-----\n"; + while (<STDIN>) { +@@ -14,4 +14,4 @@ + } + print DATA "-----\n\n"; + +-close DATA; +\ No newline at end of file ++close DATA; diff -ruN --exclude=CVS /usr/ports/net-mgmt/ndpmon.orig/pkg-plist /usr/ports/net-mgmt/ndpmon/pkg-plist --- /usr/ports/net-mgmt/ndpmon.orig/pkg-plist Thu Dec 21 21:20:49 2006 +++ /usr/ports/net-mgmt/ndpmon/pkg-plist Tue Mar 20 22:51:32 2007 @@ -1,6 +1,7 @@ sbin/ndpmon %%DATADIR%%/config_ndpmon.dtd %%DATADIR%%/neighbor_list.dtd +%%DATADIR%%/demopipeprogram.pl @dirrmtry %%DATADIR%% var/ndpmon_neighbor_list.xml @dirrmtry var --- ndpmon-1.1b.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?200703210758.l2L7wFuo001593>