diff options
Diffstat (limited to 'dev-util')
-rw-r--r-- | dev-util/Manifest.gz | bin | 68440 -> 68441 bytes | |||
-rw-r--r-- | dev-util/gitlab-runner/Manifest | 3 | ||||
-rw-r--r-- | dev-util/gitlab-runner/gitlab-runner-16.0.1.ebuild | 62 | ||||
-rw-r--r-- | dev-util/sysdig-kmod/Manifest | 2 | ||||
-rw-r--r-- | dev-util/sysdig-kmod/sysdig-kmod-0.27.1-r1.ebuild | 36 | ||||
-rw-r--r-- | dev-util/sysdig-kmod/sysdig-kmod-0.27.1.ebuild | 49 |
6 files changed, 102 insertions, 50 deletions
diff --git a/dev-util/Manifest.gz b/dev-util/Manifest.gz Binary files differindex 959a45b1368f..e060bedf8f94 100644 --- a/dev-util/Manifest.gz +++ b/dev-util/Manifest.gz diff --git a/dev-util/gitlab-runner/Manifest b/dev-util/gitlab-runner/Manifest index db4b3fabb644..7cf00f2047a8 100644 --- a/dev-util/gitlab-runner/Manifest +++ b/dev-util/gitlab-runner/Manifest @@ -8,7 +8,10 @@ DIST gitlab-runner-15.11.1-deps.tar.xz 161358304 BLAKE2B a318aa741a29c3e1623a389 DIST gitlab-runner-15.11.1.tar.bz2 1343959 BLAKE2B 3c1a12aedb6ec4ba88b20f1aca30e2cae3acbfab7aa22ab91cc87c355e1f1926f27c70a0357be6f969634bca200a7b9e69fb2bd09403be21d7fc4383c48d951f SHA512 5756952adf79a72ba62eef7e28d4dd134fd1aa00a020c615a11fcd6d8fadeb2ba40cf8e20d8bc253082885ea8fe77f18124da35fb7fa5f7bc7360b8143a85cd3 DIST gitlab-runner-15.9.1-deps.tar.xz 159144912 BLAKE2B f10167c731371dbf4d61a05d9154a3127e286846fd60e2eb7291a587d707389fdb989526942263e7a7fac2af02fc343e316528ee2f64aaf97a048e83e58521f9 SHA512 ae74bbfa62ac4a7506ec6099fab11bcf66f7b270ccc0a17dde0b226cccdbaf51949bea44f437e97c20e4b60c605060b42e77a36a11fb5eb080d55dcf30ee58d5 DIST gitlab-runner-15.9.1.tar.bz2 1267756 BLAKE2B 1732db4d7d8a3f530654f2897ec665bef87cefbfafc8776ba4b15d327768924d9fef5918a5d31899825e17bba20d04bfd30f6c8cbe834b266cadd0f414cfe840 SHA512 ab82cce1956105046aba8560317e00f3f333669ca7ee305879821bf433485599d2eb206afd8edc04c3b9c3d07eb38dfe335c77ff9a4f431bee5dea0a1d10b9c2 +DIST gitlab-runner-16.0.1-deps.tar.xz 161414860 BLAKE2B 10aeed685269102aae8a738b87c29fc553ddf3ca14309c7634180d9909d943a94727df851f0374dd0ae6c0b221a54bbd48a0fa38047cb50d1ca08798872c0ec0 SHA512 9337002f9a3c1356db11d635d767826aae719ccf546da77a3aec4c9d6eba253398a237f517d0a48aef60021d8d9a303656ac3bda4c5a282dc219034c8e704e88 +DIST gitlab-runner-16.0.1.tar.bz2 1345390 BLAKE2B 2c2bce5444721786014b0830149a7c430f5bc76b1f90df1b1b988788b4b43a79494419758f64ac56ca582ce9ffb214bfc9426bf8d9d2f1c51e09bb26a213406f SHA512 aa45659f958361d8fa138cf496faa68b278084127a225cf56930bd040db2b20307bcfe98c230ecc6d6f7576fbebebb6aa5801a4d17de2a977c92fa2ddf28ee84 EBUILD gitlab-runner-15.10.1.ebuild 1679 BLAKE2B 155e02174b6ee06840770cb1561766b652132c9b0d88798d0e180dd8f2a5ff55c757be108febcca65f8eee0004ff5e236a7101a6a86d06904b54cad038729884 SHA512 ff1240350cddb671535e43d619a4bd6589ed51cb3244ead7c8b6169642f0fe990851c9266749462df416ddf7c74a1e1c9f9cda6dec0683dcba41b97312b727b9 EBUILD gitlab-runner-15.11.1.ebuild 1679 BLAKE2B cf8f346d67d02d5b218657cec906f39cd8e5c8c446aa443c06bbbc33905df637332f48a4ea3ad908a35a90bc69255dcb887169d4e5a716d22cf644022f71ea7c SHA512 c75e0213226b66a2c2b8cc3957b45c175fca11301327a7cad9ba4489a7a4b66bb10f6c49cc46d8e0680aeebd121660be5f8cb9157734a810a07679e5118534f2 EBUILD gitlab-runner-15.9.1.ebuild 1679 BLAKE2B b225f3d51ff0f48c228244647ccc1ec58b6184732b624a25929ad55607840407994828c9a372f4407d1053e8817dbe7df9e7803d522c28b113985efa3b2116ba SHA512 7e17c1d37046d20b49bf2c40d8bd70a8183e7e0f9099dc9e4f8d9ff53aeeb32fed7e84bdf834db91fcd5030689a77643973db966e125d9b7468d43bc84d4289b +EBUILD gitlab-runner-16.0.1.ebuild 1679 BLAKE2B c322de6de3ad9bd6e2f3a9c91cd9db2359acd073c78391d7521b2a786d986d7c07676555bbe47eccc8251ddf0a56ced99aba11d6d3fe1530770390292c568902 SHA512 7f8338dee3cce31879b7f0fe4f8cd570eba249b209db43338b15a8f61c991a6f784eadb7a244c361e61c788d38e9877eb4a90b242cb84303aa6ecf3865924d7c MISC metadata.xml 338 BLAKE2B dfdcaaee18d3e5492674d3b4055002201342fa4d5b713f88240753002de2bde6244469fe42fe514cb82544d15deacd235cd031dcf71d661a24b26f422c67c392 SHA512 b12a8270df4f07c6b4359150a3b7341d3913a93598153824ec758384758e69667a89de20066735ccc24aea7af07b5c1bdd444fca3193be5402bce5154f90ec79 diff --git a/dev-util/gitlab-runner/gitlab-runner-16.0.1.ebuild b/dev-util/gitlab-runner/gitlab-runner-16.0.1.ebuild new file mode 100644 index 000000000000..68b04dc38d08 --- /dev/null +++ b/dev-util/gitlab-runner/gitlab-runner-16.0.1.ebuild @@ -0,0 +1,62 @@ +# Copyright 1999-2023 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=79704081 + +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/sysdig-kmod/Manifest b/dev-util/sysdig-kmod/Manifest index c11664a2c347..4f19df9e28fc 100644 --- a/dev-util/sysdig-kmod/Manifest +++ b/dev-util/sysdig-kmod/Manifest @@ -1,4 +1,4 @@ AUX 0.27.1-fix-kmod-build-on-5.18+.patch 2363 BLAKE2B ecd23377a65d2093c7d97158abe3417da2a45d7e10d692731ec3aa4cd1721e1294c516c61668aa30b6d290963a7126bd0a3f1df3da9e6b54d6ab4978bd14aac8 SHA512 a92592ce54b53be679ce094b578ce7c55366a8e3ef5680b83eb09b86b7fbcd3187f302e98424deb4fdcc37c5898167a8309f98e6ec3dd81b0aa47774409d3121 DIST sysdig-0.27.1.tar.gz 936415 BLAKE2B f4c15e3a2d4b974c5eafc8374f927dd82f123c05cc1976d04b08e77e1a7c0ff53f37c4e2c0022b7073fcc936310daf76ca3c3611141799ae4f51991bc6f3a0a3 SHA512 690f012c7db0a75ec2eb78fae17aae0f422aa1db0d4c2b15c4a09153fd2f60bd3c00d62238976fdcff2a906d87b2e34b81d02c0c78ad2684a1d6016a9988eb08 -EBUILD sysdig-kmod-0.27.1.ebuild 1008 BLAKE2B 9e9ecf6e83a5de4690f2dc3dee217fcd05ec51f4d42ab7a674bfe428f8690adacb42c6f5de7ce5b7261bd2a8d6f1cc9f4e3852cd2077d60b901d032ff0392327 SHA512 680989517e9f3e409ab6084af0c1559a771b900976c918aeedff71b014f578fe88ad7bed4db1b33c9474baf33ceef392c8706ee73de7799f201ed0ce6c2b1a52 +EBUILD sysdig-kmod-0.27.1-r1.ebuild 819 BLAKE2B 024cf63364ab61a8376a415c4794407fdca0cee8c34b45cb5de318b089ef4e5ba29d2b265e950f830b4adf0e739f839289196783ebecd248a2e8b166da411bf7 SHA512 daa895f04e2644b2a8b138f00fc4e92b95a5b0a8487f07abbf84781a27b262e22ef7891ed74827176d5faaa8980adbf48a4f0cac1f5d2bb3df42fafc478d2f0b MISC metadata.xml 246 BLAKE2B 35cfb0369ed2d389a18f9df8c6ffa8d61a2ffd51a358d720686706b6e694696fd1c46eab08be11e3733bf11edccb3734869b12612829858131072cae4fa98095 SHA512 113c52a3246e912aa3d5369eef4952e480d8f5a45b6656676fae8b10d3125d7a55430c87680b9f985f11fa58b3f29c1d13b3fdf94896c2f61c0451d0ca6a44a9 diff --git a/dev-util/sysdig-kmod/sysdig-kmod-0.27.1-r1.ebuild b/dev-util/sysdig-kmod/sysdig-kmod-0.27.1-r1.ebuild new file mode 100644 index 000000000000..b08faed2f3e3 --- /dev/null +++ b/dev-util/sysdig-kmod/sysdig-kmod-0.27.1-r1.ebuild @@ -0,0 +1,36 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit cmake linux-mod-r1 + +MY_P=${P/-kmod} +DESCRIPTION="Kernel module for dev-util/sysdig" +HOMEPAGE="https://sysdig.com/" +SRC_URI="https://github.com/draios/sysdig/archive/${PV}.tar.gz -> ${MY_P}.tar.gz" +S=${WORKDIR}/${MY_P} + +LICENSE="|| ( MIT GPL-2 )" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +PATCHES=( + "${FILESDIR}"/${PV}-fix-kmod-build-on-5.18+.patch +) + +CONFIG_CHECK="HAVE_SYSCALL_TRACEPOINTS ~TRACEPOINTS" + +src_prepare() { + cmake_src_prepare + + # cmake is only used to generate the Makefile for modules + sed -i '/USE_BUNDLED_DEPS/,$d' CMakeLists.txt || die +} + +src_compile() { + local modlist=( sysdig-probe=:"${BUILD_DIR}"/driver/src ) + local modargs=( KERNELDIR="${KV_OUT_DIR}" ) + + linux-mod-r1_src_compile +} diff --git a/dev-util/sysdig-kmod/sysdig-kmod-0.27.1.ebuild b/dev-util/sysdig-kmod/sysdig-kmod-0.27.1.ebuild deleted file mode 100644 index b679552f204c..000000000000 --- a/dev-util/sysdig-kmod/sysdig-kmod-0.27.1.ebuild +++ /dev/null @@ -1,49 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -inherit cmake linux-mod - -MY_P=${P/-kmod} -DESCRIPTION="Kernel module for dev-util/sysdig" -HOMEPAGE="https://sysdig.com/" -SRC_URI="https://github.com/draios/sysdig/archive/${PV}.tar.gz -> ${MY_P}.tar.gz" -S=${WORKDIR}/${MY_P} - -LICENSE="|| ( MIT GPL-2 )" -SLOT="0" -KEYWORDS="~amd64 ~x86" - -RDEPEND="!<=dev-util/sysdig-0.26.4[modules]" - -CONFIG_CHECK="HAVE_SYSCALL_TRACEPOINTS ~TRACEPOINTS" - -PATCHES=( "${FILESDIR}"/${PV}-fix-kmod-build-on-5.18+.patch ) - -pkg_pretend() { - linux-mod_pkg_setup -} - -pkg_setup() { - linux-mod_pkg_setup -} - -src_prepare() { - sed -i -e '/USE_BUNDLED_DEPS/,$d' CMakeLists.txt || die - cmake_src_prepare -} - -src_configure() { - local mycmakeargs=( - # we will use linux-mod for that - -DBUILD_DRIVER=OFF - ) - - cmake_src_configure - - # setup linux-mod ugliness - MODULE_NAMES="sysdig-probe(extra:${BUILD_DIR}/driver/src:)" - BUILD_PARAMS='KERNELDIR="${KERNEL_DIR}"' - BUILD_TARGETS="all" -} |