Installing botan3 suppress keepassxc

Last pkg upgrade give some message about security/botan2 being deprecated and ask user to update to version 3. When doing that it attempt to suppress the package security/keepassxc. The current version of that package is 2.7.6.


Code:
Message from botan2-2.19.5_2:

--
===>   NOTICE:

This port is deprecated; you may wish to reconsider installing it:

End of life 2024-12-31 upstream, consider migrating to security/botan3.

It is scheduled to be removed on or after 2025-01-31.

Code:
doas pkg install botan3-3.6.1
Password:
Updating FreeBSD repository catalogue...
Fetching data.pkg: 100%    7 MiB   7.5MB/s    00:01  
Processing entries: 100%
FreeBSD repository update completed. 35917 packages processed.
All repositories are up to date.
The following 1 package(s) will be affected (of 0 checked):

New packages to be INSTALLED:
        botan3: 3.6.1

Number of packages to be installed: 1

The process will require 54 MiB more space.
8 MiB to be downloaded.

Proceed with this action? [y/N]: y
[1/1] Fetching botan3-3.6.1.pkg: 100%    8 MiB   8.1MB/s    00:01  
Checking integrity... done (2 conflicting)
  - botan3-3.6.1 conflicts with botan2-2.19.5_2 on /usr/local/share/man/man1/botan.1.gz
  - botan3-3.6.1 conflicts with botan2-2.19.5_2 on /usr/local/share/man/man1/botan.1.gz
Checking integrity... done (0 conflicting)
Conflicts with the existing packages have been found.
One more solver iteration is needed to resolve them.
The following 4 package(s) will be affected (of 0 checked):

Installed packages to be REMOVED:
        botan2: 2.19.5_2
        keepassxc: 2.7.6

New packages to be INSTALLED:
        botan3: 3.6.1

Installed packages to be REINSTALLED:
        pkg-1.21.3

Number of packages to be removed: 2
Number of packages to be installed: 1
Number of packages to be reinstalled: 1

The operation will free 17 MiB.

Proceed with this action? [y/N]: n
 
keepassxc depends on botan2. If you want to keep keepassxc, don't go with botan3. Wait until it can use botan3.

(Excerpt of Makefile of keepassxc 2.7.6)
Code:
LIB_DEPENDS=    libargon2.so:security/libargon2 \
        libqrencode.so:graphics/libqrencode \
        libbotan-2.so:security/botan2
 
You could change the lib dependency of keepassxc to botan3 yourself:

/usr/ports/security/keepassxc/Makefile
Diff:
19 LIB_DEPENDS=    libargon2.so:security/libargon2 \
20                 libqrencode.so:graphics/libqrencode \
21 -               libbotan-2.so:security/botan2
   +               libbotan-3.so:security/botan3
Build the port, test the resulting binary for side effects. If none occur, open a PR to ask the maintainer to update the port with the changes made. Consider providing a patch attached to the PR.
 
I suggest you simply wait until the issue has been resolved. There are a number of ports depending on botan2, if it gets removed all those ports would get removed too (you can't have a port with a non-existent dependency).

Code:
This port is required by:

    for Libraries

            deskutils/qownnotes
            editors/encryptpad
            editors/rehex
            net-im/biboumi
            security/keepassxc
            security/rnp
            sysutils/daggy

The maintainers will need to modify their ports or risk removal when botan2 gets removed.
 
Back
Top