aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorwill <will@FreeBSD.org>2001-04-11 05:22:32 +0800
committerwill <will@FreeBSD.org>2001-04-11 05:22:32 +0800
commit8b6598166a13475720136ed873e0a8ef6d2e77df (patch)
tree33a79ef27865c5258b054cf4f0bc62c8e54d45b5
parent2a5a5eca05608cb288fc789b8edbb3c7d8977142 (diff)
downloadfreebsd-ports-gnome-8b6598166a13475720136ed873e0a8ef6d2e77df.tar.gz
freebsd-ports-gnome-8b6598166a13475720136ed873e0a8ef6d2e77df.tar.zst
freebsd-ports-gnome-8b6598166a13475720136ed873e0a8ef6d2e77df.zip
Add mod_backhand 1.1.1pre4, an apache module that allows seamless
redirection of HTTP requests. Prompted by: message on freebsd-mumble@ from rwatson
-rw-r--r--www/Makefile1
-rw-r--r--www/mod_backhand/Makefile26
-rw-r--r--www/mod_backhand/distinfo1
-rw-r--r--www/mod_backhand/pkg-comment1
-rw-r--r--www/mod_backhand/pkg-descr7
-rw-r--r--www/mod_backhand/pkg-plist3
6 files changed, 39 insertions, 0 deletions
diff --git a/www/Makefile b/www/Makefile
index a8f7b25a70ab..e23cc98c17f0 100644
--- a/www/Makefile
+++ b/www/Makefile
@@ -112,6 +112,7 @@
SUBDIR += mod_auth_mysql
SUBDIR += mod_auth_pam
SUBDIR += mod_auth_pgsql
+ SUBDIR += mod_backhand
SUBDIR += mod_csacek
SUBDIR += mod_dav
SUBDIR += mod_dtcl
diff --git a/www/mod_backhand/Makefile b/www/mod_backhand/Makefile
new file mode 100644
index 000000000000..71698673d7f8
--- /dev/null
+++ b/www/mod_backhand/Makefile
@@ -0,0 +1,26 @@
+# New ports collection makefile for: mod_backhand
+# Date created: 10 April 2001
+# Whom: will
+#
+# $FreeBSD$
+#
+
+PORTNAME= mod_backhand
+PORTVERSION= 1.1.1pre4
+CATEGORIES= www
+MASTER_SITES= ftp://ftp.cnds.jhu.edu/pub/backhand/
+
+MAINTAINER= ports@FreeBSD.org
+
+BUILD_DEPENDS= ${APXS}:${PORTSDIR}/www/apache13
+RUN_DEPENDS= ${APXS}:${PORTSDIR}/www/apache13
+
+APXS?= ${LOCALBASE}/sbin/apxs
+GNU_CONFIGURE= yes
+CONFIGURE_ARGS= --with-apxs
+
+# mod_backhand's install target is buggered.
+do-install:
+ ${APXS} -i -A -n ${PORTNAME:S/mod_//g} ${WRKSRC}/${PORTNAME}.so
+
+.include <bsd.port.mk>
diff --git a/www/mod_backhand/distinfo b/www/mod_backhand/distinfo
new file mode 100644
index 000000000000..5fe454263ed6
--- /dev/null
+++ b/www/mod_backhand/distinfo
@@ -0,0 +1 @@
+MD5 (mod_backhand-1.1.1pre4.tar.gz) = f271be1b2c607d87d84c90432f01f4ac
diff --git a/www/mod_backhand/pkg-comment b/www/mod_backhand/pkg-comment
new file mode 100644
index 000000000000..42591cd7b68c
--- /dev/null
+++ b/www/mod_backhand/pkg-comment
@@ -0,0 +1 @@
+Apache module that allows seamless redirection of HTTP requests
diff --git a/www/mod_backhand/pkg-descr b/www/mod_backhand/pkg-descr
new file mode 100644
index 000000000000..cfc40e2f4415
--- /dev/null
+++ b/www/mod_backhand/pkg-descr
@@ -0,0 +1,7 @@
+mod_backhand is project that allows seamless redirection
+of HTTP requests from one web server to another. This
+redirection can be used to target machines with under-utilized
+resources, thus providing fine-grained, per-request load balancing
+of web requests.
+
+WWW: http://www.backhand.org/mod_backhand/
diff --git a/www/mod_backhand/pkg-plist b/www/mod_backhand/pkg-plist
new file mode 100644
index 000000000000..de4273343bd1
--- /dev/null
+++ b/www/mod_backhand/pkg-plist
@@ -0,0 +1,3 @@
+libexec/apache/mod_backhand.so
+@exec %D/sbin/apxs -e -A -n backhand %D/%F
+@unexec %D/sbin/apxs -e -A -n backhand %D/%F