summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--dev-ruby/metasploit_data_models/ChangeLog8
-rw-r--r--dev-ruby/metasploit_data_models/metasploit_data_models-0.14.3.ebuild38
2 files changed, 45 insertions, 1 deletions
diff --git a/dev-ruby/metasploit_data_models/ChangeLog b/dev-ruby/metasploit_data_models/ChangeLog
index addedcd4549a..66a5f2739821 100644
--- a/dev-ruby/metasploit_data_models/ChangeLog
+++ b/dev-ruby/metasploit_data_models/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for dev-ruby/metasploit_data_models
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-ruby/metasploit_data_models/ChangeLog,v 1.15 2013/05/06 05:32:32 graaff Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/metasploit_data_models/ChangeLog,v 1.16 2013/05/20 02:55:13 zerochaos Exp $
+
+*metasploit_data_models-0.14.3 (20 May 2013)
+
+ 20 May 2013; Rick Farina <zerochaos@gentoo.org>
+ +metasploit_data_models-0.14.3.ebuild:
+ version bump for metasploit
*metasploit_data_models-0.6.16 (06 May 2013)
diff --git a/dev-ruby/metasploit_data_models/metasploit_data_models-0.14.3.ebuild b/dev-ruby/metasploit_data_models/metasploit_data_models-0.14.3.ebuild
new file mode 100644
index 000000000000..46eaf756d77f
--- /dev/null
+++ b/dev-ruby/metasploit_data_models/metasploit_data_models-0.14.3.ebuild
@@ -0,0 +1,38 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/metasploit_data_models/metasploit_data_models-0.14.3.ebuild,v 1.1 2013/05/20 02:55:13 zerochaos Exp $
+
+EAPI=5
+
+USE_RUBY="ruby18 ruby19"
+
+RUBY_FAKEGEM_TASK_DOC=""
+RUBY_FAKEGEM_RECIPE_TEST=""
+
+inherit ruby-fakegem
+
+DESCRIPTION="The database layer for Metasploit"
+HOMEPAGE="https://github.com/rapid7/metasploit_data_models"
+SRC_URI="https://github.com/rapid7/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~x86"
+IUSE=""
+
+#pry isn't available for 1.9
+#ruby_add_bdepend "test? ( dev-ruby/rails dev-ruby/pry )"
+
+ruby_add_rdepend ">=dev-ruby/activerecord-3.2.10[postgres]"
+
+each_ruby_install() {
+ ruby_fakegem_install_gemspec
+
+ local _gemlibdirs="${RUBY_FAKEGEM_EXTRAINSTALL}"
+ for directory in app bin db lib script spec; do
+ [[ -d ${directory} ]] && _gemlibdirs="${_gemlibdirs} ${directory}"
+ done
+
+ [[ -n ${_gemlibdirs} ]] && \
+ ruby_fakegem_doins -r ${_gemlibdirs}
+}