summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2015-06-08 19:11:17 +0000
committerHans de Graaff <graaff@gentoo.org>2015-06-08 19:11:17 +0000
commitf863526fd4b3ab264a6330b1f8e9a19ef4032d58 (patch)
tree66debe39a5984efd153edeeac0aee0b31e10a1b0 /dev-ruby/bson
parentRename 'avahi' to 'zeroconf' (#477620) (diff)
downloadgentoo-2-f863526fd4b3ab264a6330b1f8e9a19ef4032d58.tar.gz
gentoo-2-f863526fd4b3ab264a6330b1f8e9a19ef4032d58.tar.bz2
gentoo-2-f863526fd4b3ab264a6330b1f8e9a19ef4032d58.zip
Version bump for security bug 551496.
(Portage version: 2.2.18/cvs/Linux x86_64, signed Manifest commit with key 0x8883FA56A308A8D7!)
Diffstat (limited to 'dev-ruby/bson')
-rw-r--r--dev-ruby/bson/ChangeLog7
-rw-r--r--dev-ruby/bson/bson-3.0.4.ebuild54
2 files changed, 60 insertions, 1 deletions
diff --git a/dev-ruby/bson/ChangeLog b/dev-ruby/bson/ChangeLog
index 9e02dac18d50..d309d820d7f1 100644
--- a/dev-ruby/bson/ChangeLog
+++ b/dev-ruby/bson/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for dev-ruby/bson
# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-ruby/bson/ChangeLog,v 1.19 2015/06/07 17:16:59 jlec Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/bson/ChangeLog,v 1.20 2015/06/08 19:11:17 graaff Exp $
+
+*bson-3.0.4 (08 Jun 2015)
+
+ 08 Jun 2015; Hans de Graaff <graaff@gentoo.org> +bson-3.0.4.ebuild:
+ Version bump for security bug 551496.
07 Jun 2015; Justin Lecher <jlec@gentoo.org> metadata.xml:
Add github to remote-id in metadata.xml
diff --git a/dev-ruby/bson/bson-3.0.4.ebuild b/dev-ruby/bson/bson-3.0.4.ebuild
new file mode 100644
index 000000000000..edae90957332
--- /dev/null
+++ b/dev-ruby/bson/bson-3.0.4.ebuild
@@ -0,0 +1,54 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/bson/bson-3.0.4.ebuild,v 1.1 2015/06/08 19:11:17 graaff Exp $
+
+EAPI=5
+USE_RUBY="ruby19 ruby20 ruby21 ruby22"
+
+RUBY_FAKEGEM_RECIPE_TEST="rspec"
+
+RUBY_FAKEGEM_RECIPE_DOC="rdoc"
+RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.md"
+
+RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec"
+
+GITHUB_USER="mongodb"
+GITHUB_PROJECT="bson-ruby"
+
+inherit multilib ruby-fakegem
+
+DESCRIPTION="A Ruby BSON implementation for MongoDB. (Includes binary C-based extension.)"
+HOMEPAGE="http://www.mongodb.org/"
+SRC_URI="https://github.com/${GITHUB_USER}/${GITHUB_PROJECT}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+RUBY_S="bson-ruby-${PV}"
+
+LICENSE="APSL-2"
+SLOT="2"
+KEYWORDS="~amd64"
+IUSE="test doc"
+
+ruby_add_bdepend \
+ "test? (
+ dev-ruby/rake
+ dev-ruby/shoulda
+ dev-ruby/mocha
+ dev-ruby/test-unit:2
+ )
+ doc? ( dev-ruby/rdoc )"
+
+all_ruby_prepare() {
+ # Remove bundler support
+ sed -i -e '/bundler/I s:^:#:' Rakefile || die
+
+ # Remove project-specific rspec options
+ rm .rspec || die
+}
+
+each_ruby_configure() {
+ ${RUBY} -C ext/bson extconf.rb || die "extconf.rb failed"
+}
+
+each_ruby_compile() {
+ emake -C ext/bson V=1 CFLAGS="${CFLAGS} -fPIC" archflag="${LDFLAGS}"
+ cp ext/bson/*$(get_modname) lib/ || die
+}