diff options
author | Johannes Schoepfer <slackbuilds[AT]schoepfer[DOT]info> | 2018-03-18 21:57:28 +0700 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2018-03-24 06:50:30 +0700 |
commit | ec7c118a195cb13cb9898f378db693f1fe99158a (patch) | |
tree | 13adb3db416e945050e9c25aab1beb0989f1a581 /system/dehydrated | |
parent | 5e6c36416a947c23cd74a6afaed82e292b3c56b5 (diff) |
system/dehydrated: Updated for version 0.6.1.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'system/dehydrated')
-rw-r--r-- | system/dehydrated/dehydrated.SlackBuild | 26 | ||||
-rw-r--r-- | system/dehydrated/dehydrated.info | 6 |
2 files changed, 13 insertions, 19 deletions
diff --git a/system/dehydrated/dehydrated.SlackBuild b/system/dehydrated/dehydrated.SlackBuild index 25abc1615018e..99092ac8c8581 100644 --- a/system/dehydrated/dehydrated.SlackBuild +++ b/system/dehydrated/dehydrated.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for dehydrated -# Copyright 2016 - 2017 Johannes Schoepfer +# Copyright 2016 - 2018 Johannes Schoepfer, Germany # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -23,7 +23,7 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=dehydrated -VERSION=${VERSION:-0.4.0} +VERSION=${VERSION:-0.6.1} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} ARCH=noarch @@ -53,27 +53,21 @@ install -m 755 $PRGNAM $PKG/usr/bin/$PRGNAM mkdir -p $PKG/etc/$PRGNAM cp docs/examples/config $PKG/etc/$PRGNAM/config.new +mkdir -p $PKG/usr/man/man1 +mv docs/man/dehydrated.1 $PKG/usr/man/man1 + +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 + # cron mkdir -p $PKG/etc/cron.d/ echo '0 0 * * * /usr/bin/dehydrated -c 1>/dev/null' > $PKG/etc/cron.d/$PRGNAM.new -# logrotate -mkdir $PKG/etc/logrotate.d -cat << EOF > $PKG/etc/logrotate.d/$PRGNAM.new -/var/log/$PRGNAM { - rotate 12 - notifempty - missingok - monthly - compress -} -EOF - -# Docs +# docs mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION rm docs/logo.jpg mv docs/* $PKG/usr/doc/$PRGNAM-$VERSION/ -mv CHANGELOG LICENSE README.md test.sh $PKG/usr/doc/$PRGNAM-$VERSION/ +mv CHANGELOG LICENSE README.md $PKG/usr/doc/$PRGNAM-$VERSION/ cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild mkdir -p $PKG/install diff --git a/system/dehydrated/dehydrated.info b/system/dehydrated/dehydrated.info index 6fa063de5b02c..640c118121ebf 100644 --- a/system/dehydrated/dehydrated.info +++ b/system/dehydrated/dehydrated.info @@ -1,8 +1,8 @@ PRGNAM="dehydrated" -VERSION="0.4.0" +VERSION="0.6.1" HOMEPAGE="https://github.com/lukas2511/dehydrated" -DOWNLOAD="https://github.com/lukas2511/dehydrated/archive/v0.4.0/dehydrated-0.4.0.tar.gz" -MD5SUM="8114ba0144a158d5ad1bdf02e6f43195" +DOWNLOAD="https://github.com/lukas2511/dehydrated/archive/v0.6.1/dehydrated-0.6.1.tar.gz" +MD5SUM="97425cf8aaa1a9a1a86036a1b7611a8c" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" |