aboutsummaryrefslogtreecommitdiff
path: root/system/letsencrypt/letsencrypt.SlackBuild
diff options
context:
space:
mode:
authorWilly Sudiarto Raharjo <willysr@slackbuilds.org>2016-05-15 01:49:04 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2016-05-15 01:49:04 +0700
commit26fae42200a257de722ea5ea7c555116be7f74de (patch)
treebebd42ffdbbf10474ca03b495a42f308f91fe3f7 /system/letsencrypt/letsencrypt.SlackBuild
parent5d80b9a9a68edb79f284f81e66a3b72206191715 (diff)
system/letsencrypt: Updated for version 0.6.0.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'system/letsencrypt/letsencrypt.SlackBuild')
-rw-r--r--system/letsencrypt/letsencrypt.SlackBuild12
1 files changed, 8 insertions, 4 deletions
diff --git a/system/letsencrypt/letsencrypt.SlackBuild b/system/letsencrypt/letsencrypt.SlackBuild
index 2e1bfc198fef0..6d62dd7ee6a38 100644
--- a/system/letsencrypt/letsencrypt.SlackBuild
+++ b/system/letsencrypt/letsencrypt.SlackBuild
@@ -23,7 +23,8 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=letsencrypt
-VERSION=${VERSION:-0.5.0}
+SRCNAM=certbot
+VERSION=${VERSION:-0.6.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -59,9 +60,9 @@ set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
-rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM-$VERSION.tar.gz || tar xvf $CWD/v$VERSION.tar.gz
-cd $PRGNAM-$VERSION
+rm -rf $SRCNAM-$VERSION
+tar xvf $CWD/$SRCNAM-$VERSION.tar.gz || tar xvf $CWD/v$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 \
@@ -95,6 +96,9 @@ mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a *.rst *.md *.txt *.in $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+cd $PKG/usr/bin
+ln -s certbot letsencrypt
+
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc