git: f5536c9ffda1 - main - security/acme.sh: ensure sed -i works in examples/acme.sh/dnsapi/dns_nsd.sh

Dan Langille dvl at FreeBSD.org
Fri Jun 18 18:32:26 UTC 2021


The branch main has been updated by dvl:

URL: https://cgit.FreeBSD.org/ports/commit/?id=f5536c9ffda14d1e472154afef38a721f19f3263

commit f5536c9ffda14d1e472154afef38a721f19f3263
Author:     Dan Langille <dvl at FreeBSD.org>
AuthorDate: 2021-06-18 18:31:06 +0000
Commit:     Dan Langille <dvl at FreeBSD.org>
CommitDate: 2021-06-18 18:32:22 +0000

    security/acme.sh: ensure sed -i works in examples/acme.sh/dnsapi/dns_nsd.sh
    
    PR:             256664
    Reported by:    Freddy DISSAUX <dsx at bsdsx.fr>
---
 security/acme.sh/Makefile | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/security/acme.sh/Makefile b/security/acme.sh/Makefile
index 7f228c117621..88fcfce6f068 100644
--- a/security/acme.sh/Makefile
+++ b/security/acme.sh/Makefile
@@ -1,5 +1,6 @@
 PORTNAME=	acme.sh
 PORTVERSION=	2.9.0
+PORTREVISION=	1
 CATEGORIES=	security
 
 MAINTAINER=	dvl at FreeBSD.org
@@ -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


More information about the dev-commits-ports-main mailing list