diff options
author | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2013-11-20 08:31:54 +0700 |
---|---|---|
committer | Robby Workman <rworkman@slackbuilds.org> | 2013-11-24 00:07:24 -0600 |
commit | 8cac27ed27d4ae8621f3c47ab2d3b0b2ba96b5f9 (patch) | |
tree | 3d4add9a80793df8bd8da156110ba0df1c8e2a0a /system | |
parent | d6cdec36170d63c58983af6ff412f3b57d3e632e (diff) |
system/corosync: Removed (no SBo maintainer)
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'system')
-rw-r--r-- | system/corosync/README | 7 | ||||
-rw-r--r-- | system/corosync/corosync.SlackBuild | 97 | ||||
-rw-r--r-- | system/corosync/corosync.info | 10 | ||||
-rw-r--r-- | system/corosync/doinst.sh | 17 | ||||
-rw-r--r-- | system/corosync/rc.corosync.new | 145 | ||||
-rw-r--r-- | system/corosync/slack-desc | 20 |
6 files changed, 0 insertions, 296 deletions
diff --git a/system/corosync/README b/system/corosync/README deleted file mode 100644 index d4676243bafd..000000000000 --- a/system/corosync/README +++ /dev/null @@ -1,7 +0,0 @@ -corosync (Cluster plug-in engine for 3rd party cluster services) - -The Corosync Cluster Engine provides a cluster plug-in engine -for third party cluster service developers. Designers develop -service engines for use with Corosync that can take advantage of -its features including messaging, membership, IPC, a configuration -object database, a handle database, automatic replication, and more. diff --git a/system/corosync/corosync.SlackBuild b/system/corosync/corosync.SlackBuild deleted file mode 100644 index 921c2bce4827..000000000000 --- a/system/corosync/corosync.SlackBuild +++ /dev/null @@ -1,97 +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 corosync - -# Written by Zordrak <sbo@tpa.me.uk> - -# Based on http://slackbuilds.org/template.SlackBuild -# Modified by the SlackBuilds.org project - -PRGNAM=corosync -VERSION=${VERSION:-1.2.1} -BUILD=${BUILD:-1} -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/$PRGNAM-$VERSION.tar.?z* -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 {} \; - -CFLAGS="$SLKCFLAGS" \ -CXXFLAGS="$SLKCFLAGS" \ -./configure \ - --prefix=/usr \ - --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 \ - --disable-nss - -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 INSTALL SECURITY CHANGELOG LICENSE README.devmap README.recovery TODO \ - $PKG/usr/doc/$PRGNAM-$VERSION -cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild - -# Install .rc script -install -D -m0755 -oroot -groot $CWD/rc.$PRGNAM.new $PKG/etc/rc.d/rc.$PRGNAM.new - -mkdir -p $PKG/install -cat $CWD/slack-desc > $PKG/install/slack-desc -cat $CWD/doinst.sh > $PKG/install/doinst.sh - -cd $PKG -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz} diff --git a/system/corosync/corosync.info b/system/corosync/corosync.info deleted file mode 100644 index 94a42ac672ed..000000000000 --- a/system/corosync/corosync.info +++ /dev/null @@ -1,10 +0,0 @@ -PRGNAM="corosync" -VERSION="1.2.1" -HOMEPAGE="http://www.corosync.org/" -DOWNLOAD="http://ponce.cc/slackware/sources/repo/corosync-1.2.1.tar.xz" -MD5SUM="d9cf88bed5f2263c7ba570bddd4f9222" -DOWNLOAD_x86_64="" -MD5SUM_x86_64="" -REQUIRES="clusterresourceagents" -MAINTAINER="Zordrak" -EMAIL="slackbuilds@tpa.me.uk" diff --git a/system/corosync/doinst.sh b/system/corosync/doinst.sh deleted file mode 100644 index 7fcbab704ffd..000000000000 --- a/system/corosync/doinst.sh +++ /dev/null @@ -1,17 +0,0 @@ -config() { - NEW="$1" - OLD="$(dirname $NEW)/$(basename $NEW .new)" - if [ ! -r $OLD ]; then - mv $NEW $OLD - elif [ "$(cat $OLD | md5sum)" = "$(cat $NEW | md5sum)" ]; then - rm $NEW - fi -} - -if [ -e etc/rc.d/rc.corosync ]; then - cp -a etc/rc.d/rc.corosync etc/rc.d/rc.corosync.new.incoming - cat etc/rc.d/rc.corosync.new > etc/rc.d/rc.corosync.new.incoming - mv etc/rc.d/rc.corosync.new.incoming etc/rc.d/rc.corosync.new -fi - -config etc/rc.d/rc.corosync.new diff --git a/system/corosync/rc.corosync.new b/system/corosync/rc.corosync.new deleted file mode 100644 index f13be6b03ae0..000000000000 --- a/system/corosync/rc.corosync.new +++ /dev/null @@ -1,145 +0,0 @@ -#!/bin/sh -# -# corosync Start the Corosync Cluster Engine -# -# Author: Andrew Beekhof <abeekhof@suse.de> -# License: Revised BSD -# -# chkconfig: - 20 20 -# processname: corosync -# description: Corosync Cluster Engine -# -### BEGIN INIT INFO -# Description: corosync.... -# -# Short-Description: Corosync Cluster Engine. -# Provides: corosync -# Required-Start: $network -# Should-Start: $syslog -# Required-Stop: $network -# Default-Start: 3 5 -# Default-Stop: 0 6 -### END INIT INFO - -do_force=0 -prog="corosync" -lockfile="/var/lock/subsys/$prog" - -internal_status() { - killall -0 corosync > /dev/null 2>&1 - return $? -} - -status() { - if - ! internal_status - then - echo "Stopped" - return 7 - fi - - echo "Running" - return 0 -} - -start() { - echo -n $"Starting Corosync Cluster Engine ($prog): " - if - ! internal_status - then - echo -n "starting... " - $prog 2>&1 > /dev/null 2>&1 - echo -n "rc=$?: " - fi - - sleep 2 # give it time to fail... $? isn't definitive - - if - internal_status - then - echo "OK" - return 0 - fi - - echo "Failed" - return 1 -} - -do_force=0 -do_forever=1 - -stop() { - echo -n $"Stopping Corosync Cluster Engine ($prog): " - - killall -QUIT corosync - - if [ $do_forever = 0 ]; then - for i in 1 2 3 4 5 6 7 8 9 10 12 13 14 15 16 17 18 19 20; do - if - internal_status - then - sleep 2 - echo -n "." - else - rm -f "$lockfile" - echo "OK" - return 0 - fi - done - - if [ $do_force = 1 ]; then - echo -n "Escalating... " - killall -KILL corosync - sleep 5 - - if - ! internal_status - then - rm -f "$lockfile" - echo "OK" - return 0 - fi - fi - - echo "Failed" - return 1 - fi - - while - internal_status - do - sleep 1 - echo -n "." - done - - rm -f "$lockfile" - echo "OK" - return 0 -} - -restart() { - stop - start -} - -case "$1" in - start|stop|restart) - $1 - ;; - force-stop) - do_force=1 - stop - ;; - reload|force-reload) - restart - ;; - condrestart|try-restart) - [ ! -f "$lockfile" ] || restart - ;; - status) - status $prog - ;; - *) - echo $"Usage: $0 {start|stop|restart|try-restart|condrestart|reload|force-reload|force-stop|status}" - exit 2 -esac diff --git a/system/corosync/slack-desc b/system/corosync/slack-desc deleted file mode 100644 index 0e5a3346a465..000000000000 --- a/system/corosync/slack-desc +++ /dev/null @@ -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------------------------------------------------------| -corosync: corosync (Cluster plug-in engine for 3rd party cluster services) -corosync: -corosync: The Corosync Cluster Engine provides a cluster plug-in engine -corosync: for third party cluster service developers. Designers develop -corosync: service engines for use with Corosync that can take advantage of -corosync: its features including messaging, membership, IPC, a configuration -corosync: object database, a handle database, automatic replication, and more. -corosync: -corosync: Homepage: http://www.corosync.org/ -corosync: -corosync: - |