Received: by mail.netbsd.org (Postfix, from userid 605) id 8386014A53D; Sun, 8 Jan 2012 21:34:22 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mail.netbsd.org (Postfix) with ESMTP id 5992F14A53C for ; Sun, 8 Jan 2012 21:34:21 +0000 (UTC) X-Virus-Scanned: amavisd-new at NetBSD.org Received: from mail.netbsd.org ([127.0.0.1]) by localhost (mail.NetBSD.org [127.0.0.1]) (amavisd-new, port 10025) with ESMTP id 2ZJzZaflf9kK for ; Sun, 8 Jan 2012 21:34:20 +0000 (UTC) Received: from cvs.netbsd.org (cvs.NetBSD.org [IPv6:2001:4f8:3:7:2e0:81ff:fe30:95bd]) by mail.netbsd.org (Postfix) with ESMTP id 71AAC14A531 for ; Sun, 8 Jan 2012 21:34:20 +0000 (UTC) Received: by cvs.netbsd.org (Postfix, from userid 500) id 09057175DD; Sun, 8 Jan 2012 21:34:22 +0000 (UTC) MIME-Version: 1.0 Content-Disposition: inline Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="US-ASCII" Date: Sun, 8 Jan 2012 21:34:21 +0000 From: "Mindaugas Rasiukevicius" Subject: CVS commit: src/usr.sbin/npf/npfctl To: source-changes@NetBSD.org X-Mailer: log_accum Message-Id: <20120108213422.09057175DD@cvs.netbsd.org> Sender: source-changes-owner@NetBSD.org List-Id: source-changes.NetBSD.org Precedence: bulk Reply-To: source-changes-d@NetBSD.org Mail-Reply-To: "Mindaugas Rasiukevicius" Mail-Followup-To: source-changes-d@NetBSD.org Module Name: src Committed By: rmind Date: Sun Jan 8 21:34:21 UTC 2012 Modified Files: src/usr.sbin/npf/npfctl: Makefile npf_data.c npf_ncgen.c npfctl.c npfctl.h Added Files: src/usr.sbin/npf/npfctl: npf_build.c npf_parse.y npf_scan.l npf_var.c npf_var.h Removed Files: src/usr.sbin/npf/npfctl: npf_parser.c Log Message: Full rewrite of npfctl(8) parser and rework of n-code generation part. Fixes most of the known bugs and issues with the utility. Note: rule procedures are not yet (as we want to make them fully modular). Huge thanks to Martin Husemann who wrote the parser and Christos Zoulas who wrote intermediate structures and helped to complete the work. To generate a diff of this commit: cvs rdiff -u -r1.4 -r1.5 src/usr.sbin/npf/npfctl/Makefile cvs rdiff -u -r0 -r1.1 src/usr.sbin/npf/npfctl/npf_build.c \ src/usr.sbin/npf/npfctl/npf_parse.y src/usr.sbin/npf/npfctl/npf_scan.l \ src/usr.sbin/npf/npfctl/npf_var.c src/usr.sbin/npf/npfctl/npf_var.h cvs rdiff -u -r1.9 -r1.10 src/usr.sbin/npf/npfctl/npf_data.c cvs rdiff -u -r1.5 -r1.6 src/usr.sbin/npf/npfctl/npf_ncgen.c cvs rdiff -u -r1.7 -r0 src/usr.sbin/npf/npfctl/npf_parser.c cvs rdiff -u -r1.7 -r1.8 src/usr.sbin/npf/npfctl/npfctl.c \ src/usr.sbin/npf/npfctl/npfctl.h Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.