packages (heartbeat-2_1): heartbeat/heartbeat.spec - add mibs-heartbeat pac...
glen
glen at pld-linux.org
Wed Jan 13 13:18:57 CET 2010
Author: glen Date: Wed Jan 13 12:18:57 2010 GMT
Module: packages Tag: heartbeat-2_1
---- Log message:
- add mibs-heartbeat package; rel 6
---- Files affected:
packages/heartbeat:
heartbeat.spec (1.87.2.5 -> 1.87.2.6)
---- Diffs:
================================================================
Index: packages/heartbeat/heartbeat.spec
diff -u packages/heartbeat/heartbeat.spec:1.87.2.5 packages/heartbeat/heartbeat.spec:1.87.2.6
--- packages/heartbeat/heartbeat.spec:1.87.2.5 Mon Dec 14 13:09:57 2009
+++ packages/heartbeat/heartbeat.spec Wed Jan 13 13:18:51 2010
@@ -1,5 +1,4 @@
# $Revision$, $Date$
-#
# TODO:
# - think how to handle /etc/ha.d/haresources file, which is v1 config file
# and should not exist if v2 configuration is enabled ("crm yes", default is
@@ -12,7 +11,7 @@
Summary(pt_BR.UTF-8): Implementa sistema de monitoração (heartbeats) visando Alta Disponibilidade
Name: heartbeat
Version: 2.1.4
-Release: 5
+Release: 6
License: GPL v2+
Group: Applications/System
Source0: http://hg.linux-ha.org/lha-2.1/archive/STABLE-%{version}.tar.bz2
@@ -70,6 +69,8 @@
Obsoletes: perl-heartbeat
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+%define mibsdir /usr/share/mibs
+
%define specflags -fgnu89-inline
%define filterout_ld -Wl,--as-needed
@@ -175,6 +176,17 @@
%description gui -l pl.UTF-8
Graficzny interfejs użytkownika dla heartbeat.
+%package -n mibs-%{name}
+Summary: Linux-HA MIB
+Group: Applications/System
+Requires: mibs-dirs
+Requires: mibs-net-snmp
+
+%description -n mibs-%{name}
+This MIB can be used to manage a Linux-HA cluster. The initial plan is
+to make the heartbeat, resource managment, and memberships accessible
+through SNMP. Hopefully more things can be added as Linux-HA matures.
+
%prep
%setup -qn Heartbeat-STABLE-2-1-STABLE-%{version}
%patch0 -p1
@@ -197,6 +209,7 @@
MOUNT=/bin/mount \
PING=/bin/ping \
--with-initdir=/etc/rc.d/init.d \
+ --with-mibsdir=%{mibsdir} \
--enable-fatal-warnings=no \
--enable-crm \
--enable-lrm \
@@ -376,7 +389,10 @@
%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/ha.d/haresources
%attr(600,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/ha.d/authkeys
%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/ha.d/ha.cf
-%{_datadir}/snmp/mibs/*mib
+
+%files -n mibs-%{name}
+%defattr(644,root,root,755)
+%{mibsdir}/LINUX-HA-MIB.mib
%files stonith
%defattr(644,root,root,755)
@@ -442,6 +458,9 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.87.2.6 2010/01/13 12:18:51 glen
+- add mibs-heartbeat package; rel 6
+
Revision 1.87.2.5 2009/12/14 12:09:57 baggins
- rel 5
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/heartbeat/heartbeat.spec?r1=1.87.2.5&r2=1.87.2.6&f=u
More information about the pld-cvs-commit
mailing list