From ec7c118a195cb13cb9898f378db693f1fe99158a Mon Sep 17 00:00:00 2001 From: Johannes Schoepfer Date: Sun, 18 Mar 2018 21:57:28 +0700 Subject: system/dehydrated: Updated for version 0.6.1. Signed-off-by: Willy Sudiarto Raharjo --- system/dehydrated/dehydrated.SlackBuild | 26 ++++++++++---------------- 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 25abc16150..99092ac8c8 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 6fa063de5b..640c118121 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="" -- cgit v1.2.3