# $Id: Portfile 20491 2006-11-03 15:43:42Z blair@macports.org $ PortSystem 1.0 name mod_security2 version 2.5.5 categories www security description intrusion detection and prevention engine for web applications long_description ModSecurity is an open source intrusion detection and \ prevention engine for web applications. It operates \ embedded into the web server, acting as a powerful \ umbrella - shielding applications from attacks. \ It supports both branches of the Apache web server. homepage http://www.modsecurity.org master_sites ${homepage}/download/ platforms darwin checksums mod_security2-2.5.5.tar.gz md5 51cf433ca21bc44ec547b11bea1c3297 \ mod_security2-2.5.5.tar.gz sha1 1e9bdd201c1c7756393ae32600f6afb08db02ceb \ mod_security2-2.5.5.tar.gz rmd160 872325e17b5e7699cc8eb15458ddf832ef5be8b8 use_configure no #variant apache2 { depends_lib port:apache2 build.cmd ${prefix}/apache2/bin/apxs set apachedir apache2 set apachever apache2 #} build.args -c -o ${name}.so ${apachever}/${name}.c build.target destroot { xinstall -d -m 755 ${destroot}${prefix}/libexec/${apachedir} \ ${destroot}${prefix}/share/doc/${name} xinstall -m 755 ${worksrcpath}/${name}.so \ ${destroot}${prefix}/libexec/${apachedir}/ xinstall -m 644 -W ${worksrcpath} CHANGES INSTALL LICENSE README \ ${destroot}${prefix}/share/doc/${name} }