Hello community, here is the log from the commit of package haproxy for openSUSE:Factory checked in at 2017-11-29 10:54:23 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/haproxy (Old) and /work/SRC/openSUSE:Factory/.haproxy.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "haproxy" Wed Nov 29 10:54:23 2017 rev:52 rq:546232 version:1.8.0 Changes: -------- --- /work/SRC/openSUSE:Factory/haproxy/haproxy.changes 2017-08-24 18:56:08.485802338 +0200 +++ /work/SRC/openSUSE:Factory/.haproxy.new/haproxy.changes 2017-11-29 10:54:39.184311592 +0100 @@ -1,0 +2,25 @@ +Tue Nov 28 13:54:07 UTC 2017 - [email protected] + +- License is now GPL-3.0+ and LGPL-2.1+ + +------------------------------------------------------------------- +Mon Nov 27 13:40:32 UTC 2017 - [email protected] + +- [apparmor]: allow haproxy to restart itself. needed for seamless + restart. also reload the apparmor profile on update. + +------------------------------------------------------------------- +Mon Nov 27 13:31:07 UTC 2017 - [email protected] + +- enable network namespaces on 42.3 +- Enabled systemd notify mode: new BR: pkgconfig(libsystemd) + This fixes problems with starting 1.8 on 42.3. +- apply build option changes as adviced by upstream + +------------------------------------------------------------------- +Mon Nov 27 13:30:30 UTC 2017 - [email protected] + +- Update to version 1.8.0 (bsc#1069954): + https://www.mail-archive.com/[email protected]/msg28004.html + +------------------------------------------------------------------- Old: ---- haproxy-1.7.9.tar.gz New: ---- haproxy-1.8.0.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ haproxy.spec ++++++ --- /var/tmp/diff_new_pack.5OkK7L/_old 2017-11-29 10:54:40.416266896 +0100 +++ /var/tmp/diff_new_pack.5OkK7L/_new 2017-11-29 10:54:40.424266605 +0100 @@ -19,12 +19,11 @@ %bcond_with tcp_fast_open %endif +%bcond_without network_namespace %if 0%{?suse_version} > 1320 %bcond_without lua -%bcond_without network_namespace %else %bcond_with lua -%bcond_with network_namespace %endif %if 0%{?suse_version} >= 1310 @@ -41,13 +40,16 @@ %bcond_without apparmor Name: haproxy -Version: 1.7.9 +Version: 1.8.0 Release: 0 # # BuildRoot: %{_tmppath}/%{name}-%{version}-build %if %{with apparmor} BuildRequires: apparmor-profiles +%if 0%{?suse_version} >= 1315 +BuildRequires: apparmor-rpm-macros +%endif %endif BuildRequires: libgcrypt-devel %if %{with lua} @@ -60,13 +62,14 @@ BuildRequires: udev %if %{with systemd} BuildRequires: pkgconfig(systemd) +BuildRequires: pkgconfig(libsystemd) %endif BuildRequires: vim %define pkg_name haproxy %define pkg_home /var/lib/%{pkg_name} # Url: http://www.haproxy.org/ -Source: http://www.haproxy.org/download/1.7/src/haproxy-%{version}.tar.gz +Source: http://www.haproxy.org/download/1.8/src/haproxy-%{version}.tar.gz Source1: %{pkg_name}.init Source2: usr.sbin.haproxy.apparmor Source3: local.usr.sbin.haproxy.apparmor @@ -78,7 +81,7 @@ Source99: haproxy-rpmlintrc # Summary: The Reliable, High Performance TCP/HTTP Load Balancer -License: GPL-2.0+ and LGPL-2.1+ +License: GPL-3.0+ and LGPL-2.1+ Group: Productivity/Networking/Web/Proxy Provides: %{name}-doc = %{version} Obsoletes: %{name}-doc < %{version} @@ -110,39 +113,32 @@ %build %{__make} \ - TARGET=linux26 \ + TARGET=linux2628 \ CPU="%{_target_cpu}" \ USE_PCRE=1 \ %if %{with pcre_jit} USE_PCRE_JIT=1 \ %endif - USE_LIBCRYPT=1 \ - USE_OPENSSL=1 \ - USE_ZLIB=1 \ - USE_NETFILTER=1 \ + USE_PTHREAD_PSHARED=1 \ %ifarch %ix86 USE_REGPARM=1 \ %endif - USE_PTHREAD_PSHARED=1 \ + USE_GETADDRINFO=1 \ + USE_OPENSSL=1 \ %if %{with lua} USE_LUA=1 \ %endif - USE_TPROXY=1 \ - USE_LINUX_TPROXY=1 \ - USE_LINUX_SPLICE=1 \ - USE_ACCEPT4=1 \ - USE_CPU_AFFINITY=1 \ - USE_GETADDRINFO=1 \ - USE_GETSOCKNAME=1 \ - USE_PIE=1 \ - USE_STACKPROTECTOR=1 \ - USE_RELRO_NOW=1 \ + USE_ZLIB=1 \ %if %{with tcp_fast_open} USE_TFO=1 \ %endif %if %{with network_namespace} USE_NS=1 \ %endif + USE_SYSTEMD=1 \ + USE_PIE=1 \ + USE_STACKPROTECTOR=1 \ + USE_RELRO_NOW=1 \ LIB="%{_lib}" \ PREFIX="%{_prefix}" \ DEBUG_CFLAGS="%{optflags}" @@ -158,7 +154,6 @@ install -D -m 0755 contrib/halog/halog %{buildroot}%{_sbindir}/haproxy-halog %if %{with systemd} -install -D -m 0755 haproxy-systemd-wrapper %{buildroot}%{_sbindir}/haproxy-systemd-wrapper install -D -m 0644 contrib/systemd/%{pkg_name}.service %{buildroot}%{_unitdir}/%{pkg_name}.service ln -sf /sbin/service %{buildroot}%{_sbindir}/rc%{pkg_name} %else @@ -189,6 +184,9 @@ %service_add_pre %{pkg_name}.service %post +%if %{with apparmor} && (0%{?suse_version} >= 1315) +%apparmor_reload /etc/apparmor.d/usr.sbin.haproxy +%endif %service_add_post %{pkg_name}.service %preun @@ -201,6 +199,9 @@ %post %fillup_and_insserv %{pkg_name} +%if %{with apparmor} && (0%{?suse_version} >= 1315) +%apparmor_reload /etc/apparmor.d/usr.sbin.haproxy +%endif %preun %stop_on_removal %{pkg_name} @@ -220,7 +221,6 @@ %config(noreplace) %attr(-,root,haproxy) %{_sysconfdir}/%{pkg_name}/* %if %{with systemd} %{_unitdir}/%{pkg_name}.service -%{_sbindir}/haproxy-systemd-wrapper %else %config(noreplace) %{_sysconfdir}/init.d/%{pkg_name} %endif ++++++ _service ++++++ --- /var/tmp/diff_new_pack.5OkK7L/_old 2017-11-29 10:54:40.452265589 +0100 +++ /var/tmp/diff_new_pack.5OkK7L/_new 2017-11-29 10:54:40.456265445 +0100 @@ -1,10 +1,10 @@ <services> <service name="tar_scm" mode="disabled"> - <param name="url">http://git.haproxy.org/git/haproxy-1.7.git</param> + <param name="url">http://git.haproxy.org/git/haproxy-1.8.git</param> <param name="scm">git</param> <param name="filename">haproxy</param> - <param name="versionformat">1.7.9</param> - <param name="revision">v1.7.9</param> + <param name="versionformat">1.8.0</param> + <param name="revision">v1.8.0</param> <param name="changesgenerate">enable</param> </service> ++++++ _servicedata ++++++ --- /var/tmp/diff_new_pack.5OkK7L/_old 2017-11-29 10:54:40.476264719 +0100 +++ /var/tmp/diff_new_pack.5OkK7L/_new 2017-11-29 10:54:40.476264719 +0100 @@ -3,4 +3,6 @@ <param name="url">http://git.haproxy.org/git/haproxy-1.6.git</param> <param name="changesrevision">864bf78c3b6898eb12ece5f0a44032090f26f57f</param></service><service name="tar_scm"> <param name="url">http://git.haproxy.org/git/haproxy-1.7.git</param> - <param name="changesrevision">640d526f8cdad00f7f5043b51f6a34f3f6ebb49f</param></service></servicedata> \ No newline at end of file + <param name="changesrevision">640d526f8cdad00f7f5043b51f6a34f3f6ebb49f</param></service><service name="tar_scm"> + <param name="url">http://git.haproxy.org/git/haproxy-1.8.git</param> + <param name="changesrevision">0b78792bbe61fec420e4e7298d145ec7d498f8f2</param></service></servicedata> \ No newline at end of file ++++++ haproxy-1.7.9.tar.gz -> haproxy-1.8.0.tar.gz ++++++ ++++ 102336 lines of diff (skipped) ++++++ usr.sbin.haproxy.apparmor ++++++ --- /var/tmp/diff_new_pack.5OkK7L/_old 2017-11-29 10:54:40.968246869 +0100 +++ /var/tmp/diff_new_pack.5OkK7L/_new 2017-11-29 10:54:40.972246724 +0100 @@ -15,10 +15,13 @@ capability fowner, capability fsetid, - network tcp, + network inet tcp, + network inet6 tcp, /etc/haproxy/* r, + /usr/sbin/haproxy rmix, + /var/lib/haproxy/stats rwl, /var/lib/haproxy/stats.*.bak rwl, /var/lib/haproxy/stats.*.tmp rwl,
