diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 21:03:06 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 21:03:06 +0100 |
commit | 8376ef56580626e9c0f796d5b85b53a0a1c7d5f5 (patch) | |
tree | 7681bbd4e8b05407772df40a4bf04cbbc8afc3fa /dev-ruby/ntlm-http | |
parent | 30a9caf154332f12ca60756e1b75d2f0e3e1822d (diff) |
gentoo resync : 14.07.2018
Diffstat (limited to 'dev-ruby/ntlm-http')
-rw-r--r-- | dev-ruby/ntlm-http/Manifest | 4 | ||||
-rw-r--r-- | dev-ruby/ntlm-http/files/ntlm-http-0.1.1+ruby-1.9.patch | 24 | ||||
-rw-r--r-- | dev-ruby/ntlm-http/metadata.xml | 8 | ||||
-rw-r--r-- | dev-ruby/ntlm-http/ntlm-http-0.1.1-r2.ebuild | 35 |
4 files changed, 71 insertions, 0 deletions
diff --git a/dev-ruby/ntlm-http/Manifest b/dev-ruby/ntlm-http/Manifest new file mode 100644 index 000000000000..000b76b953ae --- /dev/null +++ b/dev-ruby/ntlm-http/Manifest @@ -0,0 +1,4 @@ +AUX ntlm-http-0.1.1+ruby-1.9.patch 657 BLAKE2B 179668ac8377cb16485f934027dcec83faf2ad790f45b0382facc3fd25eb957a501099b346b1f9a7d1a90d96e96566cbd6307fd3868bb5702945a88da75785be SHA512 c1cf26169cfb7eb8e5759b143f49dd7eaa124cb9e22314e0d2d36c3128080e2dd85b84386ed219cd35e3022e1ba36926dff6ee603400362d8ad59bb627f3080a +DIST ntlm-http-0.1.1.gem 13824 BLAKE2B 179baff2b4b00306b15aa42bad3e91bb41bdc6070ad2eb4681075474839dafea06c54ef7b3fb9f997951ad7b4ddcfa78caf5345b35e5944366b60f27bea63530 SHA512 1d2868582a194fb3a3dcb48a7dfb031014e51a93d57afb83aaef98be8e57789506b71e6440770ca7bc48979d9dd730f398d01d554d6d0575ff01046a227c7669 +EBUILD ntlm-http-0.1.1-r2.ebuild 877 BLAKE2B 4a832847268e5f3340dcd3ac68452ba45e10fa267e4f7a5e23088399722df5b8c432dbeb7afa67616449094306d45347d9e46282603f31d8472b4a033aef76b0 SHA512 86a64aecbc29dfc62bb22e91c3447127c2a043f4b7c2b4d956165eefbe7cdb94fa70b8653d55777498b09502d19907805183dcba98c55d4317177fb5b894fbce +MISC metadata.xml 247 BLAKE2B 7717702c51c35b2a20983332abc6218047b2b5036e6b4c09d3d58b4339e8f9e776879cd116cfda60d3bcf4188859993fb9f3f779aaf595f155d53e85288f3dcc SHA512 ea4c044637b751a2c28c6ac226121e74ef18196af4b594e60413fec907bbab29c6b0c7735c3f503485df16dcfb36ddb86038394d92e2cd18c8f04626628e9f09 diff --git a/dev-ruby/ntlm-http/files/ntlm-http-0.1.1+ruby-1.9.patch b/dev-ruby/ntlm-http/files/ntlm-http-0.1.1+ruby-1.9.patch new file mode 100644 index 000000000000..b5e35a7210c5 --- /dev/null +++ b/dev-ruby/ntlm-http/files/ntlm-http-0.1.1+ruby-1.9.patch @@ -0,0 +1,24 @@ +Index: ntlm-http-0.1.1/lib/net/ntlm_http.rb +=================================================================== +--- ntlm-http-0.1.1.orig/lib/net/ntlm_http.rb ++++ ntlm-http-0.1.1/lib/net/ntlm_http.rb +@@ -45,6 +45,7 @@ + require 'base64' + require 'openssl' + require 'openssl/digest' ++require 'kconv' + + module Net #:nodoc: + module NTLM +Index: ntlm-http-0.1.1/lib/net/ntlm.rb +=================================================================== +--- ntlm-http-0.1.1.orig/lib/net/ntlm.rb ++++ ntlm-http-0.1.1/lib/net/ntlm.rb +@@ -45,6 +45,7 @@ + require 'base64' + require 'openssl' + require 'openssl/digest' ++require 'kconv' + + module Net #:nodoc: + module NTLM diff --git a/dev-ruby/ntlm-http/metadata.xml b/dev-ruby/ntlm-http/metadata.xml new file mode 100644 index 000000000000..28ab0c15f206 --- /dev/null +++ b/dev-ruby/ntlm-http/metadata.xml @@ -0,0 +1,8 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<maintainer type="project"> + <email>ruby@gentoo.org</email> + <name>Gentoo Ruby Project</name> +</maintainer> +</pkgmetadata> diff --git a/dev-ruby/ntlm-http/ntlm-http-0.1.1-r2.ebuild b/dev-ruby/ntlm-http/ntlm-http-0.1.1-r2.ebuild new file mode 100644 index 000000000000..7770578b87ab --- /dev/null +++ b/dev-ruby/ntlm-http/ntlm-http-0.1.1-r2.ebuild @@ -0,0 +1,35 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +USE_RUBY="ruby22 ruby23 ruby24 ruby25" + +RUBY_FAKEGEM_RECIPE_TEST="none" + +RUBY_FAKEGEM_RECIPE_DOC="rdoc" +RUBY_FAKEGEM_DOC_SOURCES="lib README" +RUBY_FAKEGEM_EXTRADOC="README" + +inherit ruby-fakegem eutils + +DESCRIPTION="Ruby/NTLM HTTP provides NTLM authentication over http" +HOMEPAGE="http://www.mindflowsolutions.net/" + +LICENSE="BSD-2" +SLOT="0" +KEYWORDS="amd64 ~ppc ~ppc64 x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~x86-solaris" +IUSE="test" + +ruby_add_bdepend "test? ( >=dev-ruby/test-unit-2.5.1-r1 )" + +all_ruby_prepare() { + find . -name '*.rb' -exec sed -i -e 's:\r$::' {} + + + # We can't use RUBY_PATCHES for this because we need first to convert the files + epatch "${FILESDIR}"/${P}+ruby-1.9.patch +} + +each_ruby_test() { + ruby-ng_testrb-2 test/*_test.rb +} |