diff options
author | V3n3RiX <venerix@koprulu.sector> | 2024-03-19 00:49:58 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2024-03-19 00:49:58 +0000 |
commit | 2c18b7f7fb2885d27960657c60906ef0bac0681e (patch) | |
tree | 91c24c33362baf968c4c08f3a7220157b57a374f /app-containers/earthly | |
parent | bc7e0dbdbd194a8c2e09f82e1a5a4ea5e1b556f4 (diff) |
gentoo auto-resync : 19:03:2024 - 00:49:58
Diffstat (limited to 'app-containers/earthly')
-rw-r--r-- | app-containers/earthly/Manifest | 9 | ||||
-rw-r--r-- | app-containers/earthly/earthly-0.8.3.ebuild | 2 | ||||
-rw-r--r-- | app-containers/earthly/earthly-0.8.4.ebuild | 2 | ||||
-rw-r--r-- | app-containers/earthly/earthly-0.8.5.ebuild | 2 | ||||
-rw-r--r-- | app-containers/earthly/earthly-0.8.6.ebuild | 71 |
5 files changed, 77 insertions, 9 deletions
diff --git a/app-containers/earthly/Manifest b/app-containers/earthly/Manifest index 6c52dd628907..e94e5a88e74a 100644 --- a/app-containers/earthly/Manifest +++ b/app-containers/earthly/Manifest @@ -4,7 +4,10 @@ DIST earthly-0.8.4-deps.tar.xz 158470344 BLAKE2B c3ec6369f8b397abd9b76dc77461c62 DIST earthly-0.8.4.tar.gz 8041021 BLAKE2B 66057e29d4b287a220d8799efb4a1c5c43ea7641029e3af59bf8556125df28f9eafddc20d515fd20fab8c09bbb6278af4ea525f4bbe38d0e24ee031fc65c7336 SHA512 b663a10feb255329dfca30d5d70cb5c36ad5f96ed2b0cd30c46dd1b4ad087ab15b941fe6d3be3e32b1eee8199b5ee8ae50d61739c290b8967b6fcfd4126327db DIST earthly-0.8.5-deps.tar.xz 157843872 BLAKE2B aade314abdcd8aaf18737908df1a90d71c907f286df463c9f8ce9654d5e212387b7107070225bf85f54d6e4688a741b7838b5c70d9f1a09ac15e904b83d4d2b8 SHA512 557b3477c1773c27934429677a53efbdc104230fcbd536cb73e8cd631ccf2af488731acc5555484298fc579e08b8e52031191b49ef0610595b2b67cc987232e3 DIST earthly-0.8.5.tar.gz 8051712 BLAKE2B b9310a28d79bec7a59525a541cdd51960762b0695ccf15fd33be8a9917a7e52b2251a4ebf202c4f02036b3c178b8d26fc9bc4802b9d6a73a5bfc39623c5075d7 SHA512 206dc95c2ef4b89ea7dd65b2b04f4ac7606d63891cea708f7d7dcdff8f3e9ed113b090b65c0285175412cd76fca18852bf77eeddc2e0f2782f390e5bce1f8b86 -EBUILD earthly-0.8.3.ebuild 1805 BLAKE2B 393b8ab9d4dbef4448f16b672dd83b99e20681ab2c3a6496ec208d88cda0282b9874e149a3ee125b4b85a4c288c7af5f479cc7f38576cacb13bb516d0c75a1e9 SHA512 9dc024fa2326ac983b0e18329f62c1a4d68dc03448485157b32facca57d4327650cbfb05e9304e36f077800439eb313804ed78a348cf5aaf93521cbb89ede887 -EBUILD earthly-0.8.4.ebuild 1806 BLAKE2B 76b450d95330496cc88850d080993a09fdfec4b3c9ddea23cfb0e11e376058d782e67adf713e6a042f939951cb40fcf9c5b6b97e47f3042ac90730079005b207 SHA512 08f376f6f2b2aca415881f4e34fd4b058020de98168bbf1341a245d36b9a5100487ca51fc1d1e2a297547817c6435196e2656b83f5ef2b8910502b19adaa977d -EBUILD earthly-0.8.5.ebuild 1806 BLAKE2B 07a436cabd245f99cec1f90182f37810af90599383f59982cb8e6860b823f4dfd3287fa5b7cd2b8e8a3668609f903b94416b46f96555636b5708fc49c927a547 SHA512 3ba66ec7966dd1a73df700f97f7af3dfe9e5805ca3de2fd0318361bab702f2c3610d4c2f20ac48da56916f8736194c635694f617f670dd8c359dda5661c0018c +DIST earthly-0.8.6-deps.tar.xz 157843872 BLAKE2B aade314abdcd8aaf18737908df1a90d71c907f286df463c9f8ce9654d5e212387b7107070225bf85f54d6e4688a741b7838b5c70d9f1a09ac15e904b83d4d2b8 SHA512 557b3477c1773c27934429677a53efbdc104230fcbd536cb73e8cd631ccf2af488731acc5555484298fc579e08b8e52031191b49ef0610595b2b67cc987232e3 +DIST earthly-0.8.6.tar.gz 8052646 BLAKE2B 43cb74b7ad198d6418a60dd8b3bac61c1bf67f460b73ca3627647ce71778178e69075bc5122a24cfe33c075c40e962db60845ae6d0933782432eb56087ed83f2 SHA512 4c5ae65452ff940bbeeff7ec489882c5db82597977d18ac3f187ae6a444f6b78222f16f3e0ff10250100195227b925d1a73e24c2ffce618b8675fd826302a47a +EBUILD earthly-0.8.3.ebuild 1781 BLAKE2B 9e30a6e86c0e3ccb5984850296ce8f75ba3ab101c2f9fe073e4d1360363c702fcdafa64ae2b3a10871d88066f5aea12a65bb6207146c8b7d2ebcbc6819a909b9 SHA512 52fca0ea0ce433f21cd78eb54efd5b6946437be55a53ad940e2725f946f4cf9becc287ee897932190d0df3d7aa229ae9bc8ab44ba82201e326607b1ae2a3d87d +EBUILD earthly-0.8.4.ebuild 1782 BLAKE2B fee5e508dc98576084de7d6d0dd8f6986b654b2910d831fae3576e7cc8d63e22bd2294cc372e18260ccee17c0844baf973b773a1b669f1b6150b452d66186c89 SHA512 ac74257ea18df5c186b38318c9f10eefc2765b6614f8f90d8729ce04f9c9c9133dbcc4211567cffeee5ab583388f0fa0543e37e4c55fc251e3f87601bbe74037 +EBUILD earthly-0.8.5.ebuild 1782 BLAKE2B 720acd491c6ef2c2ec1f6520866d295174a3490281a269f5e488bf7116c5d3f4c0e52b77311f006a580041bfb43e630acf7f90df4e8742e43e53a4ddc4912487 SHA512 a381e131461389d91028fcc920e61e3ca49a6790977bbed4408368ed0aaadfe4135254ca7f6a8e98bafa526bfecdc920a5168b3d6cf7e6dacfadf0da17178c31 +EBUILD earthly-0.8.6.ebuild 1782 BLAKE2B a468ae75e56269713a31bd8bd69726603668ab76ffc778e7d93fa64f018726982ed2bdf45de73a69c46246c7cf497398e5db62b90d4ea6a8d684ce383b85c62f SHA512 ae2ad347f5ab0d3ee92759c8ad18b3808faad7740a9a87b087524de92918278ef938163c612776ef7fc104aee566765fc37f2526985be010fde3ce2fdd6aab63 MISC metadata.xml 927 BLAKE2B b7d5184df16f39603bf6df8b503e701d737fec188d1d97673e4ca59babd990c1b872784c91db04c74d9a08dbffa76f4e7530d8b021cbbe9ae51fd9966f709522 SHA512 f7f49eb583b2b5a9939c26e9eaff3917392525c3a94e5f8274c89b69e172547ad02fa4ed1b078e7d778f765659e1b9a7cf99d88042034cfbfbef54e685c8b6dd diff --git a/app-containers/earthly/earthly-0.8.3.ebuild b/app-containers/earthly/earthly-0.8.3.ebuild index 11beaa04885d..95cb587f25e6 100644 --- a/app-containers/earthly/earthly-0.8.3.ebuild +++ b/app-containers/earthly/earthly-0.8.3.ebuild @@ -35,8 +35,6 @@ RDEPEND=" DOCS=( CHANGELOG.md CONTRIBUTING.md README.md ) src_compile() { - # mkdir -p bin || die - local go_tags="dfrunmount,dfrunsecurity,dfsecrets,dfssh,dfrunnetwork,dfheredoc,forceposix" local go_ldflags=" -X main.DefaultBuildkitdImage=docker.io/earthly/buildkitd:v${PV} diff --git a/app-containers/earthly/earthly-0.8.4.ebuild b/app-containers/earthly/earthly-0.8.4.ebuild index 2d492ba3b144..b6506a380599 100644 --- a/app-containers/earthly/earthly-0.8.4.ebuild +++ b/app-containers/earthly/earthly-0.8.4.ebuild @@ -35,8 +35,6 @@ RDEPEND=" DOCS=( CHANGELOG.md CONTRIBUTING.md README.md ) src_compile() { - # mkdir -p bin || die - local go_tags="dfrunmount,dfrunsecurity,dfsecrets,dfssh,dfrunnetwork,dfheredoc,forceposix" local go_ldflags=" -X main.DefaultBuildkitdImage=docker.io/earthly/buildkitd:v${PV} diff --git a/app-containers/earthly/earthly-0.8.5.ebuild b/app-containers/earthly/earthly-0.8.5.ebuild index 5b4f4944a279..97d327f570a3 100644 --- a/app-containers/earthly/earthly-0.8.5.ebuild +++ b/app-containers/earthly/earthly-0.8.5.ebuild @@ -35,8 +35,6 @@ RDEPEND=" DOCS=( CHANGELOG.md CONTRIBUTING.md README.md ) src_compile() { - # mkdir -p bin || die - local go_tags="dfrunmount,dfrunsecurity,dfsecrets,dfssh,dfrunnetwork,dfheredoc,forceposix" local go_ldflags=" -X main.DefaultBuildkitdImage=docker.io/earthly/buildkitd:v${PV} diff --git a/app-containers/earthly/earthly-0.8.6.ebuild b/app-containers/earthly/earthly-0.8.6.ebuild new file mode 100644 index 000000000000..4396b9231a9e --- /dev/null +++ b/app-containers/earthly/earthly-0.8.6.ebuild @@ -0,0 +1,71 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +# Git commit SHA is needed at runtime by earthly to pull and bootstrap images. +if [[ "${PV}" == 0.8.6 ]] ; then + COMMIT_SHA=b20c1db1cfe5816a5d2f7d416d598d5777d8f4bb +else + die 'Could not detect "COMMIT_SHA", please update the ebuild.' +fi + +inherit go-module + +DESCRIPTION="Build automation tool that executes in containers" +HOMEPAGE="https://earthly.dev/ + https://github.com/earthly/earthly/" +SRC_URI=" + https://github.com/${PN}/${PN}/archive/v${PV}.tar.gz + -> ${P}.tar.gz + https://dev.gentoo.org/~xgqt/distfiles/deps/${P}-deps.tar.xz +" + +LICENSE="MPL-2.0" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +RDEPEND=" + || ( + app-containers/docker + app-containers/podman + ) +" + +DOCS=( CHANGELOG.md CONTRIBUTING.md README.md ) + +src_compile() { + local go_tags="dfrunmount,dfrunsecurity,dfsecrets,dfssh,dfrunnetwork,dfheredoc,forceposix" + local go_ldflags=" + -X main.DefaultBuildkitdImage=docker.io/earthly/buildkitd:v${PV} + -X main.GitSha=${COMMIT_SHA} + -X main.Version=v${PV} + " + local -a go_buildargs=( + -tags "${go_tags}" + -ldflags "${go_ldflags}" + -o ./bin/ + ) + ego build "${go_buildargs[@]}" ./cmd/... +} + +src_install() { + exeinto /usr/bin + doexe bin/earthly + newexe bin/debugger earthly-debugger + + einstalldocs +} + +pkg_postinst() { + if has_version "app-containers/podman" ; then + ewarn "Podman is supported but not recommended." + ewarn "If issues arise, then please try running earthly with docker." + fi + + if has_version "app-containers/podman[rootless]" ; then + ewarn "Running podman in rootless mode is not supported because" + ewarn "earthly/dind and earthly/buildkit require privileged access." + ewarn "For more info see: https://docs.earthly.dev/docs/guides/podman/" + fi +} |