1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-18 19:49:40 +00:00

net-im/mastodon: Update version 4.1.9=>4.2.0

Changelog: https://github.com/mastodon/mastodon/releases/tag/v4.2.0
This commit is contained in:
Muhammad Moinur Rahman 2023-09-23 20:18:40 +02:00
parent 1c84c2f92e
commit 15c3128e94
5 changed files with 24 additions and 45 deletions

View File

@ -1,6 +1,6 @@
PORTNAME= mastodon
DISTVERSIONPREFIX= v
DISTVERSION= 4.1.9
DISTVERSION= 4.2.0
CATEGORIES= net-im www
MAINTAINER= bofh@FreeBSD.org

View File

@ -1,3 +1,3 @@
TIMESTAMP = 1695315362
SHA256 (mastodon-mastodon-v4.1.9_GH0.tar.gz) = 1b0233b1141f64d146d5f9717df1548a162a13df9e028603536226c169c20d2e
SIZE (mastodon-mastodon-v4.1.9_GH0.tar.gz) = 36349349
TIMESTAMP = 1695333175
SHA256 (mastodon-mastodon-v4.2.0_GH0.tar.gz) = 97c6bd9eb31efb96b10f78f6397de93a49ce8fa7237ffd73c7407f5d9692dfea
SIZE (mastodon-mastodon-v4.2.0_GH0.tar.gz) = 36327440

View File

@ -1,5 +1,5 @@
--- .profile.orig 2022-12-06 11:15:00 UTC
--- .profile.orig 2023-09-21 14:51:32 UTC
+++ .profile
@@ -1 +1 @@
-LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/app/.apt/lib/x86_64-linux-gnu:/app/.apt/usr/lib/x86_64-linux-gnu/mesa:/app/.apt/usr/lib/x86_64-linux-gnu/pulseaudio
@@ -1 +1,2 @@
LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/app/.apt/lib/x86_64-linux-gnu:/app/.apt/usr/lib/x86_64-linux-gnu/mesa:/app/.apt/usr/lib/x86_64-linux-gnu/pulseaudio:/app/.apt/usr/lib/x86_64-linux-gnu/openblas-pthread
+export LC_ALL="en_US.UTF-8"

View File

@ -1,20 +0,0 @@
--- Gemfile.orig 2023-04-13 16:23:34 UTC
+++ Gemfile
@@ -1,7 +1,7 @@
# frozen_string_literal: true
source 'https://rubygems.org'
-ruby '>= 2.7.0', '< 3.1.0'
+ruby '>= 2.7.0', '< 3.2.0'
gem 'pkg-config', '~> 1.5'
gem 'rexml', '~> 3.2'
@@ -122,7 +122,7 @@ group :test do
gem 'climate_control', '~> 0.2'
gem 'faker', '~> 3.1'
gem 'json-schema', '~> 3.0'
- gem 'rack-test', '~> 2.0'
+ gem 'rack-test', '~> 2.0'
gem 'rails-controller-testing', '~> 1.0'
gem 'rspec_junit_formatter', '~> 0.6'
gem 'rspec-sidekiq', '~> 3.1'

View File

@ -1,6 +1,6 @@
--- dist/nginx.conf.orig 2022-11-30 18:16:44 UTC
--- dist/nginx.conf.orig 2023-09-21 14:51:32 UTC
+++ dist/nginx.conf
@@ -17,31 +17,32 @@ server {
@@ -25,7 +25,7 @@ server {
listen 80;
listen [::]:80;
server_name example.com;
@ -9,38 +9,37 @@
location /.well-known/acme-challenge/ { allow all; }
location / { return 301 https://$host$request_uri; }
}
server {
- listen 443 ssl http2;
- listen [::]:443 ssl http2;
@@ -35,25 +35,25 @@ server {
listen [::]:443 ssl http2;
server_name example.com;
+ # Uncomment these lines once you acquire a certificate:
+ # listen 443 ssl http2;
+ # listen [::]:443 ssl http2;
- ssl_protocols TLSv1.2 TLSv1.3;
- ssl_ciphers HIGH:!MEDIUM:!LOW:!aNULL:!NULL:!SHA;
+ # ssl_protocols TLSv1.2 TLSv1.3;
# You can use https://ssl-config.mozilla.org/ to generate your cipher set.
# We recommend their "Intermediate" level.
- ssl_ciphers ECDHE-ECDSA-AES128-GCM-SHA256:ECDHE-RSA-AES128-GCM-SHA256:ECDHE-ECDSA-AES256-GCM-SHA384:ECDHE-RSA-AES256-GCM-SHA384:ECDHE-ECDSA-CHACHA20-POLY1305:ECDHE-RSA-CHACHA20-POLY1305:DHE-RSA-AES128-GCM-SHA256:DHE-RSA-AES256-GCM-SHA384:DHE-RSA-CHACHA20-POLY1305;
+ # ssl_ciphers ECDHE-ECDSA-AES128-GCM-SHA256:ECDHE-RSA-AES128-GCM-SHA256:ECDHE-ECDSA-AES256-GCM-SHA384:ECDHE-RSA-AES256-GCM-SHA384:ECDHE-ECDSA-CHACHA20-POLY1305:ECDHE-RSA-CHACHA20-POLY1305:DHE-RSA-AES128-GCM-SHA256:DHE-RSA-AES256-GCM-SHA384:DHE-RSA-CHACHA20-POLY1305;
- ssl_prefer_server_ciphers on;
- ssl_session_cache shared:SSL:10m;
- ssl_session_tickets off;
+ # ssl_protocols TLSv1.2 TLSv1.3;
+ # ssl_ciphers HIGH:!MEDIUM:!LOW:!aNULL:!NULL:!SHA;
+ # ssl_prefer_server_ciphers on;
+ # ssl_session_cache shared:SSL:10m;
+ # ssl_session_tickets off;
# Uncomment these lines once you acquire a certificate:
- # ssl_certificate /etc/letsencrypt/live/example.com/fullchain.pem;
- # ssl_certificate_key /etc/letsencrypt/live/example.com/privkey.pem;
+ # ssl_certificate %%PREFIX%%/etc/ssl/example.com/fullchain.pem;
+ # ssl_certificate_key %%PREFIX%%/etc/ssl/example.com/key.pem;
keepalive_timeout 70;
sendfile on;
client_max_body_size 80m;
client_max_body_size 99m;
- root /home/mastodon/live/public;
+ root %%PREFIX%%/www/mastodon/public;
gzip on;
gzip_disable "msie6";