mod_security2

Bradley Giesbrecht pixilla at macports.org
Tue Jun 14 07:56:50 PDT 2011


I will help you get mod_security2 committed.

On Jun 13, 2011, at 7:18 PM, Bjarne D Mathiesen wrote:

> 1) master_sites :
> is this option correct ? I had to download and install the source
> manually, but I've also seen that there seems to be some problems with
> sourceforge & macports at present - see the thread :
> Simplify sourceforge fetch group

Your mastersites worked for me.

> 2) configure.args :
> I can't get --libdir to work - thus the second line in post-destroot
> Pro17:macports root# port contents mod_security2
> Port mod_security2 contains:
>  /macports/bin/mlogc
>  /macports/bin/mlogc-batch-load.pl
>  /macports/bin/rules-updater.pl
>  /macports/lib/mod_security2.so

Is this really where you want mod_security2.so to be installed?
MacPorts Apache2 modules are normally installed to ${prefix}/apache2/modules/

> 3) post-destroot :
> the first line doesn't seem to give any results as to installing the
> documentation

My email reader distorts your Portfile contents.
If nothing is installed into a destroot dir and the destroot.keepdirs is not used port will remove the empty dir.

> 4) the two exec lines is an attempt to automagically create the conf
> file for mod_security2, but they fail :-( the conf-file _is_ created, so
> I'm doing _something_ right ;-)

I have created a Portfile and a Trac ticket. 
http://trac.macports.org/ticket/16702
Please use this ticket and add a comment to show what you want the contents of extra/httpd-modsecurity.conf to be (use the wiki "code block" tag for the actual content) .


Regards,
Bradley Giesbrecht (pixilla)




-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-users/attachments/20110614/21246701/attachment.html>


More information about the macports-users mailing list