source: trunk/dports/www/mod_dosevasive/Portfile @ 50984

Last change on this file since 50984 was 50984, checked in by and.damore@…, 10 years ago

Maintainer email change, second batch, mail without @macports.org domain are put in domain:user form.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.3 KB
Line 
1# $Id: Portfile 50984 2009-05-14 21:08:43Z and.damore@macports.org $
2PortSystem 1.0
3name            mod_dosevasive
4version         1.8
5categories      www
6platforms       darwin
7maintainers     touche.fr.st:julien.touche
8description     apache module against DDoS
9long_description        mod_dosevasive is an evasive maneuvers module for \
10                        Apache to provide evasive action in the event of an \
11                        HTTP DoS or DDoS attack or brute force attack. It is \
12                        also designed to be a detection and network management \
13                        tool, and can be easily configured to talk to \
14                        ipchains, firewalls, routers, and etcetera. \
15                        mod_dosevasive presently reports abuses via email and \
16                        syslog facilities.
17
18homepage        http://www.nuclearelephant.com/projects/dosevasive/
19master_sites    ${homepage}
20distname        ${name}.${version}
21checksums       md5 243d24e205c3b82ef55542887e03d998
22
23set worksrcdir  ${name}
24
25use_configure   no
26
27#variant apache1        {
28        depends_lib     path:${prefix}/etc/apache:apache
29        build.cmd       ${prefix}/sbin/apxs
30        set apache      apache
31#}
32
33variant apache2 {
34        depends_lib     path:${prefix}/etc/apache2:apache2
35        build.cmd       ${prefix}/sbin/apxs
36        set apache      apache2
37}
38
39build.args      -c -o ${name}.so ${name}.c
40build.target
41
42destroot {
43        xinstall -d -m 755 ${destroot}${prefix}/libexec/${apache} \
44                ${destroot}${prefix}/share/doc/${name}
45        xinstall -m 755 ${worksrcpath}/${name}.so \
46                ${destroot}${prefix}/libexec/${apache}/
47        xinstall -W ${worksrcpath} LICENSE README \
48                ${destroot}${prefix}/share/doc/${name}
49}
Note: See TracBrowser for help on using the repository browser.