This commit is contained in:
Henrik Nordstrom 2014-11-18 17:52:06 +01:00
parent 9bb9f48e1b
commit 4852012d30
3 changed files with 6 additions and 22 deletions

View File

@ -1,2 +1,2 @@
74677634121649ccb87a5655fcd4298d squid-3.4.7.tar.xz 497e5be7b3430d12667628296760beca squid-3.4.9.tar.xz
2efa155a1f006040f9158e533c5a419c squid-3.4.7.tar.xz.asc 37ac228db735a7d0ee5ca2d48b0c95c6 squid-3.4.9.tar.xz.asc

View File

@ -1,17 +0,0 @@
--- squid/src/snmp_core.cc 2014-06-25 16:41:39.000000000 +0200
+++ squid/src/snmp_core.cc 2014-09-09 11:52:13.237394779 +0200
@@ -375,12 +375,11 @@
len = comm_udp_recvfrom(sock,
buf,
- SNMP_REQUEST_SIZE,
+ SNMP_REQUEST_SIZE - 1,
0,
from);
if (len > 0) {
- buf[len] = '\0';
debugs(49, 3, "snmpHandleUdp: FD " << sock << ": received " << len << " bytes from " << from << ".");
snmp_rq = (SnmpRequest *)xcalloc(1, sizeof(SnmpRequest));

View File

@ -1,7 +1,7 @@
%define __perl_requires %{SOURCE98} %define __perl_requires %{SOURCE98}
Name: squid Name: squid
Version: 3.4.7 Version: 3.4.9
Release: 3%{?dist} Release: 3%{?dist}
Summary: The Squid proxy caching server Summary: The Squid proxy caching server
Epoch: 7 Epoch: 7
@ -33,7 +33,6 @@ Patch203: squid-3.0.STABLE1-perlpath.patch
Patch204: squid-3.2.0.9-fpic.patch Patch204: squid-3.2.0.9-fpic.patch
Patch205: squid-3.1.9-ltdl.patch Patch205: squid-3.1.9-ltdl.patch
Patch206: active-ftp.patch Patch206: active-ftp.patch
Patch207: squid-SNMP.patch
Buildroot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) Buildroot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
Requires: bash >= 2.0 Requires: bash >= 2.0
@ -94,7 +93,6 @@ lookup program (dnsserver), a program for retrieving FTP data
%patch204 -p1 -b .fpic %patch204 -p1 -b .fpic
%patch205 -p1 -b .ltdl %patch205 -p1 -b .ltdl
%patch206 -p1 -b .active-ftp %patch206 -p1 -b .active-ftp
%patch207 -p1 -b .SNMP
%build %build
%ifarch sparcv9 sparc64 s390 s390x %ifarch sparcv9 sparc64 s390 s390x
@ -291,6 +289,9 @@ fi
%changelog %changelog
* Tue Nov 18 2014 Henrik Nordstrom <henrik@henriknordstrom.net> - 7:3.4.9-3
- Update to latest upstream version 3.4.9
* Sun Oct 19 2014 Peter Robinson <pbrobinson@fedoraproject.org> 7:3.4.7-3 * Sun Oct 19 2014 Peter Robinson <pbrobinson@fedoraproject.org> 7:3.4.7-3
- Update ppc64 macro to cover little endian too - Update ppc64 macro to cover little endian too