summaryrefslogtreecommitdiff
path: root/openwrt/package/mini_httpd/patches
diff options
context:
space:
mode:
authornico <nico@3c298f89-4303-0410-b956-a3cf2f4a3e73>2005-10-19 00:16:27 +0000
committernico <nico@3c298f89-4303-0410-b956-a3cf2f4a3e73>2005-10-19 00:16:27 +0000
commit442ac53465910abb935ed6f21c71f1de4d416132 (patch)
tree2000699f66e7dabc07862fc434e38550718a65b9 /openwrt/package/mini_httpd/patches
parente0098f1b20477cb9aa9d611c2b151f170e335291 (diff)
add a patch to provide a descent PATH to cgi,
split in 3 packages (w/o ssl, w/ matrixssl & w/ openssl), add a restart command to init-script. git-svn-id: svn://svn.openwrt.org/openwrt/trunk@2174 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'openwrt/package/mini_httpd/patches')
-rw-r--r--openwrt/package/mini_httpd/patches/001-cgi_path.patch16
-rw-r--r--openwrt/package/mini_httpd/patches/500-matrixssl.patch10
2 files changed, 21 insertions, 5 deletions
diff --git a/openwrt/package/mini_httpd/patches/001-cgi_path.patch b/openwrt/package/mini_httpd/patches/001-cgi_path.patch
new file mode 100644
index 0000000000..c847d948b4
--- /dev/null
+++ b/openwrt/package/mini_httpd/patches/001-cgi_path.patch
@@ -0,0 +1,16 @@
+diff -ruN mini_httpd-1.19-old/mini_httpd.c mini_httpd-1.19-new/mini_httpd.c
+--- mini_httpd-1.19-old/mini_httpd.c 2005-10-19 01:11:24.000000000 +0200
++++ mini_httpd-1.19-new/mini_httpd.c 2005-10-19 01:13:05.000000000 +0200
+@@ -138,10 +138,10 @@
+ #define CGI_NICE 10
+ #endif /* CGI_NICE */
+ #ifndef CGI_PATH
+-#define CGI_PATH "/usr/local/bin:/usr/ucb:/bin:/usr/bin"
++#define CGI_PATH "/usr/bin:/bin:/usr/sbin:/sbin"
+ #endif /* CGI_PATH */
+ #ifndef CGI_LD_LIBRARY_PATH
+-#define CGI_LD_LIBRARY_PATH "/usr/local/lib:/usr/lib"
++#define CGI_LD_LIBRARY_PATH "/usr/lib:/lib"
+ #endif /* CGI_LD_LIBRARY_PATH */
+ #ifndef AUTH_FILE
+ #define AUTH_FILE ".htpasswd"
diff --git a/openwrt/package/mini_httpd/patches/500-matrixssl.patch b/openwrt/package/mini_httpd/patches/500-matrixssl.patch
index e2d83af88e..0ab8d68331 100644
--- a/openwrt/package/mini_httpd/patches/500-matrixssl.patch
+++ b/openwrt/package/mini_httpd/patches/500-matrixssl.patch
@@ -14,11 +14,11 @@ diff -ruN mini_httpd-1.19-orig/Makefile mini_httpd-1.19-3/Makefile
+#SSL_OBJS =
+
+# MatrixSSL
-+SSL_TREE =
-+SSL_DEFS = -DUSE_SSL -DHAVE_MATRIXSSL
-+SSL_INC =
-+SSL_LIBS = -lmatrixssl
-+SSL_OBJS = matrixssl_helper.o
++#SSL_TREE =
++#SSL_DEFS = -DUSE_SSL -DHAVE_MATRIXSSL
++#SSL_INC =
++#SSL_LIBS = -lmatrixssl
++#SSL_OBJS = matrixssl_helper.o
-BINDIR = /usr/local/sbin