From: "Richard Farina" <zerochaos@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-ruby/metasploit_data_models/
Date: Tue, 9 May 2017 03:09:11 +0000 (UTC) [thread overview]
Message-ID: <1494299308.18ac873c422cabf85cd902c711f14be8c3e35ec8.zerochaos@gentoo> (raw)
commit: 18ac873c422cabf85cd902c711f14be8c3e35ec8
Author: Zero_Chaos <zerochaos <AT> gentoo <DOT> org>
AuthorDate: Mon May 8 21:16:48 2017 +0000
Commit: Richard Farina <zerochaos <AT> gentoo <DOT> org>
CommitDate: Tue May 9 03:08:28 2017 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=18ac873c
dev-ruby/metasploit_data_models: bumping to prepare for metasploit bump
Package-Manager: Portage-2.3.5, Repoman-2.3.2
dev-ruby/metasploit_data_models/Manifest | 1 +
.../metasploit_data_models-2.0.14.ebuild | 62 ++++++++++++++++++++++
2 files changed, 63 insertions(+)
diff --git a/dev-ruby/metasploit_data_models/Manifest b/dev-ruby/metasploit_data_models/Manifest
index dc933c0cd5c..e9d92a0e5b4 100644
--- a/dev-ruby/metasploit_data_models/Manifest
+++ b/dev-ruby/metasploit_data_models/Manifest
@@ -1 +1,2 @@
DIST metasploit_data_models-2.0.0.gem 177152 SHA256 b5f32aeb00cab511c94212b7fa1b42631278d4766ab7b05f1c4fdf8e3c3655bb SHA512 4ff18ba09fe58e5846b745152739a6602fc144ca68240901f18791f7c6ffacc0a1d621fda222c86960ca59cd3034ef2fda4fc85dead669837e3c0a7c2ddc3f1d WHIRLPOOL 407460ac990f257a80c89c56463aef91ea48070d52225fc2116500ce822d5c5eb2880bd1fb21cb65a3ea3a0a725906dbe525cce5d18527030294ace776265a91
+DIST metasploit_data_models-2.0.14.gem 182272 SHA256 2f89103f1a54a137744f47de605f63f960b369fff638da8c93af9336bee66241 SHA512 204505fd9073eaa7c9467ef8241f0cf3167f33e68eb4e5aac6101fc0b1fa68d2ec85e11ac9ce4fb80ae3db8ba6fcc0f7f2a93dacf9735c2d4d1d92fa0a41e70b WHIRLPOOL 2e25af8520a629468de0b20e01e0680c373fc4f1d1ef8b75f6c814572bf791f7a5270a282f6997bcd2bc86039d470021fa0c7f29d9cb5987e39d530c3a423d82
diff --git a/dev-ruby/metasploit_data_models/metasploit_data_models-2.0.14.ebuild b/dev-ruby/metasploit_data_models/metasploit_data_models-2.0.14.ebuild
new file mode 100644
index 00000000000..d810551b5a3
--- /dev/null
+++ b/dev-ruby/metasploit_data_models/metasploit_data_models-2.0.14.ebuild
@@ -0,0 +1,62 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+USE_RUBY="ruby23"
+
+inherit ruby-fakegem
+
+RUBY_FAKEGEM_EXTRAINSTALL="app config db script spec"
+
+DESCRIPTION="The database layer for Metasploit"
+HOMEPAGE="https://github.com/rapid7/metasploit_data_models"
+SRC_URI="mirror://rubygems/${P}.gem"
+
+LICENSE="BSD"
+SLOT="${PV}"
+KEYWORDS="~amd64 ~arm"
+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
+ <dev-ruby/thor-2.0"
+
+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
+ #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
+}
+
+all_ruby_install() {
+ ruby_fakegem_binwrapper mdm_console mdm_console-${SLOT}
+}
next reply other threads:[~2017-05-09 3:09 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-05-09 3:09 Richard Farina [this message]
-- strict thread matches above, loose matches on Subject: below --
2019-10-05 6:54 [gentoo-commits] repo/gentoo:master commit in: dev-ruby/metasploit_data_models/ Michał Górny
2019-04-09 5:53 Hans de Graaff
2018-11-21 18:21 Rick Farina
2018-11-21 18:21 Rick Farina
2017-02-10 6:56 Hans de Graaff
2016-10-30 19:51 Hans de Graaff
2016-06-13 4:37 Richard Farina
2016-01-26 19:47 Richard Farina
2015-10-24 13:20 Richard Farina
2015-10-09 1:26 Richard Farina
2015-10-09 1:26 Richard Farina
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1494299308.18ac873c422cabf85cd902c711f14be8c3e35ec8.zerochaos@gentoo \
--to=zerochaos@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox