- update to 0.8.3
- add a new _buildslave user - add a rc script - add a README - update HOMEPAGE - change MAINTAINER from Piotr Sikora (new MAINTAINER) ok ajacoutot@
This commit is contained in:
parent
492972447c
commit
c789225c54
@ -1,16 +1,16 @@
|
||||
# $OpenBSD: Makefile,v 1.1.1.1 2010/11/30 10:59:01 eric Exp $
|
||||
# $OpenBSD: Makefile,v 1.2 2011/04/21 10:22:38 eric Exp $
|
||||
|
||||
COMMENT= buildslave implementation for the buildot system
|
||||
|
||||
MODPY_EGG_VERSION= 0.8.2
|
||||
MODPY_EGG_VERSION= 0.8.3
|
||||
DISTNAME= buildbot-slave-${MODPY_EGG_VERSION}
|
||||
PKGNAME= py-buildslave-${MODPY_EGG_VERSION}
|
||||
|
||||
CATEGORIES= devel
|
||||
CATEGORIES= devel
|
||||
|
||||
HOMEPAGE= http://buildbot.net/
|
||||
|
||||
MAINTAINER= Eric Faurot <eric@openbsd.org>
|
||||
MAINTAINER= Piotr Sikora <piotr.sikora@frickle.com>
|
||||
|
||||
# GPLv2
|
||||
PERMIT_PACKAGE_CDROM= Yes
|
||||
@ -18,17 +18,20 @@ PERMIT_PACKAGE_FTP= Yes
|
||||
PERMIT_DISTFILES_CDROM= Yes
|
||||
PERMIT_DISTFILES_FTP= Yes
|
||||
|
||||
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=buildbot/}
|
||||
MASTER_SITES = http://buildbot.googlecode.com/files/
|
||||
|
||||
MODULES= lang/python
|
||||
|
||||
RUN_DEPENDS= devel/py-twisted/core \
|
||||
devel/py-twisted/conch \
|
||||
devel/py-twisted/mail \
|
||||
devel/py-twisted/web \
|
||||
devel/py-twisted/words
|
||||
MODPY_SETUPTOOLS= Yes
|
||||
|
||||
REGRESS_DEPENDS= ${RUN_DEPENDS}
|
||||
RUN_DEPENDS= devel/py-twisted/core
|
||||
|
||||
REGRESS_DEPENDS= ${RUN_DEPENDS} \
|
||||
devel/py-mock
|
||||
|
||||
HOMEDIR = /var/buildslave
|
||||
|
||||
SUBST_VARS += HOMEDIR
|
||||
|
||||
post-install:
|
||||
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/py-buildslave
|
||||
|
@ -1,5 +1,5 @@
|
||||
MD5 (buildbot-slave-0.8.2.tar.gz) = p2v8E4BiEilYJcldaJWrTg==
|
||||
RMD160 (buildbot-slave-0.8.2.tar.gz) = E4wsBdd/kVkN5lL6rmcEX86HPXU=
|
||||
SHA1 (buildbot-slave-0.8.2.tar.gz) = V0nJ4iugM2sjn9tt/go5J4V5Iwo=
|
||||
SHA256 (buildbot-slave-0.8.2.tar.gz) = e97Lli8r2HfhsGvDNiiUnhVAAQY06s/DePaPDbQH+wc=
|
||||
SIZE (buildbot-slave-0.8.2.tar.gz) = 79997
|
||||
MD5 (buildbot-slave-0.8.3.tar.gz) = y52dDC2SXlG7PI1iCD13pw==
|
||||
RMD160 (buildbot-slave-0.8.3.tar.gz) = 1Vas02TpjYZ3xIRykhGUfDCHhw8=
|
||||
SHA1 (buildbot-slave-0.8.3.tar.gz) = 9C0prA09Yw8nfxPjkpZXirsdFqw=
|
||||
SHA256 (buildbot-slave-0.8.3.tar.gz) = 4Ng8WJRJW4LAtwJIBlPqcS5SiPZEoPBmEJnma6ZO1Ww=
|
||||
SIZE (buildbot-slave-0.8.3.tar.gz) = 86438
|
||||
|
@ -1,16 +0,0 @@
|
||||
$OpenBSD: patch-setup_py,v 1.1.1.1 2010/11/30 10:59:01 eric Exp $
|
||||
--- setup.py.orig Fri Oct 29 02:33:35 2010
|
||||
+++ setup.py Tue Nov 30 11:03:13 2010
|
||||
@@ -93,11 +93,7 @@ setup_args = {
|
||||
if sys.platform == "win32":
|
||||
setup_args['zip_safe'] = False
|
||||
|
||||
-try:
|
||||
- # If setuptools is installed, then we'll add setuptools-specific arguments
|
||||
- # to the setup args.
|
||||
- import setuptools #@UnusedImport
|
||||
-except ImportError:
|
||||
+if True:
|
||||
setup_args['scripts'] = [
|
||||
'bin/buildslave'
|
||||
]
|
@ -1,6 +1,13 @@
|
||||
@comment $OpenBSD: PLIST,v 1.1.1.1 2010/11/30 10:59:01 eric Exp $
|
||||
@comment $OpenBSD: PLIST,v 1.2 2011/04/21 10:22:38 eric Exp $
|
||||
@newgroup _buildslave:674
|
||||
@newuser _buildslave:674:_buildslave:daemon:BuildBot slave daemon:${HOMEDIR}:/sbin/nologin
|
||||
bin/buildslave
|
||||
lib/python${MODPY_VERSION}/site-packages/buildbot_slave-${MODPY_EGG_VERSION}-py${MODPY_VERSION}.egg-info
|
||||
lib/python${MODPY_VERSION}/site-packages/buildbot_slave-${MODPY_EGG_VERSION}-py${MODPY_VERSION}.egg-info/
|
||||
lib/python${MODPY_VERSION}/site-packages/buildbot_slave-${MODPY_EGG_VERSION}-py${MODPY_VERSION}.egg-info/PKG-INFO
|
||||
lib/python${MODPY_VERSION}/site-packages/buildbot_slave-${MODPY_EGG_VERSION}-py${MODPY_VERSION}.egg-info/SOURCES.txt
|
||||
lib/python${MODPY_VERSION}/site-packages/buildbot_slave-${MODPY_EGG_VERSION}-py${MODPY_VERSION}.egg-info/dependency_links.txt
|
||||
lib/python${MODPY_VERSION}/site-packages/buildbot_slave-${MODPY_EGG_VERSION}-py${MODPY_VERSION}.egg-info/requires.txt
|
||||
lib/python${MODPY_VERSION}/site-packages/buildbot_slave-${MODPY_EGG_VERSION}-py${MODPY_VERSION}.egg-info/top_level.txt
|
||||
lib/python${MODPY_VERSION}/site-packages/buildslave/
|
||||
lib/python${MODPY_VERSION}/site-packages/buildslave/VERSION
|
||||
lib/python${MODPY_VERSION}/site-packages/buildslave/__init__.py
|
||||
@ -20,6 +27,8 @@ lib/python${MODPY_VERSION}/site-packages/buildslave/commands/cvs.py
|
||||
lib/python${MODPY_VERSION}/site-packages/buildslave/commands/cvs.pyc
|
||||
lib/python${MODPY_VERSION}/site-packages/buildslave/commands/darcs.py
|
||||
lib/python${MODPY_VERSION}/site-packages/buildslave/commands/darcs.pyc
|
||||
lib/python${MODPY_VERSION}/site-packages/buildslave/commands/fs.py
|
||||
lib/python${MODPY_VERSION}/site-packages/buildslave/commands/fs.pyc
|
||||
lib/python${MODPY_VERSION}/site-packages/buildslave/commands/git.py
|
||||
lib/python${MODPY_VERSION}/site-packages/buildslave/commands/git.pyc
|
||||
lib/python${MODPY_VERSION}/site-packages/buildslave/commands/hg.py
|
||||
@ -28,6 +37,8 @@ lib/python${MODPY_VERSION}/site-packages/buildslave/commands/p4.py
|
||||
lib/python${MODPY_VERSION}/site-packages/buildslave/commands/p4.pyc
|
||||
lib/python${MODPY_VERSION}/site-packages/buildslave/commands/registry.py
|
||||
lib/python${MODPY_VERSION}/site-packages/buildslave/commands/registry.pyc
|
||||
lib/python${MODPY_VERSION}/site-packages/buildslave/commands/repo.py
|
||||
lib/python${MODPY_VERSION}/site-packages/buildslave/commands/repo.pyc
|
||||
lib/python${MODPY_VERSION}/site-packages/buildslave/commands/shell.py
|
||||
lib/python${MODPY_VERSION}/site-packages/buildslave/commands/shell.pyc
|
||||
lib/python${MODPY_VERSION}/site-packages/buildslave/commands/svn.py
|
||||
@ -82,6 +93,8 @@ lib/python${MODPY_VERSION}/site-packages/buildslave/test/unit/test_commands_cvs.
|
||||
lib/python${MODPY_VERSION}/site-packages/buildslave/test/unit/test_commands_cvs.pyc
|
||||
lib/python${MODPY_VERSION}/site-packages/buildslave/test/unit/test_commands_darcs.py
|
||||
lib/python${MODPY_VERSION}/site-packages/buildslave/test/unit/test_commands_darcs.pyc
|
||||
lib/python${MODPY_VERSION}/site-packages/buildslave/test/unit/test_commands_fs.py
|
||||
lib/python${MODPY_VERSION}/site-packages/buildslave/test/unit/test_commands_fs.pyc
|
||||
lib/python${MODPY_VERSION}/site-packages/buildslave/test/unit/test_commands_git.py
|
||||
lib/python${MODPY_VERSION}/site-packages/buildslave/test/unit/test_commands_git.pyc
|
||||
lib/python${MODPY_VERSION}/site-packages/buildslave/test/unit/test_commands_hg.py
|
||||
@ -113,5 +126,11 @@ lib/python${MODPY_VERSION}/site-packages/buildslave/test/util/sourcecommand.py
|
||||
lib/python${MODPY_VERSION}/site-packages/buildslave/test/util/sourcecommand.pyc
|
||||
lib/python${MODPY_VERSION}/site-packages/buildslave/util.py
|
||||
lib/python${MODPY_VERSION}/site-packages/buildslave/util.pyc
|
||||
share/doc/pkg-readmes/py-buildslave-${MODPY_EGG_VERSION}
|
||||
share/doc/py-buildslave/
|
||||
share/doc/py-buildslave/README
|
||||
@rcscript ${RCDIR}/buildslave
|
||||
@mode 700
|
||||
@owner _buildslave
|
||||
@group _buildslave
|
||||
@sample ${HOMEDIR}/
|
||||
|
12
devel/py-buildslave/pkg/README
Normal file
12
devel/py-buildslave/pkg/README
Normal file
@ -0,0 +1,12 @@
|
||||
$OpenBSD: README,v 1.1 2011/04/21 10:22:38 eric Exp $
|
||||
|
||||
Using BuildBot slave in an OpenBSD environment
|
||||
==============================================
|
||||
|
||||
On OpenBSD, the BuildBot package has an associated _buildslave user
|
||||
for running the slave. The default slave directory is expected to be
|
||||
found in ${HOMEDIR}. Before being run for the first time, the
|
||||
slave directory must be initialized. This is done as follows:
|
||||
|
||||
$ sudo -u _buildslave buildslave \
|
||||
create-slave ${HOMEDIR} <master> <name> <passwd>
|
23
devel/py-buildslave/pkg/buildslave.rc
Normal file
23
devel/py-buildslave/pkg/buildslave.rc
Normal file
@ -0,0 +1,23 @@
|
||||
#!/bin/sh
|
||||
#
|
||||
# $OpenBSD: buildslave.rc,v 1.1 2011/04/21 10:22:38 eric Exp $
|
||||
|
||||
daemon="${TRUEPREFIX}/bin/buildslave"
|
||||
daemon_flags="${HOMEDIR}"
|
||||
daemon_user="_buildslave"
|
||||
|
||||
. /etc/rc.d/rc.subr
|
||||
|
||||
pexp="${MODPY_BIN} ${daemon} start ${daemon_flags}"
|
||||
|
||||
rc_reload=NO
|
||||
|
||||
rc_start() {
|
||||
${rcexec} "${daemon} start ${daemon_flags}"
|
||||
}
|
||||
|
||||
rc_stop() {
|
||||
${daemon} stop ${daemon_flags}
|
||||
}
|
||||
|
||||
rc_cmd $1
|
Loading…
Reference in New Issue
Block a user