#475769).
* Removed from gforge-plugins-extra a file that should only be in
gforge-plugin-mediawiki (closes: #476582).
+ * Enabled the "headers" module in apache2, since the database auth
+ tokens are now received through an extra header rather than through
+ environment variables.
- -- Roland Mas <lolando@debian.org> Thu, 24 Apr 2008 20:49:08 +0200
+ -- Roland Mas <lolando@debian.org> Thu, 24 Apr 2008 22:40:40 +0200
gforge (4.6.99+svn6477-1) unstable; urgency=low
DEBIAN_FRONTEND=noninteractive /usr/sbin/a2enmod ssl || true
DEBIAN_FRONTEND=noninteractive /usr/sbin/a2enmod env || true
DEBIAN_FRONTEND=noninteractive /usr/sbin/a2enmod vhost_alias || true
+ DEBIAN_FRONTEND=noninteractive /usr/sbin/a2enmod headers || true
# Enable the Gforge configuration
if [ -e /etc/apache2/conf.d/gforge.httpd.conf ] ; then
#! /bin/sh /usr/share/dpatch/dpatch-run
-## 99-unnamed.dpatch by Christian Bayle <bayle@debian.org> and/or Roland Mas <lolando@debian.org>
+## unix-sockets-for-database by Roland Mas <lolando@debian.org>
##
## All lines beginning with `## DP:' are a description of the patch.
-## DP: No description.
+## DP: Use Unix sockets rather than TCP for the database.
@DPATCH@
diff -urNad gforge~/etc/httpd.d/httpd.secrets gforge/etc/httpd.d/httpd.secrets
---- gforge~/etc/httpd.d/httpd.secrets 2007-11-21 15:13:43.000000000 +0100
-+++ gforge/etc/httpd.d/httpd.secrets 2007-11-21 15:15:06.000000000 +0100
-@@ -1,7 +1,7 @@
- # PLEASE DO NOT REMOVE THIS LINE
+--- gforge~/etc/httpd.d/httpd.secrets 2008-04-24 21:19:20.000000000 +0200
++++ gforge/etc/httpd.d/httpd.secrets 2008-04-24 21:31:49.000000000 +0200
+@@ -2,8 +2,8 @@
SetEnv sys_localinc {sys_localinc}
--SetEnv sys_gfdbhost {db_host}
-+# SetEnv sys_gfdbhost {db_host}
- SetEnv sys_gfdbport {db_port}
- SetEnv sys_gfdbname {db_name}
- SetEnv sys_gfdbuser {db_user}
+
+-RequestHeader unset GForgeDbhost
+-RequestHeader append GForgeDbhost {db_host}
++# RequestHeader unset GForgeDbhost
++# RequestHeader append GForgeDbhost {db_host}
+
+ RequestHeader unset GForgeDbport
+ RequestHeader append GForgeDbport {db_port}