mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-25 00:51:21 +00:00
- Update to 1.2
PR: ports/115113 Submitted by: Janos Mohacsi <janos.mohacsi@bsd.hu> (maintainer)
This commit is contained in:
parent
0faf6689a9
commit
563e820784
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=197038
@ -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,8 +17,10 @@ COMMENT= On-link icmpv6 message monitoring and reporting daemon
|
||||
|
||||
USE_GNOME= libxml2
|
||||
USE_PERL5_RUN= yes
|
||||
WRKSRC= ${WRKDIR}/${PORTNAME}
|
||||
|
||||
GNU_CONFIGURE= yes
|
||||
CONFIGURE_ENV= OSTYPE=FreeBSD
|
||||
|
||||
MAN8= ndpmon.8
|
||||
PORTDOCS= INSTALL README
|
||||
|
@ -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
|
||||
|
@ -1,16 +0,0 @@
|
||||
|
||||
$FreeBSD$
|
||||
|
||||
--- 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>
|
@ -1,16 +0,0 @@
|
||||
|
||||
$FreeBSD$
|
||||
|
||||
--- 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>
|
||||
|
@ -1,16 +0,0 @@
|
||||
|
||||
$FreeBSD$
|
||||
|
||||
--- 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>
|
@ -1,16 +0,0 @@
|
||||
|
||||
$FreeBSD$
|
||||
|
||||
--- 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>
|
||||
|
@ -1,16 +0,0 @@
|
||||
|
||||
$FreeBSD$
|
||||
|
||||
--- 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>
|
||||
|
@ -16,14 +16,5 @@ $FreeBSD$
|
||||
+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;
|
||||
|
@ -1,14 +0,0 @@
|
||||
|
||||
$FreeBSD$
|
||||
|
||||
--- 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>
|
@ -1,19 +0,0 @@
|
||||
|
||||
$FreeBSD$
|
||||
|
||||
--- 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);
|
@ -1,16 +0,0 @@
|
||||
|
||||
$FreeBSD$
|
||||
|
||||
--- 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>
|
||||
|
@ -1,14 +0,0 @@
|
||||
|
||||
$FreeBSD$
|
||||
|
||||
--- 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*/
|
Loading…
Reference in New Issue
Block a user