summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--www-apache/mod_backhand/ChangeLog10
-rw-r--r--www-apache/mod_backhand/Manifest15
-rw-r--r--www-apache/mod_backhand/files/05_mod_backhand.conf27
-rw-r--r--www-apache/mod_backhand/files/digest-mod_backhand-1.2.21
-rw-r--r--www-apache/mod_backhand/metadata.xml8
-rw-r--r--www-apache/mod_backhand/mod_backhand-1.2.2.ebuild39
6 files changed, 100 insertions, 0 deletions
diff --git a/www-apache/mod_backhand/ChangeLog b/www-apache/mod_backhand/ChangeLog
new file mode 100644
index 000000000000..232b806a5ff7
--- /dev/null
+++ b/www-apache/mod_backhand/ChangeLog
@@ -0,0 +1,10 @@
+# ChangeLog for www-apache/mod_backhand
+# Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/www-apache/mod_backhand/ChangeLog,v 1.1 2005/01/22 19:20:18 hollow Exp $
+
+*mod_backhand-1.2.2 (22 Jan 2005)
+
+ 22 Jan 2005; Benedikt Boehm <hollow@gentoo.org> +metadata.xml,
+ +mod_backhand-1.2.2.ebuild:
+ Initial revision
+
diff --git a/www-apache/mod_backhand/Manifest b/www-apache/mod_backhand/Manifest
new file mode 100644
index 000000000000..e3d279c50239
--- /dev/null
+++ b/www-apache/mod_backhand/Manifest
@@ -0,0 +1,15 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA1
+
+MD5 0d18f0fe5d603b41b988373892caf195 metadata.xml 226
+MD5 804cc0bad7d8e505b00558085fdda858 ChangeLog 369
+MD5 e65698cf17f9689baf8b193cc47a51e9 mod_backhand-1.2.2.ebuild 980
+MD5 c40657b468e58bcb43580560a6098918 files/digest-mod_backhand-1.2.2 70
+MD5 5fc66f2f78adbb38c7f4426bb712261d files/05_mod_backhand.conf 888
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v1.4.0 (GNU/Linux)
+
+iD8DBQFB8qdhmPFBzbX68WERApnOAKCYAnwhqRKSDpmfR34d2KEnXsHGmgCdFhRU
+Ph5H8D0rZTYDzptv0Y7T3k4=
+=PSWH
+-----END PGP SIGNATURE-----
diff --git a/www-apache/mod_backhand/files/05_mod_backhand.conf b/www-apache/mod_backhand/files/05_mod_backhand.conf
new file mode 100644
index 000000000000..4cef47952727
--- /dev/null
+++ b/www-apache/mod_backhand/files/05_mod_backhand.conf
@@ -0,0 +1,27 @@
+# Copyright 1999-2004 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/www-apache/mod_backhand/files/05_mod_backhand.conf,v 1.1 2005/01/22 19:20:18 hollow Exp $
+
+<IfDefine BACKHAND>
+ <IfModule !mod_backhand.c>
+ LoadModule backhand_module modules/mod_backhand.so
+ </IfModule>
+
+ <IfModule mod_backhand.c>
+ # This directory must be readable and writable by euid of apache
+ # The mod_backhand-Arriba and the AF_UNIX domain files are stored in here.
+ UnixSocketDir /var/lib/backhand
+
+ # This would be the way to do ethernet broadcast of backhand statistics.
+ MulticastStats 192.168.0.255:4445
+
+ # We want to accept resource information originating from any IP on our
+ # network.
+ AcceptStats 192.168.0.0/24
+
+ <Location "/backhand/">
+ SetHandler backhand-handler
+ </Location>
+
+ </IfModule>
+</IfDefine>
diff --git a/www-apache/mod_backhand/files/digest-mod_backhand-1.2.2 b/www-apache/mod_backhand/files/digest-mod_backhand-1.2.2
new file mode 100644
index 000000000000..f683257c480f
--- /dev/null
+++ b/www-apache/mod_backhand/files/digest-mod_backhand-1.2.2
@@ -0,0 +1 @@
+MD5 2aacbabf438c1fdd746b240cedf019ef mod_backhand-1.2.2.tar.gz 261790
diff --git a/www-apache/mod_backhand/metadata.xml b/www-apache/mod_backhand/metadata.xml
new file mode 100644
index 000000000000..10510cb8be95
--- /dev/null
+++ b/www-apache/mod_backhand/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>apache</herd>
+<maintainer>
+ <email>apache-devs@gentoo.org</email>
+</maintainer>
+</pkgmetadata>
diff --git a/www-apache/mod_backhand/mod_backhand-1.2.2.ebuild b/www-apache/mod_backhand/mod_backhand-1.2.2.ebuild
new file mode 100644
index 000000000000..bafc50d0cc1b
--- /dev/null
+++ b/www-apache/mod_backhand/mod_backhand-1.2.2.ebuild
@@ -0,0 +1,39 @@
+# Copyright 1999-2005 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/www-apache/mod_backhand/mod_backhand-1.2.2.ebuild,v 1.1 2005/01/22 19:20:18 hollow Exp $
+
+inherit eutils apache-module
+
+DESCRIPTION="Apache module for load balancing and web clustering"
+HOMEPAGE="http://www.backhand.org/mod_backhand/"
+SRC_URI="mirror://gentoo/${PN}-${PV}.tar.gz"
+
+KEYWORDS="~x86"
+DEPEND=""
+LICENSE="as-is"
+SLOT="0"
+IUSE=""
+
+DOCFILES="ChangeLog INSTALL LICENSE NOTES NOTICE README.bySession TODO"
+
+APACHE1_MOD_CONF="05_${PN}"
+APACHE1_MOD_DEFINE="BACKHAND"
+
+APXS1_ARGS="-c -o ${PN}.so apue.c arriba.c back_util.c builtins.c ${PN}.c"
+
+need_apache1
+
+src_compile() {
+ econf
+ apache-module_src_compile
+ ${APXS1} -c -o byHostname.so byHostname.c || die "apxs failed"
+}
+
+src_install() {
+ apache-module_src_install
+}
+
+pkg_postinst() {
+ install -d -m 0755 -o apache -g apache ${ROOT}/var/lib/backhand
+ apache-module_pkg_postinst
+}