aboutsummaryrefslogtreecommitdiff
path: root/security/fwlogwatch
diff options
context:
space:
mode:
authorSergey Matveychuk <sem@FreeBSD.org>2004-12-13 18:19:22 +0000
committerSergey Matveychuk <sem@FreeBSD.org>2004-12-13 18:19:22 +0000
commit075b16d4bd6c550171e00a4e447b41039eb2e3ce (patch)
tree951cc87978e886e825c02e1b7d14a5b7d27fd462 /security/fwlogwatch
parent83524153d3954b23405c6aad507cb975c2890c45 (diff)
downloadports-075b16d4bd6c550171e00a4e447b41039eb2e3ce.tar.gz
ports-075b16d4bd6c550171e00a4e447b41039eb2e3ce.zip
- Fix ipfw parser on FreeBSD 4.x
- Reset maintainership on maintainer request - While I'm here: add extra locale directories in plist PR: ports/74984 Submitted by: Michael Ranner <mranner(1t)inode.at> Approved by: former maintainer
Notes
Notes: svn path=/head/; revision=123942
Diffstat (limited to 'security/fwlogwatch')
-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