Accepting request 568173 from home:darix:playground
- enable json stats and config dump support new BR: pkgconfig(json-c) - disable dynamic loading of libipset and link it instead - enable stacktrace support - turn on snmp-rfcv2 and snmp-rfcv3 support - do not reference the keepalived.socket in the rpm scriptlets OBS-URL: https://build.opensuse.org/request/show/568173 OBS-URL: https://build.opensuse.org/package/show/network/keepalived?expand=0&rev=40
This commit is contained in:
parent
7302425093
commit
349045239f
@ -1,3 +1,13 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon Jan 22 13:03:55 UTC 2018 - mrueckert@suse.de
|
||||
|
||||
- enable json stats and config dump support
|
||||
new BR: pkgconfig(json-c)
|
||||
- disable dynamic loading of libipset and link it instead
|
||||
- enable stacktrace support
|
||||
- turn on snmp-rfcv2 and snmp-rfcv3 support
|
||||
- do not reference the keepalived.socket in the rpm scriptlets
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Jan 12 08:53:51 UTC 2018 - lars@linux-schulserver.de
|
||||
|
||||
|
@ -50,6 +50,7 @@ BuildRequires: snmp-mibs
|
||||
%if 0%{?suse_version} > 1110
|
||||
BuildRequires: pkgconfig(dbus-1)
|
||||
BuildRequires: pkgconfig(gio-2.0)
|
||||
BuildRequires: pkgconfig(json-c)
|
||||
BuildRequires: pkgconfig(libipset)
|
||||
BuildRequires: pkgconfig(libiptc)
|
||||
BuildRequires: pkgconfig(libnl-3.0)
|
||||
@ -106,6 +107,9 @@ export CFLAGS="%optflags -DOPENSSL_NO_SSL_INTERN"
|
||||
%endif
|
||||
--enable-snmp \
|
||||
--enable-snmp-vrrp \
|
||||
--enable-snmp-rfc \
|
||||
--enable-snmp-rfcv2 \
|
||||
--enable-snmp-rfcv3 \
|
||||
%if %{with dbus}
|
||||
--enable-dbus \
|
||||
--enable-dbus-create-instance \
|
||||
@ -121,7 +125,11 @@ export CFLAGS="%optflags -DOPENSSL_NO_SSL_INTERN"
|
||||
--enable-sha1 \
|
||||
--enable-routes \
|
||||
--enable-libiptc \
|
||||
--enable-libipset
|
||||
--enable-libipset \
|
||||
--disable-libipset-dynamic \
|
||||
--enable-libnl \
|
||||
--enable-stacktrace \
|
||||
--enable-json
|
||||
make %{?_smp_mflags}
|
||||
|
||||
%install
|
||||
@ -153,26 +161,26 @@ getent passwd %{name} >/dev/null || \
|
||||
/usr/sbin/useradd -g %{name} -s /bin/false -r -c "Keepalived" \
|
||||
-d %{_var}/lib/%{name} %{name}
|
||||
%if %{with systemd}
|
||||
%service_add_pre %{name}.service %{name}.socket
|
||||
%service_add_pre %{name}.service
|
||||
%endif
|
||||
|
||||
%preun
|
||||
%stop_on_removal %{name}
|
||||
%if %{with systemd}
|
||||
%service_del_preun %{name}.service %{name}.socket
|
||||
%service_del_preun %{name}.service
|
||||
%endif
|
||||
|
||||
%post
|
||||
%fillup_only %{name}
|
||||
%if %{with systemd}
|
||||
%service_add_post %{name}.service %{name}.socket
|
||||
%service_add_post %{name}.service
|
||||
%endif
|
||||
|
||||
%postun
|
||||
%insserv_cleanup
|
||||
%restart_on_update %{name}
|
||||
%if %{with systemd}
|
||||
%service_del_postun %{name}.service %{name}.socket
|
||||
%service_del_postun %{name}.service
|
||||
%endif
|
||||
|
||||
%files
|
||||
|
Loading…
x
Reference in New Issue
Block a user