Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 14 Jun 2009 02:22:57 GMT
From:      "Kirill P. Spitsin" <tn@0x746e.org.ua>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/135557: [NEW PORT] sysutils/py25-supervisor: A client/server system that allows to control a number of processes
Message-ID:  <200906140222.n5E2MvvE079433@www.freebsd.org>
Resent-Message-ID: <200906140230.n5E2U1OR091539@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         135557
>Category:       ports
>Synopsis:       [NEW PORT] sysutils/py25-supervisor: A client/server system that allows to control a number of processes
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sun Jun 14 02:30:01 UTC 2009
>Closed-Date:
>Last-Modified:
>Originator:     Kirill P. Spitsin
>Release:        FreeBSD 7.1-STABLE amd64
>Organization:
>Environment:
System: FreeBSD 0x746e.org.ua 7.1-STABLE FreeBSD 7.1-STABLE #0: Mon Mar  2 10:01:14 EET
>Description:
Supervisor is a client/server system that allows its users to monitor 
and control a number of processes on UNIX-like operating systems.

It shares some of the same goals of programs like launchd, daemontools,
and runit. Unlike some of these programs, it is not meant to be run as 
a substitute for init as "process id 1". Instead it is meant to be used 
to control processes related to a project or a customer, and is meant 
to start like any other program at boot time.

WWW: http://supervisord.org/
>How-To-Repeat:

>Fix:
--- py25-supervisor-3.0.a7.shar begins here ---
# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#       py-supervisor
#       py-supervisor/Makefile
#       py-supervisor/distinfo
#       py-supervisor/files
#       py-supervisor/files/patch-src-supervisor-options.py
#       py-supervisor/files/supervisord.in
#       py-supervisor/pkg-descr
#
echo c - py-supervisor
mkdir -p py-supervisor > /dev/null 2>&1
echo x - py-supervisor/Makefile
sed 's/^X//' >py-supervisor/Makefile << 'f23e6c07cfcab04b80d4a251808d00bc'
X# New ports collection makefile for:   supervisor
X# Date created:        14 June 2009
X# Whom:                tn
X#
X# $FreeBSD$
X#
X
XPORTNAME=      supervisor
X#PORTVERSION=  3.0.a7
XDISTVERSION=   3.0a7
XCATEGORIES=    sysutils
XMASTER_SITES=  http://dist.supervisord.org/ \
X                               http://0x746e.org.ua/distfiles/
XPKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
X
XMAINTAINER=    tn@0x746e.org.ua
XCOMMENT=       A client/server system that allows to control a number of processes
X
X#RUN_DEPENDS=  py*-meld3>=0.6.4:${PORTSDIR}/www/py-meld3
XRUN_DEPENDS=   py*-meld3>=0.6.4:${PORTSDIR}/emedia_ports/www/py-meld3 \
X                               py*-medusa>=0.5.4:${PORTSDIR}/net/py-medusa
X
XPYDISTUTILS_PKGVERSION=        3.0a7
XUSE_PYTHON=    yes
XUSE_PYDISTUTILS=       easy_install
X
XSUB_LIST+=     PYTHON_CMD=${PYTHON_CMD}
XUSE_RC_SUBR=   supervisord
X
XPLIST_FILES=   bin/echo_supervisord_conf \
X                               bin/pidproxy \
X                               bin/supervisorctl \
X                               bin/supervisord \
X                               etc/supervisord.conf.sample
X
Xpost-patch:
X       @${REINPLACE_CMD} -e 's#/tmp/supervisor.sock#/var/run/supervisor.sock#' \
X                                         -e 's#/tmp/supervisord.log#/var/log/supervisord.log#' \
X                                         -e 's#/tmp/supervisord.pid#/var/run/supervisord.pid#' \
X                                         ${WRKSRC}/src/supervisor/skel/sample.conf
X
Xpost-install:
X       ${INSTALL_DATA} ${WRKSRC}/src/supervisor/skel/sample.conf ${PREFIX}/etc/supervisord.conf.sample
X
X.include <bsd.port.mk>
f23e6c07cfcab04b80d4a251808d00bc
echo x - py-supervisor/distinfo
sed 's/^X//' >py-supervisor/distinfo << '3bd01348e116d1992ac079616c077da5'
XMD5 (supervisor-3.0a7.tar.gz) = d2e6c491fcb2606e4fd0afe4ebfd4b13
XSHA256 (supervisor-3.0a7.tar.gz) = 4c4e48f94298e80e21209458d57471c19c40b3e1993f6e780f31826192eaff99
XSIZE (supervisor-3.0a7.tar.gz) = 292408
3bd01348e116d1992ac079616c077da5
echo c - py-supervisor/files
mkdir -p py-supervisor/files > /dev/null 2>&1
echo x - py-supervisor/files/patch-src-supervisor-options.py
sed 's/^X//' >py-supervisor/files/patch-src-supervisor-options.py << '1c363203564d10a252dd7cd531de7127'
X--- src/supervisor/options.py.orig     2009-05-22 02:45:42.000000000 +0300
X+++ src/supervisor/options.py  2009-05-22 02:46:09.000000000 +0300
X@@ -98,7 +98,7 @@
X     def default_configfile(self):
X         """Return the name of the found config file or raise. """
X         paths = ['supervisord.conf', 'etc/supervisord.conf',
X-                 '/etc/supervisord.conf']
X+                 '/etc/supervisord.conf','/usr/local/etc/supervisord.conf']
X         config = None
X         for path in paths:
X             if os.path.exists(path):
1c363203564d10a252dd7cd531de7127
echo x - py-supervisor/files/supervisord.in
sed 's/^X//' >py-supervisor/files/supervisord.in << 'c19aea7773ed6c6fa236c653f5bdedda'
X#!/bin/sh
X
X# PROVIDE: supervisord
X# REQUIRE: LOGIN
X#
X# Add the following lines to /etc/rc.conf.local or /etc/rc.conf
X# to enable this service:
X#
X# supervisord_enable (bool):   Set to NO by default.
X#               Set it to YES to enable supervisord.
X# supervisord_config (path):   Set to %%PREFIX%%/etc/supervisord.conf
X#               by default.
X#
X
X. %%RC_SUBR%%
X
Xname="supervisord"
Xrcvar=${name}_enable
X
Xcommand=%%PREFIX%%/bin/${name}
Xcommand_interpreter="%%PYTHON_CMD%%"
Xpidfile=/var/run/${name}.pid
X
Xload_rc_config $name
X
X: ${supervisord_enable="NO"}
X: ${supervisord_config="%%PREFIX%%/etc/supervisord.conf"}
X
Xcommand_args="-c $supervisord_config"
X
Xrun_rc_command "$1"
X
c19aea7773ed6c6fa236c653f5bdedda
echo x - py-supervisor/pkg-descr
sed 's/^X//' >py-supervisor/pkg-descr << 'ac02447596ddf09f1b27a0f7f5fa43a8'
XSupervisor is a client/server system that allows its users to monitor 
Xand control a number of processes on UNIX-like operating systems.
X
XIt shares some of the same goals of programs like launchd, daemontools,
Xand runit. Unlike some of these programs, it is not meant to be run as 
Xa substitute for init as "process id 1". Instead it is meant to be used 
Xto control processes related to a project or a customer, and is meant 
Xto start like any other program at boot time.
X
XWWW: http://supervisord.org/
ac02447596ddf09f1b27a0f7f5fa43a8
exit
--- py25-supervisor-3.0.a7.shar ends here ---

>Release-Note:
>Audit-Trail:
>Unformatted:



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