summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorkevku2020-06-19 15:03:37 +0300
committerkevku2020-06-19 15:03:37 +0300
commita565d036d16c24bc66eead848bdbea8692583d82 (patch)
tree06f0c22268d023fa90a259d873bb7a2db4268e97
parentbf4ac33bbfcf457ed0730f633e52a3f009202d7b (diff)
downloadaur-a565d036d16c24bc66eead848bdbea8692583d82.tar.gz
update 1.1.2.520
-rw-r--r--.SRCINFO8
-rw-r--r--PKGBUILD13
-rw-r--r--qt-5.15.patch16
3 files changed, 31 insertions, 6 deletions
diff --git a/.SRCINFO b/.SRCINFO
index b7a384429bc..548170321a1 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,6 +1,6 @@
pkgbase = chrome-token-signing
pkgdesc = Chrome and Firefox extension for signing with your eID on the web
- pkgver = 1.1.2.517
+ pkgver = 1.1.2.520
pkgrel = 1
epoch = 1
url = http://www.id.ee/
@@ -11,8 +11,10 @@ pkgbase = chrome-token-signing
depends = qt5-base
depends = pcsclite
depends = ccid
- source = https://installer.id.ee/media/ubuntu/pool/main/c/chrome-token-signing/chrome-token-signing_1.1.2.517-1604.tar.xz
- sha256sums = 5d012c8ee0b6ccb5da6b7b125d2f921cb047cfdc3bad65fcc38ff6de387a4a91
+ source = https://installer.id.ee/media/ubuntu/pool/main/c/chrome-token-signing/chrome-token-signing_1.1.2.520-1604.tar.xz
+ source = qt-5.15.patch
+ sha256sums = 872d4e735341a1be0bde2199f0918075b9c54eb426d783e84322ee95f130b94b
+ sha256sums = 8d443921bc416fc9397289768e6dbef223fc90da34cdaf30bd50e644c7f88a0d
pkgname = chrome-token-signing
diff --git a/PKGBUILD b/PKGBUILD
index 0ff7a2682c3..42c7d50edf2 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,6 +1,6 @@
# Maintainer: kevku <kevku@gmx.com>
pkgname=chrome-token-signing
-pkgver=1.1.2.517
+pkgver=1.1.2.520
pkgrel=1
epoch=1
pkgdesc="Chrome and Firefox extension for signing with your eID on the web"
@@ -9,8 +9,15 @@ url="http://www.id.ee/"
license=('LGPL2.1')
depends=('qt5-base' 'pcsclite' 'ccid')
makedepends=('lsb-release')
-source=("https://installer.id.ee/media/ubuntu/pool/main/c/$pkgname/${pkgname}_$pkgver-1604.tar.xz")
-sha256sums=('5d012c8ee0b6ccb5da6b7b125d2f921cb047cfdc3bad65fcc38ff6de387a4a91')
+source=("https://installer.id.ee/media/ubuntu/pool/main/c/$pkgname/${pkgname}_$pkgver-1604.tar.xz"
+ "qt-5.15.patch")
+sha256sums=('872d4e735341a1be0bde2199f0918075b9c54eb426d783e84322ee95f130b94b'
+ '8d443921bc416fc9397289768e6dbef223fc90da34cdaf30bd50e644c7f88a0d')
+
+prepare(){
+ cd "$srcdir/$pkgname/"
+ patch -p1 -i "$srcdir/qt-5.15.patch"
+}
build() {
cd "$srcdir/$pkgname/"
diff --git a/qt-5.15.patch b/qt-5.15.patch
new file mode 100644
index 00000000000..b3f0c8db526
--- /dev/null
+++ b/qt-5.15.patch
@@ -0,0 +1,16 @@
+diff -Nurd chrome-token-signing/host-linux/Signer.h chrome-token-signing.1/host-linux/Signer.h
+--- chrome-token-signing/host-linux/Signer.h 2020-05-21 14:21:05.000000000 +0300
++++ chrome-token-signing.1/host-linux/Signer.h 2020-06-19 14:51:37.000000000 +0300
+@@ -159,9 +159,10 @@
+ }
+
+ private:
+- static QByteArray toHex(const std::vector<unsigned char> &data)
++ static QString toHex(const std::vector<unsigned char> &data)
+ {
+- return QByteArray::fromRawData((const char*)data.data(), int(data.size())).toHex();
++ QByteArray bin = QByteArray::fromRawData((const char*)data.data(), int(data.size())).toHex();
++ return QString::fromStdString(bin.toStdString());
+ }
+
+ static std::vector<unsigned char> fromHex(const QString &data)