Accepting request 356492 from home:darix:branches:network

- enable snmp for better monitoring
- enable sha1 support

OBS-URL: https://build.opensuse.org/request/show/356492
OBS-URL: https://build.opensuse.org/package/show/network/keepalived?expand=0&rev=20
This commit is contained in:
Dirk Mueller 2016-01-28 11:52:05 +00:00 committed by Git OBS Bridge
parent 6902ce257c
commit fe77381aac
2 changed files with 12 additions and 2 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Thu Jan 28 11:46:11 UTC 2016 - mrueckert@suse.de
- enable snmp for better monitoring
- enable sha1 support
-------------------------------------------------------------------
Wed Oct 7 11:45:41 UTC 2015 - dimstar@opensuse.org

View File

@ -33,6 +33,8 @@ Source: http://www.keepalived.org/software/keepalived-%{version}.tar.gz
Source1: keepalived.service
Source2: keepalive-rpmlintrc
Patch1: keepalive-init.patch
BuildRequires: net-snmp-devel
BuildRequires: snmp-mibs
BuildRequires: openssl-devel
BuildRequires: pkgconfig
BuildRequires: pkgconfig(libnl-3.0)
@ -71,7 +73,7 @@ resilient infrastructures.
%build
export STRIP=true
export CFLAGS="%optflags -DOPENSSL_NO_SSL_INTERN"
%configure
%configure --enable-snmp --enable-sha1
make %{?_smp_mflags}
%install
@ -126,6 +128,8 @@ rm -rv %{buildroot}/etc/rc.d/init.d/keepalived %{buildroot}/etc/keepalived/sampl
%{_mandir}/man1/genhash.1.gz
%{_mandir}/man5/keepalived.conf.5.gz
%{_mandir}/man8/keepalived.8.gz
%{_datadir}/snmp/mibs/KEEPALIVED-MIB
%{_datadir}/snmp/mibs/VRRP-MIB
%if %{with systemd}
%{_unitdir}/%name.service
%else
@ -135,6 +139,6 @@ rm -rv %{buildroot}/etc/rc.d/init.d/keepalived %{buildroot}/etc/keepalived/sampl
/var/adm/fillup-templates/sysconfig.%{name}
%doc AUTHOR ChangeLog CONTRIBUTORS COPYING README
%doc doc/samples/
%doc doc/keepalived.conf.SYNOPSIS doc/KEEPALIVED-MIB doc/NOTE_vrrp_vmac.txt
%doc doc/keepalived.conf.SYNOPSIS doc/NOTE_vrrp_vmac.txt
%changelog