diff options
author | V3n3RiX <venerix@koprulu.sector> | 2022-12-31 20:20:25 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2022-12-31 20:20:25 +0000 |
commit | c4b414ba84991b36b62c066b701385eaf44cdd49 (patch) | |
tree | 5cbdb7a51f1abb965fdfe90b686f8130e100afaa /dev-util/buildbot-worker | |
parent | ea5bad4d0ba1eb937df22adb7f6cc57ea77f03d8 (diff) |
gentoo auto-resync : 31:12:2022 - 20:20:25
Diffstat (limited to 'dev-util/buildbot-worker')
-rw-r--r-- | dev-util/buildbot-worker/Manifest | 8 | ||||
-rw-r--r-- | dev-util/buildbot-worker/buildbot-worker-3.4.0.ebuild | 125 | ||||
-rw-r--r-- | dev-util/buildbot-worker/buildbot-worker-3.5.0-r1.ebuild | 129 | ||||
-rw-r--r-- | dev-util/buildbot-worker/buildbot-worker-3.6.0.ebuild | 129 | ||||
-rw-r--r-- | dev-util/buildbot-worker/buildbot-worker-3.6.1-r2.ebuild (renamed from dev-util/buildbot-worker/buildbot-worker-3.6.1.ebuild) | 0 |
5 files changed, 1 insertions, 390 deletions
diff --git a/dev-util/buildbot-worker/Manifest b/dev-util/buildbot-worker/Manifest index ab97a71f568c..8e6d788c2810 100644 --- a/dev-util/buildbot-worker/Manifest +++ b/dev-util/buildbot-worker/Manifest @@ -5,13 +5,7 @@ AUX buildbot_worker.service 296 BLAKE2B 2f557007489fa0d7c355dfcd12388c405fca269c AUX buildbot_worker.target 149 BLAKE2B 93902e53b76a09aac472280df295fd4aafe19aca634c90d170b98030def1f4c9beb1b33cecfe8d917581d4ec39919b6a8fbba7b89d6b745d254dcdabcfbd4b40 SHA512 5c5736b8f5bdff412c57971216b4559ea6582c7a3495762d7896eb89b1839a17827ea5396edfe6e43e7d9ec4d78fa1da34584a4589e38cd38aae26968703ce92 AUX buildbot_worker_at.service 343 BLAKE2B 6fed117fe1e5478ef3d2fb1bfeac92fd9b9e9b50c6d184b05f13a8847acc74d461eb4ea7797c01366c1c340950dbd07e06683897095b992c3d01e263dd7b7192 SHA512 41c250e31ad0fdbb13830ed4ae0563572ac7edd7c037728cbad943e1d3f82559c41529993edddb922d46c20f7eaa7e7781f5ed1c548f7ed07bb7520e5e3019f8 AUX buildbot_worker_at.service.conf 154 BLAKE2B 20323a777b44200c5a73278a10804169c64e07a5c2fc8695eb49339d1ba415b06324db6ae3084aa4fa6cfd1a684e4f41fb4b73436fa4305314faf9e5da485a9c SHA512 5fd61d4436652a927af9788799bb9f8b7a66baadc0bf486c9bbe171a5cd9ec8457719bdda45f911d5b0620db8fb4c494c75e2b2fd69951ee4dc83119dd7d6628 -DIST buildbot-worker-3.4.0.tar.gz 102910 BLAKE2B c38a806e8d0475a8c18176310f628b829fc359f013b315e82715e71071213fe4a0cdf38273ad7df39a66675f4ebc9fb1881fb990290f2bbedf4c8777ec93d4dc SHA512 411a2bf496622c2b9a3e0dea1ea8a71b347566010086c57ffc5d1114546cc5052af39a8ff7b10ffe6e7afdb6fc8ff73a9ffba23b96a76ff1cc0e3eff81cc59a7 -DIST buildbot-worker-3.5.0.tar.gz 111349 BLAKE2B 90d193fb89ac65ca03274e0ad5c7fde8fc478bb932ccc4240495437f79171d49f623f50731c7619336386b7d1d7df3f955e10bf006ad86b8dcf294d75c874774 SHA512 1df67b6332753f91179863cca76b0578e4f36954e0aa4eb9c28f98d6451d6972e247849fb9d4e20b753b5702d100406b306ce4982181510ad81de0d35a9828ed -DIST buildbot-worker-3.6.0.tar.gz 120158 BLAKE2B c762237d802f6eff1c6b74f0ed364ecf085d762c80f6cc90edc1fed0084c7bf6a0b74b6fcaf8611b9c21b6249bde547d5a10bc7ff5b4588d138b2ebf76e823a3 SHA512 6b5f50694fe1559dacba599f8641c6b370cad4b68c8182e8a6e31528ffbeeed81c405fd764e3718003913fe5fe8d9faa920a2ad81373fbd028cbf046ed0d3136 DIST buildbot-worker-3.6.1.tar.gz 120224 BLAKE2B 010893b7b4e5710654299b2541c4cdcdad47b3b763dbc7e2336e5480c841908e04d8350c7cb42edd9ea99d16fd26f36a524a6d6bec8c0f933665a02ded369f89 SHA512 f1e3bf7c0da2f31dd446dc16487e32fddaecc0c2f9c17c469146707322a3d7bb2cc77db4f6145c62530bce58dd61aa19e008e944a7f39a17dc66f1317ee26e1b -EBUILD buildbot-worker-3.4.0.ebuild 4644 BLAKE2B a934c87f28b81ab622e0ffcfb3e0e0636722b6d6ea0066fb9aedeb57b9f61857891007584bbcbcc1306b8454616f8a8c241def5467732818e54988e234ef4905 SHA512 a08935e46cb9bcd9ecf76a0e5e4cf94a31f5a27a4d22d94d9ab19e86e6ed163082b36d507d76be8e3692ae4278081d0d60aa8ed0d09b44e53939ad9050be6c0a -EBUILD buildbot-worker-3.5.0-r1.ebuild 4820 BLAKE2B d56eb4bda74894de2a6130c5c87db55242e686f4ecc54d718a2c51f24500a61af92bbdf4e0c35b146f766ddcf6f065397158783d9da0ca4f493ab48fbd2e831c SHA512 33344be29c8aed20cc78a82563959d3881de5a3d1bc102018dc9539c39539cf3854cc2182d2534a4c671179ea54d27f179270c1708efdb97a454c125fa3e6683 -EBUILD buildbot-worker-3.6.0.ebuild 4820 BLAKE2B b3a98bb98922bd4f02b58e599e836e083ba156493f566ad37cb618d9a998fcfb96c3ed2246c38507ede4db4fcd98a305177b4636371514f1a06e95b96c157291 SHA512 683e621a440a3a7e99dde21bfd9897bf8e35a49dc2cc236a5612f8d45a2d20bf702019ca79146355c7dad1b6a10e5925e0eb25bfff584d27c981465606e902f5 -EBUILD buildbot-worker-3.6.1.ebuild 5280 BLAKE2B 58804ec7aacc6bd6ceb9930c714db5217137cf589df63bc850a9020645e80d137d7e2f1910df5eb174605fc9c561b62a358527add9b4e46b66ca9acd3c744443 SHA512 4172fd249064256bf9d5d06e33f72192d4a090bab89da689c9817923922b91704297140b1ee491e00a3236bcc56ff93aad11aa8e48eb0df9350e21b5c2e78b69 +EBUILD buildbot-worker-3.6.1-r2.ebuild 5280 BLAKE2B 58804ec7aacc6bd6ceb9930c714db5217137cf589df63bc850a9020645e80d137d7e2f1910df5eb174605fc9c561b62a358527add9b4e46b66ca9acd3c744443 SHA512 4172fd249064256bf9d5d06e33f72192d4a090bab89da689c9817923922b91704297140b1ee491e00a3236bcc56ff93aad11aa8e48eb0df9350e21b5c2e78b69 EBUILD buildbot-worker-9999.ebuild 4937 BLAKE2B a98951fdbe07f022192a007be96cea17828a931ff4ff1be3326a95ed0c34bcda55949109627ed3a54f371ff08efbe02324a9e4aea7e35d23462fcd706de0c628 SHA512 5826a317217af4825f9fc59e57fb851767245a600947742dee28a3c2ec280f3936ac0b4a4f4757434ed16164ac6e3a461775f1a86bba00c477fb3fc7d4684ccc MISC metadata.xml 481 BLAKE2B 884b573e537512f10a184b60b3d354ef70aca1200507c74ad4be79ebd0fc81cabeaafc9db05e23edae6cec47b92340febbcb3345c0227a32f95119d607493cae SHA512 d6f00cc040032613bbbc55fd957a0544266b20e54ae30710f7c32847576a91d329c55692a9fdc74e25827c7b8689eb17770b7935bd91ebd8395237e0e8b200ae diff --git a/dev-util/buildbot-worker/buildbot-worker-3.4.0.ebuild b/dev-util/buildbot-worker/buildbot-worker-3.4.0.ebuild deleted file mode 100644 index e80a110a2894..000000000000 --- a/dev-util/buildbot-worker/buildbot-worker-3.4.0.ebuild +++ /dev/null @@ -1,125 +0,0 @@ -# Copyright 1999-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{8..10} ) -inherit readme.gentoo-r1 distutils-r1 - -MY_V="${PV/_p/.post}" -MY_P="${PN}-${MY_V}" - -DESCRIPTION="BuildBot Worker (slave) Daemon" -HOMEPAGE="https://buildbot.net/ - https://github.com/buildbot/buildbot - https://pypi.org/project/buildbot-worker/" -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${MY_P}.tar.gz" -S="${WORKDIR}/${MY_P}" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~amd64 ~arm64 ~riscv ~amd64-linux ~x86-linux" -IUSE="test" -RESTRICT="!test? ( test )" - -RDEPEND=" - acct-user/buildbot - >=dev-python/twisted-17.9.0[${PYTHON_USEDEP}] - dev-python/future[${PYTHON_USEDEP}] - !<dev-util/buildbot-1.0.0 -" -BDEPEND=" - test? ( - ${RDEPEND} - dev-python/mock[${PYTHON_USEDEP}] - ) -" - -DOC_CONTENTS="The \"buildbot\" user and the \"buildbot_worker\" init script has been added -to support starting buildbot_worker through Gentoo's init system. To use this, -execute \"emerge --config =${CATEGORY}/${PF}\" to create a new instance. -Set up your build worker following the documentation, make sure the -resulting directories are owned by the \"buildbot\" user and point -\"${ROOT}/etc/conf.d/buildbot_worker.myinstance\" at the right location. -The scripts can run as a different user if desired." - -python_test() { - "${EPYTHON}" -m twisted.trial buildbot_worker || die "Tests failed with ${EPYTHON}" -} - -python_install_all() { - distutils-r1_python_install_all - - doman docs/buildbot-worker.1 - - newconfd "${FILESDIR}/buildbot_worker.confd2" buildbot_worker - newinitd "${FILESDIR}/buildbot_worker.initd2" buildbot_worker - - dodir /var/lib/buildbot_worker - cp "${FILESDIR}/buildbot.tac.sample" "${D}/var/lib/buildbot_worker"|| die "Install failed!" - - readme.gentoo_create_doc -} - -pkg_postinst() { - readme.gentoo_print_elog - - if [[ -n ${REPLACING_VERSIONS} ]]; then - ewarn - ewarn "More than one instance of a buildbot_worker can be run simultaneously." - ewarn " Note that \"BASEDIR\" in the buildbot_worker configuration file" - ewarn "is now the common base directory for all instances. If you are migrating from an older" - ewarn "version, make sure that you copy the current contents of \"BASEDIR\" to a subdirectory." - ewarn "The name of the subdirectory corresponds to the name of the buildbot_worker instance." - ewarn "In order to start the service running OpenRC-based systems need to link to the init file:" - ewarn " ln --symbolic --relative /etc/init.d/buildbot_worker /etc/init.d/buildbot_worker.myinstance" - ewarn " rc-update add buildbot_worker.myinstance default" - ewarn " /etc/init.d/buildbot_worker.myinstance start" - ewarn "Systems using systemd can do the following:" - ewarn " systemctl enable buildbot_worker@myinstance.service" - ewarn " systemctl enable buildbot_worker.target" - ewarn " systemctl start buildbot_worker.target" - fi -} - -pkg_config() { - local buildworker_path="/var/lib/buildbot_worker" - local log_path="/var/log/buildbot_worker" - - einfo "This will prepare a new buildbot_worker instance in ${buildworker_path}." - einfo "Press Control-C to abort." - - einfo "Enter the name for the new instance: " - read instance_name - [[ -z "${instance_name}" ]] && die "Invalid instance name" - - local instance_path="${buildworker_path}/${instance_name}" - local instance_log_path="${log_path}/${instance_name}" - - if [[ -e "${instance_path}" ]]; then - eerror "The instance with the specified name already exists:" - eerror "${instance_path}" - die "Instance already exists" - fi - - if [[ ! -d "${instance_path}" ]]; then - mkdir --parents "${instance_path}" || die "Unable to create directory ${buildworker_path}" - fi - chown --recursive buildbot:buildbot "${instance_path}" || die "Setting permissions for instance failed" - cp "${buildworker_path}/buildbot.tac.sample" "${instance_path}/buildbot.tac" \ - || die "Moving sample configuration failed" - ln --symbolic --relative "/etc/init.d/buildbot_worker" "/etc/init.d/buildbot_worker.${instance_name}" \ - || die "Unable to create link to init file" - - if [[ ! -d "${instance_log_path}" ]]; then - mkdir --parents "${instance_log_path}" || die "Unable to create directory ${instance_log_path}" - chown --recursive buildbot:buildbot "${instance_log_path}" \ - || die "Setting permissions for instance failed" - fi - ln --symbolic --relative "${instance_log_path}/twistd.log" "${instance_path}/twistd.log" \ - || die "Unable to create link to log file" - - einfo "Successfully created a buildbot_worker instance at ${instance_path}." - einfo "To change the default settings edit the buildbot.tac file in this directory." -} diff --git a/dev-util/buildbot-worker/buildbot-worker-3.5.0-r1.ebuild b/dev-util/buildbot-worker/buildbot-worker-3.5.0-r1.ebuild deleted file mode 100644 index 2a3f7714573d..000000000000 --- a/dev-util/buildbot-worker/buildbot-worker-3.5.0-r1.ebuild +++ /dev/null @@ -1,129 +0,0 @@ -# Copyright 1999-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{8..10} ) -inherit readme.gentoo-r1 distutils-r1 - -MY_V="${PV/_p/.post}" -MY_P="${PN}-${MY_V}" - -DESCRIPTION="BuildBot Worker (slave) Daemon" -HOMEPAGE="https://buildbot.net/ - https://github.com/buildbot/buildbot - https://pypi.org/project/buildbot-worker/" -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${MY_P}.tar.gz" -S="${WORKDIR}/${MY_P}" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="amd64 ~arm64 ~riscv ~amd64-linux ~x86-linux" -IUSE="test" -RESTRICT="!test? ( test )" - -RDEPEND=" - acct-user/buildbot - >=dev-python/autobahn-0.16.0[${PYTHON_USEDEP}] - >=dev-python/msgpack-0.6.0[${PYTHON_USEDEP}] - >=dev-python/twisted-17.9.0[${PYTHON_USEDEP}] - dev-python/future[${PYTHON_USEDEP}] - !<dev-util/buildbot-1.0.0 -" -BDEPEND=" - test? ( - ${RDEPEND} - dev-python/mock[${PYTHON_USEDEP}] - dev-python/parameterized[${PYTHON_USEDEP}] - dev-python/psutil[${PYTHON_USEDEP}] - ) -" - -DOC_CONTENTS="The \"buildbot\" user and the \"buildbot_worker\" init script has been added -to support starting buildbot_worker through Gentoo's init system. To use this, -execute \"emerge --config =${CATEGORY}/${PF}\" to create a new instance. -Set up your build worker following the documentation, make sure the -resulting directories are owned by the \"buildbot\" user and point -\"${ROOT}/etc/conf.d/buildbot_worker.myinstance\" at the right location. -The scripts can run as a different user if desired." - -python_test() { - "${EPYTHON}" -m twisted.trial buildbot_worker || die "Tests failed with ${EPYTHON}" -} - -python_install_all() { - distutils-r1_python_install_all - - doman docs/buildbot-worker.1 - - newconfd "${FILESDIR}/buildbot_worker.confd2" buildbot_worker - newinitd "${FILESDIR}/buildbot_worker.initd2" buildbot_worker - - dodir /var/lib/buildbot_worker - cp "${FILESDIR}/buildbot.tac.sample" "${D}/var/lib/buildbot_worker"|| die "Install failed!" - - readme.gentoo_create_doc -} - -pkg_postinst() { - readme.gentoo_print_elog - - if [[ -n ${REPLACING_VERSIONS} ]]; then - ewarn - ewarn "More than one instance of a buildbot_worker can be run simultaneously." - ewarn " Note that \"BASEDIR\" in the buildbot_worker configuration file" - ewarn "is now the common base directory for all instances. If you are migrating from an older" - ewarn "version, make sure that you copy the current contents of \"BASEDIR\" to a subdirectory." - ewarn "The name of the subdirectory corresponds to the name of the buildbot_worker instance." - ewarn "In order to start the service running OpenRC-based systems need to link to the init file:" - ewarn " ln --symbolic --relative /etc/init.d/buildbot_worker /etc/init.d/buildbot_worker.myinstance" - ewarn " rc-update add buildbot_worker.myinstance default" - ewarn " /etc/init.d/buildbot_worker.myinstance start" - ewarn "Systems using systemd can do the following:" - ewarn " systemctl enable buildbot_worker@myinstance.service" - ewarn " systemctl enable buildbot_worker.target" - ewarn " systemctl start buildbot_worker.target" - fi -} - -pkg_config() { - local buildworker_path="/var/lib/buildbot_worker" - local log_path="/var/log/buildbot_worker" - - einfo "This will prepare a new buildbot_worker instance in ${buildworker_path}." - einfo "Press Control-C to abort." - - einfo "Enter the name for the new instance: " - read instance_name - [[ -z "${instance_name}" ]] && die "Invalid instance name" - - local instance_path="${buildworker_path}/${instance_name}" - local instance_log_path="${log_path}/${instance_name}" - - if [[ -e "${instance_path}" ]]; then - eerror "The instance with the specified name already exists:" - eerror "${instance_path}" - die "Instance already exists" - fi - - if [[ ! -d "${instance_path}" ]]; then - mkdir --parents "${instance_path}" || die "Unable to create directory ${buildworker_path}" - fi - chown --recursive buildbot:buildbot "${instance_path}" || die "Setting permissions for instance failed" - cp "${buildworker_path}/buildbot.tac.sample" "${instance_path}/buildbot.tac" \ - || die "Moving sample configuration failed" - ln --symbolic --relative "/etc/init.d/buildbot_worker" "/etc/init.d/buildbot_worker.${instance_name}" \ - || die "Unable to create link to init file" - - if [[ ! -d "${instance_log_path}" ]]; then - mkdir --parents "${instance_log_path}" || die "Unable to create directory ${instance_log_path}" - chown --recursive buildbot:buildbot "${instance_log_path}" \ - || die "Setting permissions for instance failed" - fi - ln --symbolic --relative "${instance_log_path}/twistd.log" "${instance_path}/twistd.log" \ - || die "Unable to create link to log file" - - einfo "Successfully created a buildbot_worker instance at ${instance_path}." - einfo "To change the default settings edit the buildbot.tac file in this directory." -} diff --git a/dev-util/buildbot-worker/buildbot-worker-3.6.0.ebuild b/dev-util/buildbot-worker/buildbot-worker-3.6.0.ebuild deleted file mode 100644 index 34360f39c453..000000000000 --- a/dev-util/buildbot-worker/buildbot-worker-3.6.0.ebuild +++ /dev/null @@ -1,129 +0,0 @@ -# Copyright 1999-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{8..10} ) -inherit readme.gentoo-r1 distutils-r1 - -MY_V="${PV/_p/.post}" -MY_P="${PN}-${MY_V}" - -DESCRIPTION="BuildBot Worker (slave) Daemon" -HOMEPAGE="https://buildbot.net/ - https://github.com/buildbot/buildbot - https://pypi.org/project/buildbot-worker/" -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${MY_P}.tar.gz" -S="${WORKDIR}/${MY_P}" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="amd64 ~arm64 ~riscv ~amd64-linux ~x86-linux" -IUSE="test" -RESTRICT="!test? ( test )" - -RDEPEND=" - acct-user/buildbot - >=dev-python/autobahn-0.16.0[${PYTHON_USEDEP}] - >=dev-python/msgpack-0.6.0[${PYTHON_USEDEP}] - >=dev-python/twisted-18.7.0[${PYTHON_USEDEP}] - dev-python/future[${PYTHON_USEDEP}] - !<dev-util/buildbot-1.0.0 -" -BDEPEND=" - test? ( - ${RDEPEND} - dev-python/mock[${PYTHON_USEDEP}] - dev-python/parameterized[${PYTHON_USEDEP}] - dev-python/psutil[${PYTHON_USEDEP}] - ) -" - -DOC_CONTENTS="The \"buildbot\" user and the \"buildbot_worker\" init script has been added -to support starting buildbot_worker through Gentoo's init system. To use this, -execute \"emerge --config =${CATEGORY}/${PF}\" to create a new instance. -Set up your build worker following the documentation, make sure the -resulting directories are owned by the \"buildbot\" user and point -\"${ROOT}/etc/conf.d/buildbot_worker.myinstance\" at the right location. -The scripts can run as a different user if desired." - -python_test() { - "${EPYTHON}" -m twisted.trial buildbot_worker || die "Tests failed with ${EPYTHON}" -} - -python_install_all() { - distutils-r1_python_install_all - - doman docs/buildbot-worker.1 - - newconfd "${FILESDIR}/buildbot_worker.confd2" buildbot_worker - newinitd "${FILESDIR}/buildbot_worker.initd2" buildbot_worker - - dodir /var/lib/buildbot_worker - cp "${FILESDIR}/buildbot.tac.sample" "${D}/var/lib/buildbot_worker"|| die "Install failed!" - - readme.gentoo_create_doc -} - -pkg_postinst() { - readme.gentoo_print_elog - - if [[ -n ${REPLACING_VERSIONS} ]]; then - ewarn - ewarn "More than one instance of a buildbot_worker can be run simultaneously." - ewarn " Note that \"BASEDIR\" in the buildbot_worker configuration file" - ewarn "is now the common base directory for all instances. If you are migrating from an older" - ewarn "version, make sure that you copy the current contents of \"BASEDIR\" to a subdirectory." - ewarn "The name of the subdirectory corresponds to the name of the buildbot_worker instance." - ewarn "In order to start the service running OpenRC-based systems need to link to the init file:" - ewarn " ln --symbolic --relative /etc/init.d/buildbot_worker /etc/init.d/buildbot_worker.myinstance" - ewarn " rc-update add buildbot_worker.myinstance default" - ewarn " /etc/init.d/buildbot_worker.myinstance start" - ewarn "Systems using systemd can do the following:" - ewarn " systemctl enable buildbot_worker@myinstance.service" - ewarn " systemctl enable buildbot_worker.target" - ewarn " systemctl start buildbot_worker.target" - fi -} - -pkg_config() { - local buildworker_path="/var/lib/buildbot_worker" - local log_path="/var/log/buildbot_worker" - - einfo "This will prepare a new buildbot_worker instance in ${buildworker_path}." - einfo "Press Control-C to abort." - - einfo "Enter the name for the new instance: " - read instance_name - [[ -z "${instance_name}" ]] && die "Invalid instance name" - - local instance_path="${buildworker_path}/${instance_name}" - local instance_log_path="${log_path}/${instance_name}" - - if [[ -e "${instance_path}" ]]; then - eerror "The instance with the specified name already exists:" - eerror "${instance_path}" - die "Instance already exists" - fi - - if [[ ! -d "${instance_path}" ]]; then - mkdir --parents "${instance_path}" || die "Unable to create directory ${buildworker_path}" - fi - chown --recursive buildbot:buildbot "${instance_path}" || die "Setting permissions for instance failed" - cp "${buildworker_path}/buildbot.tac.sample" "${instance_path}/buildbot.tac" \ - || die "Moving sample configuration failed" - ln --symbolic --relative "/etc/init.d/buildbot_worker" "/etc/init.d/buildbot_worker.${instance_name}" \ - || die "Unable to create link to init file" - - if [[ ! -d "${instance_log_path}" ]]; then - mkdir --parents "${instance_log_path}" || die "Unable to create directory ${instance_log_path}" - chown --recursive buildbot:buildbot "${instance_log_path}" \ - || die "Setting permissions for instance failed" - fi - ln --symbolic --relative "${instance_log_path}/twistd.log" "${instance_path}/twistd.log" \ - || die "Unable to create link to log file" - - einfo "Successfully created a buildbot_worker instance at ${instance_path}." - einfo "To change the default settings edit the buildbot.tac file in this directory." -} diff --git a/dev-util/buildbot-worker/buildbot-worker-3.6.1.ebuild b/dev-util/buildbot-worker/buildbot-worker-3.6.1-r2.ebuild index e2d1ed832b13..e2d1ed832b13 100644 --- a/dev-util/buildbot-worker/buildbot-worker-3.6.1.ebuild +++ b/dev-util/buildbot-worker/buildbot-worker-3.6.1-r2.ebuild |