office/keepassxc: Updated for version 2.7.4

- removed KEESHARE_SECURE option as was removed from version 2.7.0
- add note in README file for libminizip requirement when KEESHARE is enabled
- add option to build with FdoSecrets enabled and add not in README file

Signed-off-by: ArTourter <artourter@gmail.com>
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
ArTourter 2022-10-25 18:03:44 +01:00 committed by Willy Sudiarto Raharjo
parent 03e64a2e4c
commit f1b9a716b8
No known key found for this signature in database
GPG key ID: 3F617144D7238786
3 changed files with 15 additions and 11 deletions

View file

@ -25,8 +25,11 @@ script.
To include documentation, DOCS=ON must be passed to the script. To include documentation, DOCS=ON must be passed to the script.
Support for database sharing and synchronisation using KeeShare will be Support for database sharing and synchronisation using KeeShare will be
disabled. It can be enabled by setting KEESHARE=ON, or a secure version disabled. It can be enabled by setting KEESHARE=ON, and introduces a
can be enabled with KEESHARE_SECURE=ON. dependency on libraries/libminizip
Support of FdoSecrets is disabled by default. It can be enabled by
passing FDOSECRETS=ON to the script
KeePassXC will display a notification of new releases unless the option KeePassXC will display a notification of new releases unless the option
UPDATECHECK=OFF is provided. UPDATECHECK=OFF is provided.

View file

@ -26,7 +26,7 @@
cd $(dirname $0) ; CWD=$(pwd) cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=keepassxc PRGNAM=keepassxc
VERSION=${VERSION:-2.7.1} VERSION=${VERSION:-2.7.4}
BUILD=${BUILD:-1} BUILD=${BUILD:-1}
TAG=${TAG:-_SBo} TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz} PKGTYPE=${PKGTYPE:-tgz}
@ -81,27 +81,28 @@ find -L . \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
mkdir -p build mkdir -p build
cd build (
cd build
export LDFLAGS="-ltermcap" export LDFLAGS="-ltermcap"
cmake \ cmake \
-DCMAKE_INSTALL_PREFIX=/usr \ -DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_INSTALL_MANDIR=/usr/man \ -DCMAKE_INSTALL_MANDIR=/usr/man \
-DCMAKE_BUILD_TYPE=Release \ -DCMAKE_BUILD_TYPE=Release \
-DWITH_TESTS=OFF \ -DWITH_TESTS=OFF \
-DWITH_XC_DOCS=${DOCS:-OFF} \
-DWITH_XC_BROWSER=${BROWSER:-ON} \ -DWITH_XC_BROWSER=${BROWSER:-ON} \
-DWITH_XC_YUBIKEY=${YUBIKEY:-OFF} \ -DWITH_XC_YUBIKEY=${YUBIKEY:-OFF} \
-DWITH_XC_NETWORKING=${NETWORKING:-ON} \
-DWITH_XC_AUTOTYPE=${AUTOTYPE:-ON} \ -DWITH_XC_AUTOTYPE=${AUTOTYPE:-ON} \
-DWITH_XC_DOCS=${DOCS:-OFF} \
-DWITH_XC_SSHAGENT=${SSHAGENT:-ON} \ -DWITH_XC_SSHAGENT=${SSHAGENT:-ON} \
-DWITH_XC_KEESHARE=${KEESHARE:-OFF} \ -DWITH_XC_KEESHARE=${KEESHARE:-OFF} \
-DWITH_XC_KEESHARE_SECURE=${KEESHARE_SECURE:-OFF} \ -DWITH_XC_NETWORKING=${NETWORKING:-ON} \
-DWITH_XC_FDOSECRETS=${FDOSECRETS:-OFF} \
-DWITH_XC_UPDATECHECK=${UPDATECHECK:-ON} \ -DWITH_XC_UPDATECHECK=${UPDATECHECK:-ON} \
.. ..
make make
make install DESTDIR=$PKG make install DESTDIR=$PKG
cd .. )
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \ find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true

View file

@ -1,8 +1,8 @@
PRGNAM="keepassxc" PRGNAM="keepassxc"
VERSION="2.7.1" VERSION="2.7.4"
HOMEPAGE="https://github.com/keepassxreboot/keepassxc" HOMEPAGE="https://github.com/keepassxreboot/keepassxc"
DOWNLOAD="https://github.com/keepassxreboot/keepassxc/releases/download/2.7.1/keepassxc-2.7.1-src.tar.xz" DOWNLOAD="https://github.com/keepassxreboot/keepassxc/releases/download/2.7.4/keepassxc-2.7.4-src.tar.xz"
MD5SUM="4f35e710b7791513afd6928d1d735450" MD5SUM="18f7947f40c2d622ec4a81e9b0fed03e"
DOWNLOAD_x86_64="" DOWNLOAD_x86_64=""
MD5SUM_x86_64="" MD5SUM_x86_64=""
REQUIRES="Botan" REQUIRES="Botan"