ports/74984: [PATCH] security/fwlogwatch: [Fix ipfw parser on FreeBSD 4]
Michael Ranner
mranner at inode.at
Sun Dec 12 13:50:20 UTC 2004
>Number: 74984
>Category: ports
>Synopsis: [PATCH] security/fwlogwatch: [Fix ipfw parser on FreeBSD 4]
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: change-request
>Submitter-Id: current-users
>Arrival-Date: Sun Dec 12 13:50:16 GMT 2004
>Closed-Date:
>Last-Modified:
>Originator: Michael Ranner
>Release: FreeBSD 4.10-RELEASE-p3 i386
>Organization:
>Environment:
System: FreeBSD builder.jawa.at 4.10-RELEASE-p3 FreeBSD 4.10-RELEASE-p3 #1: Sat Oct 30 12:19:44 CEST 2004
>Description:
Fix ipfw parser on FreeBSD 4
Added file(s):
- files/patch-ipfw.l
Port maintainer (jim at corebsd.or.id) is cc'd.
Generated with FreeBSD Port Tools 0.63
>How-To-Repeat:
>Fix:
--- fwlogwatch-1.0_1.patch begins here ---
diff -ruN --exclude=CVS /usr/ports/security/fwlogwatch/Makefile /usr/ports/security/fwlogwatch.update/Makefile
--- /usr/ports/security/fwlogwatch/Makefile Tue May 25 03:09:34 2004
+++ /usr/ports/security/fwlogwatch.update/Makefile Sat Dec 11 17:07:51 2004
@@ -8,6 +8,7 @@
PORTNAME= fwlogwatch
PORTVERSION= 1.0
+PORTREVISION= 1
CATEGORIES= security
MASTER_SITES= http://www.kybs.de/boris/sw/
diff -ruN --exclude=CVS /usr/ports/security/fwlogwatch/files/patch-ipfw.l /usr/ports/security/fwlogwatch.update/files/patch-ipfw.l
--- /usr/ports/security/fwlogwatch/files/patch-ipfw.l Thu Jan 1 01:00:00 1970
+++ /usr/ports/security/fwlogwatch.update/files/patch-ipfw.l Sat Dec 11 16:59:52 2004
@@ -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);
--- fwlogwatch-1.0_1.patch ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list