diff options
author | Luca Pizzamiglio <pizzamig@FreeBSD.org> | 2021-01-31 22:33:08 +0800 |
---|---|---|
committer | Luca Pizzamiglio <pizzamig@FreeBSD.org> | 2021-01-31 22:33:08 +0800 |
commit | a98326bf91bb556fd0b6ca0476e21576b8b32147 (patch) | |
tree | a455dfbfb3a76c087dd9dca731d5617bb1899302 | |
parent | bcf91e8bbaab39f614585780a2ce3b835a420c1a (diff) | |
download | freebsd-ports-gnome-a98326bf91bb556fd0b6ca0476e21576b8b32147.tar.gz freebsd-ports-gnome-a98326bf91bb556fd0b6ca0476e21576b8b32147.tar.zst freebsd-ports-gnome-a98326bf91bb556fd0b6ca0476e21576b8b32147.zip |
net/igmpproxy: Update to 0.3
igmpproxy update to 0.3, mostly fixing previous FreeBSD build issues.
MAX_IF patch kept and raised further to retain operation when many addresses are found in the system. (On OPNsense/pfSense 40 addresses can be too low.)
PR: 252857
Submitted by: Franco Fichtner <franco@opnsense.org> (maintainer)
-rw-r--r-- | net/igmpproxy/Makefile | 3 | ||||
-rw-r--r-- | net/igmpproxy/distinfo | 6 | ||||
-rw-r--r-- | net/igmpproxy/files/patch-src_igmpproxy.c | 14 | ||||
-rw-r--r-- | net/igmpproxy/files/patch-src_igmpproxy.h | 26 |
4 files changed, 7 insertions, 42 deletions
diff --git a/net/igmpproxy/Makefile b/net/igmpproxy/Makefile index ad935daa6579..cdeedf7ec623 100644 --- a/net/igmpproxy/Makefile +++ b/net/igmpproxy/Makefile @@ -2,8 +2,7 @@ # $FreeBSD$ PORTNAME= igmpproxy -DISTVERSION= 0.2.1 -PORTREVISION= 1 +DISTVERSION= 0.3 PORTEPOCH= 1 CATEGORIES= net diff --git a/net/igmpproxy/distinfo b/net/igmpproxy/distinfo index acaa7ba21733..7c4f7d0d4c5f 100644 --- a/net/igmpproxy/distinfo +++ b/net/igmpproxy/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1520836770 -SHA256 (pali-igmpproxy-0.2.1_GH0.tar.gz) = 6faa1f42ba323f60a9eb4958550e25b2e7e9c645da32c52ba12db0c9bdfce1ba -SIZE (pali-igmpproxy-0.2.1_GH0.tar.gz) = 42201 +TIMESTAMP = 1610439794 +SHA256 (pali-igmpproxy-0.3_GH0.tar.gz) = 1aa45dbcd253531b92c09cef3ba0af7056fc2f89395948177ba27f8650b55449 +SIZE (pali-igmpproxy-0.3_GH0.tar.gz) = 42656 diff --git a/net/igmpproxy/files/patch-src_igmpproxy.c b/net/igmpproxy/files/patch-src_igmpproxy.c deleted file mode 100644 index 5f88928fc22c..000000000000 --- a/net/igmpproxy/files/patch-src_igmpproxy.c +++ /dev/null @@ -1,14 +0,0 @@ ---- src/igmpproxy.c.orig 2017-12-22 20:49:54 UTC -+++ src/igmpproxy.c -@@ -37,11 +37,6 @@ - * February 2005 - Johnny Egeland - */ - --/* getopt() and clock_getime() */ --#ifndef _POSIX_C_SOURCE --#define _POSIX_C_SOURCE 200112L --#endif -- - #include "igmpproxy.h" - - static const char Usage[] = diff --git a/net/igmpproxy/files/patch-src_igmpproxy.h b/net/igmpproxy/files/patch-src_igmpproxy.h index 5a00d8f65360..c665f05ec3a0 100644 --- a/net/igmpproxy/files/patch-src_igmpproxy.h +++ b/net/igmpproxy/files/patch-src_igmpproxy.h @@ -1,31 +1,11 @@ ---- src/igmpproxy.h.orig 2018-02-13 19:17:30 UTC +--- src/igmpproxy.h.orig 2021-01-12 08:24:34 UTC +++ src/igmpproxy.h -@@ -35,9 +35,6 @@ - * igmpproxy.h - Header file for common includes. - */ - --#include "config.h" --#include "os.h" -- - #include <errno.h> - #include <stdarg.h> - #include <stdio.h> -@@ -60,6 +57,9 @@ - #include <netinet/in.h> - #include <arpa/inet.h> - -+#include "os.h" -+#include "config.h" -+ - /* - * Limit on length of route data - */ -@@ -113,7 +113,7 @@ void my_log( int Serverity, int Errno, c +@@ -112,7 +112,7 @@ void my_log( int Serverity, int Errno, const char *Fmt /* ifvc.c */ -#define MAX_IF 40 // max. number of interfaces recognized -+#define MAX_IF 100 // max. number of interfaces recognized ++#define MAX_IF 140 // max. number of interfaces recognized // Interface states #define IF_STATE_DISABLED 0 // Interface should be ignored. |