aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Felder <feld@FreeBSD.org>2017-09-19 01:21:56 +0000
committerMark Felder <feld@FreeBSD.org>2017-09-19 01:21:56 +0000
commitd6ebe012c74a6ceed7e7d11cae078b699111d7f2 (patch)
tree213dbeeefcc0b04500074447a929af3bdcd0f382
parentce6d7c28697a695d55430dd0b5bbc8f99efa764b (diff)
downloadports-d6ebe012c74a6ceed7e7d11cae078b699111d7f2.tar.gz
ports-d6ebe012c74a6ceed7e7d11cae078b699111d7f2.zip
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)
Notes
Notes: svn path=/branches/2017Q3/; revision=450093
-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 35fe8fe10d25..8af46080249d 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 baae10d3fb32..1876484a102c 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