From: "Hans de Graaff" <graaff@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/ruby-overlay:master commit in: dev-ruby/bcrypt-ruby/files/, dev-ruby/bcrypt-ruby/
Date: Thu, 6 Mar 2014 08:00:46 +0000 (UTC) [thread overview]
Message-ID: <1394092841.3ce9def25966c6ed09dfa85d1b95378d4117b3e0.graaff@gentoo> (raw)
commit: 3ce9def25966c6ed09dfa85d1b95378d4117b3e0
Author: Hans de Graaff <hans <AT> degraaff <DOT> org>
AuthorDate: Thu Mar 6 08:00:41 2014 +0000
Commit: Hans de Graaff <graaff <AT> gentoo <DOT> org>
CommitDate: Thu Mar 6 08:00:41 2014 +0000
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/ruby-overlay.git;a=commit;h=3ce9def2
Moved to gentoo tree.
---
dev-ruby/bcrypt-ruby/ChangeLog | 83 ----------------------
dev-ruby/bcrypt-ruby/bcrypt-ruby-3.1.7.ebuild | 60 ----------------
.../bcrypt-ruby-3.0.1-undefined-symbols.patch | 42 -----------
dev-ruby/bcrypt-ruby/metadata.xml | 5 --
4 files changed, 190 deletions(-)
diff --git a/dev-ruby/bcrypt-ruby/ChangeLog b/dev-ruby/bcrypt-ruby/ChangeLog
deleted file mode 100644
index 2412081..0000000
--- a/dev-ruby/bcrypt-ruby/ChangeLog
+++ /dev/null
@@ -1,83 +0,0 @@
-# ChangeLog for dev-ruby/bcrypt-ruby
-# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-ruby/bcrypt-ruby/ChangeLog,v 1.17 2014/02/23 07:03:01 graaff Exp $
-
-*bcrypt-ruby-3.1.7 (25 Feb 2014)
-
- 25 Feb 2014; Peter Wilmott <p@p8952.info> +bcrypt-ruby-3.1.7.ebuild,
- +files/bcrypt-ruby-3.0.1-undefined-symbols.patch, +metadata.xml:
- dev-ruby/bcrypt-ruby: version bump, update homepage
-
-*bcrypt-ruby-3.1.6 (25 Feb 2014)
-*bcrypt-ruby-3.1.7 (25 Feb 2014)
-
- 25 Feb 2014; Peter Wilmott <p@p8952.info> +bcrypt-ruby-3.1.6.ebuild,
- +bcrypt-ruby-3.1.7.ebuild, +files/bcrypt-ruby-3.0.1-undefined-symbols.patch,
- +metadata.xml:
- dev-ruby/bcrypt-ruby: version bump, update homepage
-
-*bcrypt-ruby-3.1.6 (23 Feb 2014)
-
- 23 Feb 2014; Hans de Graaff <graaff@gentoo.org> +bcrypt-ruby-3.1.6.ebuild:
- Version bump. Handle renaming of the gem from bcrypt-ruby to bcrypt. Install
- compability gemspec.
-
-*bcrypt-ruby-3.1.2-r1 (05 Nov 2013)
-
- 05 Nov 2013; Manuel Rüger <mrueg@gentoo.org> +bcrypt-ruby-3.1.2-r1.ebuild,
- -bcrypt-ruby-3.0.1.ebuild, -bcrypt-ruby-3.1.1.ebuild,
- -bcrypt-ruby-3.1.2.ebuild:
- Add ruby20 target. Cleanup old.
-
-*bcrypt-ruby-3.1.2 (27 Aug 2013)
-
- 27 Aug 2013; Hans de Graaff <graaff@gentoo.org> +bcrypt-ruby-3.1.2.ebuild:
- Version bump.
-
-*bcrypt-ruby-3.1.1 (18 Jul 2013)
-
- 18 Jul 2013; Manuel Rüger <mrueg@gentoo.org> +bcrypt-ruby-3.1.1.ebuild:
- Version bump
-
- 14 May 2013; Hans de Graaff <graaff@gentoo.org> bcrypt-ruby-3.0.1.ebuild,
- +files/bcrypt-ruby-3.0.1-undefined-symbols.patch:
- Remove unused code triggering unused symbols, bug 469690.
-
- 16 Jan 2013; Rick Farina <zerochaos@gentoo.org> bcrypt-ruby-3.0.1.ebuild:
- adding ~arm keywords to net-analyzer/metasploit rdeps
-
- 30 Jul 2012; Hans de Graaff <graaff@gentoo.org> bcrypt-ruby-3.0.1.ebuild:
- Use RSpec recipe. Avoid implicit dependency on git.
-
- 01 May 2012; Raúl Porcel <armin76@gentoo.org> bcrypt-ruby-3.0.1.ebuild:
- Drop ia64/sparc keywords
-
- 11 Mar 2012; Brent Baude <ranger@gentoo.org> bcrypt-ruby-3.0.1.ebuild:
- Marking bcrypt-ruby-3.0.1 ~ppc64 for bug 385763
-
- 08 Mar 2012; Naohiro Aota <naota@gentoo.org> bcrypt-ruby-3.0.1.ebuild:
- Add ~x86-fbsd.
-
- 06 Feb 2012; Brent Baude <ranger@gentoo.org> bcrypt-ruby-3.0.1.ebuild:
- Marking bcrypt-ruby-3.0.1 ~ppc for bug 385763
-
- 31 Dec 2011; Fabian Groffen <grobian@gentoo.org> bcrypt-ruby-3.0.1.ebuild:
- Add Prefix keywords, bug #396547
-
- 27 Dec 2011; Hans de Graaff <graaff@gentoo.org> bcrypt-ruby-3.0.1.ebuild:
- Add ruby19.
-
- 03 Dec 2011; Raúl Porcel <armin76@gentoo.org> bcrypt-ruby-3.0.1.ebuild:
- Add ~ia64/~sparc wrt #385763
-
- 13 Nov 2011; Markus Meier <maekke@gentoo.org> bcrypt-ruby-3.0.1.ebuild:
- add ~x86, bug #385763
-
- 10 Oct 2011; Fabian Groffen <grobian@gentoo.org> bcrypt-ruby-3.0.1.ebuild:
- Keyworded for Prefix, bug #385763
-
-*bcrypt-ruby-3.0.1 (05 Oct 2011)
-
- 05 Oct 2011; Hans de Graaff <graaff@gentoo.org> +bcrypt-ruby-3.0.1.ebuild,
- +metadata.xml:
- Initial import from my overlay. New dependency for Rails 3.1.
diff --git a/dev-ruby/bcrypt-ruby/bcrypt-ruby-3.1.7.ebuild b/dev-ruby/bcrypt-ruby/bcrypt-ruby-3.1.7.ebuild
deleted file mode 100644
index 7968d33..0000000
--- a/dev-ruby/bcrypt-ruby/bcrypt-ruby-3.1.7.ebuild
+++ /dev/null
@@ -1,60 +0,0 @@
-# Copyright 1999-2014 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-ruby/bcrypt-ruby/bcrypt-ruby-3.1.6.ebuild,v 1.1 2014/02/23 07:03:01 graaff Exp $
-
-EAPI=5
-
-USE_RUBY="ruby18 ruby19 ruby20"
-
-RUBY_FAKEGEM_RECIPE_TEST="rspec"
-
-RUBY_FAKEGEM_TASK_DOC=""
-RUBY_FAKEGEM_EXTRADOC="CHANGELOG README.md"
-
-RUBY_FAKEGEM_NAME="bcrypt"
-
-inherit multilib ruby-fakegem
-
-DESCRIPTION="An easy way to keep your users' passwords secure."
-HOMEPAGE="https://github.com/codahale/bcrypt-ruby"
-LICENSE="MIT"
-
-KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
-SLOT="0"
-IUSE=""
-
-all_ruby_prepare() {
- rm Gemfile || die
- sed -i -e '/git ls-files/d' bcrypt.gemspec || die
-}
-
-each_ruby_configure() {
- ${RUBY} -Cext/mri extconf.rb || die
-}
-
-each_ruby_compile() {
- emake -Cext/mri V=1
- cp ext/mri/*$(get_modname) lib/ || die
-}
-
-each_ruby_install() {
- each_fakegem_install
-
- # bcrypt was called bcrypt-ruby before, so add a spec file that
- # simply loads bcrypt to make sure that old projects load correctly
- # we don't even need to create a file to load this: the `require
- # bcrypt` was already part of bcrypt-ruby requirements.
- cat - <<EOF > "${T}/bcrypt-ruby.gemspec"
-Gem::Specification.new do |s|
- s.name = "bcrypt-ruby"
- s.version = "${RUBY_FAKEGEM_VERSION}"
- s.summary = "Fake gem to load bcrypt"
- s.homepage = "${HOMEPAGE}"
- s.specification_version = 3
- s.add_runtime_dependency("${RUBY_FAKEGEM_NAME}", ["= ${RUBY_FAKEGEM_VERSION}"])
-end
-EOF
- RUBY_FAKEGEM_NAME=bcrypt-ruby \
- RUBY_FAKEGEM_GEMSPEC="${T}/bcrypt-ruby.gemspec" \
- ruby_fakegem_install_gemspec
-}
diff --git a/dev-ruby/bcrypt-ruby/files/bcrypt-ruby-3.0.1-undefined-symbols.patch b/dev-ruby/bcrypt-ruby/files/bcrypt-ruby-3.0.1-undefined-symbols.patch
deleted file mode 100644
index 37abf26..0000000
--- a/dev-ruby/bcrypt-ruby/files/bcrypt-ruby-3.0.1-undefined-symbols.patch
+++ /dev/null
@@ -1,42 +0,0 @@
-commit 94f8d0ae95ed773cb9e31a71e4046d3b97e11d70
-Author: Aman Gupta <aman@tmm1.net>
-Date: Sat Mar 30 19:52:19 2013 -0700
-
- remove last of TBR code (fixes #46)
-
-diff --git a/ext/mri/bcrypt_ext.c b/ext/mri/bcrypt_ext.c
-index cce35df..13f5e4e 100644
---- a/ext/mri/bcrypt_ext.c
-+++ b/ext/mri/bcrypt_ext.c
-@@ -4,31 +4,6 @@
- static VALUE mBCrypt;
- static VALUE cBCryptEngine;
-
--#ifdef RUBY_VM
--# define RUBY_1_9
--#endif
--
--#ifdef RUBY_1_9
--
--/* When on Ruby 1.9+, we will want to unlock the GIL while performing
-- * expensive calculations, for greater concurrency. Do not do this for
-- * cheap calculations because locking/unlocking the GIL incurs some overhead as well.
-- */
--#define GIL_UNLOCK_COST_THRESHOLD 9
--
--typedef struct {
-- char *output;
-- const char *key;
-- const char *salt;
--} BCryptArguments;
--
--static VALUE bcrypt_wrapper(void *_args) {
-- BCryptArguments *args = (BCryptArguments *)_args;
-- return (VALUE)ruby_bcrypt(args->output, args->key, args->salt);
--}
--
--#endif /* RUBY_1_9 */
--
- /* Given a logarithmic cost parameter, generates a salt for use with +bc_crypt+.
- */
- static VALUE bc_salt(VALUE self, VALUE prefix, VALUE count, VALUE input) {
diff --git a/dev-ruby/bcrypt-ruby/metadata.xml b/dev-ruby/bcrypt-ruby/metadata.xml
deleted file mode 100644
index 8521361..0000000
--- a/dev-ruby/bcrypt-ruby/metadata.xml
+++ /dev/null
@@ -1,5 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
-<herd>ruby</herd>
-</pkgmetadata>
next reply other threads:[~2014-03-06 8:00 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-03-06 8:00 Hans de Graaff [this message]
-- strict thread matches above, loose matches on Subject: below --
2014-02-25 20:11 [gentoo-commits] proj/ruby-overlay:master commit in: dev-ruby/bcrypt-ruby/files/, dev-ruby/bcrypt-ruby/ Peter Wilmott
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=1394092841.3ce9def25966c6ed09dfa85d1b95378d4117b3e0.graaff@gentoo \
--to=graaff@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