ports/153965: [new port] security/rubygem-bcrypt-ruby :
Sophisticated and secure hash algorithm for passwords
Jason Helfman
jhelfman at e-e.com
Fri Jan 14 06:40:07 UTC 2011
The following reply was made to PR ports/153965; it has been noted by GNATS.
From: Jason Helfman <jhelfman at e-e.com>
To: Alexander Logvinov <avl at logvinov.com>
Cc: stas at freebsd.org, bug-followup at 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 <jhelfman at experts-exchange.com>
X#
X# $FreeBSD$
X
XPORTNAME= bcrypt
XPORTVERSION= 2.1.4
XCATEGORIES= security rubygems
XMASTER_SITES= RG
XDISTNAME= ${PORTNAME}-ruby-${PORTVERSION}
X
XMAINTAINER= jhelfman at 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 <bsd.port.mk>
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--
More information about the freebsd-ruby
mailing list