From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 880A713873B for ; Thu, 6 Mar 2014 08:00:50 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 15917E09F9; Thu, 6 Mar 2014 08:00:50 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 8F9BDE09F9 for ; Thu, 6 Mar 2014 08:00:49 +0000 (UTC) Received: from spoonbill.gentoo.org (spoonbill.gentoo.org [81.93.255.5]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 9BD7133F6C7 for ; Thu, 6 Mar 2014 08:00:48 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by spoonbill.gentoo.org (Postfix) with ESMTP id B8CB518875 for ; Thu, 6 Mar 2014 08:00:46 +0000 (UTC) From: "Hans de Graaff" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Hans de Graaff" Message-ID: <1394092841.3ce9def25966c6ed09dfa85d1b95378d4117b3e0.graaff@gentoo> Subject: [gentoo-commits] proj/ruby-overlay:master commit in: dev-ruby/bcrypt-ruby/files/, dev-ruby/bcrypt-ruby/ X-VCS-Repository: proj/ruby-overlay X-VCS-Files: dev-ruby/bcrypt-ruby/ChangeLog dev-ruby/bcrypt-ruby/bcrypt-ruby-3.1.7.ebuild dev-ruby/bcrypt-ruby/files/bcrypt-ruby-3.0.1-undefined-symbols.patch dev-ruby/bcrypt-ruby/metadata.xml X-VCS-Directories: dev-ruby/bcrypt-ruby/files/ dev-ruby/bcrypt-ruby/ X-VCS-Committer: graaff X-VCS-Committer-Name: Hans de Graaff X-VCS-Revision: 3ce9def25966c6ed09dfa85d1b95378d4117b3e0 X-VCS-Branch: master Date: Thu, 6 Mar 2014 08:00:46 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: bc88127f-df41-4703-900a-978f257a8c31 X-Archives-Hash: 67e486758f7d1c00d392cf1753edb8c6 commit: 3ce9def25966c6ed09dfa85d1b95378d4117b3e0 Author: Hans de Graaff degraaff org> AuthorDate: Thu Mar 6 08:00:41 2014 +0000 Commit: Hans de Graaff gentoo 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 +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 +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 +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 +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 +bcrypt-ruby-3.1.2.ebuild: - Version bump. - -*bcrypt-ruby-3.1.1 (18 Jul 2013) - - 18 Jul 2013; Manuel Rüger +bcrypt-ruby-3.1.1.ebuild: - Version bump - - 14 May 2013; Hans de Graaff 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 bcrypt-ruby-3.0.1.ebuild: - adding ~arm keywords to net-analyzer/metasploit rdeps - - 30 Jul 2012; Hans de Graaff bcrypt-ruby-3.0.1.ebuild: - Use RSpec recipe. Avoid implicit dependency on git. - - 01 May 2012; Raúl Porcel bcrypt-ruby-3.0.1.ebuild: - Drop ia64/sparc keywords - - 11 Mar 2012; Brent Baude bcrypt-ruby-3.0.1.ebuild: - Marking bcrypt-ruby-3.0.1 ~ppc64 for bug 385763 - - 08 Mar 2012; Naohiro Aota bcrypt-ruby-3.0.1.ebuild: - Add ~x86-fbsd. - - 06 Feb 2012; Brent Baude bcrypt-ruby-3.0.1.ebuild: - Marking bcrypt-ruby-3.0.1 ~ppc for bug 385763 - - 31 Dec 2011; Fabian Groffen bcrypt-ruby-3.0.1.ebuild: - Add Prefix keywords, bug #396547 - - 27 Dec 2011; Hans de Graaff bcrypt-ruby-3.0.1.ebuild: - Add ruby19. - - 03 Dec 2011; Raúl Porcel bcrypt-ruby-3.0.1.ebuild: - Add ~ia64/~sparc wrt #385763 - - 13 Nov 2011; Markus Meier bcrypt-ruby-3.0.1.ebuild: - add ~x86, bug #385763 - - 10 Oct 2011; Fabian Groffen 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 +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 - < "${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 -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 @@ - - - -ruby -