diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2014-10-28 13:16:31 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2014-10-28 13:18:51 +0000 |
commit | 4902259939de4d1ac9885cb639af4e6d77f4faa3 (patch) | |
tree | d3542cf3357d7bc8c8a0f8569b1499ba473d4407 /unmaintained | |
parent | 707f516c1fba27617f069093c96b245d291cee1c (diff) | |
download | aports-4902259939de4d1ac9885cb639af4e6d77f4faa3.tar.bz2 aports-4902259939de4d1ac9885cb639af4e6d77f4faa3.tar.xz |
testing/pacemacer: upgrade to 1.1.12 and fix build with musl
Diffstat (limited to 'unmaintained')
-rw-r--r-- | unmaintained/pacemaker/APKBUILD | 57 | ||||
-rw-r--r-- | unmaintained/pacemaker/pacemaker.initd | 39 |
2 files changed, 0 insertions, 96 deletions
diff --git a/unmaintained/pacemaker/APKBUILD b/unmaintained/pacemaker/APKBUILD deleted file mode 100644 index 026cc69e27..0000000000 --- a/unmaintained/pacemaker/APKBUILD +++ /dev/null @@ -1,57 +0,0 @@ -# Contributor: Carlo Landmeter <clandmeter@gmail.com> -# Maintainer: -pkgname=pacemaker -pkgver=1.1.6.1 -pkgrel=0 -pkgdesc="Scalable High-Availability cluster resource manager" -url="http://www.clusterlabs.org" -arch="all" -license="GPL2" -depends="" -depends_dev="glib-dev libxml2-dev libxslt-dev bzip2-dev gnutls-dev - cluster-glue-dev resource-agents-dev corosync-dev" -makedepends="$depends_dev automake autoconf libtool libltdl wget docbook-xsl" -install="" -subpackages="$pkgname-doc $pkgname-dev" -source="saveas-https://nodeload.github.com/ClusterLabs/pacemaker/tarball/Pacemaker-1.1.6.1/pacemaker-1.1.6.1.tar.gz - $pkgname.initd" - -_builddir="$srcdir"/ClusterLabs-pacemaker-0c7312c -prepare() { - local i - cd "$_builddir" - for i in $source; do - case $i in - *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; - esac - done -} - -build() { - cd "$_builddir" - ./autogen.sh - ./configure \ - --enable-fatal-warnings=no \ - --with-corosync - make || return 1 -} - -package() { - cd "$_builddir" - make DESTDIR="$pkgdir" install || return 1 - rm -f "$pkgdir"/usr/lib*/*.la - rm -f "$pkgdir"/usr/lib*/heartbeat/plugins/RAExec/*.la - install -m755 -D "$srcdir"/$pkgname.initd \ - "$pkgdir"/etc/init.d/$pkgname || return 1 - -} - -libs() { - pkgdesc="$pkgname libraries" - mkdir -p "$subpkgdir"/usr/lib - mv "$pkgdir"/usr/lib/lib*.so.* \ - "$subpkgdir"/usr/lib/ -} - -md5sums="6a4132bbba017581b36b87c35246bb92 pacemaker-1.1.6.1.tar.gz -aca8b793c4a977294121615ed3ce6398 pacemaker.initd" diff --git a/unmaintained/pacemaker/pacemaker.initd b/unmaintained/pacemaker/pacemaker.initd deleted file mode 100644 index 4231425f88..0000000000 --- a/unmaintained/pacemaker/pacemaker.initd +++ /dev/null @@ -1,39 +0,0 @@ -#!/sbin/runscript -# Copyright 1999-2011 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-cluster/pacemaker/files/pacemaker.initd,v 1.1 2011/02/21 14:39:28 ultrabug Exp $ - -PIDFILE=/var/run/pacemaker.pid - -depend() { - need net corosync - use syslog -} - -start() { - nc=0 - ebegin "Starting Pacemaker Cluster Manager" - einfon "Waiting for Corosync startup ." - while true; do - /usr/sbin/corosync-cfgtool -s &>/dev/null && break - nc=$(expr $nc + 1) - if [ $nc -gt 30 ]; then - echo - eend 1 "Failed to detect Corosync startup, is it really running ?" - exit 1 - fi - sleep 1 - echo -n "." - done - echo - start-stop-daemon --start -q --exec /usr/sbin/pacemakerd \ - --pidfile "${PIDFILE}" --make-pidfile --background \ - -- -f - eend $? -} - -stop() { - ebegin "Stopping Pacemaker Cluster Manager" - start-stop-daemon --stop -q --pidfile "${PIDFILE}" - eend $? -} |