Package Details: mihomo 1.19.23-1

Git Clone URL: https://aur.archlinux.org/mihomo.git (read-only, click to copy)
Package Base: mihomo
Description: Mihomo Kernel by MetaCubeX, formerly known as Clash.Meta
Upstream URL: https://github.com/MetaCubeX/mihomo
Licenses: GPL3
Conflicts: clash-meta
Provides: clash-meta
Submitter: handsomexdd1024
Maintainer: Kizumi
Last Packager: Kizumi
Votes: 20
Popularity: 1.89
First Submitted: 2023-12-02 15:01 (UTC)
Last Updated: 2026-04-08 13:50 (UTC)

Pinned Comments

sukanka commented on 2023-02-15 01:05 (UTC)

If you want use tun mode, add the following pacman hook.

➜  ~ cat /etc/pacman.d/hooks/clash-meta.hook
[Trigger]
Operation = Install
Operation = Upgrade
Type = Path
Target = usr/bin/clash-meta

[Action]
When = PostTransaction
Exec = /usr/bin/setcap 'cap_net_admin,cap_net_bind_service=+ep' /usr/bin/clash-meta

Latest Comments

« First ‹ Previous 1 2 3 4 Next › Last »

MiketsuSmasher commented on 2024-06-10 16:52 (UTC) (edited on 2024-06-10 16:53 (UTC) by MiketsuSmasher)

当前较新的版本(1.18.5-4,通过 archlinuxcn 源安装)的进程分流功能不生效,查看日志可以看到:

level=debug msg="[Process] find process 157.240.20.18 error: process of uid(1000),inode(96671) not found"

这个AUR包版本老一点,但我找不到更合适的地方来反馈。问题似乎是 clash-meta 默认以专属的用户身份运行,无法获取 UID=1000 的用户的进程信息。

chitaotao commented on 2024-05-23 15:58 (UTC)

Seems like checksum might be incorrect, my sha265sum for clash-meta-1.18.5.tar.gz is 463f54384a144b63e499db44e3383c7a412a1572809053a42810e4c154b51f5e.

rzhli commented on 2024-03-31 05:50 (UTC)

https://pastebin.com/vpnW1d2i

olingcat commented on 2024-03-26 09:53 (UTC)

现在从零构建会出现

-linkmode requires external (cgo) linking, but cgo is not enabled

这样的错误,应该是依赖了某些需要cgo的包但默认 CGO_ENABLED 未开启,希望排查一下。 相关讨论见 https://aur.archlinux.org/packages/clash-nyanpasu 的评论区。

kde_fcitx5 commented on 2023-12-16 08:30 (UTC)

好像是github改名了?

handsomexdd1024 commented on 2023-12-14 10:29 (UTC)

@chust Thanks for the reminder. ldflags have been updated.

chust commented on 2023-12-14 06:21 (UTC)

The buildtime and version ldflags in the build function should be updated since the package name renamed.

-X "github.com/metacubex/mihomo/constant.Version=$(VERSION)" \
-X "github.com/metacubex/mihomo/constant.BuildTime=$(BUILDTIME)"

chenx_dust commented on 2023-12-08 17:59 (UTC)

Since mihomo renamed from clash-meta, you should replace the conflict package and provide package to mihomo as well.