diff options
author | Brian Bidulock | 2022-08-06 19:18:30 -0600 |
---|---|---|
committer | Brian Bidulock | 2022-08-06 19:18:30 -0600 |
commit | 1d44a38440994a3807ea96b42f01367d556de461 (patch) | |
tree | 3252887be0d4f34f8dfd6a05091ba1988cdeb3c9 | |
parent | fd0ab340cf04819beb39fb223caed250ac439169 (diff) | |
download | aur-1d44a38440994a3807ea96b42f01367d556de461.tar.gz |
version 1.0.12-7
-rw-r--r-- | .SRCINFO | 2 | ||||
-rw-r--r-- | PKGBUILD | 28 |
2 files changed, 5 insertions, 25 deletions
@@ -1,7 +1,7 @@ pkgbase = ha-glue pkgdesc = A set of libraries, tools and utilities suitable for the Heartbeat/Pacemaker cluster stack. pkgver = 1.0.12 - pkgrel = 6 + pkgrel = 7 url = http://linux-ha.org/wiki/Cluster_Glue arch = i686 arch = x86_64 @@ -1,8 +1,9 @@ -# Maintainer: gls < ghostlovescorebg at gmail dot com > +# Maintainer: Brian Bidulock <bidulock@openss7.org> +# Contributor: gls < ghostlovescorebg at gmail dot com > pkgname=ha-glue pkgver=1.0.12 -pkgrel=6 +pkgrel=7 pkgdesc="A set of libraries, tools and utilities suitable for the Heartbeat/Pacemaker cluster stack." arch=('i686' 'x86_64') url="http://linux-ha.org/wiki/Cluster_Glue" @@ -22,26 +23,6 @@ options=('!libtool' 'docs') build() { _CLUSTER_USER=hacluster _CLUSTER_GROUP=haclient - _PREFIXETC=/etc - _PREFIXINIT=${_PREFIXETC}/rc.d - _PREFIXVAR=/var - _DGID=189 - _DUID=189 - -# #verify the cluster user and group -# if ! getent group ${_CLUSTER_GROUP} >/dev/null;then -# echo -e "\nBEFORE COMPILE THIS SOFTWARE YOU MUST CREATE A CLUSTER GROUP, EXECUTE AS ROOT:" -# echo -e "groupadd -r -g ${_DGID} ${_CLUSTER_GROUP}\n" -# _EXITCODE=1 -# fi -# if ! getent passwd ${_CLUSTER_USER} >/dev/null;then -# echo -e "\nBEFORE COMPILE THIS SOFTWARE YOU MUST CREATE A CLUSTER USER, EXECUTE AS ROOT:" -# echo -e "useradd -r -g ${_CLUSTER_GROUP} -u ${_DUID} -d /var/lib/heartbeat/cores/hacluster -s /sbin/nologin -c \"cluster user\" ${_CLUSTER_USER}\n" -# _EXITCODE=1 -# fi -# if [[ $_EXITCODE -eq 1 ]] ;then -# return 1 -# fi cd "${srcdir}/Reusable-Cluster-Components-glue--glue-${pkgver}" sed -i 's/<glib\/gtypes\.h>/<glib\.h>/g' include/clplumbing/cl_uuid.h @@ -54,7 +35,6 @@ build() { --with-daemon-user=${_CLUSTER_USER} \ --with-daemon-group=${_CLUSTER_GROUP} \ --enable-fatal-warnings=no - #sed -i 's/lib64\ //g' configure.ac # Fight unused direct deps sed -i -e "s| -shared | $LDFLAGS\0 |g" -e "s| if test \"\$export_dynamic\" = yes && test -n \"\$export_dynamic_flag_spec\"; then| func_append compile_command \" $LDFLAGS\"\n func_append finalize_command \" $LDFLAGS\"\n\0|" libtool make @@ -78,7 +58,7 @@ package() { install -Dm644 /dev/null "$pkgdir/usr/lib/sysusers.d/$pkgname.conf" cat>"$pkgdir/usr/lib/sysusers.d/$pkgname.conf"<<-EOF g haclient 189 - u hacluster 189:189 "cluster user" /var/lib/heartbeat/cores/hacluster /sbin/nologin + u hacluster 189:189 "cluster user" / /sbin/nologin EOF } |