svn commit: r526452 - head/www/pound
Alexey Dokuchaev
danfe at FreeBSD.org
Tue Feb 18 11:09:59 UTC 2020
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 \
More information about the svn-ports-all
mailing list