Skip to content

Commit

Permalink
net-mgmt/fastnetmon: Update to 1.2.5
Browse files Browse the repository at this point in the history
  • Loading branch information
farrokhi committed Jun 19, 2023
1 parent c748b7e commit d79923e
Show file tree
Hide file tree
Showing 7 changed files with 9 additions and 80 deletions.
5 changes: 2 additions & 3 deletions net-mgmt/fastnetmon/Makefile
@@ -1,7 +1,6 @@
PORTNAME= fastnetmon
PORTVERSION= 1.2.4
PORTVERSION= 1.2.5
DISTVERSIONPREFIX= v
PORTREVISION= 3
CATEGORIES= net-mgmt security

MAINTAINER= farrokhi@FreeBSD.org
Expand Down Expand Up @@ -58,7 +57,7 @@ post-patch:
s|"/etc/|"${PREFIX}/etc/|g; s|/root/fastnetmon|${DATADIR}|g' \
${WRKSRC}/src/fastnetmon.conf ${WRKSRC}/src/fastnetmon.cpp
@${REINPLACE_CMD} -e 's|%%PREFIX%%|${PREFIX}|g' \
${WRKSRC}/src/man/fastnetmon.8 ${WRKSRC}/src/fast_platform.h.template
${WRKSRC}/src/man/fastnetmon.8

post-install:
${MV} ${STAGEDIR}${PREFIX}/etc/${PORTNAME}.conf \
Expand Down
6 changes: 3 additions & 3 deletions net-mgmt/fastnetmon/distinfo
@@ -1,3 +1,3 @@
TIMESTAMP = 1677848493
SHA256 (pavel-odintsov-fastnetmon-v1.2.4_GH0.tar.gz) = 84cd5db0e270f6c268923592eabd5cb0d1689293d9d9f6f0634af548b29f9bb4
SIZE (pavel-odintsov-fastnetmon-v1.2.4_GH0.tar.gz) = 1056097
TIMESTAMP = 1686746794
SHA256 (pavel-odintsov-fastnetmon-v1.2.5_GH0.tar.gz) = d92a1f16e60b6ab6f5c5e023a215570e9352ce9d0c9a9d7209416f8cd0227ae6
SIZE (pavel-odintsov-fastnetmon-v1.2.5_GH0.tar.gz) = 1383370
10 changes: 0 additions & 10 deletions net-mgmt/fastnetmon/files/patch-src_fast__endianless.hpp

This file was deleted.

15 changes: 0 additions & 15 deletions net-mgmt/fastnetmon/files/patch-src_fast__library.cpp

This file was deleted.

26 changes: 0 additions & 26 deletions net-mgmt/fastnetmon/files/patch-src_fast__platform.h.template

This file was deleted.

19 changes: 4 additions & 15 deletions net-mgmt/fastnetmon/files/patch-src_fastnetmon.cpp
@@ -1,17 +1,6 @@
--- src/fastnetmon.cpp.orig 2023-03-01 14:23:34 UTC
--- src/fastnetmon.cpp.orig 2023-05-23 06:20:59 UTC
+++ src/fastnetmon.cpp
@@ -12,8 +12,8 @@
#include <unistd.h>

#include <arpa/inet.h>
-#include <net/if_arp.h> // struct arphdr
-#include <netinet/if_ether.h>
+//#include <net/if_arp.h> // struct arphdr
+//#include <netinet/if_ether.h>
#include <netinet/in.h>
#include <netinet/ip.h>
#include <netinet/ip_icmp.h>
@@ -161,7 +161,7 @@ unsigned int stats_thread_initial_call_delay = 30;
@@ -156,7 +156,7 @@ unsigned int stats_thread_initial_call_delay = 30;
std::string reporting_server = "community-stats.fastnetmon.com";

// Path to temporarily store backtrace when fatal failure happened
Expand All @@ -20,7 +9,7 @@

// Each this seconds we will check about available data in bucket
unsigned int check_for_availible_for_processing_packets_buckets = 1;
@@ -435,7 +435,7 @@ std::string exabgp_community_subnet = "";
@@ -430,7 +430,7 @@ std::string exabgp_community_subnet = "";
std::string exabgp_community_host = "";


Expand All @@ -29,7 +18,7 @@
std::string exabgp_next_hop = "";

// Graphite monitoring
@@ -519,7 +519,7 @@ void sigpipe_handler_for_popen(int signo) {
@@ -514,7 +514,7 @@ void sigpipe_handler_for_popen(int signo) {
#ifdef GEOIP
bool geoip_init() {
// load GeoIP ASN database to memory
Expand Down
8 changes: 0 additions & 8 deletions net-mgmt/fastnetmon/files/patch-src_notify__about__attack.sh

This file was deleted.

0 comments on commit d79923e

Please sign in to comment.