debian/0000755000000000000000000000000012253342564007174 5ustar debian/ruby-posix-spawn.examples0000644000000000000000000000003212167472263014202 0ustar bin/posix-spawn-benchmark debian/watch0000644000000000000000000000015312167472263010230 0ustar version=3 http://pkg-ruby-extras.alioth.debian.org/cgi-bin/gemwatch/posix-spawn .*/posix-spawn-(.*).tar.gz debian/compat0000644000000000000000000000000212167472263010376 0ustar 7 debian/ruby-posix-spawn.docs0000644000000000000000000000001212167472263013312 0ustar README.md debian/README.Debian0000644000000000000000000000051712167472263011244 0ustar Ruby posix-spawn library for Debian ----------------------------------- In Debian, posix-spawn-benchmark is installed at: /usr/share/doc/ruby-posix-spawn/examples/posix-spawn-benchmark If you want to check/runnning benchmark, please use above scripts. -- Youhei SASAKI , Tue, 8 May 2012 22:32:48 +0900 debian/control0000644000000000000000000000257312253342203010574 0ustar Source: ruby-posix-spawn Section: ruby Priority: optional Maintainer: Debian Ruby Extras Maintainers Uploaders: Youhei SASAKI Build-Depends: debhelper (>= 7.0.50~), gem2deb (>= 0.2.11~), rake Standards-Version: 3.9.5 Vcs-Git: git://anonscm.debian.org/pkg-ruby-extras/ruby-posix-spawn.git Vcs-Browser: http://anonscm.debian.org/gitweb?p=pkg-ruby-extras/ruby-posix-spawn.git;a=summary Homepage: http://github.com/rtomayko/posix-spawn XS-Ruby-Versions: all Package: ruby-posix-spawn Architecture: any XB-Ruby-Versions: ${ruby:Versions} Depends: ${shlibs:Depends}, ${misc:Depends}, ruby | ruby-interpreter Description: Ruby Implementation of posix_spawn(2) for faster process spawning The posix-spawn library aims to implement a subset of the Ruby 1.9 `Process::spawn` interface in a way that takes advantage of fast process spawning interfaces when available and provides sane fallbacks on systems that do not. . `fork(2)` calls slow down as the parent process uses more memory due to the need to copy page tables. In many common uses of fork(), where it is followed by one of the exec family of functions to spawn child processes (`Kernel#system`,`IO::popen`, `Process::spawn`, etc.), it's possible to remove this overhead by using the use of special process spawning interfaces (`posix_spawn()`, `vfork()`, etc.) debian/rules0000755000000000000000000000023212167472263010255 0ustar #!/usr/bin/make -f %: dh $@ --buildsystem=ruby --with ruby override_dh_auto_install: dh_auto_install rm -rf $(CURDIR)/debian/ruby-posix-spawn/usr/bin debian/changelog0000644000000000000000000000112212253342471011037 0ustar ruby-posix-spawn (0.3.8-1) unstable; urgency=medium [ Cédric Boutillier ] * debian/control: remove obsolete DM-Upload-Allowed flag * use canonical URI in Vcs-* fields * debian/copyright: use DEP5 copyright-format/1.0 official URL for Format field [ Youhei SASAKI ] * Imported Upstream version 0.3.8 * Bump Standard Version: 3.9.4 -- Youhei SASAKI Mon, 16 Dec 2013 00:02:53 +0900 ruby-posix-spawn (0.3.6-1) unstable; urgency=low * Initial release (Closes: #672507) -- Youhei SASAKI Sat, 12 May 2012 03:40:37 +0900 debian/ruby-tests.rb0000644000000000000000000000022712167472263011647 0ustar # -*- mode: ruby; coding: utf-8 -*- require 'gem2deb/rake/testtask' Gem2Deb::Rake::TestTask.new do |t| t.test_files = FileList['test/test_*.rb'] end debian/source/0000755000000000000000000000000012167472263010500 5ustar debian/source/format0000644000000000000000000000001412167472263011706 0ustar 3.0 (quilt) debian/copyright0000644000000000000000000000515712167472263011143 0ustar Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-Name: posix-spawn Source: http://github.com/rtomayko/posix-spawn Files: * Copyright: 2011 Ryan Tomayko 2011 Aman Gupta License: Expat Files: ext/posix-spawn.c Copyright: 2011 Ryan Tomayko 2011 Aman Gupta License: LGPL-2.1+ Comment: A small portion of the environ dup'ing code in ext/posix-spawn.c was taken from glibc and is Copyright (c) 2011 by The Free Software Foundation or maybe by others mentioned in the glibc LICENSES file. glibc is distributed under the terms of the LGPL license. Files: debian/* Copyright: 2011 Youhei SASAKI License: Expat License: Expat Permission is hereby granted, free of charge, to any person ob- taining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restric- tion, including without limitation the rights to use, copy, modi- fy, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is fur- nished 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 NONIN- FRINGEMENT. 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. License: LGPL-2.1+ This package is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. . This package is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. . You should have received a copy of the GNU General Public License along with this program. If not, see . . On Debian systems, the complete text of the GNU Lesser General Public License can be found in "/usr/share/common-licenses/LGPL-2.1".