git: 011ee688f07d - main - sysutils/libdnf: Update 0.68.0 -> 0.69.0

From: Yuri Victorovich <yuri_at_FreeBSD.org>
Date: Mon, 26 Sep 2022 06:30:32 UTC
The branch main has been updated by yuri:

URL: https://cgit.FreeBSD.org/ports/commit/?id=011ee688f07de771e3b9f18d8bf1ca476b971514

commit 011ee688f07de771e3b9f18d8bf1ca476b971514
Author:     Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2022-09-26 00:41:05 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2022-09-26 06:30:26 +0000

    sysutils/libdnf: Update 0.68.0 -> 0.69.0
    
    Reported by:    portscout
---
 sysutils/libdnf/Makefile                         | 4 +++-
 sysutils/libdnf/distinfo                         | 6 +++---
 sysutils/libdnf/files/patch-tests_CMakeLists.txt | 4 ++--
 3 files changed, 8 insertions(+), 6 deletions(-)

diff --git a/sysutils/libdnf/Makefile b/sysutils/libdnf/Makefile
index e102077db359..507d9b046f49 100644
--- a/sysutils/libdnf/Makefile
+++ b/sysutils/libdnf/Makefile
@@ -1,5 +1,5 @@
 PORTNAME=	libdnf
-DISTVERSION=	0.68.0
+DISTVERSION=	0.69.0
 CATEGORIES=	sysutils
 
 MAINTAINER=	yuri@FreeBSD.org
@@ -32,6 +32,7 @@ LIB_DEPENDS=	libassuan.so:security/libassuan \
 		libunistring.so:devel/libunistring \
 		libyaml.so:textproc/libyaml \
 		libzstd.so:archivers/zstd
+TEST_DEPENDS=	cppunit>0:devel/cppunit
 
 USES=		cmake:testing compiler:c++11-lang gettext gnome lua pkgconfig sqlite ssl
 USE_GNOME=	glib20 libxml2
@@ -41,6 +42,7 @@ USE_GITHUB=	yes
 GH_ACCOUNT=	rpm-software-management
 
 CMAKE_OFF=	BUILD_TESTNG WITH_GTKDOC WITH_HTML WITH_TESTS FREEBSD_INSTALL_DOCS
+CMAKE_TESTING_ON=	BUILD_TESTNG WITH_TESTS # tests throw exceptions, see https://github.com/rpm-software-management/libdnf/issues/1581
 
 BINARY_ALIAS=	git=false
 
diff --git a/sysutils/libdnf/distinfo b/sysutils/libdnf/distinfo
index bc1dc84b1822..371512e25d33 100644
--- a/sysutils/libdnf/distinfo
+++ b/sysutils/libdnf/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1662328484
-SHA256 (rpm-software-management-libdnf-0.68.0_GH0.tar.gz) = a2be939f87be1ef15491fa1d718d9d010a12310330a2eb20bc0ff6bc99501ae8
-SIZE (rpm-software-management-libdnf-0.68.0_GH0.tar.gz) = 1154033
+TIMESTAMP = 1664150094
+SHA256 (rpm-software-management-libdnf-0.69.0_GH0.tar.gz) = a79debe797050d5b99c6e81a8f19cf0d1d74f05749c422479f490db40cd53c45
+SIZE (rpm-software-management-libdnf-0.69.0_GH0.tar.gz) = 1154241
diff --git a/sysutils/libdnf/files/patch-tests_CMakeLists.txt b/sysutils/libdnf/files/patch-tests_CMakeLists.txt
index f62353ebc26e..6c12e3340ffa 100644
--- a/sysutils/libdnf/files/patch-tests_CMakeLists.txt
+++ b/sysutils/libdnf/files/patch-tests_CMakeLists.txt
@@ -4,9 +4,9 @@
  add_subdirectory(libdnf/repo)
  add_subdirectory(libdnf/transaction)
  add_subdirectory(libdnf/sack)
-++if (BUILD_TESTING)
++if (BUILD_TESTING)
  add_subdirectory(hawkey)
-++endif()
++endif()
  add_subdirectory(libdnf)