aboutsummaryrefslogtreecommitdiff
path: root/security/ipfmeta
diff options
context:
space:
mode:
authorCy Schubert <cy@FreeBSD.org>2021-03-15 19:36:41 +0000
committerCy Schubert <cy@FreeBSD.org>2021-03-15 19:36:41 +0000
commitec9bba61140425c7a37596ea353c8510d017d945 (patch)
treeffd34a11592982db1840eb440ba14d4149ec7a78 /security/ipfmeta
parentc52c8016d0f3f3e264aaf614f2db371471804c45 (diff)
downloadports-ec9bba61140425c7a37596ea353c8510d017d945.tar.gz
ports-ec9bba61140425c7a37596ea353c8510d017d945.zip
security/ipfmeta: Adjust maximum nesting level for larger rulesets
$Maxrec, maximum recursions, is in fact maximum object nesting. Objects may reference other objects to a maximum of 10 deep. However objects can and do nest deeper than 10. Double the maximum nesting level from 10 to 20.
Notes
Notes: svn path=/head/; revision=568492
Diffstat (limited to 'security/ipfmeta')
-rw-r--r--security/ipfmeta/Makefile1
-rw-r--r--security/ipfmeta/files/patch-ipfmeta11
2 files changed, 12 insertions, 0 deletions
diff --git a/security/ipfmeta/Makefile b/security/ipfmeta/Makefile
index 1063aec857ed..83f717be06f7 100644
--- a/security/ipfmeta/Makefile
+++ b/security/ipfmeta/Makefile
@@ -3,6 +3,7 @@
PORTNAME= ipfmeta
PORTVERSION= 1.3
+PORTREVISION= 1
CATEGORIES= security
MASTER_SITES= http://cschubert.com/distfiles/ \
LOCAL/cy
diff --git a/security/ipfmeta/files/patch-ipfmeta b/security/ipfmeta/files/patch-ipfmeta
new file mode 100644
index 000000000000..aeef583ba2b0
--- /dev/null
+++ b/security/ipfmeta/files/patch-ipfmeta
@@ -0,0 +1,11 @@
+--- ipfmeta.orig 2021-03-15 10:14:10.073225000 -0700
++++ ipfmeta 2021-03-15 10:17:37.515326000 -0700
+@@ -33,7 +33,7 @@
+
+ # Globals
+ my $Group = 0;
+-my $Maxrec = 10;
++my $Maxrec = 20;
+ my $Objfile = "ipf.objs";
+ my $Obj; my @Objs;
+ my $Val; my %Vals;