debian/0000755000000000000000000000000012224216371007166 5ustar debian/source/0000755000000000000000000000000012224216371010466 5ustar debian/source/format0000644000000000000000000000001412224216371011674 0ustar 3.0 (quilt) debian/copyright0000644000000000000000000000422312224216371011122 0ustar Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-Name: ffi-rzmq Source: http://zeromq.org/bindings:ruby-ffi Files: * Copyright: 2013 Chuck Remes License: Expat Files: examples/*/local_lat.rb examples/*/remote_lat.rb Copyright: 2007-2010 iMatix Corporation License: LGPL-3+ Files: debian/* Copyright: 2013 Dmitry Borodaenko License: Expat Comment: the Debian packaging is licensed under the same terms as the original package. License: Expat 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. License: LGPL-3+ 0MQ is free software; you can redistribute it and/or modify it under the terms of the Lesser GNU General Public License as published by the Free Software Foundation; either version 3 of the License, or (at your option) any later version. . 0MQ 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 Lesser GNU General Public License for more details. . On Debian systems, the full text of the Lesser GNU General Public License version 3 can be found in the file `/usr/share/common-licenses/LGPL-3'. debian/changelog0000644000000000000000000000103612224216371011040 0ustar ruby-ffi-rzmq (1.0.3-1) unstable; urgency=low * New upstream release. -- Dmitry Borodaenko Sun, 06 Oct 2013 01:05:25 -0700 ruby-ffi-rzmq (1.0.1-2) unstable; urgency=low * debian/copyright updated to include LGPL-3+ for the latency measurement examples from ØMQ. -- Dmitry Borodaenko Sat, 07 Sep 2013 17:45:19 -0700 ruby-ffi-rzmq (1.0.1-1) unstable; urgency=low * Initial release (Closes: #721664). -- Dmitry Borodaenko Thu, 05 Sep 2013 22:24:34 -0700 debian/compat0000644000000000000000000000000212224216371010364 0ustar 7 debian/ruby-ffi-rzmq.examples0000644000000000000000000000001312224216371013432 0ustar examples/* debian/watch0000644000000000000000000000014512224216371010217 0ustar version=3 http://pkg-ruby-extras.alioth.debian.org/cgi-bin/gemwatch/ffi-rzmq .*/ffi-rzmq-(.*).tar.gz debian/ruby-tests.rb0000644000000000000000000000012512224216371011632 0ustar $: << 'spec' require 'rspec/autorun' Dir['spec/**/*_spec.rb'].each { |f| require f } debian/ruby-ffi-rzmq.docs0000644000000000000000000000001412224216371012545 0ustar README.rdoc debian/control0000644000000000000000000000251212224216371010571 0ustar Source: ruby-ffi-rzmq Section: ruby Priority: optional Maintainer: Debian Ruby Extras Maintainers Uploaders: Dmitry Borodaenko Build-Depends: debhelper (>= 7.0.50~), gem2deb (>= 0.4.1~), ruby-ffi, libzmq3, ruby-rspec (>= 2.6~) Standards-Version: 3.9.4 #Vcs-Git: git://anonscm.debian.org/pkg-ruby-extras/ruby-ffi-rzmq.git #Vcs-Browser: http://anonscm.debian.org/gitweb/?p=pkg-ruby-extras/ruby-ffi-rzmq.git;a=summary Homepage: http://github.com/chuckremes/ffi-rzmq XS-Ruby-Versions: ruby1.9.1 Package: ruby-ffi-rzmq Architecture: all XB-Ruby-Versions: ${ruby:Versions} Depends: ${shlibs:Depends}, ${misc:Depends}, ruby | ruby-interpreter, ruby-ffi, libzmq3 | libzmq1 Description: FFI based Ruby bindings for ZeroMQ (ØMQ) networking library ØMQ is a library which extends the standard socket interfaces with features traditionally provided by specialised messaging middleware products. . ØMQ sockets provide an abstraction of asynchronous message queues, multiple messaging patterns, message filtering (subscriptions), seamless access to multiple transport protocols and more. . This module wraps ØMQ using Ruby FFI (foreign function interface). It is a pure Ruby wrapper so it can be used with any Ruby runtime that supports FFI, including MRI, Rubinius and JRuby. debian/rules0000755000000000000000000000070112224216371010244 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/patches/0000755000000000000000000000000012224216371010615 5ustar debian/patches/0001-load-so-from-libzmq3-or-libzmq1.patch0000644000000000000000000000156012224216371020067 0ustar From: Dmitry Borodaenko Date: Sun, 1 Sep 2013 19:03:52 -0700 Subject: load so from libzmq3 or libzmq1 --- lib/ffi-rzmq/libzmq.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/ffi-rzmq/libzmq.rb b/lib/ffi-rzmq/libzmq.rb index 07bf6ad..69071fe 100644 --- a/lib/ffi-rzmq/libzmq.rb +++ b/lib/ffi-rzmq/libzmq.rb @@ -16,7 +16,7 @@ module ZMQ ZMQ_LIB_PATHS =([inside_gem] + local_path + [ '/usr/local/lib', '/opt/local/lib', '/usr/local/homebrew/lib', '/usr/lib64' ]).map{|path| "#{path}/libzmq.#{FFI::Platform::LIBSUFFIX}"} - ffi_lib(ZMQ_LIB_PATHS + %w{libzmq}) + ffi_lib(%w{libzmq.so.3 libzmq.so.1} + ZMQ_LIB_PATHS + %w{libzmq}) rescue LoadError => e if ZMQ_LIB_PATHS.any? {|path| File.file?(path) } warn "Unable to load this gem. The libzmq library exists, but cannot be loaded." debian/patches/series0000644000000000000000000000005312224216371012030 0ustar 0001-load-so-from-libzmq3-or-libzmq1.patch