aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAnjandev Momi <anjan@momi.ca>2021-06-08 04:15:42 +0000
committerKevin Daudt <kdaudt@alpinelinux.org>2021-06-08 20:44:24 +0000
commit262b02e93c479e0825841bc5686683930d0f44da (patch)
tree41ccd23c006faf886ea7b742cbe99dc69bf86ae0
parent4740412fa416fc3b8582c7c12b4b107934879496 (diff)
downloadaports-262b02e93c479e0825841bc5686683930d0f44da.tar.gz
aports-262b02e93c479e0825841bc5686683930d0f44da.tar.bz2
aports-262b02e93c479e0825841bc5686683930d0f44da.tar.xz
community/dino: upgrade to 0.2.1
-rw-r--r--community/dino/9acb54df9254609f2fe4de83c9047d408412de28.patch40
-rw-r--r--community/dino/APKBUILD14
2 files changed, 8 insertions, 46 deletions
diff --git a/community/dino/9acb54df9254609f2fe4de83c9047d408412de28.patch b/community/dino/9acb54df9254609f2fe4de83c9047d408412de28.patch
deleted file mode 100644
index ca43e48973..0000000000
--- a/community/dino/9acb54df9254609f2fe4de83c9047d408412de28.patch
+++ /dev/null
@@ -1,40 +0,0 @@
-From 9acb54df9254609f2fe4de83c9047d408412de28 Mon Sep 17 00:00:00 2001
-From: Marvin W <git@larma.de>
-Date: Sat, 6 Mar 2021 08:31:53 -0600
-Subject: [PATCH] QLite: Adjust Real for latest vala version
-
----
- qlite/src/column.vala | 10 ++++++----
- 1 file changed, 6 insertions(+), 4 deletions(-)
-
-diff --git a/qlite/src/column.vala b/qlite/src/column.vala
-index 60125ddf..45385f38 100644
---- a/qlite/src/column.vala
-+++ b/qlite/src/column.vala
-@@ -96,12 +96,14 @@ public abstract class Column<T> {
- }
- }
-
-- public class Real : Column<double> {
-- public Real(string name) {
-+ public class NullableReal : Column<double?> {
-+ public NullableReal(string name) {
- base(name, FLOAT);
- }
-
-- public override double get(Row row, string? table_name = DEFALT_TABLE_NAME) {
-+ public override bool not_null { get { return false; } set {} }
-+
-+ public override double? get(Row row, string? table_name = DEFALT_TABLE_NAME) {
- return row.get_real(name, table_name == DEFALT_TABLE_NAME ? table.name : table_name);
- }
-
-@@ -109,7 +111,7 @@ public abstract class Column<T> {
- return !row.has_real(name, table_name == DEFALT_TABLE_NAME ? table.name : table_name);
- }
-
-- internal override void bind(Statement stmt, int index, double value) {
-+ internal override void bind(Statement stmt, int index, double? value) {
- stmt.bind_double(index, value);
- }
- }
diff --git a/community/dino/APKBUILD b/community/dino/APKBUILD
index f8a6032c90..f6bdaa95d1 100644
--- a/community/dino/APKBUILD
+++ b/community/dino/APKBUILD
@@ -1,8 +1,8 @@
# Contributor: Galen Abell <galen@galenabell.com>
# Maintainer: Galen Abell <galen@galenabell.com>
pkgname=dino
-pkgver=0.2.0
-pkgrel=1
+pkgver=0.2.1
+pkgrel=0
pkgdesc="Modern Jabber/XMPP client"
url="https://dino.im"
arch="all !s390x !mips !mips64" # libhandy missing
@@ -27,9 +27,12 @@ subpackages="$pkgname-lang"
source="
https://github.com/dino/dino/releases/download/v$pkgver/dino-$pkgver.tar.gz
mobile-ui.patch
- 9acb54df9254609f2fe4de83c9047d408412de28.patch
"
+# secfixes:
+# 0.2.1-r0:
+# - CVE-2021-33896
+
build() {
./configure \
--build=$CBUILD \
@@ -50,6 +53,5 @@ check() {
package() {
make DESTDIR="$pkgdir" install
}
-sha512sums="296576f91d45a4dd8c548a7ca5b47bcaf847f6ff0f8e5dbafaa4eb49a2d4f1ed7e2bbfac94f1b32e22f5ec61b23748ac76b12bb4ceb710889aff166953ca7a2e dino-0.2.0.tar.gz
-924c83719fb0b7093bccd3ba27ecef6e8a4b88bc17e88f826b79ca59e3e80f936a7e3d31ad90812cccebac6094e89a398182016598483620bc1ce3a1591c97e0 mobile-ui.patch
-01d771c039e9c15882ef11970fbc181efe12202f1f1fd9ff3bd6e805f1e85a662d7662da7fbbfb05d6aa569b9f4fed907cf7357d83d02fb1bafa2bb179811f63 9acb54df9254609f2fe4de83c9047d408412de28.patch"
+sha512sums="b71497ec115945eadf7d33bb973f68465a20284aa75f37f1ae25fc30c1c423ce28cb10f7e9123c47f82e77e97170b8fa72c75389dacc3a2aa3d487a9c9610d49 dino-0.2.1.tar.gz
+924c83719fb0b7093bccd3ba27ecef6e8a4b88bc17e88f826b79ca59e3e80f936a7e3d31ad90812cccebac6094e89a398182016598483620bc1ce3a1591c97e0 mobile-ui.patch"