1 DESCRIPTION
= "Cluster Glue is a set of libraries, tools and utilities suitable for \
2 the Heartbeat/Pacemaker cluster stack. In essence, Glue is everything that \
3 is not the cluster messaging layer (Heartbeat), nor the cluster resource manager \
4 (Pacemaker), nor a Resource Agent."
7 DEPENDS
= "libxml2 libtool glib-2.0 bzip2 util-linux-ng"
12 http://hg.linux-ha.org/glue/archive/glue-${PV}.tar.bz2;name=tar \
13 file://glue-remove-getpid-check.patch \
14 file://fix-const-cast.patch \
17 SRC_URI_append_libc
-uclibc
= " file://kill-stack-protector.patch"
18 SRC_URI
[tar.md5sum
] = "09721e2d2ab3c3fa6696b4347e31721a"
19 SRC_URI
[tar.sha256sum
] = "c437a04494850b79c094f7e84d396e917ec09d9a2fdfb7c11f3b420741ea91a2"
23 S
= "${WORKDIR}/Reusable-Cluster-Components-glue-${PV}"
25 EXTRA_OECONF
= "--with-daemon-user=hacluster --with-daemon-group=haclient"
28 install
-d $
{D
}$
{sysconfdir
}/default/volatiles
29 install
-m
0644 $
{WORKDIR
}/volatiles $
{D
}$
{sysconfdir
}/default/volatiles
/04_cluster
-glue
32 pkg_postinst_$
{PN
} () {
34 grep haclient
/etc
/group || addgroup haclient
35 grep hacluster
/etc
/passwd || adduser
--disabled
-password
--home
=$
{localstatedir
}/lib
/heartbeat
--ingroup haclient
-g
"HA cluster" hacluster
36 /etc
/init.d
/populate
-volatile.sh update
41 ${PN}-plugin-test-dbg \
42 ${PN}-plugin-test-dev \
43 ${PN}-plugin-stonith2 \
44 ${PN}-plugin-stonith2-dbg \
45 ${PN}-plugin-stonith2-dev \
46 ${PN}-plugin-stonith2-ribcl \
47 ${PN}-plugin-stonith-external \
49 ${PN}-plugin-raexec-dbg \
50 ${PN}-plugin-raexec-dev \
51 ${PN}-plugin-interfacemgr \
52 ${PN}-plugin-interfacemgr-dbg \
53 ${PN}-plugin-interfacemgr-dev \
57 FILES_$
{PN
} = "/etc/ /usr/lib/lib*.so.* /usr/sbin /usr/share/cluster-glue/*sh /usr/share/cluster-glue/*pl\
58 /usr/lib/heartbeat/transient-test.sh \
59 /usr/lib/heartbeat/logtest \
60 /usr/lib/heartbeat/ipctransientserver \
61 /usr/lib/heartbeat/base64_md5_test \
62 /usr/lib/heartbeat/ipctest \
63 /usr/lib/heartbeat/ipctransientclient \
64 /usr/lib/heartbeat/ha_logd \
65 /usr/lib/heartbeat/lrmd \
68 FILES_$
{PN
}-dbg
+= "/usr/lib/heartbeat/.debug/"
70 FILES_$
{PN
}-plugin
-test
= "/usr/lib/heartbeat/plugins/test/test.so"
71 FILES_$
{PN
}-plugin
-test
-dev
= "/usr/lib/heartbeat/plugins/test/test.*a"
72 FILES_$
{PN
}-plugin
-test
-dbg
= "/usr/lib/heartbeat/plugins/test/.debug/"
73 FILES_$
{PN
}-plugin
-stonith2
= " \
74 /usr/lib/stonith/plugins/xen0-ha-dom0-stonith-helper \
75 /usr/lib/stonith/plugins/stonith2/*.so \
77 FILES_$
{PN
}-plugin
-stonith2
-ribcl
= "/usr/lib/stonith/plugins/stonith2/ribcl.py"
78 RDEPENDS_$
{PN
}-plugin
-stonith2
-ribcl
+= "python"
80 FILES_$
{PN
}-plugin
-stonith2
-dbg
= "/usr/lib/stonith/plugins/stonith2/.debug/"
81 FILES_$
{PN
}-plugin
-stonith2
-dev
= "/usr/lib/stonith/plugins/stonith2/*.*a"
83 FILES_$
{PN
}-plugin
-stonith
-external
= "/usr/lib/stonith/plugins/external/"
84 FILES_$
{PN
}-plugin
-raexec
= "/usr/lib/heartbeat/plugins/RAExec/*.so"
85 FILES_$
{PN
}-plugin
-raexec
-dev
= "/usr/lib/heartbeat/plugins/RAExec/*.*a"
86 FILES_$
{PN
}-plugin
-raexec
-dbg
= "/usr/lib/heartbeat/plugins/RAExec/.debug/"
88 FILES_$
{PN
}-plugin
-interfacemgr
= "/usr/lib/heartbeat/plugins/InterfaceMgr/generic.so"
89 FILES_$
{PN
}-plugin
-interfacemgr
-dev
= "/usr/lib/heartbeat/plugins/InterfaceMgr/generic.*a"
90 FILES_$
{PN
}-plugin
-interfacemgr
-dbg
= "/usr/lib/heartbeat/plugins/InterfaceMgr/.debug/"
92 FILES_$
{PN
}-lrmtest
= "/usr/share/cluster-glue/lrmtest/"