summaryrefslogtreecommitdiffstats
path: root/system/monit/monit.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'system/monit/monit.SlackBuild')
-rw-r--r--system/monit/monit.SlackBuild6
1 files changed, 4 insertions, 2 deletions
diff --git a/system/monit/monit.SlackBuild b/system/monit/monit.SlackBuild
index 5381604f23..252e798821 100644
--- a/system/monit/monit.SlackBuild
+++ b/system/monit/monit.SlackBuild
@@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=monit
-VERSION=${VERSION:-5.15}
+VERSION=${VERSION:-5.16}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -84,7 +84,7 @@ make install DESTDIR=$PKG
mkdir -p $PKG/etc/rc.d
cat $CWD/rc.monit > $PKG/etc/rc.d/rc.monit.new
-chmod 0755 $PKG/etc/rc.d/rc.monit.new
+chmod 0644 $PKG/etc/rc.d/rc.monit.new
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
@@ -92,6 +92,8 @@ 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
+
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a COPYING CONTRIBUTORS README $PKG/usr/doc/$PRGNAM-$VERSION