ports/115113: [MAINTAINER] net-mgmt/ndpmon: update to 1.2
Janos Mohacsi
janos.mohacsi at bsd.hu
Wed Aug 1 11:20:02 UTC 2007
>Number: 115113
>Category: ports
>Synopsis: [MAINTAINER] net-mgmt/ndpmon: update to 1.2
>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 Aug 01 11:20:01 GMT 2007
>Closed-Date:
>Last-Modified:
>Originator: Janos Mohacsi
>Release: FreeBSD 7.0-CURRENT i386
>Organization:
NIIF/HUNGARNET
>Environment:
System: FreeBSD scone.ki.iif.hu 7.0-CURRENT FreeBSD 7.0-CURRENT #0: Wed Jun 27 18:22:17 CEST 2007
>Description:
- Update to 1.2 - FreeBSD changes are included
Removed file(s):
- files/patch-monitoring.h
- files/patch-monitoring__na.h
- files/patch-monitoring__ns.h
- files/patch-monitoring__ra.h
- files/patch-monitoring__rd.h
- files/patch-ndpmon.h
- files/patch-parser.c
- files/patch-print__packet__info.h
- files/patch-utils.h
Generated with FreeBSD Port Tools 0.77
>How-To-Repeat:
>Fix:
--- ndpmon-1.2.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 2007-03-22 02:19:34.000000000 +0100
+++ /usr/ports/net-mgmt/ndpmon/Makefile 2007-08-01 13:06:18.000000000 +0200
@@ -6,7 +6,7 @@
#
PORTNAME= ndpmon
-PORTVERSION= 1.1b
+PORTVERSION= 1.2
CATEGORIES= net-mgmt ipv6
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
@@ -17,6 +17,7 @@
USE_GNOME= libxml2
USE_PERL5_RUN= yes
+WRKSRC= ${WRKDIR}/${PORTNAME}
GNU_CONFIGURE= yes
diff -ruN --exclude=CVS /usr/ports/net-mgmt/ndpmon.orig/distinfo /usr/ports/net-mgmt/ndpmon/distinfo
--- /usr/ports/net-mgmt/ndpmon.orig/distinfo 2007-03-22 02:19:34.000000000 +0100
+++ /usr/ports/net-mgmt/ndpmon/distinfo 2007-08-01 12:26:05.000000000 +0200
@@ -1,3 +1,3 @@
-MD5 (ndpmon-1.1b.tgz) = d7d4b3397938d6a716ed6bfae4cc1e06
-SHA256 (ndpmon-1.1b.tgz) = a01b9511defbedebef05a2c614a05ba05e8bd83461e5e239af72607a62ca95b2
-SIZE (ndpmon-1.1b.tgz) = 281973
+MD5 (ndpmon-1.2.tgz) = 4073e4b4d0a9031572a2988760622116
+SHA256 (ndpmon-1.2.tgz) = 9e7239a59d33348bd7a69150bc34c7877916e9afecb58314c5e319d23447a2ef
+SIZE (ndpmon-1.2.tgz) = 234792
diff -ruN --exclude=CVS /usr/ports/net-mgmt/ndpmon.orig/files/patch-monitoring.h /usr/ports/net-mgmt/ndpmon/files/patch-monitoring.h
--- /usr/ports/net-mgmt/ndpmon.orig/files/patch-monitoring.h 2006-12-21 21:20:49.000000000 +0100
+++ /usr/ports/net-mgmt/ndpmon/files/patch-monitoring.h 1970-01-01 01:00:00.000000000 +0100
@@ -1,16 +0,0 @@
-
-$FreeBSD: ports/net-mgmt/ndpmon/files/patch-monitoring.h,v 1.1 2006/12/21 20:20:49 miwi Exp $
-
---- monitoring.h.orig
-+++ monitoring.h
-@@ -36,8 +36,9 @@
-
- #include <time.h>
-
-+#include <sys/types.h>
- #include <netinet/in.h>
--#include <netinet/ether.h>
-+#include <net/ethernet.h>
- #include <netinet/ip6.h>
- #include <netinet/icmp6.h>
- #include <string.h>
diff -ruN --exclude=CVS /usr/ports/net-mgmt/ndpmon.orig/files/patch-monitoring__na.h /usr/ports/net-mgmt/ndpmon/files/patch-monitoring__na.h
--- /usr/ports/net-mgmt/ndpmon.orig/files/patch-monitoring__na.h 2006-12-21 21:20:49.000000000 +0100
+++ /usr/ports/net-mgmt/ndpmon/files/patch-monitoring__na.h 1970-01-01 01:00:00.000000000 +0100
@@ -1,16 +0,0 @@
-
-$FreeBSD: ports/net-mgmt/ndpmon/files/patch-monitoring__na.h,v 1.1 2006/12/21 20:20:49 miwi Exp $
-
---- monitoring_na.h.orig
-+++ monitoring_na.h
-@@ -34,7 +34,9 @@
- #ifndef _MONITORING_NA_
- #define _MONITORING_NA_ 1
-
--#include <netinet/ether.h>
-+#include <sys/types.h>
-+#include <netinet/in.h>
-+#include <net/ethernet.h>
- #include <netinet/ip6.h>
- #include <netinet/icmp6.h>
-
diff -ruN --exclude=CVS /usr/ports/net-mgmt/ndpmon.orig/files/patch-monitoring__ns.h /usr/ports/net-mgmt/ndpmon/files/patch-monitoring__ns.h
--- /usr/ports/net-mgmt/ndpmon.orig/files/patch-monitoring__ns.h 2006-12-21 21:20:49.000000000 +0100
+++ /usr/ports/net-mgmt/ndpmon/files/patch-monitoring__ns.h 1970-01-01 01:00:00.000000000 +0100
@@ -1,16 +0,0 @@
-
-$FreeBSD: ports/net-mgmt/ndpmon/files/patch-monitoring__ns.h,v 1.1 2006/12/21 20:20:49 miwi Exp $
-
---- monitoring_ns.h.orig
-+++ monitoring_ns.h
-@@ -33,7 +33,9 @@
- #ifndef _MONITORING_NS_
- #define _MONITORING_NS_ 1
-
--#include <netinet/ether.h>
-+#include <sys/types.h>
-+#include <netinet/in.h>
-+#include <net/ethernet.h>
- #include <netinet/ip6.h>
- #include <netinet/icmp6.h>
- #include <netinet/in.h>
diff -ruN --exclude=CVS /usr/ports/net-mgmt/ndpmon.orig/files/patch-monitoring__ra.h /usr/ports/net-mgmt/ndpmon/files/patch-monitoring__ra.h
--- /usr/ports/net-mgmt/ndpmon.orig/files/patch-monitoring__ra.h 2006-12-21 21:20:49.000000000 +0100
+++ /usr/ports/net-mgmt/ndpmon/files/patch-monitoring__ra.h 1970-01-01 01:00:00.000000000 +0100
@@ -1,16 +0,0 @@
-
-$FreeBSD: ports/net-mgmt/ndpmon/files/patch-monitoring__ra.h,v 1.1 2006/12/21 20:20:49 miwi Exp $
-
---- monitoring_ra.h.orig
-+++ monitoring_ra.h
-@@ -33,7 +33,9 @@
- #ifndef _MONITORING_RA_
- #define _MONITORING_RA_ 1
-
--#include <netinet/ether.h>
-+#include <sys/types.h>
-+#include <net/ethernet.h>
-+#include <netinet/in.h>
- #include <netinet/ip6.h>
- #include <netinet/icmp6.h>
-
diff -ruN --exclude=CVS /usr/ports/net-mgmt/ndpmon.orig/files/patch-monitoring__rd.h /usr/ports/net-mgmt/ndpmon/files/patch-monitoring__rd.h
--- /usr/ports/net-mgmt/ndpmon.orig/files/patch-monitoring__rd.h 2006-12-21 21:20:49.000000000 +0100
+++ /usr/ports/net-mgmt/ndpmon/files/patch-monitoring__rd.h 1970-01-01 01:00:00.000000000 +0100
@@ -1,16 +0,0 @@
-
-$FreeBSD: ports/net-mgmt/ndpmon/files/patch-monitoring__rd.h,v 1.1 2006/12/21 20:20:49 miwi Exp $
-
---- monitoring_rd.h.orig
-+++ monitoring_rd.h
-@@ -33,7 +33,9 @@
- #ifndef _MONITORING_RD_
- #define _MONITORING_RD_ 1
-
--#include <netinet/ether.h>
-+#include <sys/types.h>
-+#include <netinet/in.h>
-+#include <net/ethernet.h>
- #include <netinet/ip6.h>
- #include <netinet/icmp6.h>
-
diff -ruN --exclude=CVS /usr/ports/net-mgmt/ndpmon.orig/files/patch-ndpmon.c /usr/ports/net-mgmt/ndpmon/files/patch-ndpmon.c
--- /usr/ports/net-mgmt/ndpmon.orig/files/patch-ndpmon.c 2006-12-21 21:20:49.000000000 +0100
+++ /usr/ports/net-mgmt/ndpmon/files/patch-ndpmon.c 2007-08-01 13:07:57.000000000 +0200
@@ -1,5 +1,5 @@
-$FreeBSD: ports/net-mgmt/ndpmon/files/patch-ndpmon.c,v 1.1 2006/12/21 20:20:49 miwi Exp $
+$FreeBSD$
--- ndpmon.c.orig
+++ ndpmon.c
@@ -16,14 +16,5 @@
+char dtd_path[128] = "%%PREFIX%%/share/ndpmon/neighbor_list.dtd";
+char dtd_config_path[128] = "%%PREFIX%%/share/ndpmon/config_ndpmon.dtd";
- #ifdef _MACRESOLUTION_
- manufacturer_t *manuf = NULL;
-@@ -438,7 +438,7 @@
-
-
- /* open device for reading */
-- descr = pcap_open_live(interface,BUFSIZ,1,-1,errbuf);
-+ descr = pcap_open_live(interface,BUFSIZ,1,1000,errbuf);
- if(descr == NULL)
- {
- fprintf(stderr,"pcap_open_live(): %s\n",errbuf); exit(1);
+ struct action_selector action_low_pri, action_high_pri;
+ int use_reverse_hostlookups;
diff -ruN --exclude=CVS /usr/ports/net-mgmt/ndpmon.orig/files/patch-ndpmon.h /usr/ports/net-mgmt/ndpmon/files/patch-ndpmon.h
--- /usr/ports/net-mgmt/ndpmon.orig/files/patch-ndpmon.h 2006-12-21 21:20:49.000000000 +0100
+++ /usr/ports/net-mgmt/ndpmon/files/patch-ndpmon.h 1970-01-01 01:00:00.000000000 +0100
@@ -1,14 +0,0 @@
-
-$FreeBSD: ports/net-mgmt/ndpmon/files/patch-ndpmon.h,v 1.1 2006/12/21 20:20:49 miwi Exp $
-
---- ndpmon.h.orig
-+++ ndpmon.h
-@@ -38,7 +38,7 @@
-
- #include <netinet/in.h>
- #include <netinet/if_ether.h>
--#include <netinet/ether.h>
-+#include <net/ethernet.h>
- #include <netinet/ip6.h>
- #include <netinet/icmp6.h>
- #include <net/ethernet.h>
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 2006-12-21 21:20:49.000000000 +0100
+++ /usr/ports/net-mgmt/ndpmon/files/patch-parser.c 1970-01-01 01:00:00.000000000 +0100
@@ -1,19 +0,0 @@
-
-$FreeBSD: ports/net-mgmt/ndpmon/files/patch-parser.c,v 1.1 2006/12/21 20:20:49 miwi Exp $
-
---- parser.c.orig
-+++ parser.c
-@@ -65,11 +65,13 @@
- /** note: it may be a good option to save values, and restore
- * them when exiting
- */
-+ /*
- write_proc("/proc/sys/net/ipv6/conf/all/autoconf",flag);
- write_proc("/proc/sys/net/ipv6/conf/all/accept_ra",flag);
- 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);
-+ */
- }
-
- xmlXPathFreeObject (xmlobject);
diff -ruN --exclude=CVS /usr/ports/net-mgmt/ndpmon.orig/files/patch-print__packet__info.h /usr/ports/net-mgmt/ndpmon/files/patch-print__packet__info.h
--- /usr/ports/net-mgmt/ndpmon.orig/files/patch-print__packet__info.h 2006-12-21 21:20:49.000000000 +0100
+++ /usr/ports/net-mgmt/ndpmon/files/patch-print__packet__info.h 1970-01-01 01:00:00.000000000 +0100
@@ -1,16 +0,0 @@
-
-$FreeBSD: ports/net-mgmt/ndpmon/files/patch-print__packet__info.h,v 1.1 2006/12/21 20:20:49 miwi Exp $
-
---- print_packet_info.h.orig
-+++ print_packet_info.h
-@@ -37,7 +37,9 @@
-
- #include <stdio.h>
- #include <stdlib.h>
--#include <netinet/ether.h>
-+#include <sys/types.h>
-+#include <netinet/in.h>
-+#include <net/ethernet.h>
- #include <netinet/ip6.h>
- #include <netinet/icmp6.h>
-
diff -ruN --exclude=CVS /usr/ports/net-mgmt/ndpmon.orig/files/patch-utils.h /usr/ports/net-mgmt/ndpmon/files/patch-utils.h
--- /usr/ports/net-mgmt/ndpmon.orig/files/patch-utils.h 2006-12-21 21:20:49.000000000 +0100
+++ /usr/ports/net-mgmt/ndpmon/files/patch-utils.h 1970-01-01 01:00:00.000000000 +0100
@@ -1,14 +0,0 @@
-
-$FreeBSD: ports/net-mgmt/ndpmon/files/patch-utils.h,v 1.1 2006/12/21 20:20:49 miwi Exp $
-
---- utils.h.orig
-+++ utils.h
-@@ -36,7 +36,7 @@
- #define ETHERNET_SIZE 14 /* ethernet headers are 14 bytes */
- #define IPV6_SIZE 40 /* ipv6 headers without fragment ... are 40 bytes */
- #define ICMP6_HEADER_SIZE 8
--#define ETHERTYPE_IPV6 0x86dd
-+/*#define ETHERTYPE_IPV6 0x86dd */
-
- /*Size to build char* address in a readable form*/
- #define IP6_STR_SIZE 40 /*xxxx:xxxx:xxx:xxxx:xxxx:xxxx:xxxx:xxxx*/
--- ndpmon-1.2.patch ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list