debian/0000755000000000000000000000000012246740406007173 5ustar debian/rules0000755000000000000000000000111711674325305010254 0ustar #!/usr/bin/make -f #export DH_VERBOSE=1 # # Uncomment to ignore all test failures (but the tests will run anyway) #export DH_RUBY_IGNORE_TESTS=all # # Uncomment to ignore some test failures (but the tests will run anyway). # Valid values: #export DH_RUBY_IGNORE_TESTS=ruby1.8 ruby1.9.1 require-rubygems # # If you need to specify the .gemspec (eg there is more than one) #export DH_RUBY_GEMSPEC=gem.gemspec %: dh $@ --buildsystem=ruby --with ruby override_dh_installexamples: dh_installexamples find debian/ruby-daemons/usr/share/doc/ruby-daemons/examples -type f -exec chmod a-x {} \+ debian/watch0000644000000000000000000000014311635725456010233 0ustar version=3 http://pkg-ruby-extras.alioth.debian.org/cgi-bin/gemwatch/daemons .*/daemons-(.*).tar.gz debian/source/0000755000000000000000000000000011635725456010504 5ustar debian/source/format0000644000000000000000000000001411635725456011712 0ustar 3.0 (quilt) debian/copyright0000644000000000000000000000311411635725456011136 0ustar This package was debianized by Filipe Lautert Tue, 28 Feb 2007 16:04:42 -0300 It was downloaded from http://rubyforge.org/projects/daemons/ Upstream Author: Thomas Uehlinger Copyright (c) 2005-2007 Thomas Uehlinger Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. This license does not apply to daemonize.rb, which is was written by Travis Whitton und published under the following license: The Daemonize extension module is copywrited free software by Travis Whitton . You can redistribute it under the terms specified in the COPYING file of the Ruby distribution. debian/control0000644000000000000000000000171312246725472010606 0ustar Source: ruby-daemons Section: ruby Priority: optional Maintainer: Debian Ruby Extras Maintainers Uploaders: Lucas Nussbaum , Paul van Tilburg Build-Depends: debhelper (>= 7.0.50~), gem2deb (>= 0.3.0~) Standards-Version: 3.9.5 Vcs-Git: git://anonscm.debian.org/pkg-ruby-extras/ruby-daemons.git Vcs-Browser: http://anonscm.debian.org/gitweb?p=pkg-ruby-extras/ruby-daemons.git;a=summary Homepage: http://daemons.rubyforge.org XS-Ruby-Versions: all Package: ruby-daemons Architecture: all XB-Ruby-Versions: ${ruby:Versions} Depends: ${shlibs:Depends}, ${misc:Depends}, ruby | ruby-interpreter Description: Ruby daemons library 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. debian/ruby-daemons.docs0000644000000000000000000000000711635725456012460 0ustar README debian/patches/0000755000000000000000000000000012254410111010604 5ustar debian/patches/remove_try_close_file_decriptors.patch0000644000000000000000000000122712246725472020470 0ustar Author: Jonas Genannt Description: this code was added in 1.1.9 but is not compatible with MRI > 1.8. MRI > 1.8 uses an separate thread to handle signals, which starts on VM initialization --- a/lib/daemons/daemonize.rb +++ b/lib/daemons/daemonize.rb @@ -132,13 +132,6 @@ end end - # Make sure all input/output streams are closed - # Part II: close all file decriptors (except for STDIN/STDOUT/STDERR) - ios = Array.new(8192) {|i| IO.for_fd(i) rescue nil}.compact - ios.each do |io| - next if io.fileno < 3 - io.close - end end module_function :close_io debian/patches/series0000644000000000000000000000004712254410111012022 0ustar remove_try_close_file_decriptors.patch debian/compat0000644000000000000000000000000211635725456010402 0ustar 7 debian/ruby-daemons.examples0000644000000000000000000000001311635725456013343 0ustar examples/* debian/changelog0000644000000000000000000000555112246725472011061 0ustar ruby-daemons (1.1.9-1) unstable; urgency=low * Team upload. [ Cédric Boutillier ] * debian/control: remove obsolete DM-Upload-Allowed flag * use canonical URI in Vcs-* fields [ Jonas Genannt ] * Imported Upstream version 1.1.9 * added patch to remove 'try close file decriptors' * d/control: - bumped standards version to 3.9.5 (no changes needed) - removed transitional packages - removed replaces, breaks, provides - removed extra whitespace in description - removed version dependency of ruby1.8, changed to ruby -- Jonas Genannt Sat, 30 Nov 2013 20:05:25 +0100 ruby-daemons (1.1.5-2) unstable; urgency=low * debian/control: - Bumped the standards version to 3.9.3. - Bumped the build-dependency on gem2deb to >= 0.3.0~. - Added myself to the uploaders. -- Paul van Tilburg Tue, 26 Jun 2012 21:21:38 +0200 ruby-daemons (1.1.5-1) unstable; urgency=low * New upstream release. -- Lucas Nussbaum Tue, 20 Dec 2011 18:34:44 +0100 ruby-daemons (1.1.4-1) unstable; urgency=low * New upstream version. * Switch to my @d.o email. * Standard-Versions -> 3.9.2. No changes needed. * Conflicts -> Breaks. -- Lucas Nussbaum Sun, 09 Oct 2011 11:41:23 +0200 ruby-daemons (1.1.3-1) unstable; urgency=low * New upstream release. * Switch to gem2deb-based packaging. Rename source and binary packages. -- Lucas Nussbaum Tue, 26 Apr 2011 21:43:41 +0200 libdaemons-ruby (1.0.10-2) unstable; urgency=low * Brown paper upload: there is nothing architecture dependent in libdaemons-ruby1.8, changed Arch: any into all in debian/control. -- Paul van Tilburg Mon, 31 Mar 2008 21:31:14 +0200 libdaemons-ruby (1.0.10-1) unstable; urgency=low * New upstream version. * Added command to rules that removes macosx backup files. -- Filipe Lautert Thu, 27 Mar 2008 00:48:22 -0300 libdaemons-ruby (1.0.9-1) unstable; urgency=low [ Filipe Lautert ] * New upstream version. * Added 'Dm-Upload-Allowed: yes' field to debian/control file. [ Paul van Tilburg ] * Added Homepage and Vcs-* fields. * Bumped standards version to 3.7.3; no changes required. -- Paul van Tilburg Sat, 08 Dec 2007 13:08:01 +0100 libdaemons-ruby (1.0.8-1) unstable; urgency=low * New upstream release. * Removed libdaemonize-ruby(1.8) from the conflicts, it does no longer exist in lenny/sid. -- Paul van Tilburg Sun, 07 Oct 2007 12:05:50 +0200 libdaemons-ruby (1.0.6-1) unstable; urgency=low * New upstream release. -- Paul van Tilburg Sun, 20 May 2007 21:50:38 +0200 libdaemons-ruby (1.0.5-1) unstable; urgency=low * Initial release. -- Filipe Lautert Wed, 28 Feb 2007 16:02:03 -0300