debian/0000755000000000000000000000000012215434273007171 5ustar debian/compat0000644000000000000000000000000211723741027010370 0ustar 7 debian/changelog0000644000000000000000000000270312215433774011052 0ustar ruby-kgio (2.8.1-1) unstable; urgency=low * New upstream release. * Drop patch 0001-Disabled-test-failing-under-fakeroot.patch, its better version included by upstream. * Introduce patch 0001-Disable-test_poll_EINTR_changed.patch to disable test which may fail because of ruby's deferred signal delivery. * Build only on linux and kfreebsd. * Add missing tests to ruby-test-files.yaml. * Build against gem2deb >= 0.5.0~ to add ruby2.0 and drop ruby1.8 support. -- Hleb Valoshka <375gnu@gmail.com> Sat, 14 Sep 2013 16:30:45 +0300 ruby-kgio (2.8.0-1) unstable; urgency=low * New upstream release. * Bump Standards-Version to 3.9.4 (no changes). * Remove obsoleted DM-Upload-Allowed. * Update copyright format. * Update Vcs-* fields to use anonscm.debian.org. -- Hleb Valoshka <375gnu@gmail.com> Sat, 17 Aug 2013 17:53:48 +0300 ruby-kgio (2.7.3-1) unstable; urgency=low * New upstream release * Drop patches backported from upstream * Bump Standards-Version to 3.9.3 -- Hleb Valoshka <375gnu@gmail.com> Thu, 15 Mar 2012 20:39:16 +0300 ruby-kgio (2.7.2-2) unstable; urgency=low * Backport commits 1129029a, 3a847e23, 56cce133d for better support of kfreebsd * Fix potential race in test_poll.rb -- Hleb Valoshka <375gnu@gmail.com> Tue, 06 Mar 2012 20:31:55 +0300 ruby-kgio (2.7.2-1) unstable; urgency=low * Initial release (Closes: #660341) -- Hleb Valoshka <375gnu@gmail.com> Sat, 18 Feb 2012 16:43:43 +0300 debian/copyright0000644000000000000000000000400512215433774011130 0ustar Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-Name: kgio Source: http://bogomips.org/kgio/ Files: * Copyright: 2010-2013 Eric Wong and contributors License: LGPL-2.1 or LGPL-3 License: LGPL-2.1 This library 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 library 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 Lesser General Public License along with this library; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA . On Debian systems, the full text of the GNU Lesser General Public License version 2.1 can be found in the file `/usr/share/common-licenses/LGPL-2.1'. License: LGPL-3 This library 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 3 of the License, or (at your option) any later version. . This library 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 full text of the GNU Lesser General Public License version 3 can be found in the file `/usr/share/common-licenses/LGPL-3'. Files: debian/* Copyright: These files ain't copyrighted License: public-domain These files are in Public Domain. debian/ruby-test-files.yaml0000644000000000000000000000144512215433774013124 0ustar --- - test/test_poll.rb - test/test_peek.rb - test/test_default_wait.rb - test/test_no_dns_on_tcp_connect.rb - test/test_unix_connect.rb - test/test_pipe_read_write.rb - test/test_unix_server.rb - test/test_accept_flags.rb - test/test_socketpair_read_write.rb - test/test_tcp_server.rb - test/test_unix_server_read_client_write.rb - test/test_cross_thread_close.rb - test/test_tcp_connect.rb - test/test_autopush.rb - test/test_connect_fd_leak.rb - test/test_singleton_read_write.rb - test/test_kgio_addr.rb - test/test_tryopen.rb - test/test_tcp6_client_read_server_write.rb - test/test_tcp_server_read_client_write.rb - test/test_unix_client_read_server_write.rb - test/test_tcp_client_read_server_write.rb - test/test_pipe_popen.rb - test/test_accept_class.rb - test/test_socket.rb - test/test_tfo.rb debian/control0000644000000000000000000000165212215433774010605 0ustar Source: ruby-kgio Section: ruby Priority: optional Maintainer: Debian Ruby Extras Maintainers Uploaders: Hleb Valoshka <375gnu@gmail.com> Build-Depends: debhelper (>= 7.0.50~), gem2deb (>= 0.5.0~) Standards-Version: 3.9.4 Vcs-Git: git://anonscm.debian.org/pkg-ruby-extras/ruby-kgio.git Vcs-Browser: http://anonscm.debian.org/gitweb/?p=pkg-ruby-extras/ruby-kgio.git;a=summary Homepage: http://bogomips.org/kgio/ XS-Ruby-Versions: all Package: ruby-kgio Architecture: linux-any kfreebsd-any XB-Ruby-Versions: ${ruby:Versions} Depends: ${shlibs:Depends}, ${misc:Depends}, ruby | ruby-interpreter Description: Kinder, gentler I/O for Ruby kgio provides non-blocking I/O methods for Ruby without raising exceptions on EAGAIN and EINPROGRESS. It is intended for use with the Unicorn and Rainbows! Rack servers, but may be used by other applications (that run on Unix-like platforms). debian/rules0000755000000000000000000000070111723741027010250 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 debian/source/0000755000000000000000000000000011723741027010472 5ustar debian/source/format0000644000000000000000000000001411723741027011700 0ustar 3.0 (quilt) debian/watch0000644000000000000000000000013511723741027010222 0ustar version=3 http://pkg-ruby-extras.alioth.debian.org/cgi-bin/gemwatch/kgio .*/kgio-(.*).tar.gz debian/patches/0000755000000000000000000000000012215433774010625 5ustar debian/patches/series0000644000000000000000000000005312215433774012040 0ustar 0001-Disable-test_poll_EINTR_changed.patch debian/patches/0001-Disable-test_poll_EINTR_changed.patch0000644000000000000000000000124512215433774020206 0ustar From: Hleb Valoshka <375GNU@Gmail.COM> Date: Sat, 14 Sep 2013 15:08:59 +0300 Subject: Disable test_poll_EINTR_changed Ruby's signal handling is too unreliable, so some SIG_USR1 may arrive when the test case is finished. --- test/test_poll.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/test_poll.rb b/test/test_poll.rb index d9a2b07..fcfd015 100644 --- a/test/test_poll.rb +++ b/test/test_poll.rb @@ -87,7 +87,7 @@ class TestPoll < Test::Unit::TestCase trap(:USR1, orig) end - def test_poll_EINTR_changed + def do_not_test_poll_EINTR_changed ok = false pollset = { @rd => Kgio::POLLIN } orig = trap(:USR1) do debian/ruby-kgio.docs0000644000000000000000000000004011723741027011746 0ustar HACKING ISSUES NEWS README TODO