ports/135557: [NEW PORT] sysutils/py25-supervisor: A client/server system that allows to control a number of processes

Kirill Spitsin 0x746e at gmail.com
Sun Jun 14 05:20:03 UTC 2009


The following reply was made to PR ports/135557; it has been noted by GNATS.

From: Kirill Spitsin <0x746e at gmail.com>
To: bug-followup at freebsd.org
Cc:  
Subject: Re: ports/135557: [NEW PORT] sysutils/py25-supervisor: A 
	client/server system that allows to control a number of processes
Date: Sun, 14 Jun 2009 08:11:19 +0300

 And one more attempt to post shar.
 
 --- py25-supervisor-3.0.a7.shar begins here ---
 # This is a shell archive. =A0Save it in a file, remove anything before
 # this line, and then unpack it by entering "sh file". =A0Note, it may
 # create directories; files and directories will be owned by you and
 # have default permissions.
 #
 # This archive contains:
 #
 # =A0 =A0 =A0 py-supervisor
 # =A0 =A0 =A0 py-supervisor/Makefile
 # =A0 =A0 =A0 py-supervisor/distinfo
 # =A0 =A0 =A0 py-supervisor/files
 # =A0 =A0 =A0 py-supervisor/files/patch-src-supervisor-options.py
 # =A0 =A0 =A0 py-supervisor/files/supervisord.in
 # =A0 =A0 =A0 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: =A0 supervisor
 X# Date created: =A0 =A0 =A0 =A014 June 2009
 X# Whom: =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0Kirill P. Spitsin <tn at 0x746e.org.ua=
 >
 X#
 X# $FreeBSD$
 X#
 X
 XPORTNAME=3D =A0 =A0 =A0supervisor
 XDISTVERSION=3D =A0 3.0a7
 XCATEGORIES=3D =A0 =A0sysutils
 XMASTER_SITES=3D =A0http://dist.supervisord.org/ \
 X =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 http://0x746e=
 .org.ua/distfiles/
 XPKGNAMEPREFIX=3D ${PYTHON_PKGNAMEPREFIX}
 X
 XMAINTAINER=3D =A0 =A0tn at 0x746e.org.ua
 XCOMMENT=3D =A0 =A0 =A0 A client/server system that allows to control a num=
 ber
 of processes
 X
 XRUN_DEPENDS=3D =A0 py*-meld3>=3D0.6.4:${PORTSDIR}/www/py-meld3 \
 X =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 py*-medusa>=
 =3D0.5.4:${PORTSDIR}/net/py-medusa
 X
 XPYDISTUTILS_PKGVERSION=3D =A0 =A0 =A0 =A03.0a7
 XUSE_PYTHON=3D =A0 =A0yes
 XUSE_PYDISTUTILS=3D =A0 =A0 =A0 easy_install
 X
 XSUB_LIST+=3D =A0 =A0 PYTHON_CMD=3D${PYTHON_CMD}
 XUSE_RC_SUBR=3D =A0 supervisord
 X
 XPLIST_FILES=3D =A0 bin/echo_supervisord_conf \
 X =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 bin/pidproxy =
 \
 X =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 bin/superviso=
 rctl \
 X =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 bin/superviso=
 rd \
 X =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 etc/superviso=
 rd.conf.sample
 X
 Xpost-patch:
 X =A0 =A0 =A0 @${REINPLACE_CMD} -e
 's#/tmp/supervisor.sock#/var/run/supervisor.sock#' \
 X =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =
 =A0 =A0 -e
 's#/tmp/supervisord.log#/var/log/supervisord.log#' \
 X =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =
 =A0 =A0 -e
 's#/tmp/supervisord.pid#/var/run/supervisord.pid#' \
 X
 ${WRKSRC}/src/supervisor/skel/sample.conf
 X
 Xpost-install:
 X =A0 =A0 =A0 ${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) =3D d2e6c491fcb2606e4fd0afe4ebfd4b13
 XSHA256 (supervisor-3.0a7.tar.gz) =3D
 4c4e48f94298e80e21209458d57471c19c40b3e1993f6e780f31826192eaff99
 XSIZE (supervisor-3.0a7.tar.gz) =3D 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 =A0 =A0 2009-05-22 02:45:42.000000000 +=
 0300
 X+++ src/supervisor/options.py =A02009-05-22 02:46:09.000000000 +0300
 X@@ -98,7 +98,7 @@
 X =A0 =A0 def default_configfile(self):
 X =A0 =A0 =A0 =A0 """Return the name of the found config file or raise. """
 X =A0 =A0 =A0 =A0 paths =3D ['supervisord.conf', 'etc/supervisord.conf',
 X- =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 '/etc/supervisord.conf']
 X+ =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 '/etc/supervisord.conf','/usr/local/etc/=
 supervisord.conf']
 X =A0 =A0 =A0 =A0 config =3D None
 X =A0 =A0 =A0 =A0 for path in paths:
 X =A0 =A0 =A0 =A0 =A0 =A0 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): =A0 Set to NO by default.
 X# =A0 =A0 =A0 =A0 =A0 =A0 =A0 Set it to YES to enable supervisord.
 X# supervisord_config (path): =A0 Set to %%PREFIX%%/etc/supervisord.conf
 X# =A0 =A0 =A0 =A0 =A0 =A0 =A0 by default.
 X#
 X
 X. %%RC_SUBR%%
 X
 Xname=3D"supervisord"
 Xrcvar=3D${name}_enable
 X
 Xcommand=3D%%PREFIX%%/bin/${name}
 Xcommand_interpreter=3D"%%PYTHON_CMD%%"
 Xpidfile=3D/var/run/${name}.pid
 X
 Xload_rc_config $name
 X
 X: ${supervisord_enable=3D"NO"}
 X: ${supervisord_config=3D"%%PREFIX%%/etc/supervisord.conf"}
 X
 Xcommand_args=3D"-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 ---



More information about the freebsd-ports-bugs mailing list