aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorclement <clement@FreeBSD.org>2004-08-08 17:35:18 +0800
committerclement <clement@FreeBSD.org>2004-08-08 17:35:18 +0800
commita614ad1ea9b9175f65c20783086aa6d7cbca9c98 (patch)
tree637f2765698a4b533328d5da3ac5b5f64df5e454
parentc0f7a7d5c1c441127cc6bafdb6d221326658be74 (diff)
downloadfreebsd-ports-gnome-a614ad1ea9b9175f65c20783086aa6d7cbca9c98.tar.gz
freebsd-ports-gnome-a614ad1ea9b9175f65c20783086aa6d7cbca9c98.tar.zst
freebsd-ports-gnome-a614ad1ea9b9175f65c20783086aa6d7cbca9c98.zip
- Update to 1.4
Now mod_auth_any works with apache2!
-rw-r--r--www/mod_auth_any/Makefile11
-rw-r--r--www/mod_auth_any/distinfo4
2 files changed, 11 insertions, 4 deletions
diff --git a/www/mod_auth_any/Makefile b/www/mod_auth_any/Makefile
index c563226b9619..c0d5099ba631 100644
--- a/www/mod_auth_any/Makefile
+++ b/www/mod_auth_any/Makefile
@@ -6,18 +6,25 @@
#
PORTNAME= mod_auth_any
-PORTVERSION= 1.3.2
+PORTVERSION= 1.4
CATEGORIES= www
MASTER_SITES= http://www.itlab.musc.edu/webNIS/dist/
MAINTAINER= clement@FreeBSD.org
COMMENT= Apache module to use any command line program to authenticate a user
-WANT_APACHE= 13
AP_FAST_BUILD= yes
AP_GENPLIST= yes
WRKSRC= ${WRKDIR}/${PORTNAME}/src
.include <bsd.port.pre.mk>
+.if exists(${LOCALBASE}/include/apache2/http_core.h) || defined(WITH_APACHE2)
+WANT_APACHE= 2
+# Dirty hack
+AP_INC+= . -DWITH_APACHE2=1
+.else
+WANT_APACHE= 13
+.endif
+
.include "${PORTSDIR}/www/apache2/Makefile.modules.3rd"
.include <bsd.port.post.mk>
diff --git a/www/mod_auth_any/distinfo b/www/mod_auth_any/distinfo
index 6fb133736555..c623df2dfab7 100644
--- a/www/mod_auth_any/distinfo
+++ b/www/mod_auth_any/distinfo
@@ -1,2 +1,2 @@
-MD5 (mod_auth_any-1.3.2.tar.gz) = ae9ac533576915a05e9728e914c4ec88
-SIZE (mod_auth_any-1.3.2.tar.gz) = 8565
+MD5 (mod_auth_any-1.4.tar.gz) = 73e2aef19a126b77190e59b20486c8d9
+SIZE (mod_auth_any-1.4.tar.gz) = 21917