public inbox for ipfire-scm@lists.ipfire.org
 help / color / mirror / Atom feed
From: git@ipfire.org
To: ipfire-scm@lists.ipfire.org
Subject: [git.ipfire.org] IPFire 2.x development tree branch, next, updated. 02a60a9b9e99f1a8aa20b1deefa2b622ba99a5c6
Date: Sat, 23 Jan 2016 02:50:51 +0100	[thread overview]
Message-ID: <20160123015053.068EB21287@argus.ipfire.org> (raw)

[-- Attachment #1: Type: text/plain, Size: 3820 bytes --]

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "IPFire 2.x development tree".

The branch, next has been updated
       via  02a60a9b9e99f1a8aa20b1deefa2b622ba99a5c6 (commit)
      from  cf82da6b376e4c7456a0690968ad2e879029a70c (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 02a60a9b9e99f1a8aa20b1deefa2b622ba99a5c6
Author: Michael Tremer <michael.tremer(a)ipfire.org>
Date:   Sat Jan 23 01:46:42 2016 +0000

    squid: Actually make --with-filedescriptors work
    
    Signed-off-by: Michael Tremer <michael.tremer(a)ipfire.org>

-----------------------------------------------------------------------

Summary of changes:
 .../{oldcore/94 => core/97}/filelists/squid         |  0
 config/rootfiles/core/97/update.sh                  |  2 ++
 lfs/squid                                           |  4 ++++
 .../squid-3.4.14-fix-max-file-descriptors.patch     | 21 +++++++++++++++++++++
 4 files changed, 27 insertions(+)
 copy config/rootfiles/{oldcore/94 => core/97}/filelists/squid (100%)
 create mode 100644 src/patches/squid-3.4.14-fix-max-file-descriptors.patch

Difference in files:
diff --git a/config/rootfiles/core/97/filelists/squid b/config/rootfiles/core/97/filelists/squid
new file mode 120000
index 0000000..2dc8372
--- /dev/null
+++ b/config/rootfiles/core/97/filelists/squid
@@ -0,0 +1 @@
+../../../common/squid
\ No newline at end of file
diff --git a/config/rootfiles/core/97/update.sh b/config/rootfiles/core/97/update.sh
index 4cd6abe..541c5f8 100644
--- a/config/rootfiles/core/97/update.sh
+++ b/config/rootfiles/core/97/update.sh
@@ -32,6 +32,7 @@ do
 done
 
 # Stop services
+/etc/init.d/squid stop
 /etc/init.d/dnsmasq stop
 
 # Extract files
@@ -46,6 +47,7 @@ paxctl -mpexs /usr/bin/grub-script-check
 # 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
diff --git a/lfs/squid b/lfs/squid
index de6c87d..c2b3935 100644
--- a/lfs/squid
+++ b/lfs/squid
@@ -71,6 +71,10 @@ $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
 	@$(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 \
diff --git a/src/patches/squid-3.4.14-fix-max-file-descriptors.patch b/src/patches/squid-3.4.14-fix-max-file-descriptors.patch
new file mode 100644
index 0000000..54275b8
--- /dev/null
+++ b/src/patches/squid-3.4.14-fix-max-file-descriptors.patch
@@ -0,0 +1,21 @@
+--- 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


hooks/post-receive
--
IPFire 2.x development tree

                 reply	other threads:[~2016-01-23  1:50 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20160123015053.068EB21287@argus.ipfire.org \
    --to=git@ipfire.org \
    --cc=ipfire-scm@lists.ipfire.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox