summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorfeld <feld@FreeBSD.org>2017-09-19 01:21:56 +0000
committerfeld <feld@FreeBSD.org>2017-09-19 01:21:56 +0000
commit7da78d59c047e9281509506e77ebe63b9a71b1d3 (patch)
tree213dbeeefcc0b04500074447a929af3bdcd0f382
parent46c54e13d585ca486a588c427207f41095d9c0ce (diff)
downloadFreeBSD-ports-7da78d59c047e9281509506e77ebe63b9a71b1d3.zip
FreeBSD-ports-7da78d59c047e9281509506e77ebe63b9a71b1d3.tar.gz
MFH: r449941
sysutils/py-supervisor: Update to 3.3.3 Update to 3.3.3, which fixes a security vulnerability (CVE-2017-11610). While I'm here, level up port compliance, limiting changes to a minimum. Still TODO: - Regenerate/verify patches - Clarify/Add LICENSE ('BSD-derived') - Fix/verify use of @[un]exec in pkg-plist Changelog: http://supervisord.org/changes.html PR: 221539 Submitted by: Dani <i.dani outlook com> Approved by: portmgr (maintainer timeout, 1 month) Security: c9460380-81e3-11e7-93af-005056925db4 Approved by: ports-secteam (with hat)
-rw-r--r--sysutils/py-supervisor/Makefile28
-rw-r--r--sysutils/py-supervisor/distinfo6
2 files changed, 15 insertions, 19 deletions
diff --git a/sysutils/py-supervisor/Makefile b/sysutils/py-supervisor/Makefile
index 35fe8fe..8af4608 100644
--- a/sysutils/py-supervisor/Makefile
+++ b/sysutils/py-supervisor/Makefile
@@ -2,31 +2,23 @@
# $FreeBSD$
PORTNAME= supervisor
-PORTVERSION= 3.3.0
+PORTVERSION= 3.3.3
PORTEPOCH= 1
CATEGORIES= sysutils python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= hizel@vyborg.ru
-COMMENT= System to monitor and control a number of processes on UNIX-like OS
+COMMENT= System for controlling process state under UNIX
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}meld3>=0.6.5:www/py-meld3
-TEST_DEPENDS:= ${RUN_DEPENDS} \
- ${PYTHON_PKGNAMEPREFIX}mock>0:devel/py-mock
-
-OPTIONS_DEFINE= TESTS
-TESTS_DESC= Install mock for running unit tests
-
-.include <bsd.port.options.mk>
-
-.if ${PORT_OPTIONS:MTESTS}
-BUILD_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}mock>0:devel/py-mock
-.endif
+TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}mock>=0.5.0:devel/py-mock
PORTDOCS= *.txt *.rst
-USES= python:2
+NO_ARCH= yes
+
+USES= python:2.7 shebangfix
USE_PYTHON= distutils autoplist
PIDDIR?= /var/run/supervisor
@@ -35,6 +27,10 @@ SUB_LIST= PYTHON_CMD=${PYTHON_CMD} \
PLIST_SUB= PIDDIR=${PIDDIR}
USE_RC_SUBR= supervisord
+SHEBANG_FILES= supervisor/scripts/*.py supervisor/tests/fixtures/*.py
+python_OLD_CMD= "/usr/bin/env python"
+python_OLD_CMD+= "<<PYTHON>>"
+
post-patch:
@${REINPLACE_CMD} -e 's!%%PREFIX%%!${PREFIX}!' ${WRKSRC}/supervisor/options.py
@@ -45,7 +41,7 @@ post-install:
${INSTALL_DATA} ${WRKSRC}/${i} ${STAGEDIR}${DOCSDIR}/
.endfor
-regression-test: build
- @cd ${WRKSRC} && ${PYTHON_CMD} ${PYSETUP} test
+do-test:
+ @cd ${WRKSRC} && ${PYTHON_CMD} ${PYDISTUTILS_SETUP} test
.include <bsd.port.mk>
diff --git a/sysutils/py-supervisor/distinfo b/sysutils/py-supervisor/distinfo
index baae10d..1876484 100644
--- a/sysutils/py-supervisor/distinfo
+++ b/sysutils/py-supervisor/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1465394448
-SHA256 (supervisor-3.3.0.tar.gz) = 3176fb8a78c60164020e252e4a2b50b039cfec1f410b4562a843b66186188652
-SIZE (supervisor-3.3.0.tar.gz) = 416329
+TIMESTAMP = 1505483926
+SHA256 (supervisor-3.3.3.tar.gz) = 96287ebfabf9a6923f74123b056c4da39c617fef367980f007cac02fba6527ad
+SIZE (supervisor-3.3.3.tar.gz) = 418354
OpenPOWER on IntegriCloud