Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 18 Jun 2021 18:32:25 GMT
From:      Dan Langille <dvl@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: f5536c9ffda1 - main - security/acme.sh: ensure sed -i works in examples/acme.sh/dnsapi/dns_nsd.sh
Message-ID:  <202106181832.15IIWP3K016219@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by dvl:

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

commit f5536c9ffda14d1e472154afef38a721f19f3263
Author:     Dan Langille <dvl@FreeBSD.org>
AuthorDate: 2021-06-18 18:31:06 +0000
Commit:     Dan Langille <dvl@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@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@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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202106181832.15IIWP3K016219>