Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F145148699
D12822.id34430.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
3 KB
Referenced Files
None
Subscribers
None
D12822.id34430.diff
View Options
Index: sysutils/Makefile
===================================================================
--- sysutils/Makefile
+++ sysutils/Makefile
@@ -916,6 +916,7 @@
SUBDIR += py-scriptine
SUBDIR += py-shutilwhich
SUBDIR += py-stdiff
+ SUBDIR += py-superlance
SUBDIR += py-supervisor
SUBDIR += py-tmuxp
SUBDIR += py-uptime
Index: sysutils/py-superlance/Makefile
===================================================================
--- /dev/null
+++ sysutils/py-superlance/Makefile
@@ -0,0 +1,28 @@
+# Created by: Fukang Chen <loader@FreeBSD.org>
+# $FreeBSD$
+
+PORTNAME= superlance
+PORTVERSION= 1.0.0
+CATEGORIES= sysutils python
+MASTER_SITES= CHEESESHOP
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER= loader@FreeBSD.org
+COMMENT= Superlance plugins for supervisord
+
+LICENSE= BSD4CLAUSE
+LICENSE_FILE= ${WRKSRC}/LICENSE.txt
+
+RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}supervisor>0:sysutils/py-supervisor
+TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}mock>0:devel/py-mock
+
+NO_ARCH= yes
+
+# Actually 2.6-2.7,3.2-3.5
+USES= python:2.7
+USE_PYTHON= autoplist distutils
+
+do-test:
+ @cd ${WRKSRC} && ${PYTHON_CMD} ${PYDISTUTILS_SETUP} test
+
+.include <bsd.port.mk>
Index: sysutils/py-superlance/distinfo
===================================================================
--- /dev/null
+++ sysutils/py-superlance/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1508254575
+SHA256 (superlance-1.0.0.tar.gz) = f697c71341e9a686f3a0ff3f04a82448523eac0a6121484933729ba65a973a63
+SIZE (superlance-1.0.0.tar.gz) = 36909
Index: sysutils/py-superlance/files/patch-superlance_httpok.py
===================================================================
--- /dev/null
+++ sysutils/py-superlance/files/patch-superlance_httpok.py
@@ -0,0 +1,11 @@
+--- superlance/httpok.py.orig 2017-10-25 04:36:10 UTC
++++ superlance/httpok.py
+@@ -351,7 +351,7 @@ def main(argv=sys.argv):
+ programs = []
+ any = False
+ sendmail = '/usr/sbin/sendmail -t -i'
+- gcore = '/usr/bin/gcore -o'
++ gcore = '/usr/bin/gcore -c'
+ coredir = None
+ eager = True
+ email = None
Index: sysutils/py-superlance/files/patch-superlance_memmon.py
===================================================================
--- /dev/null
+++ sysutils/py-superlance/files/patch-superlance_memmon.py
@@ -0,0 +1,11 @@
+--- superlance/memmon.py.orig 2017-10-25 04:36:57 UTC
++++ superlance/memmon.py
+@@ -114,7 +114,7 @@ class Memmon:
+ self.stdout = sys.stdout
+ self.stderr = sys.stderr
+ self.pscommand = 'ps -orss= -p %s'
+- self.pstreecommand = 'ps ax -o "pid= ppid= rss="'
++ self.pstreecommand = 'ps ax -o pid= -o ppid= -o rss='
+ self.mailed = False # for unit tests
+
+ def runforever(self, test=False):
Index: sysutils/py-superlance/pkg-descr
===================================================================
--- /dev/null
+++ sysutils/py-superlance/pkg-descr
@@ -0,0 +1,4 @@
+Superlance is a package of plugin utilities for monitoring and controlling
+processes that run under supervisor.
+
+WWW: https://github.com/Supervisor/superlance
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Tue, Feb 17, 11:36 AM (6 h, 27 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
28812880
Default Alt Text
D12822.id34430.diff (3 KB)
Attached To
Mode
D12822: [NEW PORT] sysutils/py-superlance: Superlance plugins for supervisord
Attached
Detach File
Event Timeline
Log In to Comment