metasploit-model: remove, missing deps, unmaintained

This commit is contained in:
Rick Farina (Zero_Chaos) 2024-07-11 19:52:21 -04:00
parent 9c9c321316
commit fcddef3dd0
No known key found for this signature in database
GPG key ID: A29433C0AA431DDC
4 changed files with 0 additions and 67 deletions

View file

@ -1 +0,0 @@
DIST metasploit-model-4.0.3.gem 81920 BLAKE2B c44e4833ba2110875bd69f4bbab80f72877bb49a6aa641ae4f4d47f70a682be0e77b5c943884abfa0fbdd7855010ecc6ec1fcb25cf0f512840d42b76e855373c SHA512 db02fa2f848025df2f0ddf579200adf800eead15bcd3d3ab62e743fa4c85b1f4ff581f3286d6391c0b1d1b032a230fd2aa67ca095c93d066d50a6d27983819aa

View file

@ -1,14 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<email>zerochaos@gentoo.org</email>
<name>Rick Farina</name>
</maintainer>
<longdescription lang="en">
Common code, such as validators and mixins, that are shared between ActiveModels in metasploit-framework and ActiveRecords in metasploit_data_models
</longdescription>
<upstream>
<remote-id type="github">rapid7/metasploit-model</remote-id>
</upstream>
</pkgmetadata>

View file

@ -1,51 +0,0 @@
# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
USE_RUBY="ruby31 ruby32"
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:6.0
dev-ruby/activesupport:6.0
dev-ruby/activemodel:6.0"
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
GEM_HOME="${T}" BUNDLE_GEMFILE=Gemfile ${RUBY} -S bundle install --local || die
GEM_HOME="${T}" BUNDLE_GEMFILE=Gemfile ${RUBY} -S bundle check || die
fi
}

View file

@ -61,7 +61,6 @@ dev-ruby/windows_error
~dev-ruby/pg-0.20.0 ~dev-ruby/pg-0.20.0
~dev-ruby/regexp_parser-0.4.3 ~dev-ruby/regexp_parser-0.4.3
dev-ruby/metasploit_payloads-mettle dev-ruby/metasploit_payloads-mettle
dev-ruby/metasploit-model
dev-ruby/rex-core dev-ruby/rex-core
dev-ruby/rex-socket dev-ruby/rex-socket
dev-ruby/rex-ole dev-ruby/rex-ole