mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-02 01:20:54 +00:00
- Update to 0.0.0.20160229
Changes: https://github.com/lukas2511/letsencrypt.sh/commits/master PR: 207617 Submitted by: Sascha Holzleiter <sascha@root-login.org> (maintainer)
This commit is contained in:
parent
7136e45ff5
commit
cee6f1ebc1
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=410311
@ -1,8 +1,7 @@
|
||||
# $FreeBSD$
|
||||
|
||||
PORTNAME= letsencrypt.sh
|
||||
PORTVERSION= 0.0.0.20160217
|
||||
PORTREVISION= 1
|
||||
PORTVERSION= 0.0.0.20160229
|
||||
CATEGORIES= security
|
||||
|
||||
MAINTAINER= sascha@root-login.org
|
||||
@ -15,7 +14,7 @@ RUN_DEPENDS= curl:${PORTSDIR}/ftp/curl
|
||||
|
||||
USE_GITHUB= yes
|
||||
GH_ACCOUNT= lukas2511
|
||||
GH_TAGNAME= 669185a
|
||||
GH_TAGNAME= 2099c77
|
||||
|
||||
OPTIONS_SINGLE= SHELL
|
||||
OPTIONS_SINGLE_SHELL= BASH ZSH
|
||||
|
@ -1,2 +1,2 @@
|
||||
SHA256 (lukas2511-letsencrypt.sh-0.0.0.20160217-669185a_GH0.tar.gz) = 4c9e216f1ecb72be3ae4061d44e3507ff34370b1e788c03d66ca909b50c7f611
|
||||
SIZE (lukas2511-letsencrypt.sh-0.0.0.20160217-669185a_GH0.tar.gz) = 16211
|
||||
SHA256 (lukas2511-letsencrypt.sh-0.0.0.20160229-2099c77_GH0.tar.gz) = 37149924420a750033bcb5ae6c7bcf5652f1e0b233015f506a72f21355ebb85a
|
||||
SIZE (lukas2511-letsencrypt.sh-0.0.0.20160229-2099c77_GH0.tar.gz) = 16266
|
||||
|
@ -1,7 +1,5 @@
|
||||
#!/bin/sh
|
||||
|
||||
# If there is a global system configuration file, suck it in.
|
||||
#
|
||||
if [ -r /etc/defaults/periodic.conf ]
|
||||
then
|
||||
. /etc/defaults/periodic.conf
|
||||
@ -13,18 +11,25 @@ export PATH
|
||||
|
||||
case "$weekly_letsencrypt_enable" in
|
||||
[Yy][Ee][Ss])
|
||||
echo
|
||||
echo "Checking Let's Encrypt certificate status:"
|
||||
|
||||
if [ -z "$weekly_letsencrypt_user" ]
|
||||
then
|
||||
%%PREFIX%%/bin/letsencrypt.sh -c
|
||||
else
|
||||
su -m "$weekly_letsencrypt_user" -c '%%PREFIX%%/bin/letsencrypt.sh -c'
|
||||
fi
|
||||
|
||||
echo "Deploying Let's Encrypt certificates:"
|
||||
|
||||
if [ -x "$weekly_letsencrypt_deployscript" ]
|
||||
then
|
||||
$weekly_letsencrypt_deployscript
|
||||
else
|
||||
echo 'Skipped, deploy script not set.'
|
||||
fi
|
||||
;;
|
||||
*)
|
||||
;;
|
||||
esac
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user