aboutsummaryrefslogtreecommitdiff
path: root/www/mod_rpaf
diff options
context:
space:
mode:
authorClement Laforet <clement@FreeBSD.org>2005-12-04 20:32:58 +0000
committerClement Laforet <clement@FreeBSD.org>2005-12-04 20:32:58 +0000
commit5c7c66618aa91843610f692205ebe4a72c5710eb (patch)
tree6f0dcc1744fc646b39519aee5e5de0b066925960 /www/mod_rpaf
parent64856e2e08955d381ac33c7ab551998dbc208b4a (diff)
downloadports-5c7c66618aa91843610f692205ebe4a72c5710eb.tar.gz
ports-5c7c66618aa91843610f692205ebe4a72c5710eb.zip
- Convert to new USE_APACHE
- Add SHA256
Notes
Notes: svn path=/head/; revision=150404
Diffstat (limited to 'www/mod_rpaf')
-rw-r--r--www/mod_rpaf/Makefile10
-rw-r--r--www/mod_rpaf/distinfo1
2 files changed, 8 insertions, 3 deletions
diff --git a/www/mod_rpaf/Makefile b/www/mod_rpaf/Makefile
index 5f624744df9a..a69ac9ead1fb 100644
--- a/www/mod_rpaf/Makefile
+++ b/www/mod_rpaf/Makefile
@@ -13,12 +13,16 @@ MASTER_SITES= http://stderr.net/apache/rpaf/download/
MAINTAINER= apache@FreeBSD.org
COMMENT= Make proxied requests appear with client IP
+USE_APACHE?= 1.3+
AP_FAST_BUILD= YES
AP_FAST_BUILD= YES
AP_GENPLIST= YES
-AP2_SRC_FILE= mod_rpaf-2.0.c
-AP2_PKGNAMESUFFIX= -ap2
.include <bsd.port.pre.mk>
-.include "${PORTSDIR}/www/apache20/Makefile.modules.3rd"
+
+.if ${APACHE_VERSION} >= 20
+AP${APACHE_VERSION}_SRC_FILE= mod_rpaf-2.0.c
+AP${APACHE_VERSION}_PKGNAMESUFFIX=-ap${APACHE_VERSION}
+.endif
+
.include <bsd.port.post.mk>
diff --git a/www/mod_rpaf/distinfo b/www/mod_rpaf/distinfo
index 8b06e2f6ed2d..98b8ea9d181f 100644
--- a/www/mod_rpaf/distinfo
+++ b/www/mod_rpaf/distinfo
@@ -1,2 +1,3 @@
MD5 (mod_rpaf-0.5.tar.gz) = 471fb059d6223a394f319b7c8ab45c4d
+SHA256 (mod_rpaf-0.5.tar.gz) = 5b9257b69fccd11d573b34d3a4014086abc9f2558e819005f71e44b094f5b2a5
SIZE (mod_rpaf-0.5.tar.gz) = 4482