git: 115fa564c8ce - 2022Q2 - devel/subversion: Update to latest version 1.14.2, fix two CVEs

From: Lev A. Serebryakov <lev_at_FreeBSD.org>
Date: Fri, 22 Apr 2022 09:46:10 UTC
The branch 2022Q2 has been updated by lev:

URL: https://cgit.FreeBSD.org/ports/commit/?id=115fa564c8ce85904377fefac911340f5ba66e80

commit 115fa564c8ce85904377fefac911340f5ba66e80
Author:     Lev A. Serebryakov <lev@FreeBSD.org>
AuthorDate: 2022-04-13 14:06:45 +0000
Commit:     Lev A. Serebryakov <lev@FreeBSD.org>
CommitDate: 2022-04-22 09:46:04 +0000

    devel/subversion: Update to latest version 1.14.2, fix two CVEs
    
      Update subversion to 1.14.2. This fix two CVEs.
    
      Also, allows build with database/db18.
    
    PR:             262672
    Security:       CVE-2021-28544
    Security:       CVE-2022-24070
    (cherry picked from commit b3eb02cd1ee47155c83cc87a2eab5132beedac3b)
---
 devel/subversion/Makefile        | 4 ++--
 devel/subversion/Makefile.common | 2 +-
 devel/subversion/distinfo        | 6 +++---
 3 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/devel/subversion/Makefile b/devel/subversion/Makefile
index 8589bc367982..bfcf3b3dcd98 100644
--- a/devel/subversion/Makefile
+++ b/devel/subversion/Makefile
@@ -114,9 +114,9 @@ pre-everything::
 pre-configure:
 .if ${PORT_OPTIONS:MBDB}
 	@BDB_VERSION=`${APR_APU_DIR}/${APU_CONFIG} --db-version`; \
-	if [ "$${BDB_VERSION}" != "4" -a "$${BDB_VERSION}" != "5" -a "$${BDB_VERSION}" != "6" ] ; then \
+	if [ "$${BDB_VERSION}" != "4" -a "$${BDB_VERSION}" != "5" -a "$${BDB_VERSION}" != "6"  -a "$${BDB_VERSION}" != "18" ] ; then \
 		${ECHO_MSG} "" ; \
-		${ECHO_MSG} 'You should build `'"devel/apr1' with Berkeley DB (4, 5 or 6) support to use subversion with it." ; \
+		${ECHO_MSG} 'You should build `'"devel/apr1' with Berkeley DB (4, 5, 6 or 18) support to use subversion with it." ; \
 		${ECHO_MSG} 'Please rebuild `'"devel/apr1' with option "'`'"BDB' and try again." ; \
 		${ECHO_MSG} "" ; \
 		${ECHO_MSG} "Or you can disable Berkeley DB support. Only 'fs' repository backend will be available." ; \
diff --git a/devel/subversion/Makefile.common b/devel/subversion/Makefile.common
index a0a6e6bf4760..a38333f0533d 100644
--- a/devel/subversion/Makefile.common
+++ b/devel/subversion/Makefile.common
@@ -1,7 +1,7 @@
 # Created by: rooneg@electricjellyfish.net
 
 PORTNAME?=	subversion
-PORTVERSION=	1.14.1
+PORTVERSION=	1.14.2
 PORTREVISION?=	0
 CATEGORIES+=	devel
 MASTER_SITES=	APACHE/subversion
diff --git a/devel/subversion/distinfo b/devel/subversion/distinfo
index 74eee5896d0f..128d62aad5a1 100644
--- a/devel/subversion/distinfo
+++ b/devel/subversion/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1612972241
-SHA256 (subversion-1.14.1.tar.bz2) = 2c5da93c255d2e5569fa91d92457fdb65396b0666fad4fd59b22e154d986e1a9
-SIZE (subversion-1.14.1.tar.bz2) = 8504612
+TIMESTAMP = 1649858194
+SHA256 (subversion-1.14.2.tar.bz2) = c9130e8d0b75728a66f0e7038fc77052e671830d785b5616aad53b4810d3cc28
+SIZE (subversion-1.14.2.tar.bz2) = 8606570