Initial azy5030 overlay: scaffolding (eselect repository), the dev-util/gitea-runner ebuild (go-module, vendored), CI build validation, and a daily upstream-bump workflow. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -0,0 +1,2 @@
|
||||
DIST gitea-runner-1.0.4-vendor.tar.xz 3007156 BLAKE2B b9b7b03f607298a390b513bdc6824a2eba58bf7c1ed2e9e09556b309cb62669f1e5fc8fef6f62ce7a74f3a23573280158cb32d3b412394101f81cf8f19cdf64b SHA512 5309ef21c054a07b37a5ea1f5dd47cd6c424375a29f437ef743cb5719e8160e0c22a017175dad0b612291f444508b8dbe8e5fefabc9aac946c1217910aae6dd6
|
||||
DIST gitea-runner-1.0.4.tar.gz 326258 BLAKE2B 1908718d033b658238f735baed3323b53c85c5b5a471b8a7e543a1d7ef3898c1220a7fa27ff8e4224ae9f24960a6532699d9de770dc6ed7b5649dc0c5d624058 SHA512 5f7bdc31ce9b2c34dbac161f2a29a1be33a16a8118d9d1d58aef05de621ba542360afdb2af6fa4042d8cb7ab3421e9d1cd0f3c5102ddf85fc08a089ebb28a496
|
||||
@@ -0,0 +1,37 @@
|
||||
# Copyright 2026 Ali Zein Yousuf
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit go-module
|
||||
|
||||
DESCRIPTION="Gitea Actions runner (formerly act_runner)"
|
||||
HOMEPAGE="https://gitea.com/gitea/runner"
|
||||
SRC_URI="
|
||||
https://gitea.com/gitea/runner/archive/v${PV}.tar.gz -> ${P}.tar.gz
|
||||
https://git.azy.dev/azy5030/azy5030-overlay/releases/download/${PN}-${PV}-vendor/${P}-vendor.tar.xz
|
||||
"
|
||||
S="${WORKDIR}/runner"
|
||||
|
||||
# Upstream is MIT; the remaining licenses cover the vendored Go modules that
|
||||
# are statically linked into the binary.
|
||||
LICENSE="MIT Apache-2.0 BSD BSD-2 ISC MPL-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
|
||||
BDEPEND=">=dev-lang/go-1.26.0"
|
||||
# The runner shells out to the docker client for the Docker backend.
|
||||
RDEPEND="app-containers/docker-cli"
|
||||
|
||||
src_compile() {
|
||||
local ldflags=(
|
||||
-s -w
|
||||
-X "gitea.com/gitea/runner/internal/pkg/ver.version=v${PV}"
|
||||
)
|
||||
ego build -ldflags="${ldflags[*]}" -o gitea-runner .
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dobin gitea-runner
|
||||
einstalldocs
|
||||
}
|
||||
@@ -0,0 +1,13 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="person">
|
||||
<email>azy5030@gmail.com</email>
|
||||
<name>Ali Zein Yousuf</name>
|
||||
</maintainer>
|
||||
<longdescription lang="en">
|
||||
Gitea Actions runner (formerly act_runner): executes Gitea Actions
|
||||
workflows using a Docker or host backend. Packaged from upstream
|
||||
source (https://gitea.com/gitea/runner) with a vendored Go module tree.
|
||||
</longdescription>
|
||||
</pkgmetadata>
|
||||
Reference in New Issue
Block a user