aboutsummaryrefslogtreecommitdiff
path: root/net-mgmt/pmacct
diff options
context:
space:
mode:
authorRyan Steinmetz <zi@FreeBSD.org>2011-07-17 17:10:56 +0000
committerRyan Steinmetz <zi@FreeBSD.org>2011-07-17 17:10:56 +0000
commit60650e0882373eb30ee9c40e57849bd1211c0718 (patch)
tree00fbcf0ccac1235a7b500e53fba7be4bd6e31127 /net-mgmt/pmacct
parent852f4aa9cf12bbdae8f8b934fbf26cff37f1589a (diff)
downloadports-60650e0882373eb30ee9c40e57849bd1211c0718.tar.gz
ports-60650e0882373eb30ee9c40e57849bd1211c0718.zip
Notes
Diffstat (limited to 'net-mgmt/pmacct')
-rw-r--r--net-mgmt/pmacct/Makefile2
-rw-r--r--net-mgmt/pmacct/files/patch-src__ll.c11
2 files changed, 13 insertions, 0 deletions
diff --git a/net-mgmt/pmacct/Makefile b/net-mgmt/pmacct/Makefile
index a7985c10c6fc..6d35a7af15d3 100644
--- a/net-mgmt/pmacct/Makefile
+++ b/net-mgmt/pmacct/Makefile
@@ -15,6 +15,8 @@ MASTER_SITES= http://www.pmacct.net/ \
MAINTAINER= zi@FreeBSD.org
COMMENT= Accounting and aggregation tool for IPv4 and IPv6 traffic
+LICENSE= GPLv2
+
USE_RC_SUBR= pmacctd
SUB_FILES= pkg-message
GNU_CONFIGURE= yes
diff --git a/net-mgmt/pmacct/files/patch-src__ll.c b/net-mgmt/pmacct/files/patch-src__ll.c
new file mode 100644
index 000000000000..42c55ba28b45
--- /dev/null
+++ b/net-mgmt/pmacct/files/patch-src__ll.c
@@ -0,0 +1,11 @@
+--- ./src/ll.c.orig 2011-06-30 20:43:06.000000000 -0400
++++ ./src/ll.c 2011-06-30 20:43:45.000000000 -0400
+@@ -118,7 +118,7 @@
+
+ if (*caplen < 4) {
+ pptrs->iph_ptr = NULL;
+- return;
++ return 0;
+ }
+
+ do {