aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--security/fwlogwatch/Makefile3
-rw-r--r--security/fwlogwatch/files/patch-ipfw.l11
-rw-r--r--security/fwlogwatch/pkg-plist10
3 files changed, 22 insertions, 2 deletions
diff --git a/security/fwlogwatch/Makefile b/security/fwlogwatch/Makefile
index ce19d81451be..c21415155557 100644
--- a/security/fwlogwatch/Makefile
+++ b/security/fwlogwatch/Makefile
@@ -8,10 +8,11 @@
PORTNAME= fwlogwatch
PORTVERSION= 1.0
+PORTREVISION= 1
CATEGORIES= security
MASTER_SITES= http://www.kybs.de/boris/sw/
-MAINTAINER= jim@corebsd.or.id
+MAINTAINER= ports@FreeBSD.org
COMMENT= A packet filter and firewall log analyzer
USE_GETTEXT= yes
diff --git a/security/fwlogwatch/files/patch-ipfw.l b/security/fwlogwatch/files/patch-ipfw.l
new file mode 100644
index 000000000000..0204834eebba
--- /dev/null
+++ b/security/fwlogwatch/files/patch-ipfw.l
@@ -0,0 +1,11 @@
+--- ipfw.l.orig Sun Mar 21 10:42:55 2004
++++ ipfw.l Sat Dec 11 16:57:23 2004
+@@ -33,7 +33,7 @@
+ %%
+
+ {MONTH}[ ]{1,2}{DIGIT}{1,2}[ ]{DIGIT}{2}:{DIGIT}{2}:{DIGIT}{2}[ ]{LOGHOST} ipfw_parse_start(ipfwtext);
+-" kernel: ipfw: "{NUMBER} { xstrncpy(opt.line->chainlabel, ipfwtext+15, SHORTLEN); opt.parser=opt.parser|IPFW_CHAIN; };
++" /"?"kernel: ipfw: "{NUMBER} { xstrncpy(opt.line->chainlabel, ipfwtext+15, SHORTLEN); opt.parser=opt.parser|IPFW_CHAIN; };
+ "Deny" { xstrncpy(opt.line->branchname, ipfwtext, SHORTLEN); opt.parser=opt.parser|IPFW_BRANCH; };
+ {PROTO} ipfw_parse_proto(ipfwtext, IPFW_OPT_NONE);
+ "ICMP:"{NUMBER}"."{NUMBER} ipfw_parse_proto(ipfwtext+5, IPFW_OPT_ICMP);
diff --git a/security/fwlogwatch/pkg-plist b/security/fwlogwatch/pkg-plist
index 01ff07016534..a839da47e939 100644
--- a/security/fwlogwatch/pkg-plist
+++ b/security/fwlogwatch/pkg-plist
@@ -8,5 +8,13 @@ share/locale/de/LC_MESSAGES/fwlogwatch.mo
share/locale/ja/LC_MESSAGES/fwlogwatch.mo
share/locale/pt_BR/LC_MESSAGES/fwlogwatch.mo
share/locale/sv/LC_MESSAGES/fwlogwatch.mo
-share/locale/zh_CN/LC_MESSAGES/fwlogwatch.mo
share/locale/zh_TW/LC_MESSAGES/fwlogwatch.mo
+share/locale/zh_CN/LC_MESSAGES/fwlogwatch.mo
+@dirrm share/locale/zh_TW/LC_MESSAGES
+@dirrm share/locale/zh_TW
+@dirrm share/locale/zh_CN/LC_MESSAGES
+@dirrm share/locale/zh_CN
+@dirrm share/locale/sv/LC_MESSAGES
+@dirrm share/locale/pt_BR/LC_MESSAGES
+@dirrm share/locale/ja/LC_MESSAGES
+@dirrm share/locale/de/LC_MESSAGES