diff options
author | Matthias Andree <mandree@FreeBSD.org> | 2025-10-01 12:30:19 +0200 |
---|---|---|
committer | Matthias Andree <mandree@FreeBSD.org> | 2025-10-01 12:53:58 +0200 |
commit | 4002d5875a8b4cbe223567090b1e553f0bdde8aa (patch) | |
tree | c98fe21961be0532c7bb08ad11e875811cc4d9ec | |
parent | java/openjdk23: remove patch that breaks build (diff) |
security/keepassxc276: switch to botan3.
so we move the port off of the deprecated botan2.
Undeprecate.
This requires one #include added. See...
PR: 288581
Approved by: portmgr@ (just-fix-it blanket)
-rw-r--r-- | security/keepassxc276/Makefile | 6 | ||||
-rw-r--r-- | security/keepassxc276/files/patch-src_keys_FileKey.cpp | 11 |
2 files changed, 13 insertions, 4 deletions
diff --git a/security/keepassxc276/Makefile b/security/keepassxc276/Makefile index e5965d9be9de..b3966eb2c5c3 100644 --- a/security/keepassxc276/Makefile +++ b/security/keepassxc276/Makefile @@ -1,5 +1,6 @@ PORTNAME= keepassxc DISTVERSION= 2.7.6 +PORTREVISION= 1 CATEGORIES= security MASTER_SITES= https://github.com/keepassxreboot/keepassxc/releases/download/${DISTVERSION}/ PKGNAMESUFFIX= 276 @@ -18,13 +19,10 @@ LICENSE_NAME_NOKIA-LGPL-EXCEPTION= Nokia Qt LGPL Exception version 1.1 LICENSE_FILE_NOKIA-LGPL-EXCEPTION= ${WRKSRC}/LICENSE.NOKIA-LGPL-EXCEPTION LICENSE_PERMS_NOKIA-LGPL-EXCEPTION= dist-mirror dist-sell pkg-mirror pkg-sell auto-accept -DEPRECATED= Depends on expired security/botan2 -EXPIRATION_DATE=2025-06-21 - BUILD_DEPENDS= asciidoctor:textproc/rubygem-asciidoctor LIB_DEPENDS= libargon2.so:security/libargon2 \ libqrencode.so:graphics/libqrencode \ - libbotan-2.so:security/botan2 + libbotan-3.so:security/botan3 USES= cmake compiler:c++17-lang desktop-file-utils pkgconfig qt:5 \ readline shared-mime-info tar:xz xorg diff --git a/security/keepassxc276/files/patch-src_keys_FileKey.cpp b/security/keepassxc276/files/patch-src_keys_FileKey.cpp new file mode 100644 index 000000000000..3ea8d551efd4 --- /dev/null +++ b/security/keepassxc276/files/patch-src_keys_FileKey.cpp @@ -0,0 +1,11 @@ +--- src/keys/FileKey.cpp.orig 2023-08-15 22:40:34 UTC ++++ src/keys/FileKey.cpp +@@ -22,6 +22,8 @@ + #include "crypto/CryptoHash.h" + #include "crypto/Random.h" + ++#include <botan/mem_ops.h> ++ + #include <QDataStream> + #include <QFile> + #include <QXmlStreamReader> |