testing/tootik: upgrade to 0.10.4

This commit is contained in:
Celeste 2024-05-01 05:56:13 +00:00
parent 383665eae3
commit 10b7226c34
3 changed files with 9 additions and 31 deletions

View File

@ -1,8 +1,8 @@
# Contributor: Celeste <cielesti@protonmail.com>
# Maintainer: Celeste <cielesti@protonmail.com>
pkgname=tootik
pkgver=0.9.5
pkgrel=1
pkgver=0.10.4
pkgrel=0
pkgdesc="Federated nanoblogging service with Gemini frontend"
url="https://github.com/dimkr/tootik"
arch="all"
@ -17,8 +17,6 @@ source="https://github.com/dimkr/tootik/archive/refs/tags/$pkgver/tootik-$pkgver
tootik.cfg
tootik.initd
tootik.confd
fix-32bit-maxint.patch
"
export GOCACHE="${GOCACHE:-"$srcdir/go-cache"}"
@ -60,9 +58,8 @@ package() {
}
sha512sums="
1f2a75d7abbf730637152037498b8b6872c8f165a7b52c5603c89a10900b4875e6bb09f9c89864fd966294403b4fae19cc468dc87e84c0582f966f2e82ca76a5 tootik-0.9.5.tar.gz
b86a8d3fe428244b05a93d137ea38253801ccc8a72e5e941083158d7f7323c3bb25a1e00d5b1d084ee18f486c7e24a2076a6aae69a2a99812ee21fb1c6d6922f tootik.cfg
827317c0b9e968bd1a2dac3c09cf4e24b20c40d7c21a7e9b2328ddc6d7cdf5c574bbe28df2e385e7748ebb5db51dec77944f2ccc53337f57a8a0a5f56f3b2316 tootik-0.10.4.tar.gz
2e106abb178f0918a18c48039f46d8de8886a1c5457ddc735de152da75b561a9f4c4c5e89955becc3edeceea3f8e80285593183a277c9ada6122c872dfb29114 tootik.cfg
7999e43dc50604cc0d0d97292aed9ee5fc658b08b46fc4d92b21916246ee43b54b79ba9306b6196ac8b86d6d53498266a499cd31e90f22749f78bc5d5c404b19 tootik.initd
11fa51d25baaeb295c80cf3e154eb1eab67f9633e23f01cc0a25c427af368746d536bff17de2153b5be925489e3f84ca5ba492a4a43c32aaf33b8c4d00d14fd6 tootik.confd
b1a49015c1e5115e420d04b33290b5726fda492fcca71b71bf9083f5ea66259c38cda308df1abb0c033042ea0da9f910cb64f7be242f7ba4cfc6fda8ff576275 fix-32bit-maxint.patch
"

View File

@ -1,24 +0,0 @@
Patch-Source: https://github.com/dimkr/tootik/commit/eba68e3c0f3eaeeb02d2fd25553fcdb61cd814ee.patch
--
From eba68e3c0f3eaeeb02d2fd25553fcdb61cd814ee Mon Sep 17 00:00:00 2001
From: Dima Krasner <dima@dimakrasner.com>
Date: Sun, 31 Mar 2024 09:18:28 +0300
Subject: [PATCH] fix build failure on 32-bit architectures (fixes #56)
---
cfg/cfg.go | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/cfg/cfg.go b/cfg/cfg.go
index 8cd17bb..3db5662 100644
--- a/cfg/cfg.go
+++ b/cfg/cfg.go
@@ -262,7 +262,7 @@ func (c *Config) FillDefaults() {
c.DeliveryTimeout = time.Minute * 5
}
- if c.DeliveryWorkers <= 0 || c.DeliveryWorkers > math.MaxUint32 {
+ if c.DeliveryWorkers <= 0 || c.DeliveryWorkers > math.MaxInt {
c.DeliveryWorkers = 4
}

View File

@ -13,6 +13,11 @@
"PollDuration": 2592000000000000,
"MaxDisplayNameLength": 30,
"MaxBioLength": 500,
"MaxAvatarSize": 2097152,
"MaxAvatarWidth": 1024,
"MaxAvatarHeight": 1024,
"AvatarWidth": 400,
"AvatarHeight": 400,
"MinActorEditInterval": 1800000000000,
"MaxFollowsPerUser": 150,
"FollowAcceptTimeout": 172800000000000,