Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 18 Feb 2020 11:09:59 +0000 (UTC)
From:      Alexey Dokuchaev <danfe@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r526452 - head/www/pound
Message-ID:  <202002181109.01IB9xWX004672@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: danfe
Date: Tue Feb 18 11:09:59 2020
New Revision: 526452
URL: https://svnweb.freebsd.org/changeset/ports/526452

Log:
  Allow to cut the package build times by generating DH parameters without
  using "safe" primes.
  
  PR:		243724
  Submitted by:	Eirik Oeverby
  Approved by:	maintainer

Modified:
  head/www/pound/Makefile

Modified: head/www/pound/Makefile
==============================================================================
--- head/www/pound/Makefile	Tue Feb 18 10:58:38 2020	(r526451)
+++ head/www/pound/Makefile	Tue Feb 18 11:09:59 2020	(r526452)
@@ -37,12 +37,17 @@ PLIST_FILES=	@sample\ etc/pound.cfg.sample \
 		man/man8/poundctl.8.gz
 PORTDOCS=	README FAQ CHANGELOG
 
-OPTIONS_DEFINE=	DOCS PCRE
+OPTIONS_DEFINE=	DOCS DSAPARAM PCRE
 OPTIONS_DEFAULT=PCRE
+DSAPARAM_DESC=	Generate DH parameters without using "safe" primes
 
 PCRE_LIB_DEPENDS=	libpcre.so:devel/pcre
 PCRE_USES=	localbase
 PCRE_CONFIGURE_ENABLE=	pcreposix
+
+post-patch-DSAPARAM-on:
+	@${REINPLACE_CMD} -e '/openssl dhparam/s,-5,-dsaparam,' \
+		${WRKSRC}/Makefile.in
 
 post-install:
 	${INSTALL_DATA} ${WRKDIR}/${PORTNAME}.cfg \



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