Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 16 Sep 2017 03:59:25 +0000 (UTC)
From:      Kubilay Kocak <koobs@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r449941 - head/sysutils/py-supervisor
Message-ID:  <201709160359.v8G3xPBs039954@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: koobs
Date: Sat Sep 16 03:59:25 2017
New Revision: 449941
URL: https://svnweb.freebsd.org/changeset/ports/449941

Log:
  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
  MFH:		2017Q3

Modified:
  head/sysutils/py-supervisor/Makefile
  head/sysutils/py-supervisor/distinfo

Modified: head/sysutils/py-supervisor/Makefile
==============================================================================
--- head/sysutils/py-supervisor/Makefile	Sat Sep 16 02:14:43 2017	(r449940)
+++ head/sysutils/py-supervisor/Makefile	Sat Sep 16 03:59:25 2017	(r449941)
@@ -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
+TEST_DEPENDS=	${PYTHON_PKGNAMEPREFIX}mock>=0.5.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
-
 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>

Modified: head/sysutils/py-supervisor/distinfo
==============================================================================
--- head/sysutils/py-supervisor/distinfo	Sat Sep 16 02:14:43 2017	(r449940)
+++ head/sysutils/py-supervisor/distinfo	Sat Sep 16 03:59:25 2017	(r449941)
@@ -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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201709160359.v8G3xPBs039954>