From 03c973f2b1cb983bc000d5bb9711b76399cdc119 Mon Sep 17 00:00:00 2001 From: Yen-Ming Lee Date: Tue, 6 Sep 2005 17:20:34 +0000 Subject: [PATCH] - Patch file updated to process rule numbers above 999. - remove redundant entries in pkg-plist PR: 85189 Submitted by: Michael Butler Reviewed by: Michael Ranner (maintainer) --- security/fwlogwatch/Makefile | 2 +- security/fwlogwatch/files/patch-ipfw.l | 2 +- security/fwlogwatch/pkg-plist | 8 -------- 3 files changed, 2 insertions(+), 10 deletions(-) diff --git a/security/fwlogwatch/Makefile b/security/fwlogwatch/Makefile index 442fb6ec037a..16d52bfcfcf1 100644 --- a/security/fwlogwatch/Makefile +++ b/security/fwlogwatch/Makefile @@ -8,7 +8,7 @@ PORTNAME= fwlogwatch PORTVERSION= 1.0 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= security MASTER_SITES= http://www.kybs.de/boris/sw/ diff --git a/security/fwlogwatch/files/patch-ipfw.l b/security/fwlogwatch/files/patch-ipfw.l index 0204834eebba..9a8a09ed79e7 100644 --- a/security/fwlogwatch/files/patch-ipfw.l +++ b/security/fwlogwatch/files/patch-ipfw.l @@ -5,7 +5,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; }; ++" /"?"kernel: ipfw: "{NUMBER} { xstrncpy(opt.line->chainlabel, ipfwtext+14, 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 a839da47e939..3910a17bc4fa 100644 --- a/security/fwlogwatch/pkg-plist +++ b/security/fwlogwatch/pkg-plist @@ -10,11 +10,3 @@ share/locale/pt_BR/LC_MESSAGES/fwlogwatch.mo share/locale/sv/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