summaryrefslogtreecommitdiff
path: root/misc
diff options
context:
space:
mode:
authorminskim <minskim>2006-10-14 05:51:18 +0000
committerminskim <minskim>2006-10-14 05:51:18 +0000
commitf90fea2e8d16d1c2ac30bfee28ce5753a1b5931d (patch)
tree68ac65bcdbc2394d66e17e96c099cfa769b38613 /misc
parentc7af0bc1206f20ddec6e380606e36965c20e0839 (diff)
downloadpkgsrc-f90fea2e8d16d1c2ac30bfee28ce5753a1b5931d.tar.gz
Import ruby-daemons-1.0.2.
daemons provides an easy way to wrap existing ruby scripts (for example a self-written server) to be run as a daemon and to be controlled by simple start/stop/restart commands. daemons can also run and control blocks of Ruby code in a daemon process.
Diffstat (limited to 'misc')
-rw-r--r--misc/ruby-daemons/DESCR4
-rw-r--r--misc/ruby-daemons/Makefile16
-rw-r--r--misc/ruby-daemons/PLIST13
-rw-r--r--misc/ruby-daemons/distinfo5
4 files changed, 38 insertions, 0 deletions
diff --git a/misc/ruby-daemons/DESCR b/misc/ruby-daemons/DESCR
new file mode 100644
index 00000000000..39c0e628338
--- /dev/null
+++ b/misc/ruby-daemons/DESCR
@@ -0,0 +1,4 @@
+daemons provides an easy way to wrap existing ruby scripts (for
+example a self-written server) to be run as a daemon and to be
+controlled by simple start/stop/restart commands. daemons can also
+run and control blocks of Ruby code in a daemon process.
diff --git a/misc/ruby-daemons/Makefile b/misc/ruby-daemons/Makefile
new file mode 100644
index 00000000000..89d78e2c529
--- /dev/null
+++ b/misc/ruby-daemons/Makefile
@@ -0,0 +1,16 @@
+# $NetBSD: Makefile,v 1.1.1.1 2006/10/14 05:51:18 minskim Exp $
+
+DISTNAME= daemons-1.0.2
+PKGNAME= ${RUBY_PKGPREFIX}-${DISTNAME}
+CATEGORIES= misc ruby
+MASTER_SITES= http://rubyforge.org/frs/download.php/13608/
+EXTRACT_SUFX= .tgz
+
+MAINTAINER= minskim@NetBSD.org
+HOMEPAGE= http://daemons.rubyforge.org/
+COMMENT= Toolkit to convert Ruby scripts to a daemon
+
+USE_RUBY_SETUP= yes
+
+.include "../../lang/ruby/modules.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/misc/ruby-daemons/PLIST b/misc/ruby-daemons/PLIST
new file mode 100644
index 00000000000..45c532fda4e
--- /dev/null
+++ b/misc/ruby-daemons/PLIST
@@ -0,0 +1,13 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2006/10/14 05:51:18 minskim Exp $
+${RUBY_SITELIBDIR}/daemons.rb
+${RUBY_SITELIBDIR}/daemons/application.rb
+${RUBY_SITELIBDIR}/daemons/application_group.rb
+${RUBY_SITELIBDIR}/daemons/cmdline.rb
+${RUBY_SITELIBDIR}/daemons/controller.rb
+${RUBY_SITELIBDIR}/daemons/daemonize.rb
+${RUBY_SITELIBDIR}/daemons/exceptions.rb
+${RUBY_SITELIBDIR}/daemons/monitor.rb
+${RUBY_SITELIBDIR}/daemons/pid.rb
+${RUBY_SITELIBDIR}/daemons/pidfile.rb
+${RUBY_SITELIBDIR}/daemons/pidmem.rb
+@dirrm ${RUBY_SITELIBDIR}/daemons
diff --git a/misc/ruby-daemons/distinfo b/misc/ruby-daemons/distinfo
new file mode 100644
index 00000000000..2f8b04061c1
--- /dev/null
+++ b/misc/ruby-daemons/distinfo
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1.1.1 2006/10/14 05:51:18 minskim Exp $
+
+SHA1 (daemons-1.0.2.tgz) = f037fd74fb783436a0d4933dbc602b8d22d933ea
+RMD160 (daemons-1.0.2.tgz) = 1b4ded8e702017a1fc905a646db2a6d35d243ef4
+Size (daemons-1.0.2.tgz) = 27064 bytes