On 03/11/2015 11:32 πμ, Willy TARREAU wrote: > Hi, > > some extra bugs were found and fixed since 1.6.1, and since they can > cause trouble, here comes 1.6.2. In short, a bug in the DNS parser could > lead to an endless loop, and another bug in the HTTP connection reuse code > could cause a crash if a redirect was performed between two connections to > the same server on the same session. The other ones are less important but > everyone will prefer to have them fixed of course. > > Now things are stabilizing, I hope to be able to focus on new developments > again soon. > > Full changelog below : > - BUILD: ssl: fix build error introduced in commit 7969a3 with OpenSSL < > 1.0.0 > - DOC: fix a typo for a "deviceatlas" keyword > - FIX: small typo in an example using the "Referer" header > - BUG/MEDIUM: config: count memory limits on 64 bits, not 32 > - BUG/MAJOR: dns: first DNS response packet not matching queried hostname > may lead to a loop > - BUG/MINOR: dns: unable to parse CNAMEs response > - BUG/MINOR: examples/haproxy.init: missing brace in quiet_check() > - DOC: deviceatlas: more example use cases. > - BUG/BUILD: replace haproxy-systemd-wrapper with $(EXTRA) in install-bin.
The above may make some packagers a bit unhappy:-) It broke my fully
automated process:
git pull;make git-tar;build;push to production:-)
I had to introduce a search-replace in SPEC file for the build process
to force the TARGET, I could add EXTRA variable in the make call for
install-bin. See below the SPEC file.
%build
regparm_opts=
%ifarch %ix86 x86_64
regparm_opts="USE_REGPARM=1"
%endif
target_kernel="linux2628"
%if 0%{?rhel} < 6
target_kernel="linux26"
%endif
# Make sure TARGET is the same on each invocation of make
sed -i -e "/^TARGET =/s/=/= ${target_kernel}/" Makefile
make %{?_smp_mflags} SMALL_OPTS="-DMAX_HOSTNAME_LEN=42" CPU="generic"
USE_PCRE=1 USE_ZLIB=1 USE_OPENSSL=1 ${regparm_opts} ADDINC="%{optflags}"
USE_LINUX_TPROXY=1 CFLAGS="${CFLAGS} $(pcre-config --cflags)"
pushd contrib/halog
%{__make} ${halog} OPTIMIZE="%{optflags}"
popd
pushd contrib/iprange
%{__make} iprange OPTIMIZE="%{optflags}"
popd
%install
rm -rf %{buildroot}
make install-bin DESTDIR=%{buildroot} PREFIX=%{_prefix}
make install-man DESTDIR=%{buildroot} PREFIX=%{_prefix}
Cheers,
Pavlos
signature.asc
Description: OpenPGP digital signature

