www-servers/s-ui-bin - 1.4.1 (gentoo-zh)

Search

Install

Install this version:

emerge -a =www-servers/s-ui-bin-1.4.1

If this version is masked, you can unmask it using the autounmask tool or standard emerge options:

autounmask =www-servers/s-ui-bin-1.4.1

Or alternatively:

emerge --autounmask-write -a =www-servers/s-ui-bin-1.4.1

Package Information

Description:
An advanced Web Panel • Built for SagerNet/Sing-Box
Homepage:
https://github.com/alireza0/s-ui
License:
GPL-3

Ebuild Details

Version EAPI Keywords Slot
1.4.1 8 ~amd64 0
View Raw Ebuild
# Copyright 2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

inherit unpacker systemd

DESCRIPTION="An advanced Web Panel • Built for SagerNet/Sing-Box"
HOMEPAGE="https://github.com/alireza0/s-ui"
SRC_URI="
	amd64? ( https://github.com/alireza0/s-ui/releases/download/v${PV}/s-ui-linux-amd64.tar.gz -> ${P}-amd64.tar.gz )
	arm64? ( https://github.com/alireza0/s-ui/releases/download/v${PV}/s-ui-linux-arm64.tar.gz -> ${P}-arm64.tar.gz )
"
S="${WORKDIR}"
LICENSE="GPL-3"

SLOT="0"
KEYWORDS="~amd64"

RESTRICT="strip"

src_prepare() {
	sed -i 's|ExecStart=.*|ExecStart=/usr/bin/sui|' "${S}/s-ui/s-ui.service" || die
	sed -i 's|WorkingDirectory=.*|WorkingDirectory=/var/lib/s-ui|' "${S}/s-ui/s-ui.service" || die

	default
}

src_install() {
	dobin "${S}/s-ui/sui"
	systemd_dounit "${S}/s-ui/s-ui.service"
	keepdir /var/lib/s-ui
}

Inherited Eclasses

Manifest for 1.4.1

Type File Size Source URLs
DIST s-ui-bin-1.4.1-amd64.tar.gz 33436401 bytes https://github.com/alireza0/s-ui/releases/download/v1.4.1/s-ui-linux-amd64.tar.gz
DIST s-ui-bin-1.4.1-arm64.tar.gz 30896935 bytes https://github.com/alireza0/s-ui/releases/download/v1.4.1/s-ui-linux-arm64.tar.gz