From owner-freebsd-ports-bugs@freebsd.org Mon Oct 19 18:20:09 2020 Return-Path: Delivered-To: freebsd-ports-bugs@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id C14C6430D92 for ; Mon, 19 Oct 2020 18:20:09 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.nyi.freebsd.org (mailman.nyi.freebsd.org [IPv6:2610:1c1:1:606c::50:13]) by mx1.freebsd.org (Postfix) with ESMTP id 4CFQ614pYHz3ywG for ; Mon, 19 Oct 2020 18:20:09 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id A4F1A430C0C; Mon, 19 Oct 2020 18:20:09 +0000 (UTC) Delivered-To: ports-bugs@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id A4BDC430C3B for ; Mon, 19 Oct 2020 18:20:09 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4CFQ61400Lz3ysh for ; Mon, 19 Oct 2020 18:20:09 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 68026277C4 for ; Mon, 19 Oct 2020 18:20:09 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 09JIK9jx015242 for ; Mon, 19 Oct 2020 18:20:09 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 09JIK9SR015241 for ports-bugs@FreeBSD.org; Mon, 19 Oct 2020 18:20:09 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: ports-bugs@FreeBSD.org Subject: [Bug 250470] www/mod_security: Make crs-setup.conf follow upstream changes when pulling; correct outdated instructions; improve the documentation Date: Mon, 19 Oct 2020 18:20:09 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: samy.mahmoudi@gmail.com X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: joneum@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter flagtypes.name attachments.created Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 19 Oct 2020 18:20:09 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D250470 Bug ID: 250470 Summary: www/mod_security: Make crs-setup.conf follow upstream changes when pulling; correct outdated instructions; improve the documentation Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Some People Priority: --- Component: Individual Port(s) Assignee: joneum@FreeBSD.org Reporter: samy.mahmoudi@gmail.com Flags: maintainer-feedback?(joneum@FreeBSD.org) Assignee: joneum@FreeBSD.org Created attachment 218900 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D218900&action= =3Dedit Patch file Hi, =E2=80=A2 Make crs-setup.conf follow upstream changes when pulling =E2=80=A2 Correct outdated instructions =E2=80=A2 Improve other parts of the documentation Here is a full log to ease in review: 280_mod_security.conf.sample.in: =E2=80=A2 Replace confusing instruction 'enable mod_unique_id in httpd.conf= ' with coherent alternatives =E2=80=A2 Isolate the comment related to the OWASP Core Rule Set and refine= the reference to instructions =E2=80=A2 Add a commented Include line to ease in configuration README.in: =E2=80=A2 Replace outdated 'modsecurity_crs_10_setup.conf.example' with 'crs-setup.conf.example' =E2=80=A2 Use upstream name 'crs-setup.conf' instead of 'crs.conf' to keep = track of origin =E2=80=A2 Replace outdated 'base_rules' with 'rules' =E2=80=A2 Refine instructions with possible use of %%PREFIX%%/%%APACHEETCDIR%%/modules.d/%%APMOD_FILE%% =E2=80=A2 Replace etc with %%ETCDIR%% (no functional change, intention is t= o make %%PREFIX%%/%%APACHEETCDIR%%/modules.d/%%APMOD_FILE%% and %%DOCSDIR%%/README coherent) =E2=80=A2 Make crs-setup.conf follow upstream changes by linking instead of= copying, and update the documentation accordingly (stashing is done manually to cover all cases) pkg-message.in: =E2=80=A2 Replace %%PREFIX%%/%%APACHEETCDIR%%/modules.d/%%APMOD_FILE%% with %%DOCSDIR%%/README so that the users can read the first paragraph of %%DOCSDIR%%/README before they are invited to use the signatures from the O= WASP Core Rule Set (CRS) =E2=80=A2 Refine the reference to instructions (CRS) --=20 You are receiving this mail because: You are the assignee for the bug.=