thanks…  i did do ap-modsecure2. the message i posted was from that attempt
to build it from pkgsrc/security/ap-modsecure2

the issues was that it didn't want to build with the currently installed
pkgs. so i had to upgrade everything - including apache itself - to
actually use this single module. i could have probably build it myself from
source but i know mod_security needs quite a few things to compile. so
ended up updating the whole pkgsrc and went from their. it hurt a little
bit…



On Sun, Mar 8, 2015 at 7:10 PM, Matthias Scheler <t...@zhadum.org.uk> wrote:

> On Sun, Mar 08, 2015 at 02:20:34PM -0400, el kalin wrote:
> > i have an apache 2.4 build from prksrc on an netbsd 6.0 and now trying to
> > add mod_secure to it. every time i try to add it via pkg_add or make
> > install i get:
> >
> > "A different version of apache-2.2.27 is already installed:
> apache-2.4.3nb1"
> >
> > how does that make sense?
>
> The "ap-modsecure" package doesn't support Apache 2.4.x because
> "mod_secure" version 1.x doesn't compile with that version of Apache.
> As a result it automatically pulls in apache-2.2.27 as a dependence
> because apache-2.4.3nb1 cannot be used. But you cannot install those
> two apache packages at the same time.
>
> > and how do i get to build the latest mod_secure for the apache version i
> > have?
>
> You have to use (or build) the "ap-modsecure2" package which supports
> both Apache 2.2.x and 2.4.x.
>
>         Kind regards
>
> P.S. The mailing list "pkgsrc-us...@netbsd.org" might be more
>      appropriate for this discussion.
>
> --
> Matthias Scheler                                 https://zhadum.org.uk/
>

Reply via email to