debian/0000755000000000000000000000000012247155211007166 5ustar debian/patches/0000755000000000000000000000000012247155211010615 5ustar debian/patches/series0000644000000000000000000000002712247155211012031 0ustar minitest_autorun.patch debian/patches/minitest_autorun.patch0000644000000000000000000000127412247155211015253 0ustar Author: Jonas Genannt Description: Update unit test to work with newest MiniTest from Debian Patch is not forwarded, because upstream declared ruby-hmac as obsolete. See NEWS file. Forwarded: not-needed --- a/test/test_hmac.rb +++ b/test/test_hmac.rb @@ -4,15 +4,15 @@ require "hmac-md5" require "hmac-sha1" begin - require "minitest/unit" + require "minitest/autorun" rescue LoadError require "rubygems" - require "minitest/unit" + require "minitest/autorun" end -MiniTest::Unit.autorun +Minitest.autorun -class TestHmac < MiniTest::Unit::TestCase +class TestHmac < Minitest::Test def test_s_digest key = "\x0b" * 16 debian/ruby-test-files.yaml0000644000000000000000000000003112247155211013102 0ustar --- - test/test_hmac.rb debian/source/0000755000000000000000000000000012247155211010466 5ustar debian/source/format0000644000000000000000000000001412247155211011674 0ustar 3.0 (quilt) debian/compat0000644000000000000000000000000212247155211010364 0ustar 9 debian/copyright0000644000000000000000000000430312247155211011121 0ustar Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-Name: ruby-hmac Source: http://rubygems.org/gems/ruby-hmac Files: * Copyright: 2001, Daiki Ueno License: MIT 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. Files: debian/* Copyright: 2007, Daigo Moriwaki 2011-2012, Vasudev Kamath License: GPL-2+ This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. . This program 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 General Public License for more details. . You should have received a copy of the GNU General Public License along with this package; if not, write to the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA . On Debian systems, the full text of the GNU General Public License version 2 can be found in the file `/usr/share/common-licenses/GPL-2'. debian/ruby-hmac.docs0000644000000000000000000000001312247155211011721 0ustar README.txt debian/changelog0000644000000000000000000000615012247155211011042 0ustar ruby-hmac (0.4.0-4) unstable; urgency=low * Team upload. [ Cédric Boutillier ] * use canonical URI in Vcs-* fields [ Vasudev Kamath ] * Dropped myself from uploaders [ Jonas Genannt ] * added minitest_autorun.patch to work with newer MiniTest versions * Added NEWS file, about ruby-hmac vs Rubys OpenSSL * d/control: - removed transitional packages - removed trailing whitespaces - bumped standards version to 3.9.5 (no changes needed) - removed version depend on ruby1.8 changed to ruby -- Jonas Genannt Mon, 02 Dec 2013 19:47:27 +0100 ruby-hmac (0.4.0-3) unstable; urgency=low * Bump build dependency on gem2deb to >= 0.3.0~ -- Paul van Tilburg Tue, 26 Jun 2012 21:12:10 +0200 ruby-hmac (0.4.0-2) unstable; urgency=low * debian/control: + Bumped Standards-Version to 3.9.3. This did not require any changes to package source. + Increased minimum version of debhelper required to 9 + Transitional packages now part of oldlibs/extra section * debian/copyright: + Format URI now confirms to Debian copyright-format 1.0 + Replaced blank lines with . to confirm with copyright-format 1.0 + Added myself to debian folder copyright holders + Made license reference to point to GPL-2 instead of symlink file GPL which actually points to GPL-3 + Made the license of debian folder to GPL-2+ * Set debian/compat to 9 -- Vasudev Kamath Sun, 17 Jun 2012 13:42:37 +0530 ruby-hmac (0.4.0-1) unstable; urgency=low * Switched to gem2deb-packaging and newer version of the upstream * debian/control: - Added my name to the Uploaders field - Bumped Standards-Version to 3.9.2 -- Vasudev Kamath Sat, 07 May 2011 22:36:28 +0530 libhmac-ruby (0.3.2-1) unstable; urgency=low [ Lucas Nussbaum ] * Use new Homepage dpkg header. [ Gunnar Wolf ] * Changed section to Ruby as per ftp-masters' request [ Paul van Tilburg ] * New upstream release. * debian/watch: Updated, original host is not up anymore, using RubyForge. * debian/control: - Added myself to Uploaders. - Bumped standards version to 3.8.4. - Added ${misc:Depends} to the depends of libhmac-ruby and libhmac-ruby1.8. * debian/source/format: Switched to the 3.0 (quilt) source format. -- Paul van Tilburg Sat, 10 Apr 2010 00:29:09 +0200 libhmac-ruby (0.3-2) unstable; urgency=low [ Antonio Terceiro ] * debian/control: Changing the versioned Conflicts: against libopenid-ruby from (<= 1.1.4-2) to (<< 1.1.4-2) * debian/control: adding myself in Uploaders: * debian/README.Debian-source: describing how to obtain a suitable tarball from upstream's. * debian/copyright: adding copyright information for setup.rb. [ Daigo Moriwaki ] * debian/rules: debian/README.Debian-source goes with the documentations. -- Daigo Moriwaki Tue, 03 Jul 2007 09:11:38 +0900 libhmac-ruby (0.3-1) unstable; urgency=low * Initial release. (Closes: #426889) -- Daigo Moriwaki Thu, 31 May 2007 23:01:21 +0900 debian/rules0000755000000000000000000000070112247155211010244 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/ruby-hmac.NEWS0000644000000000000000000000100212247155211011544 0ustar ruby-hmac (0.4.0-4) unstable; urgency=low Use OpenSSL instead The HMAC functionality included with OpenSSL is available from Ruby and is much faster. It's recommended that you use OpenSSL instead of this library. See the blog post on OpenSSL vs. Ruby HMAC Benchmarks: http://blog.nathanielbibler.com/post/63031273/openssl-hmac-vs-ruby-hmac-benchmarks https://github.com/topfunky/ruby-hmac/blob/master/README.md -- Jonas Genannt Mon, 02 Dec 2013 19:47:27 +0100 debian/watch0000644000000000000000000000014712247155211010221 0ustar version=3 http://pkg-ruby-extras.alioth.debian.org/cgi-bin/gemwatch/ruby-hmac .*/ruby-hmac-(.*).tar.gz debian/control0000644000000000000000000000216712247155211010577 0ustar Source: ruby-hmac Section: ruby Priority: optional Maintainer: Daigo Moriwaki Uploaders: Debian Ruby Extras Maintainers , Antonio Terceiro , Paul van Tilburg Build-Depends: debhelper (>= 9), gem2deb (>= 0.3.0~), ruby-minitest Standards-Version: 3.9.5 Vcs-Git: git://anonscm.debian.org/pkg-ruby-extras/ruby-hmac.git Vcs-Browser: http://anonscm.debian.org/gitweb?p=pkg-ruby-extras/ruby-hmac.git;a=summary Homepage: http://ruby-hmac.rubyforge.org XS-Ruby-Versions: all Package: ruby-hmac Architecture: all XB-Ruby-Versions: ${ruby:Versions} Depends: ${misc:Depends}, ${shlibs:Depends}, ruby | ruby-interpreter Description: Ruby interface for HMAC algorithm This module provides common interface to HMAC functionality. HMAC is a kind of "Message Authentication Code" (MAC) algorithm whose standard is documented in RFC2104. Namely, a MAC provides a way to check the integrity of information transmitted over or stored in an unreliable medium, based on a secret key.