21305852 update to squid 3.5.5 (squid.conf fix)
authorStacy Yeh <stacy.yeh@oracle.com>
Mon, 29 Jun 2015 17:16:32 -0700
changeset 4562 43ef811d0422
parent 4561 330cbd4379f6
child 4564 555511a0d0f7
21305852 update to squid 3.5.5 (squid.conf fix)
components/squid/Makefile
--- a/components/squid/Makefile	Mon Jun 29 16:53:21 2015 -0700
+++ b/components/squid/Makefile	Mon Jun 29 17:16:32 2015 -0700
@@ -96,6 +96,13 @@
 
 COMPONENT_BUILD_ARGS += CFLAGS="$(CFLAGS)"
 
+# Appends the following line to the end of the squid.conf configuration
+# file. This line is necessary for running squid for testing. 
+# This starts up squid as user webservd. 
+COMPONENT_POST_INSTALL_ACTION += \
+	(cd $(PROTO_DIR)/etc/squid ; \
+ 	echo '\ncache_effective_user webservd' >> squid.conf)
+
 ASLR_MODE = $(ASLR_ENABLE)
 
 # common targets