Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 152776 | Differences between
and this patch

Collapse All | Expand All

(-)file_not_specified_in_diff (-9 / +9 lines)
Line  Link Here
0
-- /usr/portage/sys-cluster/heartbeat/heartbeat-2.0.7-r2.ebuild        2006-09-26 02:07:36.000000000 +0200
0
++ /usr/local/portage/sys-cluster/heartbeat/heartbeat-2.0.7-r3.ebuild  2006-10-20 16:24:21.000000000 +0200
Lines 56-64 Link Here
56
               --mandir=/usr/share/man \
56
               --mandir=/usr/share/man \
57
               --sysconfdir=/etc \
57
               --sysconfdir=/etc \
58
               --localstatedir=/var \
58
               --localstatedir=/var \
59
               --with-group-name=cluster \
59
               --with-group-name=haclient \
60
               --with-group-id=65 \
60
               --with-group-id=65 \
61
               --with-ccmuser-name=cluster \
61
               --with-ccmuser-name=hacluster \
62
               --with-ccmuser-id=65 \
62
               --with-ccmuser-id=65 \
63
               --enable-checkpointd \
63
               --enable-checkpointd \
64
               --enable-crm \
64
               --enable-crm \
Lines 69-80 Link Here
69
}
69
}
70
70
71
pkg_preinst() {
71
pkg_preinst() {
72
       # check for cluster group, if it doesn't exist make it
72
       # check for haclient group, if it doesn't exist make it
73
       if ! grep -q cluster.*65 /etc/group ; then
73
       if ! grep -q haclient.*65 /etc/group ; then
74
               groupadd -g 65 cluster
74
               groupadd -g 65 haclient
75
       fi
75
       fi
76
       # check for cluster user, if it doesn't exist make it
76
       # check for hacluster user, if it doesn't exist make it
77
       if ! grep -q cluster.*65 /etc/passwd ; then
77
       if ! grep -q hacluster.*65 /etc/passwd ; then
78
               useradd -u 65 -g cluster -s /dev/null -d /var/lib/heartbeat cluster
78
               useradd -u 65 -g haclient -s /dev/null -d /var/lib/heartbeat hacluster
79
       fi
79
       fi
80
}
80
}

Return to bug 152776