aboutsummaryrefslogtreecommitdiffstats
path: root/testing/buildbot-slave
diff options
context:
space:
mode:
authorLeo <thinkabit.ukim@gmail.com>2019-08-31 07:39:14 -0300
committerLeo <thinkabit.ukim@gmail.com>2019-09-11 17:27:51 -0300
commitf8374338e5a2ad08d54b7e2433ab14e37e4d872b (patch)
treeb4315dd6cef8518c06175f3bf5231ea8f52cc0e1 /testing/buildbot-slave
parentaeecd50431ecdcca00f57a711f69b55c0c299b99 (diff)
downloadaports-f8374338e5a2ad08d54b7e2433ab14e37e4d872b.tar.bz2
aports-f8374338e5a2ad08d54b7e2433ab14e37e4d872b.tar.xz
testing/buildbot-slave: remove
depends on python2
Diffstat (limited to 'testing/buildbot-slave')
-rw-r--r--testing/buildbot-slave/APKBUILD59
-rw-r--r--testing/buildbot-slave/buildbot-slave.pre-install6
-rw-r--r--testing/buildbot-slave/buildslave.confd9
-rw-r--r--testing/buildbot-slave/buildslave.initd48
4 files changed, 0 insertions, 122 deletions
diff --git a/testing/buildbot-slave/APKBUILD b/testing/buildbot-slave/APKBUILD
deleted file mode 100644
index 76f10f2296..0000000000
--- a/testing/buildbot-slave/APKBUILD
+++ /dev/null
@@ -1,59 +0,0 @@
-# Contributor: Carlo Landmeter <clandmeter@gmail.com>
-# Maintainer:
-pkgname=buildbot-slave
-pkgver=0.8.9
-pkgrel=3
-pkgdesc="Buildbot slave daemon"
-url="https://buildbot.net/"
-arch="noarch"
-license="GPL-2.0"
-depends="python2 py-twisted"
-depends_dev=""
-makedepends="python2-dev py-setuptools"
-install="buildbot-slave.pre-install"
-BUILDBOT_USER=buildbot
-BUILDBOT_GROUP=buildbot
-pkgusers="$BUILDBOT_USER"
-pkggroups="$BUILDBOT_GROUP"
-subpackages=""
-source="https://files.pythonhosted.org/packages/source/${pkgname:0:1}/$pkgname/$pkgname-$pkgver.tar.gz
- buildslave.initd
- buildslave.confd"
-
-builddir="$srcdir"/$pkgname-$pkgver
-
-prepare() {
- default_prepare || return 1
-}
-
-build() {
- cd "$builddir"
- python2 setup.py build || return 1
-}
-
-package() {
- cd "$builddir"
- python2 setup.py install --prefix=/usr --root="$pkgdir" \
- || return 1
- install -D -m 755 \
- "$srcdir"/buildslave.initd \
- "$pkgdir"/etc/init.d/buildslave \
- || return 1
- install -D -m 644 \
- "$srcdir"/buildslave.confd \
- "$pkgdir"/etc/conf.d/buildslave \
- || return 1
- install -d -o $BUILDBOT_USER -g $BUILDBOT_GROUP \
- "$pkgdir"/var/lib/buildslave \
- || return 1
-}
-
-md5sums="b4c085dcad558b61af5233d1ea1ed750 buildbot-slave-0.8.9.tar.gz
-6a07c39a20fd2de62eeac38332fc5ec4 buildslave.initd
-3baaa33c0bc00e0fb6784f8c41482488 buildslave.confd"
-sha256sums="864ca4a975bdbe3e973812a7d4ac7ffaf6f9ea5b6364e9ddb2fc92bccacf93af buildbot-slave-0.8.9.tar.gz
-5c3247e53ae214b4c1913e8eccbf7c43f8707ec217deb1f4ec6bec4f351fbf09 buildslave.initd
-c324eee07561afd8be623b46cd8f50cbbac5f1e42f2c493aa75dbaace6dcfa6f buildslave.confd"
-sha512sums="3cc6b0cafe752fcfe5b91b70faff249cffb2dbfc03274cccffccd739ec448b66986db171924d14ba4de85e843b2f67a36650bcb965f600ec1dd8278f6198a283 buildbot-slave-0.8.9.tar.gz
-217a9e3f774bcc7e7773d6e3047dbbabe196d168f814485ae54d1a94b330616fd80ad82bfa67c9b6185c39b780eae7a71776e727810ff4df337baca44d5fdbda buildslave.initd
-54fc03a82cebf874c18d1bd739a6640677cfcd540b47a9929e6f5d63a83bd64bee615b033a72b49ab5fa3da69b16ff657805392ab0a68e0d33e48581fc8bb017 buildslave.confd"
diff --git a/testing/buildbot-slave/buildbot-slave.pre-install b/testing/buildbot-slave/buildbot-slave.pre-install
deleted file mode 100644
index 7a1deeded1..0000000000
--- a/testing/buildbot-slave/buildbot-slave.pre-install
+++ /dev/null
@@ -1,6 +0,0 @@
-#!/bin/sh
-
-addgroup -S buildbot 2>/dev/null
-adduser -S -D -H -h /home/buildbot -s /sbin/nologin -G buildbot -g buildbot buildbot 2>/dev/null
-
-exit 0
diff --git a/testing/buildbot-slave/buildslave.confd b/testing/buildbot-slave/buildslave.confd
deleted file mode 100644
index 4ef42c4a73..0000000000
--- a/testing/buildbot-slave/buildslave.confd
+++ /dev/null
@@ -1,9 +0,0 @@
-# Path to the build slave's basedir.
-BASEDIR="/var/lib/buildslave"
-
-# User account for the buildslave.
-# The basedir should be owned by this user.
-USERNAME="buildbot"
-
-# Extra options passed to twistd.
-TWISTD_OPTS=""
diff --git a/testing/buildbot-slave/buildslave.initd b/testing/buildbot-slave/buildslave.initd
deleted file mode 100644
index 587c7ccb3b..0000000000
--- a/testing/buildbot-slave/buildslave.initd
+++ /dev/null
@@ -1,48 +0,0 @@
-#!/sbin/openrc-run
-# Copyright 1999-2012 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-depend() {
- need net
-}
-
-checkconfig() {
- if [ -z "${BASEDIR}" ]; then
- eerror "BASEDIR not set"
- return 1
- fi
- if [ -z "${USERNAME}" ]; then
- eerror "USERNAME not set"
- return 1
- fi
- if [ ! -d "${BASEDIR}" ]; then
- eerror "${BASEDIR} is not a directory"
- return 1
- fi
- if [ ! -e "${BASEDIR}/buildbot.tac" ]; then
- eerror "${BASEDIR} does not contain buildbot.tac"
- return 1
- fi
-}
-
-start() {
- checkconfig || return 1
- ebegin "Starting buildslave in ${BASEDIR}"
- # We set HOME here to make something valid show up in the env of child
- # processes spawned by the buildslave.
- start-stop-daemon --start -u "${USERNAME}" \
- --pidfile "${BASEDIR}/buildslave.pid" \
- --env HOME="${BASEDIR}" \
- --exec /usr/bin/python -- /usr/bin/twistd \
- --no_save \
- --logfile="${BASEDIR}/twistd.log" \
- --pidfile="${BASEDIR}/buildslave.pid" \
- --python="${BASEDIR}/buildbot.tac"
- eend $?
-}
-
-stop() {
- ebegin "Stopping buildslave in ${BASEDIR}"
- start-stop-daemon --stop --pidfile "${BASEDIR}/buildslave.pid"
- eend $?
-}