diff options
Diffstat (limited to 'dev-util')
-rw-r--r-- | dev-util/Manifest.gz | bin | 65141 -> 65148 bytes | |||
-rw-r--r-- | dev-util/gitlab-cli/Manifest | 3 | ||||
-rw-r--r-- | dev-util/gitlab-cli/gitlab-cli-1.48.0.ebuild | 33 | ||||
-rw-r--r-- | dev-util/gitlab-runner/Manifest | 6 | ||||
-rw-r--r-- | dev-util/gitlab-runner/gitlab-runner-17.4.1.ebuild | 62 | ||||
-rw-r--r-- | dev-util/gitlab-runner/gitlab-runner-17.5.1.ebuild | 62 |
6 files changed, 166 insertions, 0 deletions
diff --git a/dev-util/Manifest.gz b/dev-util/Manifest.gz Binary files differindex f5cc71c0b367..3b049eb61b1c 100644 --- a/dev-util/Manifest.gz +++ b/dev-util/Manifest.gz diff --git a/dev-util/gitlab-cli/Manifest b/dev-util/gitlab-cli/Manifest index 1c0af949dee3..526d034e643a 100644 --- a/dev-util/gitlab-cli/Manifest +++ b/dev-util/gitlab-cli/Manifest @@ -2,6 +2,9 @@ DIST gitlab-cli-1.44.1-deps.tar.xz 18136428 BLAKE2B 9fafde045efac7a00029170ee3b9 DIST gitlab-cli-1.44.1.tar.bz2 16841236 BLAKE2B 3a9ab7b0ca02c6a4a0652a268364785a6514c7bda688137947f11add4688e30ea547fe211b92a2543b765b8a82dc9ac85a7e189697bdc51c39cf62e82eaef42f SHA512 8b4bc19f78054104ae4551efacade8c2a1e86cf538dba2b31a9e7127cd6a792b8bf00d788a93aa26ba3f9a03684db0dbf67968e66d6048168cec6a512d90b18c DIST gitlab-cli-1.46.0-deps.tar.xz 21625028 BLAKE2B c4c5c38f505e0812e2ab5490d5064815fb6b8b2d65fe21016db886959b6dee2c5ed3e2abf51a00a40b70927a9d4562e4330075809e0c2d413652f5cc33ba4be2 SHA512 9a04a6ba82c8c00124b53adfefaf4b22dbd59d085823ed44e26d7a0436c359b2e966987258206030881373302627a40b800675efbf05ed4c3558f20830aabe94 DIST gitlab-cli-1.46.0.tar.bz2 16845037 BLAKE2B b1bbfffb0968b5245fae91a7ba0c29f7c278de06006a79f8d5b9c64acb577b5cead2a3587eb770a35d5b0fd75fc9917c078918cb51541e677b739d38ec9510e3 SHA512 c6a1a854019f21cb172dba1ce01c8a4e94d6af7ada52c1bf182bb3444fcb8f7d593eb009a2c89c078f09f7abde57443a95d2a81aa11619ebecb75bfb5ace6ada +DIST gitlab-cli-1.48.0-deps.tar.xz 21543860 BLAKE2B 7193a39b845a2afc999100f5936a9a5e8565597b51c37c9717fd38ff4799fba53ba74eb4acf9d02cd6d7247270e794976e8c0e57949881a3183f692cd32dfb96 SHA512 15c294669b61288bf9f23c312b5d29e3fb53c6dd9b2bbc4877bbcb42ad8b06cac1cb5f8b4252749bebb774f5d374b63e9e7ee89e5fefd452a81e6082c0d7091f +DIST gitlab-cli-1.48.0.tar.bz2 16863481 BLAKE2B d7ffaca8b63772dc3394d7205044f2c43c8bb58b08f3e892bd4ab169c10151dd67337847b850b7e625b4d32bf674162851664cfb81af76bb9636432439758f12 SHA512 e59d31b6fb3ebbbe989c1198b9e33bc639a46d68fffa24b5df3c1b4fe8391a5c7a9fb84a7d9dcf1989d63375ef92d964e6474203be31a2fc82509959b28075a2 EBUILD gitlab-cli-1.44.1.ebuild 767 BLAKE2B 8c3e8b2f4c1617b017c6ef7c5ae268a4adf9942391e842c58cb33dab451d524c11c5f63e1a64395bb021779f2cde5522d0cba936bc636cee903ae8f49fa70847 SHA512 60dd05ce01c09c092ac7ad2a289603b10867d61566abc639958aee7d04a00a83a4f9bef4de8fd01bd3a942c2301d2cea4e19fc0dd3d7cef1248bca70838617c5 EBUILD gitlab-cli-1.46.0.ebuild 797 BLAKE2B d83cf7f6f12935723e14c9ccff511be663df028e70feb7955d0d5770ddab849254732afa74058c062e810024b3b31f56b62da5660c6bb76886425bd43df847b4 SHA512 3d8acce055170ce3f26c8c928a320e3351948cd58f01b254e02c0f67609f273a48fe45a689f5d4c9dfeeebe2d2c2fdb44bd732dc78bb819da41ece3c7b320872 +EBUILD gitlab-cli-1.48.0.ebuild 797 BLAKE2B ae18ef9c563ace99be2f91ecf24afb3b8c540c66f189d5fac3a86c56e50c190db4fc3ebccda72bcf2542aeb1a4b2e5e64eafd75b3b28595fae663a8483497ad8 SHA512 0606706ac2ea2976c84fe53b31694299aa44936e1439070b517cb5b168e34e8877ac07339c2883b1712ac5e6957ec57b3a8f83f4de92065e74b936a05d97770e MISC metadata.xml 328 BLAKE2B c15cee65978853695fcc911a6beb02ac29f8e82d7a82417989e497a0c014a2c5c2c22503cf2c099600e0885399496d0e7ce3b3590c8b8cfa0f6ecc6a63988d46 SHA512 4df241882ef7e722711132110271b672ef49913a92e9d70972857968e7d12a8403f5b19b5079fd78f3f08fb4aab8e615b51a6073db2c460aa2ae3ec31d8e3a28 diff --git a/dev-util/gitlab-cli/gitlab-cli-1.48.0.ebuild b/dev-util/gitlab-cli/gitlab-cli-1.48.0.ebuild new file mode 100644 index 000000000000..7ac646600117 --- /dev/null +++ b/dev-util/gitlab-cli/gitlab-cli-1.48.0.ebuild @@ -0,0 +1,33 @@ +# Copyright 2023-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 +inherit go-module +GIT_COMMIT=2db471edb1eb73439eecc04e0a6ab5acc1f32c80 + +DESCRIPTION="the official gitlab command line interface" +HOMEPAGE="https://gitlab.com/gitlab-org/cli" +SRC_URI="https://gitlab.com/gitlab-org/cli/-/archive/v${PV}/${PN}-v${PV}.tar.bz2 -> ${P}.tar.bz2" +SRC_URI+=" https://dev.gentoo.org/~williamh/dist/${P}-deps.tar.xz" +S="${WORKDIR}/cli-v${PV}-${GIT_COMMIT}" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" + +BDEPEND=">=dev-lang/go-1.23.0" + +# tests communicate with gitlab.com and require a personal access token +RESTRICT="test" + +src_compile() { + emake \ + GLAB_VERSION=v${PV} \ + build manpage +} + +src_install() { + dobin bin/glab + dodoc README.md + doman share/man/man1/* +} diff --git a/dev-util/gitlab-runner/Manifest b/dev-util/gitlab-runner/Manifest index dec5f04f0611..934a3f462c21 100644 --- a/dev-util/gitlab-runner/Manifest +++ b/dev-util/gitlab-runner/Manifest @@ -8,7 +8,13 @@ DIST gitlab-runner-17.2.1-deps.tar.xz 86661500 BLAKE2B 96700ef116677e2fa0d223347 DIST gitlab-runner-17.2.1.tar.bz2 1378845 BLAKE2B 649217da0c358e8db87758c72bd69897b1d9edd0b9e9d92c9a42ce7b39b5fa8bef7a07faf107584d90aae8ce292e0625b2a021294cd9b8cff73c02d086a5cda7 SHA512 3c14643da0884bc6bdf1eebfababb1ffa7d2ecf93ec1b0e708aef143b8a9519bc7d27fb6a3fdf6f6fb5b04511a8f1cfd9622c9c5db4365c879dc30c8a4d59cb6 DIST gitlab-runner-17.3.1-deps.tar.xz 86653516 BLAKE2B e7ac6d3218528f5a33f727a3e27a435fc2cb676e36e952892e656122f9c9e986806a1023ce8b03e4bb07e5829b7595f8ebc8a184456fe5f067745b55d1550a8b SHA512 c28edf4af1e1cb0966eb45e2d1f3b7b0f1312892e20d2cf87321e29eacbdc37b4e6b3d92f02c7b8a4cd0b4f8fc3e85d58f6ce208e4650400547fd093efa84715 DIST gitlab-runner-17.3.1.tar.bz2 1382824 BLAKE2B 58086f5964776ecc08d25c817e4460f5874f4b8def14aaab46f7e94157a2b801f42e0656c13190c3272fb43b3213ac253ed329563cf67e292a57f48d1fd0e7ce SHA512 67be67ed3e3c5136f6adad17c85080d6470f8a7082080fe7026609b42868de454dd1f8aa750087ecf23a02fdd1c2d00d7797638d0f9be070103574ea1a1c491b +DIST gitlab-runner-17.4.1-deps.tar.xz 104751932 BLAKE2B a4db4d8f739343a5648379d60717ec9df9526f481799dd4e8eb106167ea835a16e13b60d72a96a11d5d6ed9094ab099af82c86f061d8d85ea360d47e663876b7 SHA512 df4fdbdf242e52ca1ec1f54664646c5275561060b30e12c51d6ef41bdba5b8836e0c2a303b17ddead64dd946a9a01d191adbaadbf2f3eee7ebfc5bcda3746406 +DIST gitlab-runner-17.4.1.tar.bz2 1407772 BLAKE2B 9185590409a53b511b12eb562d0765b95c202052fe2bc7c6aac334a298fd0af50cab3118079cfa42eb6ec0f7f767de0dadd036a5a888217f9742d8c5097a92e3 SHA512 be77f5e24aad129845cc0c66b19fe4cf673eb43e5a0b37a146d53a1cc114851340bfd08e23c78b8f9c4372ccee35dd541ac646abfd72906fb16c0d7fcca8e1d9 +DIST gitlab-runner-17.5.1-deps.tar.xz 108461592 BLAKE2B e78fc32c94f469267fb416f1f6d20341c7d06c46b21771ff35c6d46c5959d64d596c348df7f854a52c81bfae8c8ec3cedcecbf155be86ae832c66e3ce15abf45 SHA512 25d55ae1198415b1485a4209d19de034ad13cf25d300e50726cf67f69e27d8db3b02c664a631db3180a2ba192e9927dbba5fb5cdec7cfc35c7f5f56266f23836 +DIST gitlab-runner-17.5.1.tar.bz2 1725228 BLAKE2B 7aceaa08ac654b0e197eeac81828b505e940a0c37c1d47cee375858b650651277c4ce257f60106e845341252dccd9748d1c79fca5cac2cc151e08b9c4736b18c SHA512 f534bb38dfc42dcaa40067956a76680788d926e957f3fbf6bf763547428d0d896a2eb3360ed297c47fe2861d8fa992cf42e77346b552f4ed50fef9bb50f8cf93 EBUILD gitlab-runner-17.1.1.ebuild 1679 BLAKE2B 9390458d7a75295551b2d388fd40d490ed78897b0b39e92f37bb23f0a6b15d637de1fdd17956ba04f52458bf6a5665735967043365a7ef15f457374b16c3823d SHA512 a3436df6f2d3c2a7aaedb93c74527e924252c844cb4ac6afcf6efc5cfdf9a443c6e3a959faef7b48c7115467ff9ecebee2dbbbd520015700b9e2b12b320a1194 EBUILD gitlab-runner-17.2.1.ebuild 1679 BLAKE2B f1bf44ea5b70dbaa63ba5842650f0a73cfe37e0235f48afc411cae9bdef0e985f7f6ce2655b6f10dc83a6eadbccb8149a6d5ec06c2eb4a433356113923279b47 SHA512 656329e01389f97a8a6af6c29da086b866c2f1b20140084321f853e510fe83c45226d3f894fb14605f274db8ea2d88333d2ebff93c46952a8448a291c16c3928 EBUILD gitlab-runner-17.3.1.ebuild 1679 BLAKE2B 84c832ae8e4dbec721fead3ac4765f6007df518062ef8309cbf42b8351ac5cc453cd28f70954d36ca8f60314e37ea272f351785d76fbd8284f1d28fb9463f19e SHA512 e1893ae44e0d9cd5f1af1f87dbb29dc48f1c280f7bc20976e799d03d5df3a4433320e0cd9502d40ea861a0a872833183044672ae00cd3dc18f339dec61195629 +EBUILD gitlab-runner-17.4.1.ebuild 1679 BLAKE2B 042a2efb4afa27f7e6d0908a1d68d013b385a100676e6f3e95c328171fd0e7e01deaa390f21fc16b101af664f5dd3351c0df5a34fdcdb3bb96e85c3d74a380d6 SHA512 aecdb3ad218367ddd27d493ae2ccc80fdfbbadef6f121b2a822b16b1292c4e4dc7bfe8dd76668d499659bec6f35960027118488efe51a6e9b9a4924dfe03470c +EBUILD gitlab-runner-17.5.1.ebuild 1679 BLAKE2B 620a8708bdce0272d324acd9c3c37e3847d1b3b4339b25227761a90d808b68630a23b357548a785ebc120de0aa8703f5eb934ab0534077455debd62bbe42eca6 SHA512 3c5375ee6b792d7cdfb1790885718584f4466d108ab0057d7cb164aff578fd8ecf1d78cc1fea78f7d9cd8b38d3289fdbe33f2718f33e064048042e96794f30f8 MISC metadata.xml 338 BLAKE2B dfdcaaee18d3e5492674d3b4055002201342fa4d5b713f88240753002de2bde6244469fe42fe514cb82544d15deacd235cd031dcf71d661a24b26f422c67c392 SHA512 b12a8270df4f07c6b4359150a3b7341d3913a93598153824ec758384758e69667a89de20066735ccc24aea7af07b5c1bdd444fca3193be5402bce5154f90ec79 diff --git a/dev-util/gitlab-runner/gitlab-runner-17.4.1.ebuild b/dev-util/gitlab-runner/gitlab-runner-17.4.1.ebuild new file mode 100644 index 000000000000..b18cf6e1bed9 --- /dev/null +++ b/dev-util/gitlab-runner/gitlab-runner-17.4.1.ebuild @@ -0,0 +1,62 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 +inherit go-module systemd tmpfiles + +# make sure this gets updated for every bump +GIT_COMMIT=32fe5502 + +DESCRIPTION="The official GitLab Runner, written in Go" +HOMEPAGE="https://gitlab.com/gitlab-org/gitlab-runner" +SRC_URI="https://gitlab.com/gitlab-org/gitlab-runner/-/archive/v${PV}/${PN}-v${PV}.tar.bz2 -> ${P}.tar.bz2" +SRC_URI+=" https://dev.gentoo.org/~williamh/dist/${P}-deps.tar.xz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="amd64 ~ppc64 ~riscv" + +COMMON_DEPEND="acct-group/gitlab-runner + acct-user/gitlab-runner" +DEPEND="${COMMON_DEPEND}" +RDEPEND="${COMMON_DEPEND}" +BDEPEND="dev-go/gox" + +DOCS=( docs CHANGELOG.md README.md config.toml.example ) + +S="${WORKDIR}/${PN}-v${PV}" + +src_compile() { + emake \ + BUILT="$(date -u '+%Y-%m-%dT%H:%M:%S%:z')" \ + GOX="${EPREFIX}/usr/bin/gox" \ + REVISION=${GIT_COMMIT} \ + VERSION=${PV} \ + runner-bin-host +} + +src_test() { + CI=0 ego test +} + +src_install() { + dobin out/binaries/gitlab-runner + einstalldocs + + newconfd "${FILESDIR}/${PN}.confd" "${PN}" + newinitd "${FILESDIR}/${PN}.initd" "${PN}" + systemd_dounit "${FILESDIR}/${PN}.service" + newtmpfiles "${FILESDIR}"/${PN}.tmpfile ${PN}.conf + keepdir /{etc,var/log}/${PN} + fperms 0700 /{etc,var/log}/gitlab-runner + fowners gitlab-runner:gitlab-runner /{etc,var/log}/${PN} +} + +pkg_postinst() { + tmpfiles_process gitlab-runner.conf + [[ -f ${EROOT}/etc/gitlab-runner/config.toml ]] && return + elog + elog "To use the runner, you need to register it with this command:" + elog "# gitlab-runner register" + elog "This will also create the configuration file in /etc/gitlab-runner/config.toml" +} diff --git a/dev-util/gitlab-runner/gitlab-runner-17.5.1.ebuild b/dev-util/gitlab-runner/gitlab-runner-17.5.1.ebuild new file mode 100644 index 000000000000..f8a323beb701 --- /dev/null +++ b/dev-util/gitlab-runner/gitlab-runner-17.5.1.ebuild @@ -0,0 +1,62 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 +inherit go-module systemd tmpfiles + +# make sure this gets updated for every bump +GIT_COMMIT=affd9e7d + +DESCRIPTION="The official GitLab Runner, written in Go" +HOMEPAGE="https://gitlab.com/gitlab-org/gitlab-runner" +SRC_URI="https://gitlab.com/gitlab-org/gitlab-runner/-/archive/v${PV}/${PN}-v${PV}.tar.bz2 -> ${P}.tar.bz2" +SRC_URI+=" https://dev.gentoo.org/~williamh/dist/${P}-deps.tar.xz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="amd64 ~ppc64 ~riscv" + +COMMON_DEPEND="acct-group/gitlab-runner + acct-user/gitlab-runner" +DEPEND="${COMMON_DEPEND}" +RDEPEND="${COMMON_DEPEND}" +BDEPEND="dev-go/gox" + +DOCS=( docs CHANGELOG.md README.md config.toml.example ) + +S="${WORKDIR}/${PN}-v${PV}" + +src_compile() { + emake \ + BUILT="$(date -u '+%Y-%m-%dT%H:%M:%S%:z')" \ + GOX="${EPREFIX}/usr/bin/gox" \ + REVISION=${GIT_COMMIT} \ + VERSION=${PV} \ + runner-bin-host +} + +src_test() { + CI=0 ego test +} + +src_install() { + dobin out/binaries/gitlab-runner + einstalldocs + + newconfd "${FILESDIR}/${PN}.confd" "${PN}" + newinitd "${FILESDIR}/${PN}.initd" "${PN}" + systemd_dounit "${FILESDIR}/${PN}.service" + newtmpfiles "${FILESDIR}"/${PN}.tmpfile ${PN}.conf + keepdir /{etc,var/log}/${PN} + fperms 0700 /{etc,var/log}/gitlab-runner + fowners gitlab-runner:gitlab-runner /{etc,var/log}/${PN} +} + +pkg_postinst() { + tmpfiles_process gitlab-runner.conf + [[ -f ${EROOT}/etc/gitlab-runner/config.toml ]] && return + elog + elog "To use the runner, you need to register it with this command:" + elog "# gitlab-runner register" + elog "This will also create the configuration file in /etc/gitlab-runner/config.toml" +} |