Ludwig Nussel 2017-01-04 18:34:43 +00:00 committed by Git OBS Bridge
commit 7cb9a73cbd
4 changed files with 75 additions and 9 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:19e432bcf10ff3e801aa87acf84113a0b57d31524c3ca8866f13ffeb0475d910
size 476278

3
keepalived-1.3.2.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:bb6729a7b7402ef5ef89e895b2dd597880702a4e2351d4da2f88bf24284e38f4
size 648434

View File

@ -1,3 +1,32 @@
-------------------------------------------------------------------
Mon Dec 12 14:05:25 UTC 2016 - mrueckert@suse.de
- fix building with libnfnetlink. the additional include path needs
to be in CPPFLAGS instead of CFLAGS now.
- enabled a few more features:
- enhanced snmp support (V2/V3 RFC)
- make sure we build with ipset/libiptc and routes support
- prepared dbus support: waiting for boo#1015141
-------------------------------------------------------------------
Mon Dec 12 12:59:54 UTC 2016 - mrueckert@suse.de
- update 1.3.2
- Security focused on notify heplers. Some minor fix and
extensions.
- changes from 1.3.1
- Quick script fix for regression brought by last release.
- changes from 1.3.0
- New MAJOR release with stabilization fixes. Support to DBus.
Conf extensions. Parser error log. Security extensions to run
scripts more secure.
- changes from 1.2.24
- MAJOR release with stabilization fixes and new features like
support to network namespace.
Refer to /usr/share/doc/packages/keepalived/ChangeLog
for more infos.
------------------------------------------------------------------- -------------------------------------------------------------------
Wed Jul 20 09:07:35 UTC 2016 - michael@stroeder.com Wed Jul 20 09:07:35 UTC 2016 - michael@stroeder.com

View File

@ -21,9 +21,10 @@
%else %else
%bcond_with systemd %bcond_with systemd
%endif %endif
%bcond_with dbus
Name: keepalived Name: keepalived
Version: 1.2.23 Version: 1.3.2
Release: 0 Release: 0
Summary: A strong & robust keepalive facility for linux Summary: A strong & robust keepalive facility for linux
License: GPL-2.0+ License: GPL-2.0+
@ -33,14 +34,25 @@ Source: http://www.keepalived.org/software/keepalived-%{version}.tar.gz
Source1: keepalived.service Source1: keepalived.service
Source2: keepalive-rpmlintrc Source2: keepalive-rpmlintrc
Patch1: keepalive-init.patch Patch1: keepalive-init.patch
BuildRequires: libnfnetlink-devel
BuildRequires: net-snmp-devel BuildRequires: net-snmp-devel
BuildRequires: openssl-devel BuildRequires: openssl-devel
BuildRequires: pkgconfig BuildRequires: pkgconfig
BuildRequires: snmp-mibs BuildRequires: snmp-mibs
%if 0%{?suse_version} > 1110 %if 0%{?suse_version} > 1110
BuildRequires: pkgconfig(dbus-1)
BuildRequires: pkgconfig(gio-2.0)
BuildRequires: pkgconfig(libipset)
BuildRequires: pkgconfig(libiptc)
BuildRequires: pkgconfig(libnl-3.0) BuildRequires: pkgconfig(libnl-3.0)
BuildRequires: pkgconfig(xtables)
%else %else
BuildRequires: dbus-1-devel
BuildRequires: glib2-devel
BuildRequires: ipset-devel
BuildRequires: libiptc-devel
BuildRequires: libnl-devel BuildRequires: libnl-devel
BuildRequires: libxtables-devel
%endif %endif
BuildRequires: libnfnetlink-devel BuildRequires: libnfnetlink-devel
# BuildRequires: netsnmp-devel # BuildRequires: netsnmp-devel
@ -77,8 +89,24 @@ resilient infrastructures.
%build %build
export STRIP=true export STRIP=true
export CFLAGS="%optflags -DOPENSSL_NO_SSL_INTERN $(pkg-config --cflags libnfnetlink)" export CPPFLAGS="$(pkg-config --cflags libnfnetlink libiptc libipset xtables)"
%configure --enable-snmp --enable-sha1 export CFLAGS="%optflags -DOPENSSL_NO_SSL_INTERN"
%configure \
--disable-silent-rules \
--enable-snmp \
--enable-snmp-vrrp \
%if %{with dbus}
--enable-dbus \
--enable-dbus-create-instance \
%endif
--enable-snmp-checker \
--enable-snmp-rfc \
--enable-snmp-rfcv2 \
--enable-snmp-rfcv3 \
--enable-sha1 \
--enable-routes \
--enable-libiptc \
--enable-libipset
make %{?_smp_mflags} make %{?_smp_mflags}
%install %install
@ -95,7 +123,7 @@ ln -s /etc/init.d/keepalived %{buildroot}%{_sbindir}/rckeepalived
%endif %endif
chmod -R o= %{buildroot}/etc/keepalived chmod -R o= %{buildroot}/etc/keepalived
rm -rv %{buildroot}/etc/rc.d/init.d/keepalived %{buildroot}/etc/keepalived/samples/ %{buildroot}/etc/sysconfig/keepalived rm -rv %{buildroot}/etc/keepalived/samples/ %{buildroot}/etc/sysconfig/keepalived
%pre %pre
/usr/sbin/groupadd -r %{name} >/dev/null 2>&1 || : /usr/sbin/groupadd -r %{name} >/dev/null 2>&1 || :
@ -125,7 +153,7 @@ rm -rv %{buildroot}/etc/rc.d/init.d/keepalived %{buildroot}/etc/keepalived/sampl
%files %files
%defattr(-,root,root) %defattr(-,root,root)
%doc README COPYING %doc README COPYING ChangeLog
%config(noreplace) %attr(-,root,keepalived) /etc/keepalived/ %config(noreplace) %attr(-,root,keepalived) /etc/keepalived/
%{_bindir}/genhash %{_bindir}/genhash
%{_sbindir}/rckeepalived %{_sbindir}/rckeepalived
@ -133,7 +161,16 @@ rm -rv %{buildroot}/etc/rc.d/init.d/keepalived %{buildroot}/etc/keepalived/sampl
%{_mandir}/man1/genhash.1.gz %{_mandir}/man1/genhash.1.gz
%{_mandir}/man5/keepalived.conf.5.gz %{_mandir}/man5/keepalived.conf.5.gz
%{_mandir}/man8/keepalived.8.gz %{_mandir}/man8/keepalived.8.gz
%{_datadir}/snmp/mibs/KEEPALIVED-MIB %{_datadir}/snmp/mibs/KEEPALIVED-MIB.txt
%{_datadir}/snmp/mibs/VRRP-MIB.txt
%{_datadir}/snmp/mibs/VRRPv3-MIB.txt
#
%if %{with dbus}
%config /etc/dbus-1/system.d/org.keepalived.Vrrp1.conf
%{_datadir}/dbus-1/interfaces/org.keepalived.Vrrp1.Instance.xml
%{_datadir}/dbus-1/interfaces/org.keepalived.Vrrp1.Vrrp.xml
%endif
#
%if %{with systemd} %if %{with systemd}
%{_unitdir}/%name.service %{_unitdir}/%name.service
%else %else