summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--dev-ruby/ruby_smb/Manifest1
-rw-r--r--dev-ruby/ruby_smb/ruby_smb-0.0.23.ebuild30
2 files changed, 31 insertions, 0 deletions
diff --git a/dev-ruby/ruby_smb/Manifest b/dev-ruby/ruby_smb/Manifest
index cbd41be8acc7..5dd36813102e 100644
--- a/dev-ruby/ruby_smb/Manifest
+++ b/dev-ruby/ruby_smb/Manifest
@@ -1 +1,2 @@
DIST ruby_smb-0.0.12.gem 59392 BLAKE2B 3bf8497a75936c6ac06515239ea4be40cb29f7002a69ac7fed0d71cb5bee88fe77a5dd3863b93d5ca7c77e39c07493a1bac414f72c0c009e7ed9ceb850adb76f SHA512 8343c18e1592a0b0878fe70999e0cacc32059fc721da4690a7ebfadc1ed86562a177e715ce83a8a7993a3494bfa4195b81d790e5d675a4093a5455a843e8b95f
+DIST ruby_smb-0.0.23.gem 149504 BLAKE2B fe9e8dab2d0437cff691293b71473c5bbbc697952e1ce2ca52176922a7fffdeecf05e38ec139ee6f5f8c6615b2f80e6ded3b6c50390b9a7c7d06c777ce738491 SHA512 eaa779a3e9e3858142ed5581fddf5afd1f05106257e314c8811ca05fc80ce50c7944c8cbc147d652aad4c8fc4b3247c97f9f57eed44887de47abd51fe576e5e1
diff --git a/dev-ruby/ruby_smb/ruby_smb-0.0.23.ebuild b/dev-ruby/ruby_smb/ruby_smb-0.0.23.ebuild
new file mode 100644
index 000000000000..09ed1a320e5c
--- /dev/null
+++ b/dev-ruby/ruby_smb/ruby_smb-0.0.23.ebuild
@@ -0,0 +1,30 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+USE_RUBY="ruby23 ruby24"
+
+RUBY_FAKEGEM_RECIPE_DOC="rdoc"
+RUBY_FAKEGEM_RECIPE_TEST="rspec3"
+
+inherit ruby-fakegem
+
+DESCRIPTION="pure Ruby implementation of the SMB Protocol Family"
+HOMEPAGE="https://github.com/rapid7/ruby_smb"
+
+LICENSE="BSD"
+SLOT="${PV}"
+KEYWORDS="~amd64 ~arm ~x86"
+IUSE=""
+
+ruby_add_rdepend "dev-ruby/bindata:*
+ dev-ruby/rubyntlm
+ dev-ruby/windows_error"
+
+all_ruby_prepare() {
+ sed -i -e '/simple[Cc]ov/d' -e '/coveralls/d' spec/spec_helper.rb
+ sed -i -e '/[Ss]imple[Cc]ov/,/end/d' \
+ -e '/[Cc]overalls/,/end/d' spec/spec_helper.rb
+ sed -i '/TRAVIS/d' spec/spec_helper.rb
+ sed -i -e '1irequire "rubyntlm"; require "time"' spec/spec_helper.rb
+}