summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorAnthony Wang2022-11-14 22:15:08 +0000
committerAnthony Wang2022-11-14 22:15:08 +0000
commit654557745dd2b8fb752f95fa63e211b1578caa7b (patch)
tree0fb5ffec87548d620cafcbf2fbea8c24d0b9c461
parent263d7086f0a1926930943a680d48f83f4433626f (diff)
downloadaur-654557745dd2b8fb752f95fa63e211b1578caa7b.tar.gz
upgpkg: mastodon 4.0.1-1
-rw-r--r--.SRCINFO8
-rw-r--r--PKGBUILD7
-rw-r--r--mastodon.install2
3 files changed, 8 insertions, 9 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 26607bf50311..b272ff91ffeb 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = mastodon
pkgdesc = Your self-hosted, globally interconnected microblogging community
- pkgver = 3.5.3
- pkgrel = 3
+ pkgver = 4.0.1
+ pkgrel = 1
url = https://github.com/mastodon/mastodon
install = mastodon.install
arch = any
@@ -23,11 +23,11 @@ pkgbase = mastodon
depends = zlib
options = !strip
backup = etc/mastodon.conf
- source = https://github.com/mastodon/mastodon/archive/v3.5.3.tar.gz
+ source = https://github.com/mastodon/mastodon/archive/v4.0.1.tar.gz
source = mastodon.target
source = mastodon.sysusers.d
source = mastodon.tmpfiles.d
- sha512sums = 9035184ead64b46f28630d8a5d57ae414b34a81604f7acb146ef56f7c76483fbb8892197e16a4a61bea0572ae2861f2f7a76912885bb8005f5bc64d3f62d8db1
+ sha512sums = 01b48b6e52891be4a3798f67dd369f0f63940b6ca9fe2416e18f5ac031d4ed047d7c32739bd2f354e164e853776bb52c6d18e018007a5787b687132ef602b22f
sha512sums = c9820c2a83d08bd5d842a78e924682db97ebd5c7291b682603ad30dafcdcc5816c13e717ad39554f042b9d9ed71ab902ce3f604952264a900a72612ee8060acb
sha512sums = 4ee4210bde391e6dc782cb7c14f2cb968c95ad541aa0efcf843a811f8cc5f0d1067ee3c8346bb412aa9fd1dd5a8bd05a4524df7dc4a106957009853dd237074a
sha512sums = 27c4eb01d462c525b59e5808a3b2501b63a34425752128388fbde82f7eb5944b20d2f8d8b1be8ed8adb165cab4cfb8e13f90215f20989ca671a0422ffa37001f
diff --git a/PKGBUILD b/PKGBUILD
index 9990a18a0522..06b0263f1f26 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -5,8 +5,8 @@
# Contributor: Fredrick Brennan <copypaste@kittens.ph>
pkgname=mastodon
-pkgver=3.5.3
-pkgrel=3
+pkgver=4.0.1
+pkgrel=1
pkgdesc='Your self-hosted, globally interconnected microblogging community'
arch=(any)
url=https://github.com/mastodon/mastodon
@@ -33,7 +33,7 @@ source=(https://github.com/mastodon/mastodon/archive/v$pkgver.tar.gz
mastodon.target
mastodon.sysusers.d
mastodon.tmpfiles.d)
-sha512sums=('9035184ead64b46f28630d8a5d57ae414b34a81604f7acb146ef56f7c76483fbb8892197e16a4a61bea0572ae2861f2f7a76912885bb8005f5bc64d3f62d8db1'
+sha512sums=('01b48b6e52891be4a3798f67dd369f0f63940b6ca9fe2416e18f5ac031d4ed047d7c32739bd2f354e164e853776bb52c6d18e018007a5787b687132ef602b22f'
'c9820c2a83d08bd5d842a78e924682db97ebd5c7291b682603ad30dafcdcc5816c13e717ad39554f042b9d9ed71ab902ce3f604952264a900a72612ee8060acb'
'4ee4210bde391e6dc782cb7c14f2cb968c95ad541aa0efcf843a811f8cc5f0d1067ee3c8346bb412aa9fd1dd5a8bd05a4524df7dc4a106957009853dd237074a'
'27c4eb01d462c525b59e5808a3b2501b63a34425752128388fbde82f7eb5944b20d2f8d8b1be8ed8adb165cab4cfb8e13f90215f20989ca671a0422ffa37001f')
@@ -42,7 +42,6 @@ prepare() {
cd mastodon-$pkgver
echo "gem 'psych', '< 4'" >> Gemfile
- sed -i "s/gem 'webauthn', '~> 3.0.0.alpha1'/gem 'webauthn', '~> 3.0.0.alpha2'/g" Gemfile
}
build() {
diff --git a/mastodon.install b/mastodon.install
index c8beb8d173f3..bec06b5a178f 100644
--- a/mastodon.install
+++ b/mastodon.install
@@ -19,5 +19,5 @@ post_upgrade() {
echo "Upgrading database schema"
sudo -u mastodon RAILS_ENV=production bundle exec rails db:migrate
echo "Precompiling assets"
- sudo -u mastodon RAILS_ENV=production bundle exec rails assets:precompile
+ sudo -u mastodon RAILS_ENV=production NODE_OPTIONS=--openssl-legacy-provider bundle exec rails assets:precompile
}