Install this version:
emerge -a =net-proxy/queqiao-0.8.0
If this version is masked, you can unmask it using the autounmask tool or standard emerge options:
autounmask =net-proxy/queqiao-0.8.0
Or alternatively:
emerge --autounmask-write -a =net-proxy/queqiao-0.8.0
| Version | EAPI | Keywords | Slot |
|---|---|---|---|
| 0.8.0 | 8 | ~amd64 | 0 |
# Copyright 2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit go-module systemd readme.gentoo-r1
DESCRIPTION="Self-hosted WAN optimization proxy for difficult long-haul links"
HOMEPAGE="https://github.com/bojieli/queqiao"
SRC_URI="
https://github.com/bojieli/queqiao/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz
https://github.com/gentoo-zh/gentoo-deps/releases/download/${P}/${P}-vendor.tar.xz
"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64"
RDEPEND="
acct-group/${PN}
acct-user/${PN}
"
BDEPEND="${RDEPEND}
>=dev-lang/go-1.25.13
"
src_prepare() {
rm -r mobile || die
sed -i 's|/usr/local/bin|/usr/bin|' deploy/queqiaod.service || die
default
}
src_compile() {
ego build -o queqiaod -trimpath \
-ldflags "-X main.version=${PV}" \
./cmd/queqiaod
}
src_install() {
dobin queqiaod
keepdir /var/log/queqiao
fowners queqiao:queqiao /var/log/queqiao
fperms 750 /var/log/queqiao
insinto /etc/queqiao
doins "${FILESDIR}/queqiaod.env"
systemd_dounit deploy/queqiaod.service
newinitd "${FILESDIR}/queqiaod.initd" queqiaod
newconfd "${FILESDIR}/queqiaod.confd" queqiaod
readme.gentoo_create_doc
}
pkg_postinst() {
readme.gentoo_print_elog
}
acct-group/queqiao acct-user/queqiao
acct-group/queqiao acct-user/queqiao >=dev-lang/go-1.25.13
| Type | File | Size | Source URLs |
|---|---|---|---|
| DIST | queqiao-0.8.0-vendor.tar.xz | 1631420 bytes | https://github.com/gentoo-zh/gentoo-deps/releases/download/queqiao-0.8.0/queqiao-0.8.0-vendor.tar.xz |
| DIST | queqiao-0.8.0.tar.gz | 4420134 bytes | https://github.com/bojieli/queqiao/archive/refs/tags/v0.8.0.tar.gz |