pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/security/ruby-password Import ruby-password.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/830a28b4f9ed
branches:  trunk
changeset: 510666:830a28b4f9ed
user:      minskim <minskim%pkgsrc.org@localhost>
date:      Sat Apr 01 21:47:22 2006 +0000

description:
Import ruby-password.

Ruby/Password is a suite of password handling methods for Ruby.  It
supports the manual entry of passwords from the keyboard in both
buffered and unbuffered modes, password strength checking, random
password generation, phonemic password generation (for easy
memorization by human-beings) and the encryption of passwords.

diffstat:

 security/ruby-password/DESCR            |   5 +++++
 security/ruby-password/Makefile         |  24 ++++++++++++++++++++++++
 security/ruby-password/PLIST            |   3 +++
 security/ruby-password/distinfo         |   7 +++++++
 security/ruby-password/patches/patch-aa |  13 +++++++++++++
 security/ruby-password/patches/patch-ab |  13 +++++++++++++
 6 files changed, 65 insertions(+), 0 deletions(-)

diffs (89 lines):

diff -r 03e77c26df75 -r 830a28b4f9ed security/ruby-password/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/security/ruby-password/DESCR      Sat Apr 01 21:47:22 2006 +0000
@@ -0,0 +1,5 @@
+Ruby/Password is a suite of password handling methods for Ruby.  It
+supports the manual entry of passwords from the keyboard in both
+buffered and unbuffered modes, password strength checking, random
+password generation, phonemic password generation (for easy
+memorization by human-beings) and the encryption of passwords.
diff -r 03e77c26df75 -r 830a28b4f9ed security/ruby-password/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/security/ruby-password/Makefile   Sat Apr 01 21:47:22 2006 +0000
@@ -0,0 +1,24 @@
+# $NetBSD: Makefile,v 1.1.1.1 2006/04/01 21:47:22 minskim Exp $
+
+DISTNAME=      ruby-password-0.5.3
+PKGNAME=       ${DISTNAME:S/ruby/${RUBY_PKGPREFIX}/}
+CATEGORIES=    security
+MASTER_SITES=  http://www.caliban.org/files/ruby/
+
+MAINTAINER=    minskim%NetBSD.org@localhost
+HOMEPAGE=      http://www.caliban.org/ruby/ruby-password.shtml
+COMMENT=       Suite of password handling methods for Ruby
+
+DEPENDS+=      ${RUBY_PKGPREFIX}-termios-[0-9]*:../../comms/ruby-termios
+
+USE_RUBY_EXTCONF=      yes
+
+SUBST_CLASSES+=                pwdict
+SUBST_MESSAGE.pwdict=  Fixing a hardcoded path to pw_dict.pwd.
+SUBST_STAGE.pwdict=    pre-configure
+SUBST_FILES.pwdict=    extconf.rb
+SUBST_SED.pwdict=      -e 's,/usr/local/lib/,${BUILDLINK_PREFIX.libcrack}/libdata/,g'
+
+.include "../../lang/ruby/modules.mk"
+.include "../../security/libcrack/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r 03e77c26df75 -r 830a28b4f9ed security/ruby-password/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/security/ruby-password/PLIST      Sat Apr 01 21:47:22 2006 +0000
@@ -0,0 +1,3 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2006/04/01 21:47:22 minskim Exp $
+${RUBY_SITELIBDIR}/password.rb
+${RUBY_SITEARCHLIBDIR}/crack.bundle
diff -r 03e77c26df75 -r 830a28b4f9ed security/ruby-password/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/security/ruby-password/distinfo   Sat Apr 01 21:47:22 2006 +0000
@@ -0,0 +1,7 @@
+$NetBSD: distinfo,v 1.1.1.1 2006/04/01 21:47:22 minskim Exp $
+
+SHA1 (ruby-password-0.5.3.tar.gz) = a8c006dac804534cec94b9d2585b10b7e105fb3f
+RMD160 (ruby-password-0.5.3.tar.gz) = 2977379b739c54373d70966d72e14e25aaf51c5f
+Size (ruby-password-0.5.3.tar.gz) = 23088 bytes
+SHA1 (patch-aa) = 05c6e46a99771bf1c42db529b1e8daf4dc7d4f97
+SHA1 (patch-ab) = 8e01e8e2950b941d75fa2b3621aec3fc115d143c
diff -r 03e77c26df75 -r 830a28b4f9ed security/ruby-password/patches/patch-aa
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/security/ruby-password/patches/patch-aa   Sat Apr 01 21:47:22 2006 +0000
@@ -0,0 +1,13 @@
+$NetBSD: patch-aa,v 1.1.1.1 2006/04/01 21:47:22 minskim Exp $
+
+--- extconf.rb.orig    2006-03-02 09:35:06.000000000 -0800
++++ extconf.rb
+@@ -41,7 +41,7 @@ hfile = File.new("rbcrack.h", 'w')
+ hfile.printf("#define CRACK_DICT \"%s\"\n", crack_dict)
+ hfile.close
+ 
+-have_header('crack.h') && have_library('crack', 'FascistCheck') or exit 1
++have_header('cracklib/crack.h') && have_library('crack', 'FascistCheck') or exit 1
+ 
+ create_makefile('crack')
+ 
diff -r 03e77c26df75 -r 830a28b4f9ed security/ruby-password/patches/patch-ab
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/security/ruby-password/patches/patch-ab   Sat Apr 01 21:47:22 2006 +0000
@@ -0,0 +1,13 @@
+$NetBSD: patch-ab,v 1.1.1.1 2006/04/01 21:47:22 minskim Exp $
+
+--- rbcrack.c.orig     2006-03-02 11:41:44.000000000 -0800
++++ rbcrack.c
+@@ -28,7 +28,7 @@
+ #include <string.h>
+ #include <unistd.h>
+ #include <errno.h>
+-#include <crack.h>
++#include <cracklib/crack.h>
+ 
+ #include "rbcrack.h"
+ 



Home | Main Index | Thread Index | Old Index