httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Marc Slemko <ma...@znep.com>
Subject install script and CGIs
Date Sun, 30 Jan 2000 03:37:30 GMT
The current makefile doesn't handle installing the default CGIs properly.

First, it installs them as non-executable.  If we want to install
them in such a way that they are disabled by default (and I think
we should have them disabled), then this really isn't the best way.

Second, it says it is installing them from conf instead of cgi-bin.

Third, it says script[*] when it really isn't.

Suggestions on the best way to have them not installed so they can be run
by default?  Confusing users by setting the permissions to non-executible
isn't a good idea, especially since it isn't cross-platform.

Index: Makefile.tmpl
===================================================================
RCS file: /export/home/cvs/apache-1.3/Makefile.tmpl,v
retrieving revision 1.95
diff -u -r1.95 Makefile.tmpl
--- Makefile.tmpl	2000/01/11 19:47:41	1.95
+++ Makefile.tmpl	2000/01/30 03:31:42
@@ -468,7 +468,7 @@
 			cat $(TOP)/cgi-bin/$${script} |\
 			sed -e 's;^#!/.*perl;#!$(PERL);' \
 			> $(TOP)/$(SRC)/.apaci.install.tmp; \
-			echo "$(INSTALL_DATA) $(TOP)/conf/$${script}[*] $(root)$(cgidir)/$${script}"; \
+			echo "$(INSTALL_SCRIPT) $(TOP)/cgi-bin/$${script} $(root)$(cgidir)/$${script}"; \
 			$(INSTALL_DATA) $(TOP)/$(SRC)/.apaci.install.tmp $(root)$(cgidir)/$${script}; \
 		done; \
 	fi


Mime
View raw message