1 | # -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4 |
---|
2 | # $Id$ |
---|
3 | PortSystem 1.0 |
---|
4 | name mod_security2 |
---|
5 | version 2.6.0 |
---|
6 | categories www security |
---|
7 | platforms darwin |
---|
8 | maintainers mathiesen.info:macintosh |
---|
9 | description Apache 2 intrusion detection and prevention engine for web applications |
---|
10 | long_description ModSecurity is an open source intrusion detection and \ |
---|
11 | prevention engine for web applications. It operates \ |
---|
12 | embedded into the web server, acting as a powerful \ |
---|
13 | umbrella - shielding applications from attacks. |
---|
14 | homepage http://www.modsecurity.org |
---|
15 | master_sites sourceforge:mod-security |
---|
16 | distname modsecurity-apache_${version} |
---|
17 | |
---|
18 | set apachever apache2 |
---|
19 | |
---|
20 | checksums md5 ffb858bd1e523f31adcee30191e013aa \ |
---|
21 | sha1 280061a6cb49c955d7371b9526193f68a12ae2ac \ |
---|
22 | rmd160 a9d34e17d80007f394087da5bd92c6047f48d343 |
---|
23 | |
---|
24 | depends_build port:libxml2 \ |
---|
25 | port:pcre \ |
---|
26 | port:curl \ |
---|
27 | port:apr \ |
---|
28 | port:apr-util \ |
---|
29 | port:lua |
---|
30 | depends_lib port:${apachever} |
---|
31 | |
---|
32 | configure.args --with-apxs=${prefix}/${apachever}/bin/apxs \ |
---|
33 | --with-pcre=${prefix}/bin \ |
---|
34 | --with-apr=${prefix}/bin \ |
---|
35 | --with-curl=${prefix} \ |
---|
36 | --with-libxml=${prefix} \ |
---|
37 | --with-lua=${prefix} |
---|
38 | |
---|
39 | worksrcdir ${distname} |
---|
40 | destroot.violate_mtree yes |
---|
41 | |
---|
42 | post-destroot { |
---|
43 | xinstall -m 644 -W ${worksrcpath} CHANGES NOTICE README.TXT \ |
---|
44 | ${prefix}/share/doc/${name} |
---|
45 | } |
---|
46 | |
---|
47 | post-install { |
---|
48 | ui_msg "########################################################" |
---|
49 | ui_msg "# To enable mod_security2 add" |
---|
50 | ui_msg "########################################################" |
---|
51 | } |
---|