diff options
Diffstat (limited to 'network/keepalived/keepalived.SlackBuild')
-rw-r--r-- | network/keepalived/keepalived.SlackBuild | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/network/keepalived/keepalived.SlackBuild b/network/keepalived/keepalived.SlackBuild index bddb5dad81..04227e1ce8 100644 --- a/network/keepalived/keepalived.SlackBuild +++ b/network/keepalived/keepalived.SlackBuild @@ -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 |