mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-16 19:50:19 +01:00
network/keepalived: Updated for version 2.2.7.
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
parent
952da7aa0c
commit
0faf61e6f7
2 changed files with 8 additions and 8 deletions
|
@ -26,14 +26,14 @@
|
|||
cd $(dirname $0) ; CWD=$(pwd)
|
||||
|
||||
PRGNAM=keepalived
|
||||
VERSION=${VERSION:-2.2.2}
|
||||
VERSION=${VERSION:-2.2.7}
|
||||
BUILD=${BUILD:-1}
|
||||
TAG=${TAG:-_SBo}
|
||||
PKGTYPE=${PKGTYPE:-tgz}
|
||||
|
||||
if [ -z "$ARCH" ]; then
|
||||
case "$( uname -m )" in
|
||||
i?86) ARCH=i486 ;;
|
||||
i?86) ARCH=i586 ;;
|
||||
arm*) ARCH=arm ;;
|
||||
*) ARCH=$( uname -m ) ;;
|
||||
esac
|
||||
|
@ -51,8 +51,8 @@ TMP=${TMP:-/tmp/SBo}
|
|||
PKG=$TMP/package-$PRGNAM
|
||||
OUTPUT=${OUTPUT:-/tmp}
|
||||
|
||||
if [ "$ARCH" = "i486" ]; then
|
||||
SLKCFLAGS="-O2 -march=i486 -mtune=i686"
|
||||
if [ "$ARCH" = "i586" ]; then
|
||||
SLKCFLAGS="-O2 -march=i586 -mtune=i686"
|
||||
LIBDIRSUFFIX=""
|
||||
elif [ "$ARCH" = "i686" ]; then
|
||||
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
|
||||
|
@ -114,7 +114,7 @@ cp -a \
|
|||
|
||||
mkdir -p $PKG/etc/default
|
||||
mv $PKG/etc/sysconfig/keepalived $PKG/etc/default/keepalived.new
|
||||
mv $PKG/etc/keepalived/keepalived.conf $PKG/etc/keepalived/keepalived.conf.new
|
||||
mv $PKG/etc/keepalived/keepalived.conf.sample $PKG/etc/keepalived/keepalived.conf.new
|
||||
install -m755 -D $CWD/rc.$PRGNAM $PKG/etc/rc.d/rc.$PRGNAM.new
|
||||
rmdir $PKG/etc/sysconfig
|
||||
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
PRGNAM="keepalived"
|
||||
VERSION="2.2.2"
|
||||
VERSION="2.2.7"
|
||||
HOMEPAGE="https://www.keepalived.org/"
|
||||
DOWNLOAD="https://www.keepalived.org/software/keepalived-2.2.2.tar.gz"
|
||||
MD5SUM="2e86bade4a7a48cfac7d35a6c9643d46"
|
||||
DOWNLOAD="https://www.keepalived.org/software/keepalived-2.2.7.tar.gz"
|
||||
MD5SUM="5f310b66a043a1fb31acf65af15e95bc"
|
||||
DOWNLOAD_x86_64=""
|
||||
MD5SUM_x86_64=""
|
||||
REQUIRES=""
|
||||
|
|
Loading…
Reference in a new issue