summaryrefslogtreecommitdiff
path: root/office
diff options
context:
space:
mode:
authorArTourter <artourter@gmail.com>2022-10-25 18:03:44 +0100
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2022-11-04 14:02:49 +0700
commitf1b9a716b816124409305b1e4699477d347323cd (patch)
treeef90a158435990e69474141a87ecbcf53aa70bc2 /office
parent03e64a2e4cf2bc9de9fb36879c867d08a58e4937 (diff)
downloadslackbuilds-f1b9a716b816124409305b1e4699477d347323cd.tar.gz
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>
Diffstat (limited to 'office')
-rw-r--r--office/keepassxc/README7
-rw-r--r--office/keepassxc/keepassxc.SlackBuild13
-rw-r--r--office/keepassxc/keepassxc.info6
3 files changed, 15 insertions, 11 deletions
diff --git a/office/keepassxc/README b/office/keepassxc/README
index fec6bd4eec..34eaa9ab4f 100644
--- a/office/keepassxc/README
+++ b/office/keepassxc/README
@@ -25,8 +25,11 @@ script.
To include documentation, DOCS=ON must be passed to the script.
Support for database sharing and synchronisation using KeeShare will be
-disabled. It can be enabled by setting KEESHARE=ON, or a secure version
-can be enabled with KEESHARE_SECURE=ON.
+disabled. It can be enabled by setting KEESHARE=ON, and introduces a
+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
UPDATECHECK=OFF is provided.
diff --git a/office/keepassxc/keepassxc.SlackBuild b/office/keepassxc/keepassxc.SlackBuild
index 0418dc5868..a1255cbfb9 100644
--- a/office/keepassxc/keepassxc.SlackBuild
+++ b/office/keepassxc/keepassxc.SlackBuild
@@ -26,7 +26,7 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=keepassxc
-VERSION=${VERSION:-2.7.1}
+VERSION=${VERSION:-2.7.4}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -81,27 +81,28 @@ find -L . \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
mkdir -p build
-cd build
+(
+ cd build
export LDFLAGS="-ltermcap"
cmake \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_INSTALL_MANDIR=/usr/man \
-DCMAKE_BUILD_TYPE=Release \
-DWITH_TESTS=OFF \
+ -DWITH_XC_DOCS=${DOCS:-OFF} \
-DWITH_XC_BROWSER=${BROWSER:-ON} \
-DWITH_XC_YUBIKEY=${YUBIKEY:-OFF} \
- -DWITH_XC_NETWORKING=${NETWORKING:-ON} \
-DWITH_XC_AUTOTYPE=${AUTOTYPE:-ON} \
- -DWITH_XC_DOCS=${DOCS:-OFF} \
-DWITH_XC_SSHAGENT=${SSHAGENT:-ON} \
-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} \
..
make
make install DESTDIR=$PKG
-cd ..
+)
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
diff --git a/office/keepassxc/keepassxc.info b/office/keepassxc/keepassxc.info
index c23cdef326..5680c5ec93 100644
--- a/office/keepassxc/keepassxc.info
+++ b/office/keepassxc/keepassxc.info
@@ -1,8 +1,8 @@
PRGNAM="keepassxc"
-VERSION="2.7.1"
+VERSION="2.7.4"
HOMEPAGE="https://github.com/keepassxreboot/keepassxc"
-DOWNLOAD="https://github.com/keepassxreboot/keepassxc/releases/download/2.7.1/keepassxc-2.7.1-src.tar.xz"
-MD5SUM="4f35e710b7791513afd6928d1d735450"
+DOWNLOAD="https://github.com/keepassxreboot/keepassxc/releases/download/2.7.4/keepassxc-2.7.4-src.tar.xz"
+MD5SUM="18f7947f40c2d622ec4a81e9b0fed03e"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="Botan"