Skip to content

Commit

Permalink
security/acme.sh: ensure sed -i works in examples/acme.sh/dnsapi/dns_…
Browse files Browse the repository at this point in the history
…nsd.sh

PR:		256664
Reported by:	Freddy DISSAUX <dsx@bsdsx.fr>
  • Loading branch information
dlangille committed Jun 18, 2021
1 parent d3e6f5b commit f5536c9
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions security/acme.sh/Makefile
@@ -1,5 +1,6 @@
PORTNAME= acme.sh
PORTVERSION= 2.9.0
PORTREVISION= 1
CATEGORIES= security

MAINTAINER= dvl@FreeBSD.org
Expand Down Expand Up @@ -40,6 +41,9 @@ post-patch-IDN-on:
${REINPLACE_CMD} -e 's|^ *idn | idn2 |'\
-e 's|_exists idn|_exists idn2|' ${WRKSRC}/acme.sh

post-patch-EXAMPLES-on:
${REINPLACE_CMD} -e 's|sed -i "|sed -i bak "|' ${WRKSRC}/dnsapi/dns_nsd.sh

do-install:
${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/sbin/${PORTNAME}
${MKDIR} ${STAGEDIR}/var/db/acme/.acme.sh ${STAGEDIR}/var/db/acme/certs
Expand Down

0 comments on commit f5536c9

Please sign in to comment.