Skip to content

Commit

Permalink
MFH: r412687 r415739
Browse files Browse the repository at this point in the history
- Update to version 0.2.0 to unbreak

PR:		209836
Reported by:	Fabian Keil <fk@fabiankeil.de>
Approved by:	Sascha Holzleiter <sascha@root-login.org> (maintainer)
Approved by:	ports-secteam (delphij, junovitch)
  • Loading branch information
opsec committed May 31, 2016
1 parent 83bbd19 commit 33b1fa9
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 11 deletions.
23 changes: 14 additions & 9 deletions security/letsencrypt.sh/Makefile
@@ -1,7 +1,8 @@
# $FreeBSD$

PORTNAME= letsencrypt.sh
PORTVERSION= 0.0.0.20160229
PORTVERSION= 0.2.0
DISTVERSIONPREFIX= v
CATEGORIES= security

MAINTAINER= sascha@root-login.org
Expand All @@ -14,7 +15,6 @@ RUN_DEPENDS= curl:ftp/curl

USE_GITHUB= yes
GH_ACCOUNT= lukas2511
GH_TAGNAME= 2099c77

OPTIONS_SINGLE= SHELL
OPTIONS_SINGLE_SHELL= BASH ZSH
Expand Down Expand Up @@ -43,25 +43,30 @@ PORTDOCS_PLIST_FILES= %%PORTDOCS%%%%DOCSDIR%%/README.md

SUB_FILES= 000.letsencrypt.sh pkg-message
SUB_LIST= PORTNAME=${PORTNAME}
PORTDOCS= README.md
PORTDOCS= README.md dns-verification.md domains_txt.md ecc.md hook_chain.md \
import-from-official-client.md staging.md troubleshooting.md wellknown.md

SHEBANG_FILES= config.sh.example hook.sh.example letsencrypt.sh
SHEBANG_FILES= docs/examples/config.sh.example docs/examples/hook.sh.example letsencrypt.sh

post-patch-ZSH-on:
. for p in config.sh.example hook.sh.example letsencrypt.sh
${REINPLACE_CMD} '1 s/bash/zsh/' ${WRKSRC}/${p}
. for p in docs/examples/config.sh.example docs/examples/hook.sh.example letsencrypt.sh
${REINPLACE_CMD} '1 s/bash/zsh/' ${WRKSRC}/${p}
. endfor

do-install:
@${MKDIR} ${STAGEDIR}${ETCDIR}/.acme-challenges ${STAGEDIR}${PREFIX}/${PERIODIC_DIRS}
${INSTALL_DATA} ${WRKSRC}/config.sh.example ${STAGEDIR}${ETCDIR}/config.sh.example
${INSTALL_DATA} ${WRKSRC}/hook.sh.example ${STAGEDIR}${ETCDIR}/hook.sh.example
${INSTALL_DATA} ${WRKSRC}/domains.txt.example ${STAGEDIR}${ETCDIR}/domains.txt.example
${INSTALL_DATA} ${WRKSRC}/docs/examples/config.sh.example ${STAGEDIR}${ETCDIR}/config.sh.example
${INSTALL_DATA} ${WRKSRC}/docs/examples/hook.sh.example ${STAGEDIR}${ETCDIR}/hook.sh.example
${INSTALL_DATA} ${WRKSRC}/docs/examples/domains.txt.example ${STAGEDIR}${ETCDIR}/domains.txt.example
${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin/${PORTNAME}
${INSTALL_SCRIPT} ${WRKDIR}/${PERIODIC_FILES} ${STAGEDIR}${PREFIX}/${PERIODIC_DIRS}/${PERIODIC_FILES}

post-install:
${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_MAN} ${WRKSRC}/README.md ${STAGEDIR}${DOCSDIR}
. for d in dns-verification domains_txt ecc hook_chain import-from-official-client \
staging troubleshooting wellknown
${INSTALL_MAN} ${WRKSRC}/docs/${d}.md ${STAGEDIR}${DOCSDIR}
. endfor

.include <bsd.port.mk>
5 changes: 3 additions & 2 deletions security/letsencrypt.sh/distinfo
@@ -1,2 +1,3 @@
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
TIMESTAMP = 1463941305
SHA256 (lukas2511-letsencrypt.sh-v0.2.0_GH0.tar.gz) = d6e25bbbfa14b87dea4999ecddfd441bbcdc1fd8b3160fa4c4a8ed412ee664e1
SIZE (lukas2511-letsencrypt.sh-v0.2.0_GH0.tar.gz) = 19314

0 comments on commit 33b1fa9

Please sign in to comment.