Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 17 May 2018 18:30:55 +0000 (UTC)
From:      Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r470243 - head/security/py-certbot-nginx
Message-ID:  <201805171830.w4HIUtwe088357@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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@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>



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