mirror of
https://github.com/pentoo/pentoo-overlay
synced 2026-04-29 18:21:03 +02:00
metasploit-model: 3.1.2 bump, https://github.com/rapid7/metasploit-model/issues/53
This commit is contained in:
parent
a0df25a9c8
commit
34a5dab27e
4 changed files with 53 additions and 1 deletions
|
|
@ -1 +1,2 @@
|
|||
DIST metasploit-model-3.0.0.gem 81408 BLAKE2B f70b041563636d2777e2e2c11667330a24617a6f1dd0edde3ee61f947c11fcd5a89bb0ed1e02578a676a8d4dfed5b767b9d6e3048f46b7569aed52f0359a4571 SHA512 e2d373f4639a94f3f44fd3e53f21622ed19a3f086bb97e273a05224101ba40d3eec287edb69189b32a68729b8f81d385807739933e903d842f74dd82e3015964
|
||||
DIST metasploit-model-3.1.2.gem 81920 BLAKE2B cd2bc58792bdd34636587fb29b0a2c6b5e4fc5f8bac93a838ae555fe9d1448944436b885f0e0903b6c8f450e94f1d66279e56fcb7f15ac6cb48d6705e76ead6a SHA512 9b12f6d85f74046ed7af714da469ef0e2d9b1562e5bd983d0dd617b30e0108b43cae00c9a064a52344d80bdc2f8b646dc2cb36fc3279f7b3d8eced8e11186c0e
|
||||
|
|
|
|||
51
dev-ruby/metasploit-model/metasploit-model-3.1.2.ebuild
Normal file
51
dev-ruby/metasploit-model/metasploit-model-3.1.2.ebuild
Normal file
|
|
@ -0,0 +1,51 @@
|
|||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
USE_RUBY="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 ~arm64 ~x86"
|
||||
#IUSE="development test"
|
||||
RESTRICT=test
|
||||
IUSE=""
|
||||
|
||||
RDEPEND="${RDEPEND} !dev-ruby/metasploit-model:0"
|
||||
|
||||
ruby_add_rdepend ">=dev-ruby/railties-5.2.2:5.2
|
||||
>=dev-ruby/activesupport-5.2.2:5.2
|
||||
>=dev-ruby/activemodel-5.2.2:5.2"
|
||||
ruby_add_bdepend "dev-ruby/bundler:2"
|
||||
|
||||
all_ruby_prepare() {
|
||||
[ -f Gemfile.lock ] && rm Gemfile.lock
|
||||
#For now, we don't support development or testing at all
|
||||
#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 "/spec.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
|
||||
}
|
||||
|
||||
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
|
||||
}
|
||||
|
|
@ -91,7 +91,6 @@ dev-ruby/metasploit_data_models
|
|||
dev-ruby/pg_array_parser
|
||||
dev-ruby/metasploit-concern
|
||||
dev-ruby/metasploit-credential
|
||||
dev-ruby/metasploit-model
|
||||
dev-ruby/metasploit-payloads
|
||||
dev-ruby/metasploit_data_models
|
||||
dev-ruby/meterpreter_bins
|
||||
|
|
|
|||
|
|
@ -2,3 +2,4 @@
|
|||
~dev-ruby/ruby2_keywords-0.0.2 x86
|
||||
~dev-ruby/rails-dom-testing-2.0.3 x86
|
||||
~dev-ruby/erubi-1.9.0 x86
|
||||
~dev-ruby/metasploit-model-3.2.1 x86
|
||||
|
|
|
|||
Loading…
Reference in a new issue