summaryrefslogtreecommitdiff
path: root/system/monit/monit.SlackBuild
diff options
context:
space:
mode:
authorBryan Harris <bryanlharris@gmail.com>2016-08-06 06:29:43 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2016-08-07 18:55:32 +0700
commit50ee162f272cbf5566d445d38338cbe24e82470a (patch)
treebbb3457611c9d2f24e4a09a74b413f08268e1f0a /system/monit/monit.SlackBuild
parent3aba221371667fe0de7defd06a99edc90188e65e (diff)
downloadslackbuilds-50ee162f272cbf5566d445d38338cbe24e82470a.tar.gz
system/monit: Update script + New Maintainer.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'system/monit/monit.SlackBuild')
-rw-r--r--system/monit/monit.SlackBuild10
1 files changed, 5 insertions, 5 deletions
diff --git a/system/monit/monit.SlackBuild b/system/monit/monit.SlackBuild
index 8cabf18d1d..060e913316 100644
--- a/system/monit/monit.SlackBuild
+++ b/system/monit/monit.SlackBuild
@@ -24,12 +24,12 @@
PRGNAM=monit
VERSION=${VERSION:-5.18}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
@@ -40,8 +40,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"
@@ -92,7 +92,7 @@ find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | gr
find $PKG/usr/man -type f -exec gzip -9 {} \;
for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
-cp monitrc $PKG/etc/monit.conf.new
+cp monitrc $PKG/etc/monitrc.new
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a COPYING CONTRIBUTORS README $PKG/usr/doc/$PRGNAM-$VERSION