Re: git: d4b5a705df8a - main - security/keepassxc*: backport upstream patch to unbreak build with Botan3-10 (+)

From: Vladimir Druzenko <vvd_at_freebsd.org>
Date: Mon, 24 Nov 2025 12:10:00 UTC
Hi!

Check also: https://bugs.freebsd.org/291185 "security/keepassxc: update 
2.7.11".
> Update to 2.7.11, also fix compiling error:
> … <cut> …
> /wrkdirs/usr/ports/security/keepassxc/work/keepassxc-2.7.10/src/keeshare/KeeShareSettings.cpp:366:29: 
> error: cannot cast 'Botan::Private_Key *' to 'Botan::RSA_PrivateKey *' 
> via virtual base 'Botan::Private_Key'
>   366 |         const auto rsaKey = 
> static_cast<Botan::RSA_PrivateKey*>(sign.certificate.key.data());
>       |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> 1 error generated.


24.11.2025 12:53, Dima Panov пишет:
> The branch main has been updated by fluffy:
>
> URL: https://cgit.FreeBSD.org/ports/commit/?id=d4b5a705df8a3c6e9fb90a718c4c078c305352d6
>
> commit d4b5a705df8a3c6e9fb90a718c4c078c305352d6
> Author:     Dima Panov <fluffy@FreeBSD.org>
> AuthorDate: 2025-11-24 09:45:18 +0000
> Commit:     Dima Panov <fluffy@FreeBSD.org>
> CommitDate: 2025-11-24 09:52:54 +0000
>
>      security/keepassxc*: backport upstream patch to unbreak build with Botan3-10 (+)
>      
>      Sorry for breakage, this part was missed after Botan3 update in 02bcdd27eadc64c33d1e82aef8c38e7f60ee905f
> ---
>   security/keepassxc/Makefile    | 3 +++
>   security/keepassxc/distinfo    | 4 +++-
>   security/keepassxc276/Makefile | 3 +++
>   security/keepassxc276/distinfo | 4 +++-
>   4 files changed, 12 insertions(+), 2 deletions(-)
>
> diff --git a/security/keepassxc/Makefile b/security/keepassxc/Makefile
> index 82c3d5c8ea22..1ff3df488c5b 100644
> --- a/security/keepassxc/Makefile
> +++ b/security/keepassxc/Makefile
> @@ -5,6 +5,9 @@ CATEGORIES=	security
>   MASTER_SITES=	https://github.com/keepassxreboot/keepassxc/releases/download/${DISTVERSION}/
>   DISTNAME=	${PORTNAME}-${DISTVERSION}-src
>   
> +PATCH_SITES+=	https://github.com/keepassxreboot/keepassxc/commit/
> +PATCHFILES+=	fedcbf60c5c0dc7c3602c49a984d53a45c154c73.diff:-p1
> +
>   MAINTAINER=	lwhsu@FreeBSD.org
>   COMMENT=	KeePass Cross-platform Community Edition
>   WWW=		https://keepassxc.org
> diff --git a/security/keepassxc/distinfo b/security/keepassxc/distinfo
> index 6a354c652cb2..efa00d628058 100644
> --- a/security/keepassxc/distinfo
> +++ b/security/keepassxc/distinfo
> @@ -1,3 +1,5 @@
> -TIMESTAMP = 1751644926
> +TIMESTAMP = 1763977048
>   SHA256 (keepassxc-2.7.10-src.tar.xz) = 5ce76d6440986c24842585f019d5f3cadc166fa71fc911a4fe97b8bbc4819dfa
>   SIZE (keepassxc-2.7.10-src.tar.xz) = 9787952
> +SHA256 (fedcbf60c5c0dc7c3602c49a984d53a45c154c73.diff) = d67481fdc34b9d2e78ba40e1adfabf6ed91bcdfe62abc64ea9509e08e60cbc5e
> +SIZE (fedcbf60c5c0dc7c3602c49a984d53a45c154c73.diff) = 816
> diff --git a/security/keepassxc276/Makefile b/security/keepassxc276/Makefile
> index 5743873acecb..5b1cc0d7ca3c 100644
> --- a/security/keepassxc276/Makefile
> +++ b/security/keepassxc276/Makefile
> @@ -6,6 +6,9 @@ MASTER_SITES=	https://github.com/keepassxreboot/keepassxc/releases/download/${DI
>   PKGNAMESUFFIX=	276
>   DISTNAME=	${PORTNAME}-${DISTVERSION}-src
>   
> +PATCH_SITES+=	https://github.com/keepassxreboot/keepassxc/commit/
> +PATCHFILES+=	fedcbf60c5c0dc7c3602c49a984d53a45c154c73.diff:-p1
> +
>   MAINTAINER=	lwhsu@FreeBSD.org
>   COMMENT=	KeePass Cross-platform Community Edition
>   WWW=		https://keepassxc.org
> diff --git a/security/keepassxc276/distinfo b/security/keepassxc276/distinfo
> index 25f70dd938b3..ffd7661c88ef 100644
> --- a/security/keepassxc276/distinfo
> +++ b/security/keepassxc276/distinfo
> @@ -1,3 +1,5 @@
> -TIMESTAMP = 1692163985
> +TIMESTAMP = 1763977413
>   SHA256 (keepassxc-2.7.6-src.tar.xz) = a58074509fa8e90f152c6247f73e75e126303081f55eedb4ea0cbb6fa980d670
>   SIZE (keepassxc-2.7.6-src.tar.xz) = 8474624
> +SHA256 (fedcbf60c5c0dc7c3602c49a984d53a45c154c73.diff) = d67481fdc34b9d2e78ba40e1adfabf6ed91bcdfe62abc64ea9509e08e60cbc5e
> +SIZE (fedcbf60c5c0dc7c3602c49a984d53a45c154c73.diff) = 816
>

-- 
Best regards,
Vladimir Druzenko