Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 27 Jul 2019 15:28:19 +0000 (UTC)
From:      Dan Langille <dvl@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r507462 - head/security/acme.sh
Message-ID:  <201907271528.x6RFSJvG007069@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: dvl
Date: Sat Jul 27 15:28:18 2019
New Revision: 507462
URL: https://svnweb.freebsd.org/changeset/ports/507462

Log:
  Add IDN support
  
  PR:		238237
  Submitted by:	takefu@airport.fm

Modified:
  head/security/acme.sh/Makefile

Modified: head/security/acme.sh/Makefile
==============================================================================
--- head/security/acme.sh/Makefile	Sat Jul 27 15:03:03 2019	(r507461)
+++ head/security/acme.sh/Makefile	Sat Jul 27 15:28:18 2019	(r507462)
@@ -2,6 +2,7 @@
 
 PORTNAME=	acme.sh
 PORTVERSION=	2.8.1
+PORTREVISION=	1
 CATEGORIES=	security
 
 MAINTAINER=	dvl@FreeBSD.org
@@ -15,12 +16,13 @@ GH_ACCOUNT=	Neilpang
 USERS=	acme
 GROUPS=	acme
 
-OPTIONS_DEFINE=	DOCS BINDTOOLS STANDALONE
+OPTIONS_DEFINE=	DOCS BINDTOOLS IDN STANDALONE
 OPTIONS_SINGLE=	HTTP
 OPTIONS_SINGLE_HTTP=	CURL WGET
 OPTIONS_DEFAULT=	CURL STANDALONE
 BINDTOOLS_DESC=	Depend on bind-tools for nsupdate
 BINDTOOLS_RUN_DEPENDS=	${LOCALBASE}/bin/nsupdate:dns/bind-tools
+IDN_RUN_DEPENDS=	${LOCALBASE}/bin/idn2:dns/idnkit2
 STANDALONE_DESC=	Standalone mode requires SOCAT
 STANDALONE_RUN_DEPENDS=	socat>0:net/socat
 
@@ -36,6 +38,10 @@ WGET_RUN_DEPENDS=	wget:ftp/wget
 PORTDOCS=	README.md
 
 SUB_FILES=	pkg-message
+
+post-patch-IDN-on:
+	${REINPLACE_CMD} -e 's|^ *idn |      idn2 |'\
+		-e 's|_exists idn|_exists idn2|' ${WRKSRC}/acme.sh
 
 do-install:
 	${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/sbin/${PORTNAME}



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