summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrian Dolbec <dolsen@gentoo.org>2017-01-19 12:05:00 -0800
committerBrian Dolbec <dolsen@gentoo.org>2017-01-19 12:05:00 -0800
commitedf6c090d349e069ac8e6b83a2bf0826defa06c3 (patch)
tree2974001e472bc6d18c18377fab476cb811fdb5c2 /dev-util/buildbot-worker
parentperl-core/Test-Simple: Remove old (diff)
downloadgentoo-edf6c090d349e069ac8e6b83a2bf0826defa06c3.tar.gz
gentoo-edf6c090d349e069ac8e6b83a2bf0826defa06c3.tar.bz2
gentoo-edf6c090d349e069ac8e6b83a2bf0826defa06c3.zip
dev-util/buildbot-worker: Fix conf.d and init.d filenames
The last two releases mistakenly installed the conf.d and init.d files using the old buildslave name. The 9999 ebuild had not been properly updated to the new buildbot_worker name. As a result the 0.9.2 and 0.9.3 releases were installing them as buildslave. This caused problems in downstream installations/scripts expecting the init script to be named "buildbot_worker". Package-Manager: Portage-2.3.3_p23, Repoman-2.3.1_p16
Diffstat (limited to 'dev-util/buildbot-worker')
-rw-r--r--dev-util/buildbot-worker/buildbot-worker-0.9.2-r1.ebuild (renamed from dev-util/buildbot-worker/buildbot-worker-0.9.2.ebuild)8
-rw-r--r--dev-util/buildbot-worker/buildbot-worker-0.9.3-r1.ebuild (renamed from dev-util/buildbot-worker/buildbot-worker-0.9.3.ebuild)7
-rw-r--r--dev-util/buildbot-worker/buildbot-worker-9999.ebuild4
3 files changed, 13 insertions, 6 deletions
diff --git a/dev-util/buildbot-worker/buildbot-worker-0.9.2.ebuild b/dev-util/buildbot-worker/buildbot-worker-0.9.2-r1.ebuild
index 89a5735e0c7f..5fd1173c5d18 100644
--- a/dev-util/buildbot-worker/buildbot-worker-0.9.2.ebuild
+++ b/dev-util/buildbot-worker/buildbot-worker-0.9.2-r1.ebuild
@@ -79,12 +79,16 @@ python_install_all() {
doman docs/buildbot-worker.1
- newconfd "${FILESDIR}/buildbot_worker.confd" buildslave
- newinitd "${FILESDIR}/buildbot_worker.initd" buildslave
+ newconfd "${FILESDIR}/buildbot_worker.confd" buildbot_worker
+ newinitd "${FILESDIR}/buildbot_worker.initd" buildbot_worker
readme.gentoo_create_doc
}
pkg_postinst() {
readme.gentoo_print_elog
+ ewarn "The 0.9.2 and 0.9.3 original ebuilds had a mistake naming the"
+ ewarn "conf.d and init.d files as 'buildslave', when it should have been"
+ ewarn "'buildbot_worker' as it is in the previous 0.9 versions."
+ ewarn "Only the 0.8 and previous versions should use the name 'buildslave'"
}
diff --git a/dev-util/buildbot-worker/buildbot-worker-0.9.3.ebuild b/dev-util/buildbot-worker/buildbot-worker-0.9.3-r1.ebuild
index 884c2edd22ca..a34b7d5153c6 100644
--- a/dev-util/buildbot-worker/buildbot-worker-0.9.3.ebuild
+++ b/dev-util/buildbot-worker/buildbot-worker-0.9.3-r1.ebuild
@@ -66,12 +66,15 @@ python_install_all() {
doman docs/buildbot-worker.1
- newconfd "${FILESDIR}/buildbot_worker.confd" buildslave
- newinitd "${FILESDIR}/buildbot_worker.initd" buildslave
+ newconfd "${FILESDIR}/buildbot_worker.confd" buildbot_worker
+ newinitd "${FILESDIR}/buildbot_worker.initd" buildbot_worker
readme.gentoo_create_doc
}
pkg_postinst() {
readme.gentoo_print_elog
+ ewarn "conf.d and init.d files as 'buildslave', when it should have been"
+ ewarn "'buildbot_worker' as it is in the previous 0.9 versions."
+ ewarn "Only the 0.8 and previous versions should use the name 'buildslave'"
}
diff --git a/dev-util/buildbot-worker/buildbot-worker-9999.ebuild b/dev-util/buildbot-worker/buildbot-worker-9999.ebuild
index ed5fdcfc1bc7..ad4b6a8fe7b6 100644
--- a/dev-util/buildbot-worker/buildbot-worker-9999.ebuild
+++ b/dev-util/buildbot-worker/buildbot-worker-9999.ebuild
@@ -66,8 +66,8 @@ python_install_all() {
doman docs/buildbot-worker.1
- newconfd "${FILESDIR}/buildbot_worker.confd" buildslave
- newinitd "${FILESDIR}/buildbot_worker.initd" buildslave
+ newconfd "${FILESDIR}/buildbot_worker.confd" buildbot_worker
+ newinitd "${FILESDIR}/buildbot_worker.initd" buildbot_worker
readme.gentoo_create_doc
}