From owner-freebsd-ruby@FreeBSD.ORG Fri Jan 14 06:40:07 2011 Return-Path: Delivered-To: ruby@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8AFAA1065674 for ; Fri, 14 Jan 2011 06:40:07 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 593608FC12 for ; Fri, 14 Jan 2011 06:40:07 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id p0E6e7YT021605 for ; Fri, 14 Jan 2011 06:40:07 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id p0E6e7mv021604; Fri, 14 Jan 2011 06:40:07 GMT (envelope-from gnats) Date: Fri, 14 Jan 2011 06:40:07 GMT Message-Id: <201101140640.p0E6e7mv021604@freefall.freebsd.org> To: ruby@FreeBSD.org From: Jason Helfman Cc: Subject: Re: ports/153965: [new port] security/rubygem-bcrypt-ruby : Sophisticated and secure hash algorithm for passwords X-BeenThere: freebsd-ruby@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Jason Helfman List-Id: FreeBSD-specific Ruby discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 14 Jan 2011 06:40:07 -0000 The following reply was made to PR ports/153965; it has been noted by GNATS. From: Jason Helfman To: Alexander Logvinov Cc: stas@freebsd.org, bug-followup@freebsd.org Subject: Re: ports/153965: [new port] security/rubygem-bcrypt-ruby : Sophisticated and secure hash algorithm for passwords Date: Thu, 13 Jan 2011 22:36:24 -0800 --MGYHOYXEY6WxJCY8 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Disposition: inline On Fri, Jan 14, 2011 at 02:35:47PM +0800, Alexander Logvinov thus spake: >On 14.01.2011 14:00 Jason Helfman wrote: >>> On 14.01.2011 13:00 Jason Helfman wrote: >>>> In addition to this, I changed the name of the port directory, as >>>> suggested >>>> earlier. >>> You should change the PORTNAME line too. You can take a look on >>> net/rubygem-openid. >> Changing PORTNAME will break the port. > See DISTNAME and GEM_NAME in the net/rubygem-openid/Makefile file. >Personally I prefer rubygem-bryct-ruby, but it's stas@ choice. :( I just figured it out, as you mentioned. I saw it in sqlite3. At first, I was doing that. I didn't change GEM_NAME, though, and it broke. I see now how having both of them make it work. Thanks! After this are you taking it ;) -jgh -- Jason Helfman System Administrator experts-exchange.com http://www.experts-exchange.com/M_4830110.html E4AD 7CF1 1396 27F6 79DD 4342 5E92 AD66 8C8C FBA5 --MGYHOYXEY6WxJCY8 Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename="rubygem-bcrypt.shar.txt" # This is a shell archive. Save it in a file, remove anything before # this line, and then unpack it by entering "sh file". Note, it may # create directories; files and directories will be owned by you and # have default permissions. # # This archive contains: # # rubygem-bcrypt # rubygem-bcrypt/Makefile # rubygem-bcrypt/distinfo # rubygem-bcrypt/pkg-descr # echo c - rubygem-bcrypt mkdir -p rubygem-bcrypt > /dev/null 2>&1 echo x - rubygem-bcrypt/Makefile sed 's/^X//' >rubygem-bcrypt/Makefile << 'eef9991bce03a26789c50ad6323ef65a' X# Ports collection makefile for: rubygem-bcrypt X# Date created: 13 January 2011 X# Whom: Jason Helfman X# X# $FreeBSD$ X XPORTNAME= bcrypt XPORTVERSION= 2.1.4 XCATEGORIES= security rubygems XMASTER_SITES= RG XDISTNAME= ${PORTNAME}-ruby-${PORTVERSION} X XMAINTAINER= jhelfman@experts-exchange.com XCOMMENT= Sophisticated and secure hash algorithm for passwords X XUSE_RUBY= yes XUSE_RUBYGEMS= yes XRUBYGEM_AUTOPLIST= yes X XGEM_NAME= ${DISTNAME} X X.include eef9991bce03a26789c50ad6323ef65a echo x - rubygem-bcrypt/distinfo sed 's/^X//' >rubygem-bcrypt/distinfo << '148c9774356475d7aab89185cacb9f97' XSHA256 (rubygem/bcrypt-ruby-2.1.4.gem) = 6198fa6c0c1a2c2fc437e03f956866fa82e2178f4d4006ce5a77823e4643d853 XSIZE (rubygem/bcrypt-ruby-2.1.4.gem) = 39424 148c9774356475d7aab89185cacb9f97 echo x - rubygem-bcrypt/pkg-descr sed 's/^X//' >rubygem-bcrypt/pkg-descr << '1fd73b97a57cc84b0336b8de7a7f9b0a' Xbcrypt() is a sophisticated and secure hash algorithm designed by The OpenBSD Xproject for hashing passwords. bcrypt-ruby provides a simple, humane wrapper Xfor safely handling passwords. X XWWW: http://rubygems.org/gems/bcrypt-ruby 1fd73b97a57cc84b0336b8de7a7f9b0a exit --MGYHOYXEY6WxJCY8--