summaryrefslogtreecommitdiffstats
path: root/www/mod_rpaf
diff options
context:
space:
mode:
authorclement <clement@FreeBSD.org>2005-12-04 20:32:58 +0000
committerclement <clement@FreeBSD.org>2005-12-04 20:32:58 +0000
commit664609b2980eec087cd14a2fd92451053c36199d (patch)
treea4d56299e75cbc3bdeea950dcf4b5de83b73c52e /www/mod_rpaf
parentd1af54c28e5f3e5ad1f098b5f5a90a0be5515254 (diff)
downloadFreeBSD-ports-664609b2980eec087cd14a2fd92451053c36199d.zip
FreeBSD-ports-664609b2980eec087cd14a2fd92451053c36199d.tar.gz
- Convert to new USE_APACHE
- Add SHA256
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 5f62474..a69ac9e 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 8b06e2f..98b8ea9 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
OpenPOWER on IntegriCloud