惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

博客园_首页
阮一峰的网络日志
阮一峰的网络日志
S
Secure Thoughts
Threat Intelligence Blog | Flashpoint
Threat Intelligence Blog | Flashpoint
C
Cyber Attacks, Cyber Crime and Cyber Security
T
Threat Research - Cisco Blogs
P
Privacy & Cybersecurity Law Blog
The Hacker News
The Hacker News
H
Heimdal Security Blog
W
WeLiveSecurity
L
LINUX DO - 热门话题
Hacker News: Ask HN
Hacker News: Ask HN
WordPress大学
WordPress大学
The Last Watchdog
The Last Watchdog
Hugging Face - Blog
Hugging Face - Blog
博客园 - 【当耐特】
D
DataBreaches.Net
I
Intezer
Webroot Blog
Webroot Blog
C
Cisco Blogs
AWS News Blog
AWS News Blog
博客园 - 聂微东
T
The Blog of Author Tim Ferriss
V
Vulnerabilities – Threatpost
罗磊的独立博客
Google DeepMind News
Google DeepMind News
N
Netflix TechBlog - Medium
Schneier on Security
Schneier on Security
宝玉的分享
宝玉的分享
博客园 - 叶小钗
PCI Perspectives
PCI Perspectives
D
Docker
Scott Helme
Scott Helme
NISL@THU
NISL@THU
J
Java Code Geeks
B
Blog RSS Feed
Google Online Security Blog
Google Online Security Blog
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
T
The Exploit Database - CXSecurity.com
AI
AI
美团技术团队
Cloudbric
Cloudbric
月光博客
月光博客
P
Proofpoint News Feed
T
Tailwind CSS Blog
Google DeepMind News
Google DeepMind News
小众软件
小众软件
www.infosecurity-magazine.com
www.infosecurity-magazine.com
The Cloudflare Blog
cs.CV updates on arXiv.org
cs.CV updates on arXiv.org

AUR Newest Packages

AUR (en) - xcute AUR (en) - wallrift AUR (en) - smolvm-git AUR (en) - smolvm-bin AUR (en) - smolvm AUR (en) - chess-cat-git AUR (en) - uac-launch-control-bin AUR (en) - openclaw AUR (en) - keyviz-zh-bin AUR (en) - runex-bin AUR (en) - sing-box-ref1nd-beta-bin AUR (en) - netscan-tui AUR (en) - koharu-appimage AUR (en) - pulsedb AUR (en) - android-cli AUR (en) - rudo-bin AUR (en) - marmalade-bin AUR (en) - clawx-appimage AUR (en) - echomusic-appimage AUR (en) - vermouth AUR (en) - mautrix-telegram-bin AUR (en) - ketesa AUR (en) - clawd-on-desk-bin AUR (en) - rebased-bin AUR (en) - oxideterm-bin AUR (en) - shed-sh AUR (en) - haus-bin AUR (en) - stably-orca-bin AUR (en) - reflection AUR (en) - emerald-legacy-launcher-git AUR (en) - kwim AUR (en) - pentest-ghostwriter AUR (en) - papagaia AUR (en) - outport-bin AUR (en) - carton-appimage AUR (en) - veila-git AUR (en) - veila-bin AUR (en) - vigil-baseline AUR (en) - byedroid AUR (en) - python-fastapi-sso AUR (en) - zeed-bin AUR (en) - dwl-git-azerty AUR (en) - libspatialaudio-git AUR (en) - opennow AUR (en) - rotki AUR (en) - kapi-bin AUR (en) - classfi-git AUR (en) - giff-git AUR (en) - budget-tracker-bin AUR (en) - budget-tracker AUR (en) - tasks-bin AUR (en) - ruri-git AUR (en) - gitmun-bin AUR (en) - python-cozempic AUR (en) - paintfe-bin AUR (en) - paintfe AUR (en) - drop-bin AUR (en) - tritium-launcher-bin AUR (en) - solidc-git AUR (en) - paseo-desktop-bin AUR (en) - dota2-minify-bin AUR (en) - yt-dvr AUR (en) - enneagram AUR (en) - excalidraw-desktop-bin AUR (en) - binaryobjectscanner-bin AUR (en) - openring-rs AUR (en) - openring-rs-bin AUR (en) - brave-origin-beta-bin AUR (en) - whisper.cpp-cuda-bin AUR (en) - libggml-cuda-bin AUR (en) - revdiff AUR (en) - tdesktop-nolimit AUR (en) - cert-checker AUR (en) - yaak-cli AUR (en) - yaak-cli-bin AUR (en) - deez-notes-bin AUR (en) - goosestation-libretro AUR (en) - whispers-cuda-bin AUR (en) - kei AUR (en) - foxguard AUR (en) - hyprlogin-git AUR (en) - kebiki AUR (en) - runex AUR (en) - ikuai-cli AUR (en) - whispers-bin AUR (en) - pipeweaver-app AUR (en) - pipeweaver AUR (en) - agentop-bin AUR (en) - cosmic-ext-connected-git AUR (en) - skwd-daemon AUR (en) - ter-music-cn AUR (en) - elio-bin AUR (en) - keyboard-chattering-fix-git AUR (en) - qtkeychain-qt5 AUR (en) - gesturecontrol AUR (en) - sharey AUR (en) - ouijit-bin AUR (en) - usque-bin AUR (en) - twig-bin AUR (en) - ascendara-bin
AUR (en) - mastodon
2026-06-03 · via AUR Newest Packages

Pinned Comments

nachtjasmin commented on 2026-06-04 15:10 (UTC)

zoltix commented on 2026-06-04 18:27 (UTC)

Thanks. Apparently this has been needed for quite a while. I’ll add libheif as a mandatory dependency in the PKGBUILD, since libvips only has it as optional on Arch and HEIC/HEIF uploads should just work.

nachtjasmin commented on 2026-06-04 15:10 (UTC)

zoltix commented on 2026-05-11 16:00 (UTC)

I have temporarily taken over the maintenance of this package, as there did not seem to be anyone else available to do it at the moment.

This is my first time maintaining an AUR package, so I may still make some mistakes. I have followed the documentation and the packaging guidelines as carefully as possible, and I am doing my best.

If you notice anything wrong, or if you have any advice or suggestions, please feel free to let me know. Any constructive help would be very welcome.

zoltix commented on 2026-05-10 07:33 (UTC)

I did it. It will be temporary.

ugjka commented on 2026-05-08 12:08 (UTC)

Can you make an orphan request and become a maintainer

zoltix commented on 2026-05-08 09:47 (UTC)

Hello, nothing has changed, so I created my own process to update it from this PKGBUILD.

# ============================================================
# Create and use a local Arch Linux repository
# ============================================================
# ------------------------------------------------------------
# Variables
# ------------------------------------------------------------

REPO_DIR="/srv/repo-local"
REPO_NAME="repo-local"
PACKAGE_SOURCE_ARCHIVE="mastodon.tar.gz" # downloaded package name from  https://aur.archlinux.org/packages/mastodon click download snapshot
PACKAGE_SOURCE_DIR="mastodon"
PACKAGE_NAME="mastodon"
# ------------------------------------------------------------
# 1. Create the local repository folder
# ------------------------------------------------------------
sudo mkdir -p "$REPO_DIR"
# ------------------------------------------------------------
# 2. Enable the local repository in pacman
# ------------------------------------------------------------
# Add this section to /etc/pacman.conf if it does not already exist:
#
# [repo-local]
# SigLevel = Optional TrustAll
# Server = file:///srv/repo-local
#
# You can edit the file manually with:
#
# sudo vim /etc/pacman.conf
# ------------------------------------------------------------

if ! grep -q "^\[$REPO_NAME\]" /etc/pacman.conf; then
    echo "Adding local repository to /etc/pacman.conf..."
    sudo tee -a /etc/pacman.conf > /dev/null <<EOF
[$REPO_NAME]
SigLevel = Optional TrustAll
Server = file://$REPO_DIR
EOF
else
    echo "Local repository already exists in /etc/pacman.conf."
fi

# ------------------------------------------------------------
# 3. Synchronize pacman database
# ------------------------------------------------------------
sudo pacman -Syy
# ------------------------------------------------------------
# 4. Extract the package source archive
# download the package from https://aur.archlinux.org/packages/mastodon

# ------------------------------------------------------------
tar -xvzf "$PACKAGE_SOURCE_ARCHIVE"  # 
cd "$PACKAGE_SOURCE_DIR"
# ------------------------------------------------------------
# 5. Edit the PKGBUILD if needed
# ------------------------------------------------------------
# Use this command manually if you need to update the version:
#
# vim PKGBUILD
# ------------------------------------------------------------
#adapt version you found https://github.com/mastodon/mastodon 
# ------------------------------------------------------------
# 6. Update checksums in the PKGBUILD
# ------------------------------------------------------------
updpkgsums
# ------------------------------------------------------------
# 7. Build the package
# ------------------------------------------------------------
# -f = force rebuild, even if the package file already exists
# ------------------------------------------------------------
makepkg -f
# ------------------------------------------------------------
# 8. Copy the generated package to the local repository
# ------------------------------------------------------------
sudo cp ./*.pkg.tar.zst "$REPO_DIR/"
# ------------------------------------------------------------
# 9. Add the package to the local repository database
# ------------------------------------------------------------
cd "$REPO_DIR"
sudo repo-add "$REPO_NAME.db.tar.gz" ./*.pkg.tar.zst
# ------------------------------------------------------------
# 10. Synchronize pacman again
# ------------------------------------------------------------
sudo pacman -Syy
# ------------------------------------------------------------
# 11. Install or upgrade the package from the local repository
# ------------------------------------------------------------
sudo pacman -S "$PACKAGE_NAME"
# ------------------------------------------------------------
# Optional: directly without create local package 
# ------------------------------------------------------------
# cd mastodon
#makepkg -fsi
# -----------------------------------------------------------

PKBUILD file with pkgver=4.5.9 :

# Maintainer: Vamp898 <vamp898-aur@ikaros.space>
pkgname=mastodon
pkgver=4.5.9
pkgrel=1
pkgdesc='Your self-hosted, globally interconnected microblogging community'
arch=(any)
url=https://github.com/mastodon/mastodon
license=(AGPL3)
depends=(corepack
     ffmpeg
         git
         libidn
         libpqxx
         libvips
         libxml2
         libxslt
         libyaml
         nodejs
         postgresql
         protobuf
         ruby-bundler
         sudo
         valkey
         zlib
         yarn-berry)
backup=(etc/mastodon.conf)
install=mastodon.install
.........

ugjka commented on 2026-05-05 16:28 (UTC)

Is the new maintainer even active, or is this some squatting on the package

zoltix commented on 2026-04-12 11:09 (UTC) (edited on 2026-04-12 11:09 (UTC) by zoltix)

I updated to 4.5.8 and tested on my instance

# Maintainer: Vamp898 <vamp898-aur@ikaros.space>
pkgname=mastodon
pkgver=4.5.8
pkgrel=1
pkgdesc='Your self-hosted, globally interconnected microblogging community'
arch=(any)
url=https://github.com/mastodon/mastodon
license=(AGPL3)
depends=(corepack
     ffmpeg
         git
         libidn
         libpqxx
         libvips
         libxml2
         libxslt
         libyaml
         nodejs
         postgresql
         protobuf
         ruby-bundler
         sudo
         valkey
         zlib
         yarn-berry)
backup=(etc/mastodon.conf)
install=mastodon.install
options=(!strip)
source=(https://github.com/mastodon/mastodon/archive/v$pkgver.tar.gz
        mastodon.target
        mastodon.sysusers.d
        mastodon.tmpfiles.d
        devise_pam.patch)
sha256sums=('8d6df5fff6b320bff8e7e4cc4eabb1e621ed833ae51625b5c81101e1e291e45d'
            'e9928ced31f6490476100f02f2e158e41a076988dd7f3dff8f21d245bc2bb0ff'
            '1b67693f7de5802a34985b9ac969497fc6e6042dcae0b8abf6595b9fe15ee80e'
            '3fdd54dd1f374b7206c8beaebafdf890e74d30385f0c93f9cd99e1e4be92f8fa'
            '8415cded8d5f159623439b8ab0a87c1ac653a32f6945eebc9140195289c1ece6')
prepare() {
    cd mastodon-$pkgver
    patch -p1 < ../devise_pam.patch
}

build() {
    export COREPACK_ENABLE_DOWNLOAD_PROMPT=0
    cd mastodon-$pkgver
    sed -i '/husky install/d' package.json # Stop husky from hijacking git hooks
    bundle config set deployment true
    bundle config without 'development test'
    bundle config with 'pam_authentication'
    # Disable LTO which breaks the C extension of the google-protobuf gem https://github.com/protocolbuffers/protobuf/issues/11935
    bundle config --local build.google-protobuf "-- --with-cflags='$(ruby -r rbconfig -e 'print RbConfig::CONFIG["CFLAGS"]' | sed -e 's/-Werror=format-security//' -e 's/-flto=auto/-fno-lto/')' --with-ldflags='$(ruby -r rbconfig -e 'print RbConfig::CONFIG["LDFLAGS"]' | sed -e 's/-flto=auto/-fno-lto/')'"
    bundle config set frozen false
    bundle add erb
    BUNDLE_BUILD__CHARLOCK_HOLMES="--with-cxxflags=-std=c++17" bundle install -j$(getconf _NPROCESSORS_ONLN)
    corepack enable --install-directory . yarn
    ./yarn install --immutable
    # https://aur.archlinux.org/packages/mastodon?O=0#comment-986425
    cd vendor/bundle/ruby/*/gems/ox-*/ext/ox
    make
    cp ox.so ../../lib
}

package() {
    install -d "$pkgdir"/{var/lib,etc}
    cp -a mastodon-$pkgver "$pkgdir"/var/lib/mastodon

     # Put the config file in /etc and link to it
    touch "$pkgdir"/etc/mastodon.conf
    ln -s /etc/mastodon.conf "$pkgdir"/var/lib/mastodon/.env.production
    ln -s /usr/bin/node "$pkgdir"/var/lib/mastodon/node

    install -Dm 644 mastodon.target -t "$pkgdir"/usr/lib/systemd/system
    install -Dm 644 mastodon.sysusers.d "$pkgdir"/usr/lib/sysusers.d/mastodon.conf
    install -Dm 644 mastodon.tmpfiles.d "$pkgdir"/usr/lib/tmpfiles.d/mastodon.conf

    cd mastodon-$pkgver/dist

    # Fix path discrepancies
    sed -e 's/home\/mastodon\/live/var\/lib\/mastodon/g' -e 's/home\/mastodon\/.rbenv\/shims/usr\/bin/' -i mastodon-*.service
    sed -e 's/home\/mastodon\/live/var\/lib\/mastodon/g' -i nginx.conf

    install -Dm 644 mastodon-*.service -t "$pkgdir"/usr/lib/systemd/system
}

Vamp898 commented on 2026-02-24 15:18 (UTC)

As i migrated to GoToSocial, i am no longer using Mastodon, hence testing this package. So i gave up maintainership.

darkfm commented on 2025-11-09 23:58 (UTC)

Missing dependency on corepack:

/home/kouta/.cache/rua/build/mastodon/PKGBUILD: línea 62: corepack: orden no encontrada

Maybe was transitive dependency and is no longer depended on by some of the packages?