From 9104935b19a964a57f07aea91647ae55b3b89426 Mon Sep 17 00:00:00 2001 From: blshkv Date: Sun, 16 Feb 2020 16:03:30 +0800 Subject: [PATCH] metasploit: any ruby version friendly --- .../actionmailer/actionmailer-4.2.11.1.ebuild | 11 +-- .../actionpack/actionpack-4.2.11.1.ebuild | 10 +-- .../actionview/actionview-4.2.11.1.ebuild | 10 +-- dev-ruby/activejob/activejob-4.2.11.1.ebuild | 10 +-- dev-ruby/activeldap/activeldap-4.0.6.ebuild | 7 +- .../activemodel/activemodel-4.2.11.1.ebuild | 10 +-- .../activerecord/activerecord-4.2.11.1.ebuild | 11 +-- .../activesupport-4.2.11.1.ebuild | 10 +-- dev-ruby/arel/arel-6.0.4.ebuild | 11 +-- dev-ruby/i18n/Manifest | 1 + .../files/i18n-0.7.0-frozen-classes.patch | 31 ++++++++ dev-ruby/i18n/i18n-0.7.0-r3.ebuild | 61 ++++++++++++++++ dev-ruby/i18n/metadata.xml | 11 +++ dev-ruby/metasploit-concern/Manifest | 1 + dev-ruby/metasploit-concern/metadata.xml | 11 +++ .../metasploit-concern-2.0.5.ebuild | 27 +++++++ dev-ruby/metasploit-credential/Manifest | 1 + dev-ruby/metasploit-credential/metadata.xml | 11 +++ .../metasploit-credential-2.0.14.ebuild | 29 ++++++++ dev-ruby/metasploit-model/Manifest | 1 + dev-ruby/metasploit-model/metadata.xml | 14 ++++ .../metasploit-model-2.0.4.ebuild | 73 +++++++++++++++++++ dev-ruby/metasploit-payloads/Manifest | 1 + dev-ruby/metasploit-payloads/metadata.xml | 12 +++ .../metasploit-payloads-1.3.53.ebuild | 44 +++++++++++ dev-ruby/metasploit_data_models/Manifest | 1 + dev-ruby/metasploit_data_models/metadata.xml | 11 +++ .../metasploit_data_models-2.0.16.ebuild | 65 +++++++++++++++++ dev-ruby/metasploit_payloads-mettle/Manifest | 1 + .../metasploit_payloads-mettle/metadata.xml | 12 +++ .../metasploit_payloads-mettle-0.4.2.ebuild | 65 +++++++++++++++++ dev-ruby/postgres_ext/Manifest | 1 + dev-ruby/postgres_ext/metadata.xml | 11 +++ .../postgres_ext/postgres_ext-3.0.1.ebuild | 54 ++++++++++++++ dev-ruby/rack-test/rack-test-0.6.3.ebuild | 11 +-- ...rails-deprecated_sanitizer-1.0.3-r2.ebuild | 7 +- .../rails-dom-testing-1.0.8-r1.ebuild | 7 +- dev-ruby/rails/rails-4.2.11.1.ebuild | 11 +-- dev-ruby/railties/railties-4.2.11.1.ebuild | 11 +-- .../metasploit/metasploit-4.17.21-r7.ebuild | 4 +- 40 files changed, 625 insertions(+), 66 deletions(-) create mode 100644 dev-ruby/i18n/Manifest create mode 100644 dev-ruby/i18n/files/i18n-0.7.0-frozen-classes.patch create mode 100644 dev-ruby/i18n/i18n-0.7.0-r3.ebuild create mode 100644 dev-ruby/i18n/metadata.xml create mode 100644 dev-ruby/metasploit-concern/Manifest create mode 100644 dev-ruby/metasploit-concern/metadata.xml create mode 100644 dev-ruby/metasploit-concern/metasploit-concern-2.0.5.ebuild create mode 100644 dev-ruby/metasploit-credential/Manifest create mode 100644 dev-ruby/metasploit-credential/metadata.xml create mode 100644 dev-ruby/metasploit-credential/metasploit-credential-2.0.14.ebuild create mode 100644 dev-ruby/metasploit-model/Manifest create mode 100644 dev-ruby/metasploit-model/metadata.xml create mode 100644 dev-ruby/metasploit-model/metasploit-model-2.0.4.ebuild create mode 100644 dev-ruby/metasploit-payloads/Manifest create mode 100644 dev-ruby/metasploit-payloads/metadata.xml create mode 100644 dev-ruby/metasploit-payloads/metasploit-payloads-1.3.53.ebuild create mode 100644 dev-ruby/metasploit_data_models/Manifest create mode 100644 dev-ruby/metasploit_data_models/metadata.xml create mode 100644 dev-ruby/metasploit_data_models/metasploit_data_models-2.0.16.ebuild create mode 100644 dev-ruby/metasploit_payloads-mettle/Manifest create mode 100644 dev-ruby/metasploit_payloads-mettle/metadata.xml create mode 100644 dev-ruby/metasploit_payloads-mettle/metasploit_payloads-mettle-0.4.2.ebuild create mode 100644 dev-ruby/postgres_ext/Manifest create mode 100644 dev-ruby/postgres_ext/metadata.xml create mode 100644 dev-ruby/postgres_ext/postgres_ext-3.0.1.ebuild diff --git a/dev-ruby/actionmailer/actionmailer-4.2.11.1.ebuild b/dev-ruby/actionmailer/actionmailer-4.2.11.1.ebuild index 611c2aaf4..cbef81d8e 100644 --- a/dev-ruby/actionmailer/actionmailer-4.2.11.1.ebuild +++ b/dev-ruby/actionmailer/actionmailer-4.2.11.1.ebuild @@ -1,22 +1,23 @@ -# Copyright 1999-2019 Gentoo Authors +# Copyright 1999-2020 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=6 -USE_RUBY="ruby23 ruby24 ruby25" +EAPI=7 + +USE_RUBY="ruby24 ruby25 ruby26" RUBY_FAKEGEM_TASK_DOC="" RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.rdoc" RUBY_FAKEGEM_GEMSPEC="actionmailer.gemspec" -inherit ruby-fakegem versionator +inherit ruby-fakegem DESCRIPTION="Framework for designing email-service layers" HOMEPAGE="https://github.com/rails/rails" SRC_URI="https://github.com/rails/rails/archive/v${PV}.tar.gz -> rails-${PV}.tgz" LICENSE="MIT" -SLOT="$(get_version_component_range 1-2)" +SLOT="$(ver_cut 1-2)" KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~x86 ~amd64-linux" IUSE="" diff --git a/dev-ruby/actionpack/actionpack-4.2.11.1.ebuild b/dev-ruby/actionpack/actionpack-4.2.11.1.ebuild index 031bb0adc..350127b12 100644 --- a/dev-ruby/actionpack/actionpack-4.2.11.1.ebuild +++ b/dev-ruby/actionpack/actionpack-4.2.11.1.ebuild @@ -1,9 +1,9 @@ -# Copyright 1999-2019 Gentoo Authors +# Copyright 1999-2020 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=6 +EAPI=7 -USE_RUBY="ruby23 ruby24 ruby25" +USE_RUBY="ruby24 ruby25 ruby26" RUBY_FAKEGEM_TASK_DOC="" RUBY_FAKEGEM_DOCDIR="doc" @@ -11,14 +11,14 @@ RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.rdoc" RUBY_FAKEGEM_GEMSPEC="actionpack.gemspec" -inherit ruby-fakegem versionator +inherit ruby-fakegem DESCRIPTION="Eases web-request routing, handling, and response" HOMEPAGE="https://github.com/rails/rails" SRC_URI="https://github.com/rails/rails/archive/v${PV}.tar.gz -> rails-${PV}.tgz" LICENSE="MIT" -SLOT="$(get_version_component_range 1-2)" +SLOT="$(ver_cut 1-2)" KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~x86 ~amd64-linux" IUSE="" diff --git a/dev-ruby/actionview/actionview-4.2.11.1.ebuild b/dev-ruby/actionview/actionview-4.2.11.1.ebuild index af817882a..995e8b5fc 100644 --- a/dev-ruby/actionview/actionview-4.2.11.1.ebuild +++ b/dev-ruby/actionview/actionview-4.2.11.1.ebuild @@ -1,9 +1,9 @@ -# Copyright 1999-2019 Gentoo Authors +# Copyright 1999-2020 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=6 +EAPI=7 -USE_RUBY="ruby23 ruby24 ruby25" +USE_RUBY="ruby24 ruby25 ruby26" RUBY_FAKEGEM_TASK_DOC="" RUBY_FAKEGEM_DOCDIR="doc" @@ -11,14 +11,14 @@ RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.rdoc" RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec" -inherit ruby-fakegem versionator +inherit ruby-fakegem DESCRIPTION="Simple, battle-tested conventions and helpers for building web pages" HOMEPAGE="https://github.com/rails/rails/" SRC_URI="https://github.com/rails/rails/archive/v${PV}.tar.gz -> rails-${PV}.tgz" LICENSE="MIT" -SLOT="$(get_version_component_range 1-2)" +SLOT="$(ver_cut 1-2)" KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~x86 ~amd64-linux" IUSE="" diff --git a/dev-ruby/activejob/activejob-4.2.11.1.ebuild b/dev-ruby/activejob/activejob-4.2.11.1.ebuild index 677470354..4eace2895 100644 --- a/dev-ruby/activejob/activejob-4.2.11.1.ebuild +++ b/dev-ruby/activejob/activejob-4.2.11.1.ebuild @@ -1,9 +1,9 @@ -# Copyright 1999-2019 Gentoo Authors +# Copyright 1999-2020 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=6 +EAPI=7 -USE_RUBY="ruby23 ruby24 ruby25" +USE_RUBY="ruby24 ruby25 ruby26" RUBY_FAKEGEM_TASK_DOC="" RUBY_FAKEGEM_DOCDIR="" @@ -11,14 +11,14 @@ RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.md" RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec" -inherit ruby-fakegem versionator +inherit ruby-fakegem DESCRIPTION="Job framework with pluggable queues" HOMEPAGE="https://github.com/rails/rails" SRC_URI="https://github.com/rails/rails/archive/v${PV}.tar.gz -> rails-${PV}.tgz" LICENSE="MIT" -SLOT="$(get_version_component_range 1-2)" +SLOT="$(ver_cut 1-2)" KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~x86 ~amd64-linux" IUSE="" diff --git a/dev-ruby/activeldap/activeldap-4.0.6.ebuild b/dev-ruby/activeldap/activeldap-4.0.6.ebuild index f29bab666..f4810a106 100644 --- a/dev-ruby/activeldap/activeldap-4.0.6.ebuild +++ b/dev-ruby/activeldap/activeldap-4.0.6.ebuild @@ -1,8 +1,9 @@ -# Copyright 1999-2018 Gentoo Foundation +# Copyright 1999-2020 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=5 -USE_RUBY="ruby22 ruby23 ruby24 ruby25" +EAPI=7 + +USE_RUBY="ruby24 ruby25 ruby26" RUBY_FAKEGEM_TASK_DOC="" RUBY_FAKEGEM_EXTRADOC="README.textile TODO doc/text/*" diff --git a/dev-ruby/activemodel/activemodel-4.2.11.1.ebuild b/dev-ruby/activemodel/activemodel-4.2.11.1.ebuild index 04336d85d..99a50d668 100644 --- a/dev-ruby/activemodel/activemodel-4.2.11.1.ebuild +++ b/dev-ruby/activemodel/activemodel-4.2.11.1.ebuild @@ -1,9 +1,9 @@ -# Copyright 1999-2019 Gentoo Authors +# Copyright 1999-2020 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=6 +EAPI=7 -USE_RUBY="ruby23 ruby24 ruby25" +USE_RUBY="ruby24 ruby25 ruby26" RUBY_FAKEGEM_TASK_DOC="" RUBY_FAKEGEM_DOCDIR="" @@ -11,14 +11,14 @@ RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.rdoc" RUBY_FAKEGEM_GEMSPEC="activemodel.gemspec" -inherit ruby-fakegem versionator +inherit ruby-fakegem DESCRIPTION="Toolkit for building modeling frameworks like Active Record and Active Resource" HOMEPAGE="https://github.com/rails/rails" SRC_URI="https://github.com/rails/rails/archive/v${PV}.tar.gz -> rails-${PV}.tgz" LICENSE="MIT" -SLOT="$(get_version_component_range 1-2)" +SLOT="$(ver_cut 1-2)" KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~x86 ~amd64-linux" IUSE="" diff --git a/dev-ruby/activerecord/activerecord-4.2.11.1.ebuild b/dev-ruby/activerecord/activerecord-4.2.11.1.ebuild index 8c862ae77..3fabad1de 100644 --- a/dev-ruby/activerecord/activerecord-4.2.11.1.ebuild +++ b/dev-ruby/activerecord/activerecord-4.2.11.1.ebuild @@ -1,8 +1,9 @@ -# Copyright 1999-2019 Gentoo Authors +# Copyright 1999-2020 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=6 -USE_RUBY="ruby23 ruby24 ruby25" +EAPI=7 + +USE_RUBY="ruby24 ruby25 ruby26" # this is not null so that the dependencies will actually be filled RUBY_FAKEGEM_TASK_TEST="test" @@ -12,14 +13,14 @@ RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.rdoc" RUBY_FAKEGEM_GEMSPEC="activerecord.gemspec" -inherit ruby-fakegem versionator +inherit ruby-fakegem DESCRIPTION="Implements the ActiveRecord pattern (Fowler, PoEAA) for ORM" HOMEPAGE="https://github.com/rails/rails/" SRC_URI="https://github.com/rails/rails/archive/v${PV}.tar.gz -> rails-${PV}.tgz" LICENSE="MIT" -SLOT="$(get_version_component_range 1-2)" +SLOT="$(ver_cut 1-2)" KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~x86 ~amd64-linux" IUSE="mysql postgres sqlite" diff --git a/dev-ruby/activesupport/activesupport-4.2.11.1.ebuild b/dev-ruby/activesupport/activesupport-4.2.11.1.ebuild index d895fc39e..53626548f 100644 --- a/dev-ruby/activesupport/activesupport-4.2.11.1.ebuild +++ b/dev-ruby/activesupport/activesupport-4.2.11.1.ebuild @@ -1,9 +1,9 @@ -# Copyright 1999-2019 Gentoo Authors +# Copyright 1999-2020 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=6 +EAPI=7 -USE_RUBY="ruby23 ruby24 ruby25" +USE_RUBY="ruby24 ruby25 ruby26" RUBY_FAKEGEM_TASK_DOC="" @@ -13,14 +13,14 @@ RUBY_FAKEGEM_GEMSPEC="activesupport.gemspec" RUBY_FAKEGEM_BINWRAP="" -inherit ruby-fakegem versionator +inherit ruby-fakegem DESCRIPTION="Utility Classes and Extension to the Standard Library" HOMEPAGE="https://github.com/rails/rails" SRC_URI="https://github.com/rails/rails/archive/v${PV}.tar.gz -> rails-${PV}.tgz" LICENSE="MIT" -SLOT="$(get_version_component_range 1-2)" +SLOT="$(ver_cut 1-2)" KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~x86 ~amd64-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" IUSE="" diff --git a/dev-ruby/arel/arel-6.0.4.ebuild b/dev-ruby/arel/arel-6.0.4.ebuild index f809bc16f..725f0dc25 100644 --- a/dev-ruby/arel/arel-6.0.4.ebuild +++ b/dev-ruby/arel/arel-6.0.4.ebuild @@ -1,8 +1,9 @@ -# Copyright 1999-2018 Gentoo Foundation +# Copyright 1999-2020 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=6 -USE_RUBY="ruby21 ruby22 ruby23 ruby24 ruby25" +EAPI=7 + +USE_RUBY="ruby24 ruby25 ruby26" RUBY_FAKEGEM_RECIPE_DOC="rdoc" RUBY_FAKEGEM_DOCDIR="doc" @@ -10,13 +11,13 @@ RUBY_FAKEGEM_EXTRADOC="History.txt README.markdown" RUBY_FAKEGEM_GEMSPEC="arel.gemspec" -inherit ruby-fakegem versionator +inherit ruby-fakegem DESCRIPTION="Arel is a Relational Algebra for Ruby" HOMEPAGE="https://github.com/rails/arel" SRC_URI="https://github.com/rails/arel/archive/v${PV}.tar.gz -> ${P}.tar.gz" LICENSE="MIT" -SLOT="$(get_version_component_range 1-2)" +SLOT="$(ver_cut 1-2)" KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" IUSE="" diff --git a/dev-ruby/i18n/Manifest b/dev-ruby/i18n/Manifest new file mode 100644 index 000000000..7cb88ab18 --- /dev/null +++ b/dev-ruby/i18n/Manifest @@ -0,0 +1 @@ +DIST i18n-0.7.0.tar.gz 57647 BLAKE2B 50ea36ec616b90a261151cce47c98250e85b25ae75f90eb52ea01e8bb7e0c6288abb9055a4f80a199deb93c9ca66efd1ad568950d3f505206e0ba9ee9cdb8bc6 SHA512 8824feb3fb99bba759963d2ae34555f27b85dbac3d3001168471a27e47fc805e5ffe5c3b4e10d6ca4b2e2524ec16c98260b981ef504f274aab93f912a57d2e14 diff --git a/dev-ruby/i18n/files/i18n-0.7.0-frozen-classes.patch b/dev-ruby/i18n/files/i18n-0.7.0-frozen-classes.patch new file mode 100644 index 000000000..ff6019498 --- /dev/null +++ b/dev-ruby/i18n/files/i18n-0.7.0-frozen-classes.patch @@ -0,0 +1,31 @@ +From bbbdedc0c78ec941a84d161d5c610a358310cf99 Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?V=C3=ADt=20Ondruch?= +Date: Tue, 20 Jan 2015 14:34:44 +0100 +Subject: [PATCH] Ignore metadata for frozen classes. + +--- + lib/i18n/backend/metadata.rb | 8 ++++++-- + 1 file changed, 6 insertions(+), 2 deletions(-) + +diff --git a/lib/i18n/backend/metadata.rb b/lib/i18n/backend/metadata.rb +index 52c0a29..a8d922a 100644 +--- a/lib/i18n/backend/metadata.rb ++++ b/lib/i18n/backend/metadata.rb +@@ -21,11 +21,15 @@ class << self + def included(base) + Object.class_eval do + def translation_metadata +- @translation_metadata ||= {} ++ unless self.frozen? ++ @translation_metadata ||= {} ++ else ++ {} ++ end + end + + def translation_metadata=(translation_metadata) +- @translation_metadata = translation_metadata ++ @translation_metadata = translation_metadata unless self.frozen? + end + end unless Object.method_defined?(:translation_metadata) + end diff --git a/dev-ruby/i18n/i18n-0.7.0-r3.ebuild b/dev-ruby/i18n/i18n-0.7.0-r3.ebuild new file mode 100644 index 000000000..827800de8 --- /dev/null +++ b/dev-ruby/i18n/i18n-0.7.0-r3.ebuild @@ -0,0 +1,61 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +USE_RUBY="ruby24 ruby25 ruby26" + +RUBY_FAKEGEM_RECIPE_TEST="test" +RUBY_FAKEGEM_RECIPE_DOC="rdoc" +RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.md" + +RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec" + +inherit ruby-fakegem + +DESCRIPTION="Add Internationalization support to your Ruby application" +HOMEPAGE="http://rails-i18n.org/" +SRC_URI="https://github.com/svenfuchs/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="$(ver_cut 1-2)" +KEYWORDS="amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +IUSE="" + +RUBY_PATCHES=( ${P}-frozen-classes.patch ) + +ruby_add_bdepend "test? ( + dev-ruby/activesupport + dev-ruby/bundler + >=dev-ruby/mocha-0.13 + dev-ruby/test_declarative )" + +all_ruby_prepare() { + # Remove bundler lock files since we cannot depend on specific + # versions in Gentoo. + rm gemfiles/*.lock || die + + # Also test activesupport 5.2. + sed -e 's/4.2.0/5.2.0/' < gemfiles/Gemfile.rails-4.2.x > gemfiles/Gemfile.rails-5.2.x || die +} + +each_ruby_test() { + case ${RUBY} in + *ruby25) + versions="5.2" + ;; + *ruby23|*ruby24) + versions="4.2 5.2" + ;; + *) + die "Unexpected ruby target" + ;; + esac + + for version in ${versions} ; do + if has_version "dev-ruby/activesupport:${version}" ; then + einfo "Running tests with activesupport ${version}" + BUNDLE_GEMFILE="${S}/gemfiles/Gemfile.rails-${version}.x" ${RUBY} -S bundle exec ${RUBY} -S rake test || die + fi + done +} diff --git a/dev-ruby/i18n/metadata.xml b/dev-ruby/i18n/metadata.xml new file mode 100644 index 000000000..d83e13ed4 --- /dev/null +++ b/dev-ruby/i18n/metadata.xml @@ -0,0 +1,11 @@ + + + + + ruby@gentoo.org + Gentoo Ruby Project + + + svenfuchs/i18n + + diff --git a/dev-ruby/metasploit-concern/Manifest b/dev-ruby/metasploit-concern/Manifest new file mode 100644 index 000000000..814c8de7c --- /dev/null +++ b/dev-ruby/metasploit-concern/Manifest @@ -0,0 +1 @@ +DIST metasploit-concern-2.0.5.gem 18944 BLAKE2B 090dccb8e43426da0f51604b3257e717989d35e1430597734743df4447735cbf1dcc2e31124ae7012d6a945828dc55f80f095cf6b89584341fc5059f1275e2b8 SHA512 1d8025dd075475fcae1c663789154f7fc8dbb334f9a069a1c1a21f4b101e9b85dc7cdfc6097bbfa9387463d3050e7a715e68a0b09ebfa66aa27ccaa74a1ffe91 diff --git a/dev-ruby/metasploit-concern/metadata.xml b/dev-ruby/metasploit-concern/metadata.xml new file mode 100644 index 000000000..0f151a8a9 --- /dev/null +++ b/dev-ruby/metasploit-concern/metadata.xml @@ -0,0 +1,11 @@ + + + + + zerochaos@gentoo.org + Rick Farina + + + rapid7/metasploit-concern + + diff --git a/dev-ruby/metasploit-concern/metasploit-concern-2.0.5.ebuild b/dev-ruby/metasploit-concern/metasploit-concern-2.0.5.ebuild new file mode 100644 index 000000000..b6d5af8ca --- /dev/null +++ b/dev-ruby/metasploit-concern/metasploit-concern-2.0.5.ebuild @@ -0,0 +1,27 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +USE_RUBY="ruby24 ruby25 ruby26" + +RUBY_FAKEGEM_EXTRAINSTALL="app spec" + +inherit ruby-fakegem + +DESCRIPTION="Metasploit concern allows you to define concerns in app/concerns. " +HOMEPAGE="https://github.com/rapid7/metasploit-concern" +SRC_URI="https://rubygems.org/gems/${P}.gem" + +LICENSE="BSD" +SLOT="$(ver_cut 1-2)" +KEYWORDS="~amd64 ~arm ~x86" +#IUSE="development test" +RESTRICT=test +IUSE="" + +RDEPEND="${RDEPEND} !dev-ruby/metasploit-concern:0" + +ruby_add_rdepend ">=dev-ruby/railties-4.2.6:4.2 + >=dev-ruby/activesupport-4.2.6:4.2 + >=dev-ruby/activemodel-2.4.6:4.2" diff --git a/dev-ruby/metasploit-credential/Manifest b/dev-ruby/metasploit-credential/Manifest new file mode 100644 index 000000000..5aaeab085 --- /dev/null +++ b/dev-ruby/metasploit-credential/Manifest @@ -0,0 +1 @@ +DIST metasploit-credential-2.0.14.gem 110592 BLAKE2B 09f3eee0f288ab26695177b014b98dc871f6f009f34aaad4fbd7dfcda8acc63f75524fe7d181b1dccca863cc83eb50f249e0c07cbb0f07e9c79856a4389cdcd9 SHA512 66670fc89dc61d6d32577c9b46dc6ddfab15b9c0118ba15cc7398e10ec8de63cd7150fbfaddbd01a573ead6d98619dd9c19a5835be58baaa1fc4a9c777839b00 diff --git a/dev-ruby/metasploit-credential/metadata.xml b/dev-ruby/metasploit-credential/metadata.xml new file mode 100644 index 000000000..98a26fb70 --- /dev/null +++ b/dev-ruby/metasploit-credential/metadata.xml @@ -0,0 +1,11 @@ + + + + + zerochaos@gentoo.org + Rick Farina + + + rapid7/metasploit-credential + + diff --git a/dev-ruby/metasploit-credential/metasploit-credential-2.0.14.ebuild b/dev-ruby/metasploit-credential/metasploit-credential-2.0.14.ebuild new file mode 100644 index 000000000..bcd2a0639 --- /dev/null +++ b/dev-ruby/metasploit-credential/metasploit-credential-2.0.14.ebuild @@ -0,0 +1,29 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +USE_RUBY="ruby24 ruby25 ruby26" + +RUBY_FAKEGEM_RECIPE_DOC="rdoc" + +inherit ruby-fakegem + +RUBY_FAKEGEM_EXTRAINSTALL="app config db spec" + +DESCRIPTION="Code for modeling and managing credentials in Metasploit" +HOMEPAGE="https://github.com/rapid7/metasploit-credential" + +LICENSE="BSD" +SLOT="${PV}" +KEYWORDS="~amd64 ~arm ~x86" +IUSE="" +RESTRICT=test + +ruby_add_rdepend "dev-ruby/metasploit-concern:2.0 + <=dev-ruby/metasploit_data_models-3.0.0:* + >=dev-ruby/metasploit-model-1.0.0 + dev-ruby/rubyzip:1 + dev-ruby/rubyntlm + >=dev-ruby/railties-4.2.6:4.2 + dev-ruby/pg:*" diff --git a/dev-ruby/metasploit-model/Manifest b/dev-ruby/metasploit-model/Manifest new file mode 100644 index 000000000..733c984f3 --- /dev/null +++ b/dev-ruby/metasploit-model/Manifest @@ -0,0 +1 @@ +DIST metasploit-model-2.0.4.gem 81408 BLAKE2B 5a4be9e61649710470618d4334279054cbefc1027a1d4674b6be0c6a4c632219fd2dc3ac5f9f56dc9018712e5cbcbe191d5749ed2ed10cf98f884a06e41ec736 SHA512 70f6d948227bc99f877c3b5631a964087c0ebfdb091f128c72bc5da276bf57a5055aea5cdda4dc66e1fb177606afec9b7b3ee4076211f43928a2defb93294ac5 diff --git a/dev-ruby/metasploit-model/metadata.xml b/dev-ruby/metasploit-model/metadata.xml new file mode 100644 index 000000000..3534a5dd3 --- /dev/null +++ b/dev-ruby/metasploit-model/metadata.xml @@ -0,0 +1,14 @@ + + + + + zerochaos@gentoo.org + Rick Farina + + +Common code, such as validators and mixins, that are shared between ActiveModels in metasploit-framework and ActiveRecords in metasploit_data_models + + + rapid7/metasploit-model + + diff --git a/dev-ruby/metasploit-model/metasploit-model-2.0.4.ebuild b/dev-ruby/metasploit-model/metasploit-model-2.0.4.ebuild new file mode 100644 index 000000000..b17ed885e --- /dev/null +++ b/dev-ruby/metasploit-model/metasploit-model-2.0.4.ebuild @@ -0,0 +1,73 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +USE_RUBY="ruby24 ruby25 ruby26" + +inherit ruby-fakegem + +RUBY_FAKEGEM_EXTRAINSTALL="app config script spec" + +DESCRIPTION="Common code, such as validators and mixins" +HOMEPAGE="https://github.com/rapid7/metasploit-model" +SRC_URI="https://rubygems.org/gems/${P}.gem" + +LICENSE="BSD" +SLOT="$(ver_cut 1-2)" +KEYWORDS="~amd64 ~arm ~x86" +#IUSE="development test" +RESTRICT=test +IUSE="" + +RDEPEND="${RDEPEND} !dev-ruby/metasploit-model:0" + +ruby_add_rdepend ">=dev-ruby/railties-4.2.6:4.2 + >=dev-ruby/activesupport-4.2.6:4.2 + >=dev-ruby/activemodel-4.2.6:4.2" +# development? ( dev-ruby/bundler +# dev-ruby/rake +# dev-ruby/i18n +# dev-ruby/multi_json +# dev-ruby/builder +# dev-ruby/erubis +# dev-ruby/journey +# dev-ruby/rack +# dev-ruby/rack-cache +# dev-ruby/rack-test +# dev-ruby/hike +# dev-ruby/tilt +# dev-ruby/sprockets:* +# dev-ruby/actionpack:4.0 +# dev-ruby/json +# dev-ruby/rack-ssl:* +# dev-ruby/rdoc +# dev-ruby/thor +# dev-ruby/redcarpet +# + + + + zerochaos@gentoo.org + Rick Farina + + + rapid7/metasploit-payloads + metasploit-payloads + + diff --git a/dev-ruby/metasploit-payloads/metasploit-payloads-1.3.53.ebuild b/dev-ruby/metasploit-payloads/metasploit-payloads-1.3.53.ebuild new file mode 100644 index 000000000..4c7913c8b --- /dev/null +++ b/dev-ruby/metasploit-payloads/metasploit-payloads-1.3.53.ebuild @@ -0,0 +1,44 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +USE_RUBY="ruby24 ruby25 ruby26" + +RUBY_FAKEGEM_TASK_DOC="" + +RUBY_FAKEGEM_EXTRAINSTALL="data" + +inherit ruby-fakegem + +DESCRIPTION="Compiled binaries for Metasploit's Meterpreter" +HOMEPAGE="https://rubygems.org/gems/metasploit-payloads" + +LICENSE="BSD" + +SLOT="${PV}" +KEYWORDS="~amd64 ~arm ~x86" +IUSE="" + +#no tests +RESTRICT="test strip" + +QA_PREBUILT=" + usr/lib*/ruby/gems/*/gems/${PN}-${SLOT}/data/meterpreter/msflinker_linux_x86.bin + usr/lib*/ruby/gems/*/gems/${PN}-${SLOT}/data/meterpreter/ext_server_sniffer.lso + usr/lib*/ruby/gems/*/gems/${PN}-${SLOT}/data/meterpreter/ext_server_networkpug.lso + usr/lib*/ruby/gems/*/gems/${PN}-${SLOT}/data/meterpreter/ext_server_stdapi.lso + usr/lib*/ruby/gems/*/gems/${PN}-${SLOT}/data/android/libs/armeabi/libndkstager.so + usr/lib*/ruby/gems/*/gems/${PN}-${SLOT}/data/android/libs/mips/libndkstager.so + usr/lib*/ruby/gems/*/gems/${PN}-${SLOT}/data/android/libs/x86/libndkstager.so + " + +src_install() { + ruby-ng_src_install + #tell revdep-rebuild to ignore binaries meant for the target + dodir /etc/revdep-rebuild + cat <<-EOF > "${ED}"/etc/revdep-rebuild/99-${PN}-${SLOT} || die + #These dirs contain prebuilt binaries for running on the TARGET not the HOST + SEARCH_DIRS_MASK="/usr/lib*/ruby/gems/*/gems/${PN}-${SLOT}/data/android/libs" + EOF +} diff --git a/dev-ruby/metasploit_data_models/Manifest b/dev-ruby/metasploit_data_models/Manifest new file mode 100644 index 000000000..d78bf8f08 --- /dev/null +++ b/dev-ruby/metasploit_data_models/Manifest @@ -0,0 +1 @@ +DIST metasploit_data_models-2.0.16.gem 182272 BLAKE2B 918c57e62552e2b3288ca24e8ff7abeb30b0b6221906890c7b2e15c674356de6861a10500735d5a912b0deefb6b378b64111bd18770c65b10dcdbc911e6439d6 SHA512 bf2c2c162d23750eceeb315b9a5ba9e8b80bf4ace9e32f8c1e97c35939338d026d640675b3e5eaf61c6897007db07e186d4d5be944dc3bca16c138f1f6ae6ada diff --git a/dev-ruby/metasploit_data_models/metadata.xml b/dev-ruby/metasploit_data_models/metadata.xml new file mode 100644 index 000000000..50c640c05 --- /dev/null +++ b/dev-ruby/metasploit_data_models/metadata.xml @@ -0,0 +1,11 @@ + + + + + zerochaos@gentoo.org + Rick Farina + + + rapid7/metasploit_data_models + + diff --git a/dev-ruby/metasploit_data_models/metasploit_data_models-2.0.16.ebuild b/dev-ruby/metasploit_data_models/metasploit_data_models-2.0.16.ebuild new file mode 100644 index 000000000..7bd8c2bd8 --- /dev/null +++ b/dev-ruby/metasploit_data_models/metasploit_data_models-2.0.16.ebuild @@ -0,0 +1,65 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +USE_RUBY="ruby24 ruby25 ruby26" + +inherit ruby-fakegem + +RUBY_FAKEGEM_EXTRAINSTALL="app config db script spec" +RUBY_FAKEGEM_GEMSPEC="${PN}".gemspec +DESCRIPTION="The database layer for Metasploit" +HOMEPAGE="https://github.com/rapid7/metasploit_data_models" +SRC_URI="https://rubygems.org/gems/${P}.gem" + +LICENSE="BSD" +SLOT="${PV}" +KEYWORDS="~amd64 ~arm ~x86" +RESTRICT=test +#IUSE="development test" +IUSE="" + +RDEPEND="${RDEPEND} !dev-ruby/metasploit_data_models:0" + +ruby_add_rdepend " + >=dev-ruby/activerecord-4.2.6:4.2[postgres] + >=dev-ruby/activesupport-4.2.6:4.2 + dev-ruby/pg:* + dev-ruby/postgres_ext + >=dev-ruby/railties-4.2.6:4.2 + >=dev-ruby/recog-2.0.0:* + dev-ruby/arel-helpers + >=dev-ruby/metasploit-concern-2.0.0 + >=dev-ruby/metasploit-model-2.0.0 + + + + + zerochaos@gentoo.org + Rick Farina + + + rapid7/mettle + metasploit_payloads-mettle + + diff --git a/dev-ruby/metasploit_payloads-mettle/metasploit_payloads-mettle-0.4.2.ebuild b/dev-ruby/metasploit_payloads-mettle/metasploit_payloads-mettle-0.4.2.ebuild new file mode 100644 index 000000000..5110b9142 --- /dev/null +++ b/dev-ruby/metasploit_payloads-mettle/metasploit_payloads-mettle-0.4.2.ebuild @@ -0,0 +1,65 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +USE_RUBY="ruby24 ruby25 ruby26" + +RUBY_FAKEGEM_TASK_DOC="" + +RUBY_FAKEGEM_EXTRAINSTALL="build" + +inherit ruby-fakegem + +DESCRIPTION="Compiled binaries for Metasploit's next-gen Meterpreter" +HOMEPAGE="https://rubygems.org/gems/metasploit_payloads-mettle" + +LICENSE="BSD" + +SLOT="${PV}" +KEYWORDS="~amd64 ~arm ~x86" +IUSE="" + +#no tests +RESTRICT="test strip" + +QA_PREBUILT=" + usr/lib*/ruby/gems/*/gems/${P}/build/aarch64-linux-musl/bin/mettle + usr/lib*/ruby/gems/*/gems/${P}/build/aarch64-linux-musl/bin/mettle.bin + usr/lib*/ruby/gems/*/gems/${P}/build/armv5b-linux-musleabi/bin/mettle + usr/lib*/ruby/gems/*/gems/${P}/build/armv5b-linux-musleabi/bin/mettle.bin + usr/lib*/ruby/gems/*/gems/${P}/build/armv5l-linux-musleabi/bin/mettle + usr/lib*/ruby/gems/*/gems/${P}/build/armv5l-linux-musleabi/bin/mettle.bin + usr/lib*/ruby/gems/*/gems/${P}/build/i486-linux-musl/bin/mettle + usr/lib*/ruby/gems/*/gems/${P}/build/i486-linux-musl/bin/mettle.bin + usr/lib*/ruby/gems/*/gems/${P}/build/mips64-linux-muslsf/bin/mettle + usr/lib*/ruby/gems/*/gems/${P}/build/mips64-linux-muslsf/bin/mettle.bin + usr/lib*/ruby/gems/*/gems/${P}/build/mips64-linux-muslsf/bin/sniffer + usr/lib*/ruby/gems/*/gems/${P}/build/mips64-linux-muslsf/bin/sniffer.bin + usr/lib*/ruby/gems/*/gems/${P}/build/mipsel-linux-muslsf/bin/mettle + usr/lib*/ruby/gems/*/gems/${P}/build/mipsel-linux-muslsf/bin/mettle.bin + usr/lib*/ruby/gems/*/gems/${P}/build/mipsel-linux-muslsf/bin/sniffer + usr/lib*/ruby/gems/*/gems/${P}/build/mipsel-linux-muslsf/bin/sniffer.bin + usr/lib*/ruby/gems/*/gems/${P}/build/mips-linux-muslsf/bin/mettle + usr/lib*/ruby/gems/*/gems/${P}/build/mips-linux-muslsf/bin/mettle.bin + usr/lib*/ruby/gems/*/gems/${P}/build/mips-linux-muslsf/bin/sniffer + usr/lib*/ruby/gems/*/gems/${P}/build/mips-linux-muslsf/bin/sniffer.bin + usr/lib*/ruby/gems/*/gems/${P}/build/powerpc64le-linux-musl/bin/mettle + usr/lib*/ruby/gems/*/gems/${P}/build/powerpc64le-linux-musl/bin/mettle.bin + usr/lib*/ruby/gems/*/gems/${P}/build/powerpc-linux-muslsf/bin/mettle + usr/lib*/ruby/gems/*/gems/${P}/build/powerpc-linux-muslsf/bin/mettle.bin + usr/lib*/ruby/gems/*/gems/${P}/build/s390x-linux-musl/bin/mettle + usr/lib*/ruby/gems/*/gems/${P}/build/s390x-linux-musl/bin/mettle.bin + usr/lib*/ruby/gems/*/gems/${P}/build/x86_64-linux-musl/bin/mettle + usr/lib*/ruby/gems/*/gems/${P}/build/x86_64-linux-musl/bin/mettle.bin + " + +src_install() { + ruby-ng_src_install + #tell revdep-rebuild to ignore binaries meant for the target + dodir /etc/revdep-rebuild + cat <<-EOF > "${ED}"/etc/revdep-rebuild/99-${PN}-${SLOT} || die + #These dirs contain prebuilt binaries for running on the TARGET not the HOST + SEARCH_DIRS_MASK="/usr/lib*/ruby/gems/*/gems/${P}/build" + EOF +} diff --git a/dev-ruby/postgres_ext/Manifest b/dev-ruby/postgres_ext/Manifest new file mode 100644 index 000000000..03c18a592 --- /dev/null +++ b/dev-ruby/postgres_ext/Manifest @@ -0,0 +1 @@ +DIST postgres_ext-3.0.1.gem 24064 BLAKE2B 013a5b146474006f5bf15c5336b84b279a2d92afa632faa8e2c237f02bd4d899fb7ce7f7bda401df7b686ee7e952248db1278aeced9067a15343d13f5a5f832d SHA512 da1f47e90e12229f675955491d21eea56a349213db963e7a6e29886c1f5b8773a1988ca224be4abf5163e66e4189d98e9adf85d61e201488e5c13b36bc6f7b4f diff --git a/dev-ruby/postgres_ext/metadata.xml b/dev-ruby/postgres_ext/metadata.xml new file mode 100644 index 000000000..3d9ac2a2f --- /dev/null +++ b/dev-ruby/postgres_ext/metadata.xml @@ -0,0 +1,11 @@ + + + + + zerochaos@gentoo.org + Rick Farina + + + dockyard/postgres_ext + + diff --git a/dev-ruby/postgres_ext/postgres_ext-3.0.1.ebuild b/dev-ruby/postgres_ext/postgres_ext-3.0.1.ebuild new file mode 100644 index 000000000..aeb2d64ca --- /dev/null +++ b/dev-ruby/postgres_ext/postgres_ext-3.0.1.ebuild @@ -0,0 +1,54 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +USE_RUBY="ruby24 ruby25 ruby26" + +RUBY_FAKEGEM_RECIPE_DOC="rdoc" + +inherit ruby-fakegem + +DESCRIPTION="Native PostgreSQL data types and querying extensions for ActiveRecord and Arel" +HOMEPAGE="https://github.com/dockyard/postgres_ext" + +LICENSE="BSD" +SLOT="$(ver_cut 1)" +KEYWORDS="~amd64 ~arm ~x86" +IUSE="" + +# Requires live database connection +RESTRICT=test + +ruby_add_rdepend " + dev-ruby/activerecord:4.2 + >=dev-ruby/arel-4.0.1:* + dev-ruby/pg_array_parser:0.0.9" + +ruby_add_bdepend "dev-ruby/bundler" + +all_ruby_prepare() { + [ -f Gemfile.lock ] && rm Gemfile.lock + #if ! use development; then + sed -i -e "/^group :development do/,/^end$/d" Gemfile || die + sed -i -e "/s.add_development_dependency/d" "${PN}".gemspec || die + sed -i -e "/gem.add_development_dependency/d" "${PN}".gemspec || die + #fi + #if ! use test; then + sed -i -e "/^group :test do/,/^end$/d" Gemfile || die + #fi + #if ! use test && ! use development; then + sed -i -e "/^group :development, :test do/,/^end$/d" Gemfile || die + #fi + #https://github.com/dockyard/postgres_ext/issues/166 + #ugh, thanks + sed -i -e "/byebug/d" Gemfile || die + sed -i -e "/fivemat/d" Gemfile || die +} + +each_ruby_prepare() { + if [ -f Gemfile ]; then + BUNDLE_GEMFILE=Gemfile ${RUBY} -S bundle install --local || die + BUNDLE_GEMFILE=Gemfile ${RUBY} -S bundle check || die + fi +} diff --git a/dev-ruby/rack-test/rack-test-0.6.3.ebuild b/dev-ruby/rack-test/rack-test-0.6.3.ebuild index 3f4aa3a39..7adb975a4 100644 --- a/dev-ruby/rack-test/rack-test-0.6.3.ebuild +++ b/dev-ruby/rack-test/rack-test-0.6.3.ebuild @@ -1,8 +1,9 @@ -# Copyright 1999-2018 Gentoo Foundation +# Copyright 1999-2020 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=5 -USE_RUBY="ruby21 ruby22 ruby23 ruby24 ruby25" +EAPI=7 + +USE_RUBY="ruby24 ruby25 ruby26" # no documentation is generable, it needs hanna, which is broken RUBY_FAKEGEM_TASK_DOC="" @@ -11,13 +12,13 @@ RUBY_FAKEGEM_RECIPE_TEST="rspec" RUBY_FAKEGEM_EXTRADOC="History.txt README.rdoc" -inherit versionator ruby-fakegem +inherit ruby-fakegem DESCRIPTION="Rack::Test is a small, simple testing API for Rack apps" HOMEPAGE="https://github.com/brynary/rack-test" LICENSE="MIT" -SLOT="$(get_version_component_range 1-2)" +SLOT="$(ver_cut 1-2)" KEYWORDS="amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" IUSE="" diff --git a/dev-ruby/rails-deprecated_sanitizer/rails-deprecated_sanitizer-1.0.3-r2.ebuild b/dev-ruby/rails-deprecated_sanitizer/rails-deprecated_sanitizer-1.0.3-r2.ebuild index c0da9ac74..52efdbf58 100644 --- a/dev-ruby/rails-deprecated_sanitizer/rails-deprecated_sanitizer-1.0.3-r2.ebuild +++ b/dev-ruby/rails-deprecated_sanitizer/rails-deprecated_sanitizer-1.0.3-r2.ebuild @@ -1,8 +1,9 @@ -# Copyright 1999-2018 Gentoo Foundation +# Copyright 1999-2020 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=5 -USE_RUBY="ruby21 ruby22 ruby23 ruby24 ruby25" +EAPI=7 + +USE_RUBY="ruby24 ruby25 ruby26" RUBY_FAKEGEM_RECIPE_DOC="rdoc" RUBY_FAKEGEM_EXTRADOC="README.md" diff --git a/dev-ruby/rails-dom-testing/rails-dom-testing-1.0.8-r1.ebuild b/dev-ruby/rails-dom-testing/rails-dom-testing-1.0.8-r1.ebuild index 4ac2e4515..0dc6013f6 100644 --- a/dev-ruby/rails-dom-testing/rails-dom-testing-1.0.8-r1.ebuild +++ b/dev-ruby/rails-dom-testing/rails-dom-testing-1.0.8-r1.ebuild @@ -1,8 +1,9 @@ -# Copyright 1999-2018 Gentoo Foundation +# Copyright 1999-2020 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=5 -USE_RUBY="ruby21 ruby22 ruby23 ruby24 ruby25" +EAPI=7 + +USE_RUBY="ruby24 ruby25 ruby26" RUBY_FAKEGEM_RECIPE_DOC="rdoc" RUBY_FAKEGEM_EXTRADOC="README.md" diff --git a/dev-ruby/rails/rails-4.2.11.1.ebuild b/dev-ruby/rails/rails-4.2.11.1.ebuild index 3d2ef63c6..6fbdfb664 100644 --- a/dev-ruby/rails/rails-4.2.11.1.ebuild +++ b/dev-ruby/rails/rails-4.2.11.1.ebuild @@ -1,8 +1,9 @@ -# Copyright 1999-2019 Gentoo Authors +# Copyright 1999-2020 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=6 -USE_RUBY="ruby23 ruby24 ruby25" +EAPI=7 + +USE_RUBY="ruby24 ruby25 ruby26" RUBY_FAKEGEM_BINWRAP="" @@ -12,13 +13,13 @@ RUBY_FAKEGEM_TASK_TEST="" RUBY_FAKEGEM_EXTRADOC="README.md guides/CHANGELOG.md" -inherit ruby-fakegem versionator +inherit ruby-fakegem DESCRIPTION="ruby on rails is a web-application and persistance framework" HOMEPAGE="http://www.rubyonrails.org" LICENSE="MIT" -SLOT="$(get_version_component_range 1-2)" +SLOT="$(ver_cut 1-2)" KEYWORDS="~amd64 ~arm ~x86 ~amd64-linux" IUSE="+asset-pipeline" diff --git a/dev-ruby/railties/railties-4.2.11.1.ebuild b/dev-ruby/railties/railties-4.2.11.1.ebuild index 8eace7949..c21983411 100644 --- a/dev-ruby/railties/railties-4.2.11.1.ebuild +++ b/dev-ruby/railties/railties-4.2.11.1.ebuild @@ -1,8 +1,9 @@ -# Copyright 1999-2019 Gentoo Authors +# Copyright 1999-2020 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=6 -USE_RUBY="ruby23 ruby24 ruby25" +EAPI=7 + +USE_RUBY="ruby24 ruby25 ruby26" RUBY_FAKEGEM_TASK_TEST="test:regular" RUBY_FAKEGEM_TASK_DOC="" @@ -12,14 +13,14 @@ RUBY_FAKEGEM_GEMSPEC="railties.gemspec" RUBY_FAKEGEM_BINWRAP="" -inherit ruby-fakegem versionator +inherit ruby-fakegem DESCRIPTION="Tools for creating, working with, and running Rails applications" HOMEPAGE="https://github.com/rails/rails" SRC_URI="https://github.com/rails/rails/archive/v${PV}.tar.gz -> rails-${PV}.tgz" LICENSE="MIT" -SLOT="$(get_version_component_range 1-2)" +SLOT="$(ver_cut 1-2)" KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc64 ~x86 ~amd64-linux" IUSE="" diff --git a/net-analyzer/metasploit/metasploit-4.17.21-r7.ebuild b/net-analyzer/metasploit/metasploit-4.17.21-r7.ebuild index 922906541..9365add53 100644 --- a/net-analyzer/metasploit/metasploit-4.17.21-r7.ebuild +++ b/net-analyzer/metasploit/metasploit-4.17.21-r7.ebuild @@ -42,7 +42,7 @@ RUBY_COMMON_DEPEND="virtual/ruby-ssl dev-ruby/bcrypt-ruby dev-ruby/bcrypt_pbkdf dev-ruby/bit-struct - dev-ruby/bundler + dev-ruby/bundler:* dev-ruby/dnsruby dev-ruby/faker:0 dev-ruby/faraday @@ -92,7 +92,7 @@ RUBY_COMMON_DEPEND="virtual/ruby-ssl dev-ruby/ruby-macho dev-ruby/rubyntlm dev-ruby/ruby_smb:* - dev-ruby/rubyzip + dev-ruby/rubyzip:* dev-ruby/sqlite3 dev-ruby/sshkey dev-ruby/tzinfo:*