aboutsummaryrefslogtreecommitdiff
path: root/office/keepassxc
diff options
context:
space:
mode:
authorBenjamin Trigona-Harany <bosth@alumni.sfu.ca>2018-02-27 15:31:22 -0800
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2018-03-03 08:42:17 +0700
commit8d6813c53d347db1acce06d3cc97c0cac6916527 (patch)
tree8fbba07519cced8d8b3b0bf9a84eb6ee1e92deef /office/keepassxc
parent2ae536af16f6c98a475e6484dee960ab65fc5217 (diff)
office/keepassxc: Updated for version 2.3.0.
Diffstat (limited to 'office/keepassxc')
-rw-r--r--office/keepassxc/README13
-rw-r--r--office/keepassxc/keepassxc.SlackBuild12
-rw-r--r--office/keepassxc/keepassxc.info8
3 files changed, 23 insertions, 10 deletions
diff --git a/office/keepassxc/README b/office/keepassxc/README
index 77b004d615a4..3f4b3d089e67 100644
--- a/office/keepassxc/README
+++ b/office/keepassxc/README
@@ -10,8 +10,15 @@ KeePassXC can be built with YubiKey two-factor authentication support for
unlocking the database. This introduces a dependency on ykpers and can be
enabled by passing XC_YUBIKEY=ON to the script.
-KeePassXC will be built with http support, meaning that it can retrieve favicons
-from web sites and function as password storage for Mozilla Firefox and
-Chromium/Chrome. This may be disabled by passing XC_HTTP=OFF to the script.
+KeePassXC will be built with browser support, meaning it can function as
+password storage for Mozilla Firefox and Chromium/Chrome. This may be disabled
+by passing XC_BROWSER=OFF to the script.
+
+KeePassXC will be built with SSH agent support, meaning that KeepassXC can
+interact with a running agent. This may be disabled by passing XC_SSHAGENT=OFF
+to the script.
+
+KeePassXC will be built with networking support, meaning that website favicons
+can be downloaded. This maybe disabled by passing XC_NETWORKING=OFF to the script.
Autotype may be disabled by passing XC_AUTOTYPE=OFF.
diff --git a/office/keepassxc/keepassxc.SlackBuild b/office/keepassxc/keepassxc.SlackBuild
index ddaf7794b1b9..1e042075ff28 100644
--- a/office/keepassxc/keepassxc.SlackBuild
+++ b/office/keepassxc/keepassxc.SlackBuild
@@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=keepassxc
-VERSION=${VERSION:-2.2.4}
+VERSION=${VERSION:-2.3.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -60,7 +60,7 @@ rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
+tar xvf $CWD/$PRGNAM-$VERSION-src.tar.xz
cd $PRGNAM-$VERSION
chown -R root:root .
find -L . \
@@ -75,9 +75,11 @@ cd build
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_BUILD_TYPE=Release \
-DWITH_TESTS=OFF \
- -DWITH_XC_HTTP="${XC_HTTP:-ON}" \
+ -DWITH_XC_BROWSER="${XC_BROWSER:-ON}" \
-DWITH_XC_YUBIKEY="${XC_YUBIKEY:-OFF}" \
+ -DWITH_XC_NETWORKING="${XC_NETWORKING:-ON}" \
-DWITH_XC_AUTOTYPE="${XC_AUTOTYPE:-ON}" \
+ -DWITH_XC_SSHAGENT="${XC_SSHAGENT:-ON}" \
..
make
@@ -87,6 +89,10 @@ 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
+mv $PKG/usr/share/man $PKG/usr
+find $PKG/usr/man -type f -exec gzip -9 {} \;
+for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
+
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a CHANGELOG COPYING README.md $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
diff --git a/office/keepassxc/keepassxc.info b/office/keepassxc/keepassxc.info
index ce5d0e9d0f4a..547810391b5b 100644
--- a/office/keepassxc/keepassxc.info
+++ b/office/keepassxc/keepassxc.info
@@ -1,10 +1,10 @@
PRGNAM="keepassxc"
-VERSION="2.2.4"
+VERSION="2.3.0"
HOMEPAGE="https://github.com/keepassxreboot/keepassxc"
-DOWNLOAD="https://github.com/keepassxreboot/keepassxc/archive/2.2.4/keepassxc-2.2.4.tar.gz"
-MD5SUM="a510382b6f6d9eafc6c0afed41acd73e"
+DOWNLOAD="https://github.com/keepassxreboot/keepassxc/releases/download/2.3.0/keepassxc-2.3.0-src.tar.xz"
+MD5SUM="1dba769f0eb1303ef3fbd873acd81901"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="qt5"
+REQUIRES="argon2 qt5"
MAINTAINER="Benjamin Trigona-Harany"
EMAIL="slackbuilds@jaxartes.net"