network/ipvsadm: Added to 12.1 repository

This commit is contained in:
luoyi 2010-05-11 22:54:50 +02:00 committed by David Somero
parent c1c7ec4f7d
commit 87c6ea1426
4 changed files with 89 additions and 0 deletions

10
network/ipvsadm/README Normal file
View file

@ -0,0 +1,10 @@
ipvsadm: Admin tool for the Linux Virtual Server
The Linux Virtual Server is a highly scalable and highly available
server built on a cluster of real servers, with the load balancer
running on the Linux operating system. The architecture of the
server cluster is fully transparent to end users, and the users
interact as if it were a single high-performance virtual server.
ipvsadm is the admin tool for the Linux Virtual Server

View file

@ -0,0 +1,60 @@
#!/bin/sh
# Slackware build script for source-highlight
# Written by luoyi (luoyi.ly@gmail.com)
# Modified by the slackbuilds.org project
PRGNAM=ipvsadm
VERSION=${VERSION:-1.24}
ARCH=${ARCH:-i486}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
if [ "$ARCH" = "i486" ]; then
SLKCFLAGS="-O2 -march=i486 -mtune=i686"
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
elif [ "$ARCH" = "x86_64" ]; then
SLKCFLAGS="-O2 -fPIC"
fi
set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
cd $PRGNAM-$VERSION
chown -R root:root .
find . \
\( -perm 777 -o -perm 775 -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 {} \;
make
make BUILD_ROOT=$PKG install
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
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
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.tgz

View file

@ -0,0 +1,8 @@
PRGNAM="ipvsadm"
VERSION="1.24-6"
HOMEPAGE="http://www.linuxvirtualserver.org/"
DOWNLOAD="http://www.linuxvirtualserver.org/software/kernel-2.6/ipvsadm-1.24.tar.gz"
MD5SUM="fb99dce274d2e0c7c3df244388289677"
MAINTAINER="luoyi"
EMAIL="luoyi.ly@gmail.com"
APPROVED="David Somero"

View file

@ -0,0 +1,11 @@
ipvsadm: ipvsadm (Admin tool for the Linux Virtual Server)
ipvsadm:
ipvsadm: The Linux Virtual Server is a highly scalable and highly available
ipvsadm: server built on a cluster of real servers, with the load balancer
ipvsadm: running on the Linux operating system. The architecture of the
ipvsadm: server cluster is fully transparent to end users, and the users
ipvsadm: interact as if it were a single high-performance virtual server.
ipvsadm:
ipvsadm:
ipvsadm: ipvsadm is the admin tool for the Linux Virtual Server
ipvsadm: