[csw-devel] SF.net SVN: gar:[13493] csw/mgar/pkg/apache2/branches/open-bug-squash

bdwalton at users.sourceforge.net bdwalton at users.sourceforge.net
Mon Feb 28 01:26:18 CET 2011


Revision: 13493
          http://gar.svn.sourceforge.net/gar/?rev=13493&view=rev
Author:   bdwalton
Date:     2011-02-28 00:26:17 +0000 (Mon, 28 Feb 2011)

Log Message:
-----------
apache2/branches/open-bug-squash: patch the default cgi path (kill a usr/local reference)

Modified Paths:
--------------
    csw/mgar/pkg/apache2/branches/open-bug-squash/Makefile

Added Paths:
-----------
    csw/mgar/pkg/apache2/branches/open-bug-squash/files/0003-Switch-usr-local-for-opt-csw-in-default-cgi-path.patch

Modified: csw/mgar/pkg/apache2/branches/open-bug-squash/Makefile
===================================================================
--- csw/mgar/pkg/apache2/branches/open-bug-squash/Makefile	2011-02-27 21:57:50 UTC (rev 13492)
+++ csw/mgar/pkg/apache2/branches/open-bug-squash/Makefile	2011-02-28 00:26:17 UTC (rev 13493)
@@ -50,6 +50,7 @@
 
 PATCHFILES += 0001-Apply-a-large-hammer-to-buildconf-to-fix-libtool-set.patch
 PATCHFILES += 0002-Adjust-a-few-usr-local-paths-in-the-man-pages.patch
+PATCHFILES += 0003-Switch-usr-local-for-opt-csw-in-default-cgi-path.patch
 
 UFILES_REGEX = $(NAME)-(\d+(?:\.\d+)*).tar.gz
 

Added: csw/mgar/pkg/apache2/branches/open-bug-squash/files/0003-Switch-usr-local-for-opt-csw-in-default-cgi-path.patch
===================================================================
--- csw/mgar/pkg/apache2/branches/open-bug-squash/files/0003-Switch-usr-local-for-opt-csw-in-default-cgi-path.patch	                        (rev 0)
+++ csw/mgar/pkg/apache2/branches/open-bug-squash/files/0003-Switch-usr-local-for-opt-csw-in-default-cgi-path.patch	2011-02-28 00:26:17 UTC (rev 13493)
@@ -0,0 +1,29 @@
+From 4565f79569130fc4ec0bae99fd3829785394f937 Mon Sep 17 00:00:00 2001
+From: Ben Walton <bwalton at opencsw.org>
+Date: Mon, 28 Feb 2011 01:23:44 +0100
+Subject: [PATCH] Switch usr/local for opt/csw in default cgi path
+
+Modify the default PATH for cgi scripts to use /opt/csw/bin as the
+final element instead of /usr/local/bin.
+
+Signed-off-by: Ben Walton <bwalton at opencsw.org>
+---
+ include/httpd.h |    2 +-
+ 1 files changed, 1 insertions(+), 1 deletions(-)
+
+diff --git a/include/httpd.h b/include/httpd.h
+index 40351b7..0fff717 100644
+--- a/include/httpd.h
++++ b/include/httpd.h
+@@ -150,7 +150,7 @@ extern "C" {
+ 
+ /** The default path for CGI scripts if none is currently set */
+ #ifndef DEFAULT_PATH
+-#define DEFAULT_PATH "/bin:/usr/bin:/usr/ucb:/usr/bsd:/usr/local/bin"
++#define DEFAULT_PATH "/bin:/usr/bin:/usr/ucb:/usr/bsd:/opt/csw/bin"
+ #endif
+ 
+ /** The path to the suExec wrapper, can be overridden in Configuration */
+-- 
+1.7.3.2
+


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.


More information about the devel mailing list