diff options
author | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2015-11-02 20:46:29 +0700 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2015-11-02 20:46:29 +0700 |
commit | 6d1198d66bef3ef75b593d4faae400ffce55a1a2 (patch) | |
tree | ed791cee3678e07641947c07b9ca2be2925b4854 /system | |
parent | a680462acd4ed2178a3ca5579dd1469816e0aa32 (diff) |
system/swatch: Updated for version 3.2.4.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'system')
-rw-r--r-- | system/swatch/README | 2 | ||||
-rw-r--r-- | system/swatch/slack-desc | 8 | ||||
-rw-r--r-- | system/swatch/swatch.SlackBuild | 29 | ||||
-rw-r--r-- | system/swatch/swatch.info | 6 |
4 files changed, 25 insertions, 20 deletions
diff --git a/system/swatch/README b/system/swatch/README index 7c309c2ff3a61..14bfb82832fb4 100644 --- a/system/swatch/README +++ b/system/swatch/README @@ -1,3 +1,3 @@ -Swatch.pl started out as the "simple watchdog" for activly monitoring +Swatchdog.pl started out as the "simple watchdog" for activly monitoring log files produced by UNIX's syslog facility. It has since been evolving into a utility that can monitor just about any type of log. diff --git a/system/swatch/slack-desc b/system/swatch/slack-desc index 6bfb1461f92e7..95e0e879f9406 100644 --- a/system/swatch/slack-desc +++ b/system/swatch/slack-desc @@ -8,12 +8,12 @@ |-----handy-ruler------------------------------------------------------| swatch: swatch (Simple Log Watcher) swatch: -swatch: Swatch.pl started out as the "simple watchdog" for activly monitoring -swatch: log files produced by UNIX's syslog facility. It has since been -swatch: evolving into a utility that can monitor just about any type of log. +swatch: Swatchdog.pl started out as the "simple watchdog" for activly +swatch: monitoring log files produced by UNIX's syslog facility. It has since +swatch: been evolving into a utility that can monitor just about any type of +swatch: log swatch: swatch: Project Website: http://sourceforge.net/projects/swatch/ swatch: swatch: swatch: -swatch: diff --git a/system/swatch/swatch.SlackBuild b/system/swatch/swatch.SlackBuild index bd6cacea13349..d8831e782c78c 100644 --- a/system/swatch/swatch.SlackBuild +++ b/system/swatch/swatch.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for swatch -# Copyright 2012 Willy Sudiarto Raharjo <willysr@slackware-id.org> +# Copyright 2012-2015 Willy Sudiarto Raharjo <willysr@slackbuilds.org> # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -23,7 +23,8 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=swatch -VERSION=${VERSION:-3.2.3} +SRCNAM=swatchdog +VERSION=${VERSION:-3.2.4} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -59,22 +60,22 @@ set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP -rm -rf $PRGNAM-$VERSION -tar xvf $CWD/$PRGNAM-$VERSION.tar.gz -cd $PRGNAM-$VERSION +rm -rf $SRCNAM-$VERSION +tar xvf $CWD/$SRCNAM-$VERSION.tar.gz +cd $SRCNAM-$VERSION chown -R root:root . find -L . \ - \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 -o -perm 511 \) \ - -exec chmod 755 {} \; -o \ + \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ + -o -perm 511 \) -exec chmod 755 {} \; -o \ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ - -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; + -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; perl Makefile.PL \ PREFIX=/usr \ INSTALLDIRS=vendor \ + INSTALLVENDORMAN1DIR=/usr/man/man1 \ INSTALLVENDORMAN3DIR=/usr/man/man3 make -make test make install DESTDIR=$PKG find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \ @@ -87,10 +88,14 @@ find $PKG -name perllocal.pod -o -name ".packlist" -o -name "*.bs" | xargs rm -f find $PKG -depth -type d -empty -delete || true +# create symlink so that applications depending on this package will not be broken +( + cd $PKG/usr/bin + ln -s $SRCNAM $PRGNAM +) + mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cp -a \ - CHANGES COPYING COPYRIGHT INSTALL KNOWN_BUGS MANIFEST README \ - $PKG/usr/doc/$PRGNAM-$VERSION +cp -a CHANGES COPYING COPYRIGHT INSTALL KNOWN_BUGS MANIFEST README $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild mkdir -p $PKG/install diff --git a/system/swatch/swatch.info b/system/swatch/swatch.info index 0e34e6fa01a3b..6826afc02b0cb 100644 --- a/system/swatch/swatch.info +++ b/system/swatch/swatch.info @@ -1,8 +1,8 @@ PRGNAM="swatch" -VERSION="3.2.3" +VERSION="3.2.4" HOMEPAGE="http://sourceforge.net/projects/swatch/" -DOWNLOAD="http://downloads.sourceforge.net/swatch/swatch-3.2.3.tar.gz" -MD5SUM="1162f1024cf07fc750ed4960d61ac4e8" +DOWNLOAD="http://downloads.sourceforge.net/swatch/swatchdog-3.2.4.tar.gz" +MD5SUM="df4c20ff7d3f6a46a2efd72a42078011" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="perl-Date-Calc perl-Date-Manip perl-File-Tail perl-TimeDate" |