sm-commit AT lists.ibiblio.org
Subject: Source Mage code commit list
List archive
[SM-Commit] GIT changes to master grimoire by Vlad Glagolev (bc3aa174d6e15bd19deea7ca15dfebea1816724d)
- From: Vlad Glagolev <scm AT sourcemage.org>
- To: sm-commit AT lists.ibiblio.org
- Subject: [SM-Commit] GIT changes to master grimoire by Vlad Glagolev (bc3aa174d6e15bd19deea7ca15dfebea1816724d)
- Date: Wed, 8 Apr 2009 03:41:24 -0500
GIT changes to master grimoire by Vlad Glagolev <stealth AT sourcemage.org>:
ChangeLog | 3 +++
http/mod_rpaf/BUILD | 5 +++++
http/mod_rpaf/DEPENDS | 1 +
http/mod_rpaf/DETAILS | 25 +++++++++++++++++++++++++
http/mod_rpaf/HISTORY | 2 ++
http/mod_rpaf/INSTALL | 5 +++++
http/mod_rpaf/PRE_BUILD | 5 +++++
7 files changed, 46 insertions(+)
New commits:
commit bc3aa174d6e15bd19deea7ca15dfebea1816724d
Author: Vlad Glagolev <stealth AT sourcemage.org>
Commit: Vlad Glagolev <stealth AT sourcemage.org>
mod_rpaf: new spell, reverse proxy add forward module for Apache
diff --git a/ChangeLog b/ChangeLog
index 6b4d3aa..3315e9c 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,6 @@
+2009-04-08 Vlad Glagolev <stealth AT sourcemage.org>
+ * http/mod_rpaf: new spell, reverse proxy add forward module for
Apache
+
2009-04-07 Florian Franzmann <siflfran AT hawo.stw.uni-erlangen.de>
* utils/unetbootin: new spell, a tool for making USB sticks boot
various Linux and BSD distributions
diff --git a/http/mod_rpaf/BUILD b/http/mod_rpaf/BUILD
new file mode 100755
index 0000000..1ea9b49
--- /dev/null
+++ b/http/mod_rpaf/BUILD
@@ -0,0 +1,5 @@
+if spell_ok apache; then
+ make rpaf
+elif spell_ok apache2 || spell_ok apache22; then
+ make rpaf-2.0
+fi
diff --git a/http/mod_rpaf/DEPENDS b/http/mod_rpaf/DEPENDS
new file mode 100755
index 0000000..41c0af3
--- /dev/null
+++ b/http/mod_rpaf/DEPENDS
@@ -0,0 +1 @@
+depends APACHE
diff --git a/http/mod_rpaf/DETAILS b/http/mod_rpaf/DETAILS
new file mode 100755
index 0000000..eb3cbb6
--- /dev/null
+++ b/http/mod_rpaf/DETAILS
@@ -0,0 +1,25 @@
+ SPELL=mod_rpaf
+ VERSION=0.6
+ SOURCE=$SPELL-$VERSION.tar.gz
+ SOURCE_URL[0]=http://stderr.net/apache/rpaf/download/$SOURCE
+
SOURCE_HASH=sha512:1ad5af69cfe0e72cc609c081388e20e6a40cff1af7b47581b3d6958e5c7badf6580b2e14e5bd86482fe7cc7b60ca5045a2486c6f3f6e8ece7c142d38df990b4c
+SOURCE_DIRECTORY="$BUILD_DIRECTORY/$SPELL-$VERSION"
+ WEB_SITE=http://stderr.net/apache/rpaf/
+ LICENSE[0]=APACHE
+ ENTERED=20090408
+ SHORT="reverse proxy add forward module for Apache"
+cat << EOF
+rpaf is for backend Apache servers what mod_proxy_add_forward is for frontend
+Apache servers. It does excactly the opposite of mod_proxy_add_forward
written
+by Ask Bjørn Hansen.
+
+It changes the remote address of the client visible to other Apache modules
+when two conditions are satisfied. First condition is that the remote client
+is actually a proxy that is defined in httpd.conf. Secondly if there is an
+incoming X-Forwarded-For header and the proxy is in it's list of known
+proxies it takes the last IP from the incoming X-Forwarded-For header and
+changes the remote address of the client in the request structure. It also
+takes the incoming X-Host header and updates the virtualhost settings
+accordingly. For Apache2 mod_proxy it takes the X-Forwared-Host header and
+updates the virtualhosts.
+EOF
diff --git a/http/mod_rpaf/HISTORY b/http/mod_rpaf/HISTORY
new file mode 100644
index 0000000..d129873
--- /dev/null
+++ b/http/mod_rpaf/HISTORY
@@ -0,0 +1,2 @@
+2009-04-08 Vlad Glagolev <stealth AT sourcemage.org>
+ * BUILD, DEPENDS, DETAILS, INSTALL, PRE_BUILD: spell created
diff --git a/http/mod_rpaf/INSTALL b/http/mod_rpaf/INSTALL
new file mode 100755
index 0000000..56d46be
--- /dev/null
+++ b/http/mod_rpaf/INSTALL
@@ -0,0 +1,5 @@
+if spell_ok apache; then
+ default_install
+elif spell_ok apache2 || spell_ok apache22; then
+ make install-2.0
+fi
diff --git a/http/mod_rpaf/PRE_BUILD b/http/mod_rpaf/PRE_BUILD
new file mode 100755
index 0000000..2fed36d
--- /dev/null
+++ b/http/mod_rpaf/PRE_BUILD
@@ -0,0 +1,5 @@
+default_pre_build &&
+cd "$SOURCE_DIRECTORY" &&
+
+# apache 2.* installs apxs, not apxs2
+sed -i "s:apxs2:apxs:" Makefile
- [SM-Commit] GIT changes to master grimoire by Vlad Glagolev (bc3aa174d6e15bd19deea7ca15dfebea1816724d), Vlad Glagolev, 04/08/2009
Archive powered by MHonArc 2.6.24.