Dominique Leuenberger 2016-01-28 16:25:07 +00:00 committed by Git OBS Bridge
commit 23be845538
2 changed files with 21 additions and 2 deletions

View File

@ -1,3 +1,14 @@
-------------------------------------------------------------------
Thu Jan 28 12:13:36 UTC 2016 - mrueckert@suse.de
- use package name buildrequires on sle11 to fix building
-------------------------------------------------------------------
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,9 +33,15 @@ 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
%if 0%{?suse_version} > 1110
BuildRequires: pkgconfig(libnl-3.0)
%else
BuildRequires: libnl-devel
%endif
# BuildRequires: netsnmp-devel
BuildRequires: popt-devel
%if 0%{?suse_version} && 0%{?suse_version} <= 1110
@ -71,7 +77,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 +132,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 +143,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