mirror of
https://git.freebsd.org/ports.git
synced 2025-06-01 02:46:27 -04:00
This release fixes a vulnerability in OAuth where user-submitted authorization token was used for authentication. [1][2] Changelog: https://docs.buildbot.net/current/relnotes/index.html#buildbot-2-3-1-2019-05-22 [1] https://github.com/buildbot/buildbot/wiki/OAuth-vulnerability-in-using-submitted-authorization-token-for-authentication [2] https://github.com/buildbot/buildbot/pull/4763/files MFH: 2019Q2 (MFH with ports r501623) Security: ada8db8a-8471-11e9-8170-0050562a4d7b
37 lines
995 B
Makefile
37 lines
995 B
Makefile
# Created by: Frederic Praca <frederic.praca@freebsd-fr.org>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= buildbot-worker
|
|
PORTVERSION= 2.3.1
|
|
CATEGORIES= devel python
|
|
MASTER_SITES= CHEESESHOP
|
|
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
|
|
|
MAINTAINER= koobs@FreeBSD.org
|
|
COMMENT= Buildbot Worker Daemon
|
|
|
|
LICENSE= GPLv2
|
|
LICENSE_FILE= ${WRKSRC}/COPYING
|
|
|
|
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}twisted>=17.9.0:devel/py-twisted@${PY_FLAVOR} \
|
|
${PYTHON_PKGNAMEPREFIX}future>=0:devel/py-future@${PY_FLAVOR}
|
|
TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}mock>0:devel/py-mock@${PY_FLAVOR}
|
|
|
|
USES= python
|
|
USE_PYTHON= autoplist concurrent distutils
|
|
USE_RC_SUBR= buildbot-worker
|
|
|
|
SUB_LIST+= PYTHON_CMD=${PYTHON_CMD} PYTHON_VER=${PYTHON_VER}
|
|
|
|
NO_ARCH= yes
|
|
|
|
PLIST_FILES= man/man1/buildbot-worker.1.gz
|
|
|
|
post-install:
|
|
${INSTALL_MAN} ${WRKSRC}/docs/buildbot-worker.1 ${STAGEDIR}${MANPREFIX}/man/man1
|
|
|
|
do-test:
|
|
${MKDIR} ${WRKDIR}/tmp
|
|
cd ${WRKDIR}/tmp && PYTHONPATH=${WRKSRC} ${PYTHON_CMD} -m twisted.trial buildbot_worker.test
|
|
|
|
.include <bsd.port.mk>
|