[128953] trunk/dports/www/mod_evasive/Portfile
ionic at macports.org
ionic at macports.org
Sun Nov 30 19:18:19 PST 2014
Revision: 128953
https://trac.macports.org/changeset/128953
Author: ionic at macports.org
Date: 2014-11-30 19:18:19 -0800 (Sun, 30 Nov 2014)
Log Message:
-----------
mod_evasive: whitespace changes only.
Modified Paths:
--------------
trunk/dports/www/mod_evasive/Portfile
Modified: trunk/dports/www/mod_evasive/Portfile
===================================================================
--- trunk/dports/www/mod_evasive/Portfile 2014-12-01 03:03:37 UTC (rev 128952)
+++ trunk/dports/www/mod_evasive/Portfile 2014-12-01 03:18:19 UTC (rev 128953)
@@ -1,66 +1,66 @@
# -*- 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
# $Id$
-PortSystem 1.0
+PortSystem 1.0
-name mod_evasive
-version 1.10.1
-categories www
-platforms darwin
-maintainers touche.fr.st:julien.touche
-description apache module against DDoS
-long_description mod_evasive is an evasive maneuvers module for \
- Apache to provide evasive action in the event of an \
- HTTP DoS or DDoS attack or brute force attack. It is \
- also designed to be a detection and network management \
- tool, and can be easily configured to talk to \
- ipchains, firewalls, routers, and etcetera. \
- mod_evasive presently reports abuses via email and \
- syslog facilities.
+name mod_evasive
+version 1.10.1
+categories www
+platforms darwin
+maintainers touche.fr.st:julien.touche
+description apache module against DDoS
+long_description mod_evasive is an evasive maneuvers module for \
+ Apache to provide evasive action in the event of an \
+ HTTP DoS or DDoS attack or brute force attack. It is \
+ also designed to be a detection and network management \
+ tool, and can be easily configured to talk to \
+ ipchains, firewalls, routers, and etcetera. \
+ mod_evasive presently reports abuses via email and \
+ syslog facilities.
-homepage http://www.zdziarski.com/blog/?page_id=442
-master_sites http://www.zdziarski.com/blog/wp-content/uploads/2010/02/
-distname ${name}_${version}
-checksums sha1 7240481f9f7b0f80693787a73a2bfd9bfec6f274 \
- rmd160 1ce741bf3f3bbc0cc81a9aa73311b08a68bd454e
+homepage http://www.zdziarski.com/blog/?page_id=442
+master_sites http://www.zdziarski.com/blog/wp-content/uploads/2010/02/
+distname ${name}_${version}
+checksums sha1 7240481f9f7b0f80693787a73a2bfd9bfec6f274 \
+ rmd160 1ce741bf3f3bbc0cc81a9aa73311b08a68bd454e
-set worksrcdir ${name}
+set worksrcdir ${name}
set apachedir apache2
set cversion "20"
-use_configure no
+use_configure no
variant apache1 conflicts apache2 {
- depends_lib port:apache
- set apachedir apache
- set cversion ""
- build.args -c -o ${name}.so ${name}.c
+ depends_lib port:apache
+ set apachedir apache
+ set cversion ""
+ build.args -c -o ${name}.so ${name}.c
}
variant apache2 conflicts apache1 {
- depends_lib port:apache2
- set apachedir apache2
- set cversion "20"
- build.args -c -o ${name}${cversion}.so ${name}${cversion}.c
+ depends_lib port:apache2
+ set apachedir apache2
+ set cversion "20"
+ build.args -c -o ${name}${cversion}.so ${name}${cversion}.c
}
-build.cmd ${prefix}/${apachedir}/bin/apxs
+build.cmd ${prefix}/${apachedir}/bin/apxs
build.target
-destroot.violate_mtree yes
+destroot.violate_mtree yes
destroot {
- xinstall -m 755 -d \
- ${destroot}${prefix}/${apachedir}/modules \
- ${destroot}${prefix}/share/doc/${name}
- xinstall -m 644 ${worksrcpath}/.libs/${name}${cversion}.so \
- ${destroot}${prefix}/apache2/modules
- xinstall -m 644 -W ${worksrcpath} CHANGELOG LICENSE README \
- ${destroot}${prefix}/share/doc/${name}
+ xinstall -m 755 -d \
+ ${destroot}${prefix}/${apachedir}/modules \
+ ${destroot}${prefix}/share/doc/${name}
+ xinstall -m 644 ${worksrcpath}/.libs/${name}${cversion}.so \
+ ${destroot}${prefix}/apache2/modules
+ xinstall -m 644 -W ${worksrcpath} CHANGELOG LICENSE README \
+ ${destroot}${prefix}/share/doc/${name}
}
post-destroot {
- exec ${prefix}/${apachedir}/bin/apxs -e \
+ exec ${prefix}/${apachedir}/bin/apxs -e \
-S SYSCONFDIR=${prefix}/${apachedir}/conf/standard \
-S TARGET=00000-dso \
-n "evasive_module" \
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20141130/53bcd1d6/attachment.html>
More information about the macports-changes
mailing list