diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2012-08-14 12:06:55 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2012-08-14 12:06:55 +0000 |
commit | c02879ef5a89218fa25899bfc582ceae9c36c36b (patch) | |
tree | 56cf057b610f7a99c64edb487702890af1ad55c9 /main/squid | |
parent | 568f9648c33c6b6ad1d5e9c8556b7038dc1325d8 (diff) | |
download | aports-c02879ef5a89218fa25899bfc582ceae9c36c36b.tar.bz2 aports-c02879ef5a89218fa25899bfc582ceae9c36c36b.tar.xz |
main/squid: upgrade to 3.2.0.19
Diffstat (limited to 'main/squid')
-rw-r--r-- | main/squid/APKBUILD | 8 | ||||
-rw-r--r-- | main/squid/bug3577.patch | 59 |
2 files changed, 3 insertions, 64 deletions
diff --git a/main/squid/APKBUILD b/main/squid/APKBUILD index 351900ca1c..1bf547148a 100644 --- a/main/squid/APKBUILD +++ b/main/squid/APKBUILD @@ -1,8 +1,8 @@ # Contributor: Carlo Landmeter <clandmeter@gmail.com> # Maintainer: Natanael Copa <ncopa@alpinelinux.org> pkgname=squid -pkgver=3.2.0.18 -pkgrel=1 +pkgver=3.2.0.19 +pkgrel=0 pkgdesc="A full-featured Web proxy cache server." url="http://www.squid-cache.org" install="squid.pre-install squid.pre-upgrade" @@ -21,7 +21,6 @@ langdir="/usr/share/squid/errors" source="http://www.squid-cache.org/Versions/v3/3.2/squid-$pkgver.tar.bz2 squid-3.2.0.16-loggable-urlgroup.patch cf_gen-pthread.patch - bug3577.patch squid.initd squid.confd $pkgname.logrotate @@ -105,10 +104,9 @@ squid_kerb_auth() { mv "$pkgdir"/usr/lib/squid/squid_kerb_auth "$subpkgdir"/usr/lib/squid/ } -md5sums="c062829bc5aff6cd76f3a09ca7ec4026 squid-3.2.0.18.tar.bz2 +md5sums="9c6c134500f301c6c567b75921b39333 squid-3.2.0.19.tar.bz2 16e3b38996d4c5858e1478f8eb650876 squid-3.2.0.16-loggable-urlgroup.patch c60237de253c02937f272d3b189d7679 cf_gen-pthread.patch -609bb6ab7b999d7070caa5141758e325 bug3577.patch 905e57c6d41414f54a75a5c0f9f7fac7 squid.initd 2897c725c201be53d3c9a7db0101bdf0 squid.confd 58823e0b86bc2dc71d270208b7b284b4 squid.logrotate" diff --git a/main/squid/bug3577.patch b/main/squid/bug3577.patch deleted file mode 100644 index 35c97bd4b7..0000000000 --- a/main/squid/bug3577.patch +++ /dev/null @@ -1,59 +0,0 @@ ---- squid-3.2.0.18.orig/src/comm/ConnOpener.cc -+++ squid-3.2.0.18/src/comm/ConnOpener.cc -@@ -131,6 +131,7 @@ - } - - if (temporaryFd_ >= 0) { -+ debugs(5, 4, HERE << conn_ << " closing temp FD " << temporaryFd_); - // it never reached fully open, so cleanup the FD handlers - // Note that comm_close() sequence does not happen for partially open FD - Comm::SetSelect(temporaryFd_, COMM_SELECT_WRITE, NULL, NULL, 0); -@@ -141,6 +142,7 @@ - } - fd_table[temporaryFd_].timeoutHandler = NULL; - fd_table[temporaryFd_].timeout = 0; -+ close(temporaryFd_); - fd_close(temporaryFd_); - temporaryFd_ = -1; - } ---- squid-3.2.0.18.orig/src/forward.cc -+++ squid-3.2.0.18/src/forward.cc -@@ -84,6 +84,11 @@ - - if (Comm::IsConnOpen(fwd->serverConnection())) { - comm_remove_close_handler(fwd->serverConnection()->fd, fwdServerClosedWrapper, fwd); -+ debugs(17, 3, HERE << "store entry aborted; closing " << -+ fwd->serverConnection()); -+ fwd->serverConnection()->close(); -+ } else { -+ debugs(17, 7, HERE << "store entry aborted; no connection to close"); - } - fwd->serverDestinations.clean(); - fwd->self = NULL; ---- squid-3.2.0.18.orig/src/http.cc -+++ squid-3.2.0.18/src/http.cc -@@ -1067,7 +1067,7 @@ - } - - if (EBIT_TEST(entry->flags, ENTRY_ABORTED)) { -- // TODO: should we call abortTransaction() here? -+ abortTransaction("store entry aborted while reading reply"); - return; - } - -@@ -1346,12 +1346,9 @@ - } - - if (EBIT_TEST(entry->flags, ENTRY_ABORTED)) { -- /* -- * The above writeReplyBody() call could ABORT this entry, -- * in that case, the server FD should already be closed. -- * there's nothing for us to do. -- */ -- (void) 0; -+ // The above writeReplyBody() call may have aborted the store entry. -+ abortTransaction("store entry aborted while storing reply"); -+ return; - } else - switch (persistentConnStatus()) { - case INCOMPLETE_MSG: { |