SecBSD's official ports repository
This commit is contained in:
commit
2c0afcbbf3
64331 changed files with 5339189 additions and 0 deletions
20
devel/ruby-daemon_controller/Makefile
Normal file
20
devel/ruby-daemon_controller/Makefile
Normal file
|
@ -0,0 +1,20 @@
|
|||
COMMENT = robust daemon management
|
||||
|
||||
DISTNAME = daemon_controller-1.2.0
|
||||
CATEGORIES = devel
|
||||
|
||||
HOMEPAGE = https://github.com/FooBarWidget/daemon_controller
|
||||
|
||||
MAINTAINER = Jeremy Evans <jeremy@openbsd.org>
|
||||
|
||||
# MIT
|
||||
PERMIT_PACKAGE = Yes
|
||||
|
||||
MODULES = lang/ruby
|
||||
|
||||
CONFIGURE_STYLE = ruby gem
|
||||
|
||||
#MODRUBY_TEST = rspec2
|
||||
#MODRUBY_TEST_TARGET = spec/daemon_controller_spec.rb
|
||||
|
||||
.include <bsd.port.mk>
|
2
devel/ruby-daemon_controller/distinfo
Normal file
2
devel/ruby-daemon_controller/distinfo
Normal file
|
@ -0,0 +1,2 @@
|
|||
SHA256 (daemon_controller-1.2.0.gem) = bUtFiff47SIB6Fep8MgKXDwZVIxbe131V5Qpn9mBqgs=
|
||||
SIZE (daemon_controller-1.2.0.gem) = 37888
|
26
devel/ruby-daemon_controller/pkg/DESCR
Normal file
26
devel/ruby-daemon_controller/pkg/DESCR
Normal file
|
@ -0,0 +1,26 @@
|
|||
daemon_controller is a library for starting and stopping specific
|
||||
daemons programmatically in a robust, race-condition-free manner.
|
||||
|
||||
It's not a daemon monitoring system like God or Monit. It's also not a
|
||||
library for writing daemons.
|
||||
|
||||
It provides the following functionality:
|
||||
|
||||
Starting daemons. If the daemon fails to start then an exception
|
||||
will be raised. daemon_controller can even detect failures that
|
||||
occur after the daemon has already daemonized.
|
||||
|
||||
Starting daemons is done in a race-condition-free manner. If another
|
||||
process using daemon_controller is trying to start the same daemon,
|
||||
then daemon_controller will guarantee serialization.
|
||||
|
||||
daemon_controller also raises an exception if it detects that the
|
||||
daemon is already started.
|
||||
|
||||
Connecting to a daemon, starting it if it's not already started.
|
||||
This too is done in a race-condition-free manner. If the daemon
|
||||
fails to start then an exception will be raised.
|
||||
|
||||
Stopping daemons.
|
||||
|
||||
Checking whether a daemon is running.
|
32
devel/ruby-daemon_controller/pkg/PLIST
Normal file
32
devel/ruby-daemon_controller/pkg/PLIST
Normal file
|
@ -0,0 +1,32 @@
|
|||
${GEM_LIB}/cache/${DISTNAME}.gem
|
||||
${GEM_LIB}/gems/${DISTNAME}/
|
||||
${GEM_LIB}/gems/${DISTNAME}/LICENSE.txt
|
||||
${GEM_LIB}/gems/${DISTNAME}/README.markdown
|
||||
${GEM_LIB}/gems/${DISTNAME}/Rakefile
|
||||
${GEM_LIB}/gems/${DISTNAME}/daemon_controller.gemspec
|
||||
${GEM_LIB}/gems/${DISTNAME}/debian.template/
|
||||
${GEM_LIB}/gems/${DISTNAME}/debian.template/changelog
|
||||
${GEM_LIB}/gems/${DISTNAME}/debian.template/compat
|
||||
${GEM_LIB}/gems/${DISTNAME}/debian.template/control.template
|
||||
${GEM_LIB}/gems/${DISTNAME}/debian.template/copyright
|
||||
${GEM_LIB}/gems/${DISTNAME}/debian.template/ruby-daemon-controller.install
|
||||
${GEM_LIB}/gems/${DISTNAME}/debian.template/rules
|
||||
${GEM_LIB}/gems/${DISTNAME}/debian.template/source/
|
||||
${GEM_LIB}/gems/${DISTNAME}/debian.template/source/format
|
||||
${GEM_LIB}/gems/${DISTNAME}/lib/
|
||||
${GEM_LIB}/gems/${DISTNAME}/lib/daemon_controller/
|
||||
${GEM_LIB}/gems/${DISTNAME}/lib/daemon_controller.rb
|
||||
${GEM_LIB}/gems/${DISTNAME}/lib/daemon_controller/lock_file.rb
|
||||
${GEM_LIB}/gems/${DISTNAME}/lib/daemon_controller/packaging.rb
|
||||
${GEM_LIB}/gems/${DISTNAME}/lib/daemon_controller/spawn.rb
|
||||
${GEM_LIB}/gems/${DISTNAME}/lib/daemon_controller/version.rb
|
||||
${GEM_LIB}/gems/${DISTNAME}/rpm/
|
||||
${GEM_LIB}/gems/${DISTNAME}/rpm/get_distro_id.py
|
||||
${GEM_LIB}/gems/${DISTNAME}/rpm/rubygem-daemon_controller.spec.template
|
||||
${GEM_LIB}/gems/${DISTNAME}/spec/
|
||||
${GEM_LIB}/gems/${DISTNAME}/spec/daemon_controller_spec.rb
|
||||
${GEM_LIB}/gems/${DISTNAME}/spec/echo_server.rb
|
||||
${GEM_LIB}/gems/${DISTNAME}/spec/run_echo_server
|
||||
${GEM_LIB}/gems/${DISTNAME}/spec/test_helper.rb
|
||||
${GEM_LIB}/gems/${DISTNAME}/spec/unresponsive_daemon.rb
|
||||
${GEM_LIB}/specifications/${DISTNAME}.gemspec
|
Loading…
Add table
Add a link
Reference in a new issue