summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--dev-ruby/ruby_smb/Manifest1
-rw-r--r--dev-ruby/ruby_smb/ruby_smb-1.0.2.ebuild30
2 files changed, 31 insertions, 0 deletions
diff --git a/dev-ruby/ruby_smb/Manifest b/dev-ruby/ruby_smb/Manifest
index b86b2525f744..8d53cc5840c0 100644
--- a/dev-ruby/ruby_smb/Manifest
+++ b/dev-ruby/ruby_smb/Manifest
@@ -1,2 +1,3 @@
DIST ruby_smb-0.0.23.gem 149504 BLAKE2B fe9e8dab2d0437cff691293b71473c5bbbc697952e1ce2ca52176922a7fffdeecf05e38ec139ee6f5f8c6615b2f80e6ded3b6c50390b9a7c7d06c777ce738491 SHA512 eaa779a3e9e3858142ed5581fddf5afd1f05106257e314c8811ca05fc80ce50c7944c8cbc147d652aad4c8fc4b3247c97f9f57eed44887de47abd51fe576e5e1
DIST ruby_smb-0.0.24.gem 150016 BLAKE2B bd9af5646e151dd61d89057c325f4246dd2bed686fffc56cc1d281615093223a71dc3f2cb67d8e2f6ddacdbfafd4121e46b4109de652f90363451cb905fee2be SHA512 bef4a57edd906f84eaa46072d508578e23834e08d0f66b28feaf3f7c861474bbfc763b9f4e117537d635165fa6f0d1d2430a9e4dadf23bbf99485893ce735cc2
+DIST ruby_smb-1.0.2.gem 150016 BLAKE2B 4d661a12fee0430be8e071069d8457d4a11f197087bd1cf208f206e705285ea236a445a9396d13868335ef67c4ad7972890ffa22fe2efc3c98ef0d3503474033 SHA512 e8c1314d34e282bb117ea5587b18a41c25315c515cc5141d1a4bc98b423c25ac923e5c8836eda039f201204f82587bfc3d2ee89193277231424b99f512b27a59
diff --git a/dev-ruby/ruby_smb/ruby_smb-1.0.2.ebuild b/dev-ruby/ruby_smb/ruby_smb-1.0.2.ebuild
new file mode 100644
index 000000000000..bb1733e03cf3
--- /dev/null
+++ b/dev-ruby/ruby_smb/ruby_smb-1.0.2.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 ruby25"
+
+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="1"
+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
+}