Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 29 Mar 2011 14:47:18 -0500
From:      Nick Gieczewski <sorongo@gmail.com>
To:        apache@FreeBSD.org
Subject:   [PATCH] Add option to build mod_substitute
Message-ID:  <AANLkTik6J52kKy2vw5yWxDhvG4ciRn3%2BxkMXrKz%2BpLpA@mail.gmail.com>

next in thread | raw e-mail | index | archive | help

[-- Attachment #1 --]
Hi there,

Attached is a patch for www/apache22 to enable building of the
mod_substitute module bundled with Apache.

I have tested the patch and the module itself, and everything appears
to work correctly out of the box. Please let me know if I've missed
anything.

Thanks!

Nick Gieczewski

[-- Attachment #2 --]
--- Makefile.modules.orig	2010-08-19 13:01:08.000000000 -0500
+++ Makefile.modules	2011-03-28 15:00:40.000000000 -0500
@@ -29,7 +29,7 @@
 MISC_MODULES+=		actions alias asis autoindex cern_meta \
 			cgi charset_lite dbd deflate dir dumpio env expires \
 			headers imagemap include info log_config logio mime \
-			mime_magic negotiation rewrite setenvif speling status \
+			mime_magic negotiation rewrite setenvif speling status substitute \
 			unique_id userdir usertrack vhost_alias filter version reqtimeout
 PROXY_MODULES=		proxy proxy_connect proxy_ftp proxy_http proxy_ajp proxy_balancer proxy_scgi
 SSL_MODULES=		ssl
--- Makefile.options.orig	2010-08-19 13:01:08.000000000 -0500
+++ Makefile.options	2011-03-28 14:54:16.000000000 -0500
@@ -56,6 +56,7 @@
 	 SETENVIF "Enable mod_setenvif" ON \
 	 SPELING "Enable mod_speling" ON \
 	 STATUS "Enable mod_status" ON \
+	 SUBSTITUTE "Enable mod_substitute" OFF \
 	 UNIQUE_ID "Enable mod_unique_id" ON \
 	 USERDIR "Enable mod_userdir" ON \
 	 USERTRACK "Enable mod_usertrack" ON \
--- pkg-plist.orig	2010-08-19 13:01:10.000000000 -0500
+++ pkg-plist	2011-03-28 14:57:28.000000000 -0500
@@ -79,6 +79,7 @@
 include/apache22/mod_rewrite.h
 include/apache22/mod_ssl.h
 include/apache22/mod_status.h
+include/apache22/mod_substitute.h
 include/apache22/mpm.h
 include/apache22/mpm_common.h
 include/apache22/mpm_default.h
@@ -164,6 +165,7 @@
 %%MOD_SPELING%%libexec/apache22/mod_speling.so
 %%MOD_SSL%%libexec/apache22/mod_ssl.so
 %%MOD_STATUS%%libexec/apache22/mod_status.so
+%%MOD_SUBSTITUTE%%libexec/apache22/mod_substitute.so
 %%MOD_SUEXEC%%libexec/apache22/mod_suexec.so
 %%MOD_UNIQUE_ID%%libexec/apache22/mod_unique_id.so
 %%MOD_USERDIR%%libexec/apache22/mod_userdir.so

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?AANLkTik6J52kKy2vw5yWxDhvG4ciRn3%2BxkMXrKz%2BpLpA>