diff options
Diffstat (limited to 'office/keepassxc')
-rw-r--r-- | office/keepassxc/README | 9 | ||||
-rw-r--r-- | office/keepassxc/keepassxc.SlackBuild | 26 | ||||
-rw-r--r-- | office/keepassxc/keepassxc.info | 8 |
3 files changed, 24 insertions, 19 deletions
diff --git a/office/keepassxc/README b/office/keepassxc/README index fec6bd4eec..c5330250f0 100644 --- a/office/keepassxc/README +++ b/office/keepassxc/README @@ -25,12 +25,15 @@ 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. +enabled. It can be disabled by setting KEESHARE=OFF. + +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. Autotype may be disabled by passing AUTOTYPE=OFF. -As of version 2.7.0, keepassxc requires Botan. +As of version 2.7.0, keepassxc requires Botan, and as of 2.7.7, +keepassxc requires libminizip. diff --git a/office/keepassxc/keepassxc.SlackBuild b/office/keepassxc/keepassxc.SlackBuild index 0418dc5868..2696a9d0f2 100644 --- a/office/keepassxc/keepassxc.SlackBuild +++ b/office/keepassxc/keepassxc.SlackBuild @@ -3,7 +3,7 @@ # Slackware build script for KeePassXC # Copyright 2017-2021 Benjamin Trigona-Harany <slackbuilds@jaxartes.net> -# Copyright 2021-2022 Gregory J. L. Tourte <artourter@gmail.com> +# Copyright 2021-2024 Gregory J. L. Tourte <artourter@gmail.com> # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -26,7 +26,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=keepassxc -VERSION=${VERSION:-2.7.1} +VERSION=${VERSION:-2.7.7} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -75,33 +75,35 @@ tar xvf $CWD/$PRGNAM-$VERSION-src.tar.xz cd $PRGNAM-$VERSION chown -R root:root . find -L . \ - \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ - -o -perm 511 \) -exec chmod 755 {} \; -o \ - \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ - -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; + -perm /111 -a \! -perm 755 -a -exec chmod 755 {} + -o \ + \! -perm /111 -a \! -perm 644 -a -exec chmod 644 {} + mkdir -p build -cd build +( + cd build export LDFLAGS="-ltermcap" cmake \ + -DCMAKE_C_FLAGS="$SLKCFLAGS" \ + -DCMAKE_CXX_FLAGS="$SLKCFLAGS" \ -DCMAKE_INSTALL_PREFIX=/usr \ + -DCMAKE_INSTALL_LIBDIR=lib$LIBDIRSUFFIX \ -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_KEESHARE=${KEESHARE:-ON} \ + -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..5a00650679 100644 --- a/office/keepassxc/keepassxc.info +++ b/office/keepassxc/keepassxc.info @@ -1,10 +1,10 @@ PRGNAM="keepassxc" -VERSION="2.7.1" +VERSION="2.7.7" 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.7/keepassxc-2.7.7-src.tar.xz" +MD5SUM="3d877de7149ab18c0a95fc86b295064f" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -REQUIRES="Botan" +REQUIRES="Botan libminizip" MAINTAINER="ArTourter" EMAIL="artourter@gmail.com" |