mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-24 10:02:29 +01:00
system/pacemaker: Removed (no SBo maintainer)
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
parent
1f6b752758
commit
d6cdec3617
4 changed files with 0 additions and 167 deletions
|
@ -1,22 +0,0 @@
|
|||
pacemaker (a scalable High-Availability cluster resource manager)
|
||||
|
||||
Pacemaker achieves maximum availability for your cluster services
|
||||
by detecting and recovering from node and service-level failures. It
|
||||
achieves this by utilizing the messaging and membership capabilities
|
||||
provided by your preferred cluster infrastructure (currently either
|
||||
OpenAIS or Heartbeat), If the startup and shutdown of your service
|
||||
can scripted, Pacemaker can improve it's availability. Pacemaker
|
||||
can manage clusters of practically any size and comes with a powerful
|
||||
dependency model for accurately modeling your environment.
|
||||
Home: http://clusterlabs.org
|
||||
|
||||
Thanks to the decision of the developers to completely bypass
|
||||
the standards most other projects conform to:
|
||||
* The SlackBuild script contains hard-coding.
|
||||
* The build depends on autoconf, automake and libtool.
|
||||
* The build will produce soft-errors relating to mercurial,
|
||||
with invalid single-operand basename and dirname calls.
|
||||
|
||||
This SlackBuild is configured to use libesmtp. If you don't want
|
||||
esmtp support you should change the "--with-esmtp \" line in the
|
||||
script to "--without-esmtp \".
|
|
@ -1,115 +0,0 @@
|
|||
#!/bin/sh
|
||||
# Generated by Alien's SlackBuild Toolkit: http://slackware.com/~alien/AST
|
||||
# Copyright 2009 Eric Hameleers <alien@slackware.com>, Eindhoven, Netherlands
|
||||
|
||||
# Slackware build script for pacemaker
|
||||
|
||||
# Written by Zordrak <sbo@tpa.me.uk>
|
||||
|
||||
# Based on http://slackbuilds.org/template.SlackBuild
|
||||
# Modified by the SlackBuilds.org project
|
||||
|
||||
PRGNAM=pacemaker
|
||||
VERSION=${VERSION:-b9b672590e79}
|
||||
BUILD=${BUILD:-2}
|
||||
TAG=${TAG:-_SBo}
|
||||
|
||||
if [ -z "$ARCH" ]; then
|
||||
case "$( uname -m )" in
|
||||
i?86) ARCH=i486 ;;
|
||||
arm*) ARCH=arm ;;
|
||||
*) ARCH=$( uname -m ) ;;
|
||||
esac
|
||||
fi
|
||||
|
||||
CWD=$(pwd)
|
||||
TMP=${TMP:-/tmp/SBo}
|
||||
PKG=$TMP/package-$PRGNAM
|
||||
OUTPUT=${OUTPUT:-/tmp}
|
||||
|
||||
if [ "$ARCH" = "i486" ]; then
|
||||
SLKCFLAGS="-O2 -march=i486 -mtune=i686"
|
||||
LIBDIRSUFFIX=""
|
||||
elif [ "$ARCH" = "i686" ]; then
|
||||
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
|
||||
LIBDIRSUFFIX=""
|
||||
elif [ "$ARCH" = "x86_64" ]; then
|
||||
SLKCFLAGS="-O2 -fPIC"
|
||||
LIBDIRSUFFIX="64"
|
||||
else
|
||||
SLKCFLAGS="-O2"
|
||||
LIBDIRSUFFIX=""
|
||||
fi
|
||||
|
||||
set -e
|
||||
|
||||
rm -rf $PKG
|
||||
mkdir -p $TMP $PKG $OUTPUT
|
||||
cd $TMP
|
||||
rm -rf $PRGNAM-$VERSION
|
||||
tar xvf $CWD/$VERSION.tar.bz2
|
||||
mv Pacemaker-1-1-$VERSION pacemaker-$VERSION
|
||||
cd $PRGNAM-$VERSION
|
||||
chown -R root:root .
|
||||
find -L . \
|
||||
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 -o -perm 511 \) \
|
||||
-exec chmod 755 {} \; -o \
|
||||
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
|
||||
-exec chmod 644 {} \;
|
||||
|
||||
# Fix for glib>=2.31
|
||||
sed -i "s|/ghash||" lib/ais/plugin.c
|
||||
|
||||
./autogen.sh
|
||||
|
||||
CFLAGS="$SLKCFLAGS -Wno-error=unused-but-set-variable -Wno-error=deprecated-declarations" \
|
||||
CXXFLAGS="$SLKCFLAGS" \
|
||||
./configure \
|
||||
--prefix=/usr \
|
||||
--with-ais-prefix=$PREFIX \
|
||||
--libdir=/usr/lib${LIBDIRSUFFIX} \
|
||||
--sysconfdir=/etc \
|
||||
--localstatedir=/var \
|
||||
--mandir=/usr/man \
|
||||
--docdir=/usr/doc/$PRGNAM-$VERSION \
|
||||
--build=$ARCH-slackware-linux \
|
||||
--with-lcrso-dir=/usr/libexec/lcrso \
|
||||
--with-initdir=/etc/rc.d \
|
||||
--with-snmp \
|
||||
--with-esmtp \
|
||||
--with-ais \
|
||||
--without-heartbeat \
|
||||
--enable-bundled-ltdl \
|
||||
--enable-libnet
|
||||
|
||||
make
|
||||
make install DESTDIR=$PKG
|
||||
|
||||
find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
|
||||
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
|
||||
|
||||
( cd $PKG/usr/man
|
||||
find . -type f -exec gzip -9 {} \;
|
||||
for i in $( find . -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
|
||||
)
|
||||
|
||||
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
|
||||
cp -a \
|
||||
AUTHORS COPYING COPYING.LIB \
|
||||
$PKG/usr/doc/$PRGNAM-$VERSION
|
||||
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
|
||||
|
||||
cd doc
|
||||
cp -a \
|
||||
cibadmin.8 crm-flowchart.fig crm_cli.txt crm_resource.8 executioner.txt \
|
||||
msg-schema.txt README.hb2openais cib-example-1.xml crm.txt \
|
||||
crm_fencing.txt security.txt Pacemaker_Explained crm_cli.html \
|
||||
crm_fencing.html publican-clusterlabs \
|
||||
$PKG/usr/doc/$PRGNAM-$VERSION
|
||||
cd ..
|
||||
|
||||
mkdir -p $PKG/install
|
||||
cat $CWD/slack-desc > $PKG/install/slack-desc
|
||||
|
||||
cd $PKG
|
||||
/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
|
|
@ -1,10 +0,0 @@
|
|||
PRGNAM="pacemaker"
|
||||
VERSION="b9b672590e79"
|
||||
HOMEPAGE="http://clusterlabs.org"
|
||||
DOWNLOAD="http://ponce.cc/slackware/sources/repo/b9b672590e79.tar.bz2"
|
||||
MD5SUM="ff48a1a0736449f2da85e378c9f41ab3"
|
||||
DOWNLOAD_x86_64=""
|
||||
MD5SUM_x86_64=""
|
||||
REQUIRES="openais"
|
||||
MAINTAINER="Zordrak"
|
||||
EMAIL="slackbuilds@tpa.me.uk"
|
|
@ -1,20 +0,0 @@
|
|||
# HOW TO EDIT THIS FILE:
|
||||
# The "handy ruler" below makes it easier to edit a package description.
|
||||
# Line up the first '|' above the ':' following the base package name, and
|
||||
# the '|' on the right side marks the last column you can put a character in.
|
||||
# You must make exactly 11 lines for the formatting to be correct. It's also
|
||||
# customary to leave one space after the ':' except on otherwise blank lines.
|
||||
|
||||
|-----handy-ruler------------------------------------------------------|
|
||||
pacemaker: pacemaker (a scalable High-Availability cluster resource manager)
|
||||
pacemaker:
|
||||
pacemaker: Pacemaker achieves maximum availability for your cluster services
|
||||
pacemaker: by detecting and recovering from node and service-level failures. It
|
||||
pacemaker: achieves this by utilizing the messaging and membership capabilities
|
||||
pacemaker: provided by your preferred cluster infrastructure (currently either
|
||||
pacemaker: OpenAIS or Heartbeat), If the startup and shutdown of your service
|
||||
pacemaker: can scripted, Pacemaker can improve it's availability. Pacemaker
|
||||
pacemaker: can manage clusters of practically any size and comes with a powerful
|
||||
pacemaker: dependency model for accurately modeling your environment.
|
||||
pacemaker: Homepage: http://clusterlabs.org
|
||||
|
Loading…
Reference in a new issue