Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 20 May 2006 19:12:28 +0100 (WEST)
From:      Rui Lopes <rgl@ruilopes.com>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/97531: New port: devel/rubygem-daemons
Message-ID:  <20060520181228.01EDE450D9@firebird.clustercube.com>
Resent-Message-ID: <200605201820.k4KIKHKZ080856@freefall.freebsd.org>

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

>Number:         97531
>Category:       ports
>Synopsis:       New port: devel/rubygem-daemons
>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:   Sat May 20 18:20:17 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator:     Rui Lopes
>Release:        FreeBSD 6.0-STABLE i386
>Organization:
>Environment:
	
>Description:
A port for http://daemons.rubyforge.org/.

NB: This port is needed by www/mongrel of PR/97530.
	
>How-To-Repeat:
	
>Fix:

	

--- devel_rubygem-daemons.sh 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:
#
#	rubygem-daemons
#	rubygem-daemons/pkg-plist
#	rubygem-daemons/pkg-descr
#	rubygem-daemons/Makefile
#	rubygem-daemons/distinfo
#
echo c - rubygem-daemons
mkdir -p rubygem-daemons > /dev/null 2>&1
echo x - rubygem-daemons/pkg-plist
sed 's/^X//' >rubygem-daemons/pkg-plist << 'END-of-rubygem-daemons/pkg-plist'
X%%CACHE_DIR%%/daemons-0.4.4.gem
X%%GEM_DOC_DIR%%/rdoc/classes/Daemonize.html
X%%GEM_DOC_DIR%%/rdoc/classes/Daemonize.src/M000060.html
X%%GEM_DOC_DIR%%/rdoc/classes/Daemonize.src/M000061.html
X%%GEM_DOC_DIR%%/rdoc/classes/Daemonize.src/M000062.html
X%%GEM_DOC_DIR%%/rdoc/classes/Daemonize.src/M000063.html
X%%GEM_DOC_DIR%%/rdoc/classes/Daemons.html
X%%GEM_DOC_DIR%%/rdoc/classes/Daemons.src/M000001.html
X%%GEM_DOC_DIR%%/rdoc/classes/Daemons.src/M000002.html
X%%GEM_DOC_DIR%%/rdoc/classes/Daemons.src/M000003.html
X%%GEM_DOC_DIR%%/rdoc/classes/Daemons.src/M000004.html
X%%GEM_DOC_DIR%%/rdoc/classes/Daemons.src/M000005.html
X%%GEM_DOC_DIR%%/rdoc/classes/Daemons.src/M000006.html
X%%GEM_DOC_DIR%%/rdoc/classes/Daemons/Application.html
X%%GEM_DOC_DIR%%/rdoc/classes/Daemons/Application.src/M000016.html
X%%GEM_DOC_DIR%%/rdoc/classes/Daemons/Application.src/M000017.html
X%%GEM_DOC_DIR%%/rdoc/classes/Daemons/Application.src/M000018.html
X%%GEM_DOC_DIR%%/rdoc/classes/Daemons/Application.src/M000019.html
X%%GEM_DOC_DIR%%/rdoc/classes/Daemons/Application.src/M000020.html
X%%GEM_DOC_DIR%%/rdoc/classes/Daemons/Application.src/M000021.html
X%%GEM_DOC_DIR%%/rdoc/classes/Daemons/Application.src/M000022.html
X%%GEM_DOC_DIR%%/rdoc/classes/Daemons/Application.src/M000023.html
X%%GEM_DOC_DIR%%/rdoc/classes/Daemons/Application.src/M000024.html
X%%GEM_DOC_DIR%%/rdoc/classes/Daemons/Application.src/M000025.html
X%%GEM_DOC_DIR%%/rdoc/classes/Daemons/Application.src/M000026.html
X%%GEM_DOC_DIR%%/rdoc/classes/Daemons/Application.src/M000027.html
X%%GEM_DOC_DIR%%/rdoc/classes/Daemons/Application.src/M000028.html
X%%GEM_DOC_DIR%%/rdoc/classes/Daemons/Application.src/M000029.html
X%%GEM_DOC_DIR%%/rdoc/classes/Daemons/Application.src/M000030.html
X%%GEM_DOC_DIR%%/rdoc/classes/Daemons/ApplicationGroup.html
X%%GEM_DOC_DIR%%/rdoc/classes/Daemons/ApplicationGroup.src/M000046.html
X%%GEM_DOC_DIR%%/rdoc/classes/Daemons/ApplicationGroup.src/M000047.html
X%%GEM_DOC_DIR%%/rdoc/classes/Daemons/ApplicationGroup.src/M000048.html
X%%GEM_DOC_DIR%%/rdoc/classes/Daemons/ApplicationGroup.src/M000049.html
X%%GEM_DOC_DIR%%/rdoc/classes/Daemons/ApplicationGroup.src/M000050.html
X%%GEM_DOC_DIR%%/rdoc/classes/Daemons/ApplicationGroup.src/M000051.html
X%%GEM_DOC_DIR%%/rdoc/classes/Daemons/ApplicationGroup.src/M000052.html
X%%GEM_DOC_DIR%%/rdoc/classes/Daemons/ApplicationGroup.src/M000053.html
X%%GEM_DOC_DIR%%/rdoc/classes/Daemons/ApplicationGroup.src/M000054.html
X%%GEM_DOC_DIR%%/rdoc/classes/Daemons/ApplicationGroup.src/M000055.html
X%%GEM_DOC_DIR%%/rdoc/classes/Daemons/CmdException.html
X%%GEM_DOC_DIR%%/rdoc/classes/Daemons/Controller.html
X%%GEM_DOC_DIR%%/rdoc/classes/Daemons/Controller.src/M000031.html
X%%GEM_DOC_DIR%%/rdoc/classes/Daemons/Controller.src/M000032.html
X%%GEM_DOC_DIR%%/rdoc/classes/Daemons/Controller.src/M000033.html
X%%GEM_DOC_DIR%%/rdoc/classes/Daemons/Controller.src/M000034.html
X%%GEM_DOC_DIR%%/rdoc/classes/Daemons/Controller.src/M000035.html
X%%GEM_DOC_DIR%%/rdoc/classes/Daemons/Controller.src/M000036.html
X%%GEM_DOC_DIR%%/rdoc/classes/Daemons/Error.html
X%%GEM_DOC_DIR%%/rdoc/classes/Daemons/Exception.html
X%%GEM_DOC_DIR%%/rdoc/classes/Daemons/Monitor.html
X%%GEM_DOC_DIR%%/rdoc/classes/Daemons/Monitor.src/M000056.html
X%%GEM_DOC_DIR%%/rdoc/classes/Daemons/Monitor.src/M000057.html
X%%GEM_DOC_DIR%%/rdoc/classes/Daemons/Monitor.src/M000058.html
X%%GEM_DOC_DIR%%/rdoc/classes/Daemons/Monitor.src/M000059.html
X%%GEM_DOC_DIR%%/rdoc/classes/Daemons/Optparse.html
X%%GEM_DOC_DIR%%/rdoc/classes/Daemons/Optparse.src/M000014.html
X%%GEM_DOC_DIR%%/rdoc/classes/Daemons/Optparse.src/M000015.html
X%%GEM_DOC_DIR%%/rdoc/classes/Daemons/Pid.html
X%%GEM_DOC_DIR%%/rdoc/classes/Daemons/Pid.src/M000007.html
X%%GEM_DOC_DIR%%/rdoc/classes/Daemons/Pid.src/M000008.html
X%%GEM_DOC_DIR%%/rdoc/classes/Daemons/Pid.src/M000009.html
X%%GEM_DOC_DIR%%/rdoc/classes/Daemons/Pid.src/M000010.html
X%%GEM_DOC_DIR%%/rdoc/classes/Daemons/Pid.src/M000011.html
X%%GEM_DOC_DIR%%/rdoc/classes/Daemons/Pid.src/M000012.html
X%%GEM_DOC_DIR%%/rdoc/classes/Daemons/Pid.src/M000013.html
X%%GEM_DOC_DIR%%/rdoc/classes/Daemons/PidFile.html
X%%GEM_DOC_DIR%%/rdoc/classes/Daemons/PidFile.src/M000037.html
X%%GEM_DOC_DIR%%/rdoc/classes/Daemons/PidFile.src/M000038.html
X%%GEM_DOC_DIR%%/rdoc/classes/Daemons/PidFile.src/M000039.html
X%%GEM_DOC_DIR%%/rdoc/classes/Daemons/PidFile.src/M000040.html
X%%GEM_DOC_DIR%%/rdoc/classes/Daemons/PidFile.src/M000041.html
X%%GEM_DOC_DIR%%/rdoc/classes/Daemons/PidFile.src/M000042.html
X%%GEM_DOC_DIR%%/rdoc/classes/Daemons/PidFile.src/M000043.html
X%%GEM_DOC_DIR%%/rdoc/classes/Daemons/PidFile.src/M000044.html
X%%GEM_DOC_DIR%%/rdoc/classes/Daemons/PidMem.html
X%%GEM_DOC_DIR%%/rdoc/classes/Daemons/RuntimeException.html
X%%GEM_DOC_DIR%%/rdoc/classes/Daemons/SystemError.html
X%%GEM_DOC_DIR%%/rdoc/classes/Daemons/SystemError.src/M000045.html
X%%GEM_DOC_DIR%%/rdoc/created.rid
X%%GEM_DOC_DIR%%/rdoc/files/README.html
X%%GEM_DOC_DIR%%/rdoc/files/Releases.html
X%%GEM_DOC_DIR%%/rdoc/files/TODO.html
X%%GEM_DOC_DIR%%/rdoc/files/lib/daemons/application_group_rb.html
X%%GEM_DOC_DIR%%/rdoc/files/lib/daemons/application_rb.html
X%%GEM_DOC_DIR%%/rdoc/files/lib/daemons/cmdline_rb.html
X%%GEM_DOC_DIR%%/rdoc/files/lib/daemons/controller_rb.html
X%%GEM_DOC_DIR%%/rdoc/files/lib/daemons/daemonize_rb.html
X%%GEM_DOC_DIR%%/rdoc/files/lib/daemons/exceptions_rb.html
X%%GEM_DOC_DIR%%/rdoc/files/lib/daemons/monitor_rb.html
X%%GEM_DOC_DIR%%/rdoc/files/lib/daemons/pid_rb.html
X%%GEM_DOC_DIR%%/rdoc/files/lib/daemons/pidfile_rb.html
X%%GEM_DOC_DIR%%/rdoc/files/lib/daemons/pidmem_rb.html
X%%GEM_DOC_DIR%%/rdoc/files/lib/daemons_rb.html
X%%GEM_DOC_DIR%%/rdoc/fr_class_index.html
X%%GEM_DOC_DIR%%/rdoc/fr_file_index.html
X%%GEM_DOC_DIR%%/rdoc/fr_method_index.html
X%%GEM_DOC_DIR%%/rdoc/index.html
X%%GEM_DOC_DIR%%/rdoc/rdoc-style.css
X%%GEM_LIB_DIR%%/README
X%%GEM_LIB_DIR%%/Rakefile
X%%GEM_LIB_DIR%%/Releases
X%%GEM_LIB_DIR%%/TODO
X%%GEM_LIB_DIR%%/examples/call/call.rb
X%%GEM_LIB_DIR%%/examples/call/call_monitor.rb
X%%GEM_LIB_DIR%%/examples/daemonize/daemonize.rb
X%%GEM_LIB_DIR%%/examples/run/ctrl_crash.rb
X%%GEM_LIB_DIR%%/examples/run/ctrl_exec.rb
X%%GEM_LIB_DIR%%/examples/run/ctrl_exit.rb
X%%GEM_LIB_DIR%%/examples/run/ctrl_monitor.rb
X%%GEM_LIB_DIR%%/examples/run/ctrl_multiple.rb
X%%GEM_LIB_DIR%%/examples/run/ctrl_normal.rb
X%%GEM_LIB_DIR%%/examples/run/ctrl_ontop.rb
X%%GEM_LIB_DIR%%/examples/run/ctrl_proc.output
X%%GEM_LIB_DIR%%/examples/run/ctrl_proc.rb
X%%GEM_LIB_DIR%%/examples/run/ctrl_proc.rb.output
X%%GEM_LIB_DIR%%/examples/run/myserver.rb
X%%GEM_LIB_DIR%%/examples/run/myserver_crashing.rb
X%%GEM_LIB_DIR%%/examples/run/myserver_crashing.rb.output
X%%GEM_LIB_DIR%%/examples/run/myserver_exiting.rb
X%%GEM_LIB_DIR%%/lib/daemons.rb
X%%GEM_LIB_DIR%%/lib/daemons/application.rb
X%%GEM_LIB_DIR%%/lib/daemons/application_group.rb
X%%GEM_LIB_DIR%%/lib/daemons/cmdline.rb
X%%GEM_LIB_DIR%%/lib/daemons/controller.rb
X%%GEM_LIB_DIR%%/lib/daemons/daemonize.rb
X%%GEM_LIB_DIR%%/lib/daemons/exceptions.rb
X%%GEM_LIB_DIR%%/lib/daemons/monitor.rb
X%%GEM_LIB_DIR%%/lib/daemons/pid.rb
X%%GEM_LIB_DIR%%/lib/daemons/pidfile.rb
X%%GEM_LIB_DIR%%/lib/daemons/pidmem.rb
X%%GEM_LIB_DIR%%/setup.rb
X%%GEM_LIB_DIR%%/test/call_as_daemon.rb
X%%GEM_LIB_DIR%%/test/tc_main.rb
X%%GEM_LIB_DIR%%/test/test1.rb
X%%GEM_LIB_DIR%%/test/testapp.rb
X%%SPEC_DIR%%/daemons-0.4.4.gemspec
X@dirrm %%GEM_LIB_DIR%%/test
X@dirrm %%GEM_LIB_DIR%%/lib/daemons
X@dirrm %%GEM_LIB_DIR%%/lib
X@dirrm %%GEM_LIB_DIR%%/examples/run
X@dirrm %%GEM_LIB_DIR%%/examples/daemonize
X@dirrm %%GEM_LIB_DIR%%/examples/call
X@dirrm %%GEM_LIB_DIR%%/examples
X@dirrm %%GEM_LIB_DIR%%
X@dirrm %%GEM_DOC_DIR%%/rdoc/files/lib/daemons
X@dirrm %%GEM_DOC_DIR%%/rdoc/files/lib
X@dirrm %%GEM_DOC_DIR%%/rdoc/files
X@dirrm %%GEM_DOC_DIR%%/rdoc/classes/Daemons/SystemError.src
X@dirrm %%GEM_DOC_DIR%%/rdoc/classes/Daemons/PidFile.src
X@dirrm %%GEM_DOC_DIR%%/rdoc/classes/Daemons/Pid.src
X@dirrm %%GEM_DOC_DIR%%/rdoc/classes/Daemons/Optparse.src
X@dirrm %%GEM_DOC_DIR%%/rdoc/classes/Daemons/Monitor.src
X@dirrm %%GEM_DOC_DIR%%/rdoc/classes/Daemons/Controller.src
X@dirrm %%GEM_DOC_DIR%%/rdoc/classes/Daemons/ApplicationGroup.src
X@dirrm %%GEM_DOC_DIR%%/rdoc/classes/Daemons/Application.src
X@dirrm %%GEM_DOC_DIR%%/rdoc/classes/Daemons.src
X@dirrm %%GEM_DOC_DIR%%/rdoc/classes/Daemons
X@dirrm %%GEM_DOC_DIR%%/rdoc/classes/Daemonize.src
X@dirrm %%GEM_DOC_DIR%%/rdoc/classes
X@dirrm %%GEM_DOC_DIR%%/rdoc
X@dirrm %%GEM_DOC_DIR%%
END-of-rubygem-daemons/pkg-plist
echo x - rubygem-daemons/pkg-descr
sed 's/^X//' >rubygem-daemons/pkg-descr << 'END-of-rubygem-daemons/pkg-descr'
XDaemons provides an easy way to wrap existing ruby scripts (for example
Xa self-written server) to be run as a daemon and to be controlled by
Xsimple start/stop/restart commands.
X
XIf you want, you can also use daemons to run blocks of ruby code in a
Xdaemon process and to control these processes from the main application.
X
XBesides this basic functionality, daemons offers many advanced features
Xlike exception backtracing and logging (in case your ruby script
Xcrashes) and monitoring and automatic restarting of your processes if
Xthey crash.
X
XWWW: http://daemons.rubyforge.org/
END-of-rubygem-daemons/pkg-descr
echo x - rubygem-daemons/Makefile
sed 's/^X//' >rubygem-daemons/Makefile << 'END-of-rubygem-daemons/Makefile'
X# Ports collection makefile for:	daemons
X# Date created:				20 May 2006
X# Whom:					Rui Lopes (<rgl ruilopes com>)
X#
X# $FreeBSD$
X
XPORTNAME=	daemons
XPORTVERSION=	0.4.4
XCATEGORIES=	devel rubygems
XMASTER_SITES=	http://rubyforge.org/frs/download.php/9598/
X
XMAINTAINER=	rgl@ruilopes.com
XCOMMENT=	A toolkit to convert your script to a controllable daemon
X
X# This target is only meant to be used by the port maintainer.
Xx-generate-plist:
X	(${PORTSDIR}/Tools/scripts/plist -d -m ${MTREE_FILE} ${PREFIX} \
X	| ${SED} -E \
X		's,.*share/nls/.+$$,,g \
X		;s,^${CACHE_DIR}(/.+)$$,%%CACHE_DIR%%\1,g \
X		;s,${GEM_DOC_DIR}(/.+)?$$,%%GEM_DOC_DIR%%\1,g \
X		;s,${GEM_LIB_DIR}(/.+)?$$,%%GEM_LIB_DIR%%\1,g \
X		;s,^${SPEC_DIR}(/.+)$$,%%SPEC_DIR%%\1,g \
X		;s,^${GEMS_BASE_DIR}/(.+)$$,\1,g \
X		;s,^@dirrm (${SPEC_DIR}|${GEMS_DIR}|lib/ruby).*$$,,g \
X		' | ${TR} -s '\n') > temp-pkg-plist
X
X.include <bsd.port.pre.mk>
X.include "${PORTSDIR}/devel/ruby-gems/Makefile.common"
X.include <bsd.port.post.mk>
END-of-rubygem-daemons/Makefile
echo x - rubygem-daemons/distinfo
sed 's/^X//' >rubygem-daemons/distinfo << 'END-of-rubygem-daemons/distinfo'
XMD5 (rubygem/daemons-0.4.4.gem) = 18fad0aca392668a2356e1abebf7cf4f
XSHA256 (rubygem/daemons-0.4.4.gem) = 4da25883f4b7d2fde38c68727dd9b8172f217ff9515b51587cdf02022318eef2
XSIZE (rubygem/daemons-0.4.4.gem) = 27648
END-of-rubygem-daemons/distinfo
exit
--- devel_rubygem-daemons.sh ends here ---


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



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