./devel/ruby-kgio, Provides non-blocking I/O methods for Ruby

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]


Branch: CURRENT, Version: 2.11.0, Package name: ruby22-kgio-2.11.0, Maintainer: pkgsrc-users

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.


Required to run:
[lang/ruby22-base]

Required to build:
[pkgtools/cwrappers]

Master sites:

SHA1: 4b31817f69a2efed9ba9c800c98c747a54a0f434
RMD160: c0b106a313d90b1950d564405280f9ec6a7fad5d
Filesize: 58 KB

Version history: (Expand)


CVS history: (Expand)


   2017-03-12 15:38:18 by Takahiro Kambe | Files touched by this commit (3) | Package updated
Log message:
Update ruby-kgio to 2.11.0.

=== kgio 2.11.0 - reverting 2.10.0 breakage / 2016-12-16 22:56 UTC

  Mainly this release reverts back to kgio 2.9.3 behavior by
  supporting "autopush" functionality in the C extension.
  Removing this feature in 2.10.0 was a monumental mistake(*) on
  my part which caused a performance regression for ONE known user
  of kgio on the deprecated (but supported) Rainbows! server.

  This release does not affect known users outside of Rainbows!,
  but we may have unknown users, too.

  The attempt at a pure Ruby version of autopush had flaws and
  regressions in real-world testing, so that was abandoned.

  So yeah, kgio will be supported indefinitely even in the face
  of internal changes to MRI, but I strongly discourage its use
  for new projects.
  Users who only support Ruby 2.3 (and later) are encouraged to
  use `exception: false` with all *_nonblock methods.

  4 changes since 2.10.0:

        resurrect Kgio.autopush support in pure Ruby [REVERTED]
        reinstate the original (and dangerous) autopush in C
        TODO: update with Ruby 2.3 status
        test: increase test data sizes to fill socket buffers

  (*) - as was making this a separate project, at all
   2015-11-03 04:29:40 by Alistair G. Crooks | Files touched by this commit (1995)
Log message:
Add SHA512 digests for distfiles for devel category

Issues found with existing distfiles:
	distfiles/eclipse-sourceBuild-srcIncluded-3.0.1.zip
	distfiles/fortran-utils-1.1.tar.gz
	distfiles/ivykis-0.39.tar.gz
	distfiles/enum-1.11.tar.gz
	distfiles/pvs-3.2-libraries.tgz
	distfiles/pvs-3.2-linux.tgz
	distfiles/pvs-3.2-solaris.tgz
	distfiles/pvs-3.2-system.tgz
No changes made to these distinfo files.

Otherwise, existing SHA1 digests verified and found to be the same on
the machine holding the existing distfiles (morden).  All existing
SHA1 digests retained for now as an audit trail.
   2015-10-04 14:17:04 by Takahiro Kambe | Files touched by this commit (3) | Package updated
Log message:
Update ruby-kgio to 2.10.0.

=== kgio 2.10.0 - slimming down... / 2015-09-06 08:12 UTC

  The largely-unused autopush functionality is now a no-op.
  Existing applications will probably not notice, and are
  better off using MSG_MORE anyways if they're on Linux.

  Our poll(2) wrapper now uses rb_hash_clear if available,
  reducing global method cache dependence.

  shortlog of changes since 2.9.3:

        README: remove reference to Rainbows!
        writev: update comment on preserving errno
        poll: avoid rb_funcall for rb_hash_clear
        minor doc updates
        remove autopush support and make it a no-op
        HACKING: update URL for Message-ID lookup
   2015-03-08 16:17:22 by Takahiro Kambe | Files touched by this commit (58) | Package updated
Log message:
Add ${GEM_EXTSDIR}/gem.build_complete for new rubygems and updated ruby.
   2015-02-01 15:33:59 by Takahiro Kambe | Files touched by this commit (3) | Package updated
Log message:
Update ruby-kgio to 2.9.3.

=== kgio 2.9.3 - minor cleanups and fixes / 2015-01-12 08:46 UTC

  Most notably there's a new RB_GC_GUARD to fix an occasional segfault at
  load time for Ruby 1.8 users thanks to Petr Novodvorskiy for reporting
  the issue.

  There's been a new mailing list for a few months now at:

      kgio-public@bogomips.org

  No subscription is required, but if you wish to subscribe
  (existing librelist subscribers must resubscribe)

      kgio-public+subscribe@bogomips.org

  There's also a bunch of code cleanups and packaging
  cleanups.  Our website is faster now thanks to olddoc:

      http://bogomips.org/kgio/

  shortlog:

        test/lib_read_write: fix trywritev blocking test
        new mailing list info: kgio-public@bogomips.org
        relax license to allow LGPLv2.1 or later
        gemspec: modernize for more recent rubygems
        doc: switch to olddoc
        remove references to rubyforge and ancient Rubies
        TODO: updates for the future of kgio
        tryopen: add RB_GC_GUARD for Ruby 1.8
        LICENSE: prefer URL to FSF address
        cleanup packaging harder
        fixup -Wshorten-64-to-32 warnings
        cleanup: avoid shadowing rb_str_subseq
        cleanup: avoid shadowing rb_ary_subseq
        pkg.mk: synchronize with my other projects
        gemspec: remove invalid rdoc_options
        gemspec: use SPDX license abbreviation
   2014-03-14 16:42:16 by Takahiro Kambe | Files touched by this commit (3) | Package updated
Log message:
Update ruby-kgio to 2.9.2.

=== kgio 2.9.2 - avoid deprecated/removed function / 2014-02-15 09:27 UTC

  This release is for compatibility with future releases of mainline ruby,
  as rb_thread_blocking_region is removed in r44955 of ruby trunk
  This also avoids deprecation warnings fo rb_thread_blocking_region
  2.0 and 2.1.

=== kgio 2.9.1 - various Ruby 1.8.7 fixes / 2014-02-05 17:50 UTC

  Thanks to Christopher Rigor for this release.

  Eric Wong (2):
        only define and test kgio_syssend on 1.9+
        various 1.8.7 fixes

=== kgio 2.9.0 - cleanups, bug fixes, minor improvements / 2014-02-04 03:09 UTC

  This adds a new kgio_syssend method for Ruby 1.9+ which behaves
  like BasicSocket#send, but will not raise exceptions on EAGAIN.

  Eric Wong (12):
        test_poll: remove race prone test_poll_EINTR_changed test
        tryopen: remove RARRAY_PTR usage in init
        read_write: remove the rest of RARRAY_PTR usage
        my_writev: stylistic fixes
        Rakefile: kill raa_update task
        avoid downsizing casts
        connect: constify RSTRING-related things
        set RSTRING_MODIFIED where appropriate for Rubinius
        split read_write.c into {read,write,writev}.c
        add kgio_syssend method to wrap send(2)
        write: correct check for various blocking regions
        tryopen: additional debug information for bad Errno values

  Hleb Valoshka (1):
        Don't use deprecated api
   2014-03-13 12:08:54 by Jonathan Perkin | Files touched by this commit (67)
Log message:
Set USE_GCC_RUNTIME=yes for packages which build shared libraries but do
not use libtool to do so.  This is required to correctly depend upon a
gcc runtime package (e.g. gcc47-libs) when using USE_PKGSRC_GCC_RUNTIME.
   2013-09-15 12:04:04 by Takahiro Kambe | Files touched by this commit (2) | Package updated
Log message:
Update ruby-kgio to 2.8.1.

=== kgio 2.8.1 - minor improvements and test fixes / 2013-09-11 00:22 UTC

  Improved error reporting for kgio_accept/kgio_tryaccept.
  Minor size reduction throughout.  There are also several
  test case fixes for race conditions.

  Thanks to Hleb Valoshka and the Debian project for all the
  help with this release!

  Eric Wong (7):
        check syscall returns against < 0 instead of == -1
        accept: more informative exception on unknown family
        test_tryopen: skip EACCES test when euid == 0
        test/lib_read_write: account for larger-than-normal pipes
        test_poll: avoid potentially thread-unsafe test
        test_poll: preserve original trap(:USR1) handler
        test_poll: be less dependent on signal handler ordering

  Hleb Valoshka (4):
        Change prefix of temporary sockets to prevent races
        Don't dump 20M in case of failure
        Create own directory for every unix socket in unit tests
        Close tempfile and unlink it immediately.

=== kgio 2.8.0 - TCP Fast Open, writev/trywritev / 2013-01-18 10:52 UTC

  TCP Fast Open in Linux 3.7 and later is now supported
  in the client via Kgio::Socket#kgio_fastopen.

  This release also adds the kgio_writev and
  kgio_trywritev methods, thanks to funny-falcon