--- /usr/portage/sys-cluster/heartbeat/heartbeat-2.0.7-r2.ebuild 2006-09-26 02:07:36.000000000 +0200 +++ /usr/local/portage/sys-cluster/heartbeat/heartbeat-2.0.7-r3.ebuild 2006-10-31 16:22:04.000000000 +0100 @@ -47,6 +47,7 @@ unpack ${A} cd ${S} epatch ${FILESDIR}/${P}-update-resources-failcount.patch || die + epatch ${FILESDIR}/${P}-ping_nodes.patch || die } src_compile() { @@ -56,9 +57,9 @@ --mandir=/usr/share/man \ --sysconfdir=/etc \ --localstatedir=/var \ - --with-group-name=cluster \ + --with-group-name=haclient \ --with-group-id=65 \ - --with-ccmuser-name=cluster \ + --with-ccmuser-name=hacluster \ --with-ccmuser-id=65 \ --enable-checkpointd \ --enable-crm \ @@ -69,13 +70,13 @@ } pkg_preinst() { - # check for cluster group, if it doesn't exist make it - if ! grep -q cluster.*65 /etc/group ; then - groupadd -g 65 cluster + # check for haclient group, if it doesn't exist make it + if ! grep -q haclient.*65 /etc/group ; then + groupadd -g 65 haclient fi - # check for cluster user, if it doesn't exist make it - if ! grep -q cluster.*65 /etc/passwd ; then - useradd -u 65 -g cluster -s /dev/null -d /var/lib/heartbeat cluster + # check for hacluster user, if it doesn't exist make it + if ! grep -q hacluster.*65 /etc/passwd ; then + useradd -u 65 -g haclient -s /dev/null -d /var/lib/heartbeat hacluster fi }