svn commit: r488753 - head/devel/tcltls/files

Mikhail Teterin mi at FreeBSD.org
Mon Dec 31 01:13:49 UTC 2018


Author: mi
Date: Mon Dec 31 01:13:48 2018
New Revision: 488753
URL: https://svnweb.freebsd.org/changeset/ports/488753

Log:
  Newer OpenSSL versions have a slightly different function-signature
  coming out of "openssl dhparam -C". Be prepared for that -- while
  retaining compatibility with the older versions.
  
  PR:		234361
  Reported by:	Gerald Gutierrez

Modified:
  head/devel/tcltls/files/patch-gen_dh_params

Modified: head/devel/tcltls/files/patch-gen_dh_params
==============================================================================
--- head/devel/tcltls/files/patch-gen_dh_params	Mon Dec 31 00:28:53 2018	(r488752)
+++ head/devel/tcltls/files/patch-gen_dh_params	Mon Dec 31 01:13:48 2018	(r488753)
@@ -11,7 +11,7 @@
 -		echo "${o_output}"
 -
 +	if openssl dhparam -C "$@" | sed	\
-+	    -e 's/^DH \*get_dh[0-9]*/static DH *get_dhParams/'	\
++	    -e 's/^\(static \)*DH \*get_dh[0-9]*/static DH *get_dhParams/'	\
 +	    -e '/^-----BEGIN DH PARAMETERS-----$/,/^-----END DH PARAMETERS-----$/ d;/^#/ d'
 +	then
  		return 0


More information about the svn-ports-all mailing list