Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
--- /dev/null
+../../../common/squid
\ No newline at end of file
done
# Stop services
+/etc/init.d/squid stop
/etc/init.d/dnsmasq stop
# Extract files
# Start services
/etc/init.d/dnsmasq start
/etc/init.d/sshd restart
+/etc/init.d/squid start
# Delete old QoS enabled indicator
rm -f /var/ipfire/qos/enable
@$(PREBUILD)
@rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar xaf $(DIR_DL)/$(DL_FILE)
cd $(DIR_APP) && patch -Np0 -i $(DIR_SRC)/src/patches/squid-3.4-13228.patch
+ cd $(DIR_APP) && patch -Np0 -i $(DIR_SRC)/src/patches/squid-3.4.14-fix-max-file-descriptors.patch
+ cd $(DIR_APP) && autoreconf -vfi
+ cd $(DIR_APP)/libltdl && autoreconf -vfi
+
cd $(DIR_APP) && ./configure \
--prefix=/usr \
--sysconfdir=/etc/squid \
--- /dev/null
+--- configure.ac~ 2016-01-23 01:27:44.078013879 +0000
++++ configure.ac 2016-01-23 01:28:19.422179243 +0000
+@@ -2573,6 +2573,9 @@
+ ;;
+ esac
+
++SQUID_CHECK_DEFAULT_FD_SETSIZE
++SQUID_CHECK_MAXFD
++
+ dnl --with-maxfd present for compatibility with Squid-2.
+ dnl undocumented in ./configure --help to encourage using the Squid-3 directive
+ AC_ARG_WITH(maxfd,,
+@@ -2603,8 +2606,6 @@
+ esac
+ ])
+
+-SQUID_CHECK_DEFAULT_FD_SETSIZE
+-SQUID_CHECK_MAXFD
+ if test "x$squid_filedescriptors_num" != "x"; then
+ AC_MSG_NOTICE([Default number of fieldescriptors: $squid_filedescriptors_num])
+ fi