diff options
author | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2016-02-20 00:18:51 +0700 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2016-02-20 00:18:51 +0700 |
commit | 6c9e39f8c15daf0fa5caa731850fc5f21f17cd1b (patch) | |
tree | 3b0e970a453ff5de26ccfd890826cde4851cfc11 /system/monit/monit.SlackBuild | |
parent | 7359576c971fa7905337f08160effcb8dc254b5e (diff) |
system/monit: Updated for version 5.16.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'system/monit/monit.SlackBuild')
-rw-r--r-- | system/monit/monit.SlackBuild | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/system/monit/monit.SlackBuild b/system/monit/monit.SlackBuild index 5381604f23b08..252e7988210ee 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 |