svn commit: r470243 - head/security/py-certbot-nginx

Sunpoet Po-Chuan Hsieh sunpoet at FreeBSD.org
Thu May 17 18:30:56 UTC 2018


Author: sunpoet
Date: Thu May 17 18:30:55 2018
New Revision: 470243
URL: https://svnweb.freebsd.org/changeset/ports/470243

Log:
  Fix nginx server root path
  
  - Bump PORTREVISION for package change
  
  PR:		228294
  Reported by:	Dhananjay Balan <mail at dbalan.in>

Modified:
  head/security/py-certbot-nginx/Makefile

Modified: head/security/py-certbot-nginx/Makefile
==============================================================================
--- head/security/py-certbot-nginx/Makefile	Thu May 17 18:30:50 2018	(r470242)
+++ head/security/py-certbot-nginx/Makefile	Thu May 17 18:30:55 2018	(r470243)
@@ -2,7 +2,7 @@
 
 PORTNAME=	certbot-nginx
 PORTVERSION=	${ACME_VERSION}
-PORTREVISION=	0
+PORTREVISION=	1
 CATEGORIES=	security python
 MASTER_SITES=	CHEESESHOP
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -29,6 +29,9 @@ OPTIONS_DEFINE=	DOCS
 
 DOCS_BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}sphinx>0:textproc/py-sphinx@${FLAVOR} \
 			${PYTHON_PKGNAMEPREFIX}sphinx_rtd_theme>0:textproc/py-sphinx_rtd_theme@${FLAVOR}
+
+post-patch:
+	@${REINPLACE_CMD} -e '/server_root=/ s|/etc/nginx|${LOCALBASE}&|' ${WRKSRC}/certbot_nginx/constants.py
 
 .include "${.CURDIR}/../py-acme/version.mk"
 .include <bsd.port.mk>


More information about the svn-ports-head mailing list