[DRE-commits] r3552 - in packages-wip/libpassword-ruby/trunk: . debian debian/patches

Ryan Niebur ryan52-guest at alioth.debian.org
Sun May 10 21:40:57 UTC 2009


Author: ryan52-guest
Date: 2009-05-10 21:40:57 +0000 (Sun, 10 May 2009)
New Revision: 3552

Added:
   packages-wip/libpassword-ruby/trunk/debian/README.source
   packages-wip/libpassword-ruby/trunk/debian/libpassword-ruby.docs
   packages-wip/libpassword-ruby/trunk/debian/libpassword-ruby.examples
   packages-wip/libpassword-ruby/trunk/debian/libpassword-ruby.rdoc
   packages-wip/libpassword-ruby/trunk/debian/patches/
   packages-wip/libpassword-ruby/trunk/debian/patches/improvements-from-richard
   packages-wip/libpassword-ruby/trunk/debian/patches/series
   packages-wip/libpassword-ruby/trunk/debian/watch
Removed:
   packages-wip/libpassword-ruby/trunk/debian/breakpoint_client.1
   packages-wip/libpassword-ruby/trunk/lib/
   packages-wip/libpassword-ruby/trunk/rbcrack.h
Modified:
   packages-wip/libpassword-ruby/trunk/debian/changelog
   packages-wip/libpassword-ruby/trunk/debian/control
   packages-wip/libpassword-ruby/trunk/debian/rules
Log:
* Initial Release. (Closes: #490146)
* Add myself and the team to Uploaders
* fix changelog to close ITP and only have one entry
* add debian/watch
* run "make extra-clean" in debian/rules
* convert Richard's direct changes to a quilt patch
  - add README.source
* add examples
* remove ./debian/breakpoint_client.1, which seems irrelevant..
* add ruby1.8-dev to build deps
* add Homepage
* install README as a doc
* install rdoc documentation
  - build dep on graphviz

Added: packages-wip/libpassword-ruby/trunk/debian/README.source
===================================================================
--- packages-wip/libpassword-ruby/trunk/debian/README.source	                        (rev 0)
+++ packages-wip/libpassword-ruby/trunk/debian/README.source	2009-05-10 21:40:57 UTC (rev 3552)
@@ -0,0 +1,5 @@
+This package uses quilt to manage all modifications to the upstream
+source.  Changes are stored in the source package as diffs in
+debian/patches and applied during the build.
+
+See /usr/share/doc/quilt/README.source for a detailed explanation.

Deleted: packages-wip/libpassword-ruby/trunk/debian/breakpoint_client.1
===================================================================
--- packages-wip/libpassword-ruby/trunk/debian/breakpoint_client.1	2009-05-10 20:23:45 UTC (rev 3551)
+++ packages-wip/libpassword-ruby/trunk/debian/breakpoint_client.1	2009-05-10 21:40:57 UTC (rev 3552)
@@ -1,53 +0,0 @@
-.TH "BREAKPOINT_CLIENT" 1 "October 2005" "Debian GNU/Linux" "User Commands"
-.SH NAME
-breakpoint_client - a tool to connect to a Ruby/Breakpoint service
-.SH SYNOPSIS
-.B breakpoint_client
-[\fIoptions\fR]
-[\fIserver uri\fR]
-.SH DESCRIPTION
-This tool lets you connect to a Ruby/Breakpoint service which was started
-via Breakpoint.activate_drb.
-
-The server uri defaults to druby://localhost:42531
-.SH OPTIONS
-.TP
-.B \-c, \-\-client\-uri=uri
-Run the client on the specified \fIuri\fR.  This can be used to specify the
-port that the client uses to allow for back connections from the server
-(default:  find a good URI automatically).
-Example: \-c druby://localhost:12345
-.TP
-.B \-s, \-\-server\-uri=uri
-Connect to the server specified at the specified \fIuri\fR
-(default: druby://localhost:42531).
-.TP
-.B \-R, \-\-retry\-delay=delay
-Automatically try to reconnect to the server after delay seconds when the
-connection failed or timed out.  A value of 0 disables automatical
-reconnecting completely (default:  10).
-.TP
-.B \-P, \-\-[no\-]permanent
-Run the breakpoint client in permanent mode.  This means that the client
-will keep continue running even after the server has closed the connection. 
-Useful for example in Rails (default: non\-permanent).
-.TP
-.B \-V, \-\-[no\-]verbose
-Run the breakpoint client in verbose mode.  Will produce more messages, for
-example between individual breakpoints.  This might help in seeing that the
-breakpoint client is still alive, but adds quite a bit of clutter. 
-(default: non\-verbose).
-.TP
-.B \-h, \-\-help
-Show this help message.
-.TP
-.B \-v, \-\-version
-Display the version information.
-.SH SEE ALSO
-The Ruby/Breakpoint website on http://ruby-breakpoint.rubyforge.org/ 
-(has FAQ!).
-.SH AUTHOR
-Ruby/Breakpoint was written by Florian Gross <flgr at ccan.de>
-.PP
-This manual page was written by Paul van Tilburg <paulvt at debian.org>
-for the Debian project (but may be used by others).

Modified: packages-wip/libpassword-ruby/trunk/debian/changelog
===================================================================
--- packages-wip/libpassword-ruby/trunk/debian/changelog	2009-05-10 20:23:45 UTC (rev 3551)
+++ packages-wip/libpassword-ruby/trunk/debian/changelog	2009-05-10 21:40:57 UTC (rev 3552)
@@ -1,12 +1,21 @@
-libpassword-ruby (0.5.3-2) unstable; urgency=low
+libpassword-ruby (0.5.3-1) unstable; urgency=low
 
-  * Added dependencies on cracklib2-dev, cracklib2-dev, 
-    wamerican | wordlist, libtermios-ruby1.8
+  [ Micah Anderson ]
+  * Initial Release. (Closes: #490146)
 
+  [ Ryan Niebur ]
+  * Add myself and the team to Uploaders
+  * fix changelog to close ITP and only have one entry
+  * add debian/watch
+  * run "make extra-clean" in debian/rules
+  * convert Richard's direct changes to a quilt patch
+    - add README.source
+  * add examples
+  * remove ./debian/breakpoint_client.1, which seems irrelevant..
+  * add ruby1.8-dev to build deps
+  * add Homepage
+  * install README as a doc
+  * install rdoc documentation
+    - build dep on graphviz
+
  -- Micah Anderson <micah at debian.org>  Fri, 01 May 2009 21:34:16 +0000
-
-libpassword-ruby (0.5.3-1) unstable; urgency=low
-
-  * Initial Release.
-
- -- Micah Anderson <micah at debian.org>  Tue, 12 Aug 2008 00:50:59 -0400

Modified: packages-wip/libpassword-ruby/trunk/debian/control
===================================================================
--- packages-wip/libpassword-ruby/trunk/debian/control	2009-05-10 20:23:45 UTC (rev 3551)
+++ packages-wip/libpassword-ruby/trunk/debian/control	2009-05-10 21:40:57 UTC (rev 3552)
@@ -2,8 +2,10 @@
 Section: ruby
 Priority: optional
 Maintainer: Micah Anderson <micah at debian.org>
-Build-Depends: cdbs, debhelper (>= 5), ruby-pkg-tools (>= 0.8), ruby1.8, cracklib-runtime, cracklib2-dev, wamerican | wordlist
+Uploaders: Debian Ruby Extras Maintainers <pkg-ruby-extras-maintainers at lists.alioth.debian.org>, Ryan Niebur <ryanryan52 at gmail.com>
+Build-Depends: cdbs, debhelper (>= 5), ruby-pkg-tools (>= 0.8), ruby1.8, cracklib-runtime, cracklib2-dev, wamerican | wordlist, quilt, ruby1.8-dev, graphviz
 Standards-Version: 3.8.1
+Homepage: http://www.caliban.org/ruby/ruby-password.shtml
 
 Package: libpassword-ruby
 Architecture: any

Added: packages-wip/libpassword-ruby/trunk/debian/libpassword-ruby.docs
===================================================================
--- packages-wip/libpassword-ruby/trunk/debian/libpassword-ruby.docs	                        (rev 0)
+++ packages-wip/libpassword-ruby/trunk/debian/libpassword-ruby.docs	2009-05-10 21:40:57 UTC (rev 3552)
@@ -0,0 +1 @@
+README

Added: packages-wip/libpassword-ruby/trunk/debian/libpassword-ruby.examples
===================================================================
--- packages-wip/libpassword-ruby/trunk/debian/libpassword-ruby.examples	                        (rev 0)
+++ packages-wip/libpassword-ruby/trunk/debian/libpassword-ruby.examples	2009-05-10 21:40:57 UTC (rev 3552)
@@ -0,0 +1,2 @@
+example/*
+


Property changes on: packages-wip/libpassword-ruby/trunk/debian/libpassword-ruby.examples
___________________________________________________________________
Added: svn:mergeinfo
   + 

Added: packages-wip/libpassword-ruby/trunk/debian/libpassword-ruby.rdoc
===================================================================
--- packages-wip/libpassword-ruby/trunk/debian/libpassword-ruby.rdoc	                        (rev 0)
+++ packages-wip/libpassword-ruby/trunk/debian/libpassword-ruby.rdoc	2009-05-10 21:40:57 UTC (rev 3552)
@@ -0,0 +1,3 @@
+lib/
+rbcrack.c
+

Added: packages-wip/libpassword-ruby/trunk/debian/patches/improvements-from-richard
===================================================================
--- packages-wip/libpassword-ruby/trunk/debian/patches/improvements-from-richard	                        (rev 0)
+++ packages-wip/libpassword-ruby/trunk/debian/patches/improvements-from-richard	2009-05-10 21:40:57 UTC (rev 3552)
@@ -0,0 +1,80 @@
+http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=490146#10
+
+--- a/lib/password.rb
++++ b/lib/password.rb
+@@ -19,11 +19,6 @@
+ #   along with this program; if not, write to the Free Software Foundation,
+ #   Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ 
+-
+-require 'crack'
+-require 'termios'
+-
+-
+ # Ruby/Password is a collection of password handling routines for Ruby,
+ # including an interface to CrackLib for the purposes of testing password
+ # strength.
+@@ -164,6 +159,8 @@
+   # normal operations.
+   #
+   def Password.echo(on=true, masked=false)
++    require 'termios'
++
+     term = Termios::getattr( $stdin )
+ 
+     if on
+@@ -183,6 +180,8 @@
+   # connected to a tty, no prompt will be displayed.
+   #
+   def Password.get(message="Password: ")
++    require 'termios'
++
+     begin
+       if $stdin.tty?
+ 	Password.echo false
+@@ -206,6 +205,8 @@
+   # _mask_ to the terminal. There is no need to hit <b>[Enter]</b> at the end.
+   #
+   def Password.getc(message="Password: ", mask='*')
++    require 'termios'
++
+     # Save current buffering mode
+     buffering = $stdout.sync
+ 
+@@ -401,6 +402,20 @@
+   #
+   def crypt(type=DES, salt='')
+ 
++    # Compatibility with String's crypt method.
++    # Really, salt should be the first argument here.
++    if (type.kind_of?(String) && salt == '')
++      salt = type
++      type = (type =~ /^\$1\$/ ? MD5 : DES)
++    end
++
++    # Compatibility with String's crypt method.
++    # Really, salt should be the first argument here.
++    if (type.kind_of?(String) && salt == '')
++      salt = type
++      type = (salt =~ /^\$1\$/ ? MD5 : DES)
++    end
++
+     unless ( salt.split( // ) - SALT_CHARS.split( // ) ).empty?
+       raise CryptError, 'bad salt'
+     end
+@@ -422,8 +437,14 @@
+     crypt
+   end
+ 
+-end
++  # :stopdoc:
+ 
++  def check(dict=nil)
++    # Load the crack module (which injects a check method into this class,
++    # overriding this one) and try again.
++    self.send("check") if require 'crack'
++  end
++end
+ 
+ # Display a phonemic password, if run directly.
+ #

Added: packages-wip/libpassword-ruby/trunk/debian/patches/series
===================================================================
--- packages-wip/libpassword-ruby/trunk/debian/patches/series	                        (rev 0)
+++ packages-wip/libpassword-ruby/trunk/debian/patches/series	2009-05-10 21:40:57 UTC (rev 3552)
@@ -0,0 +1 @@
+improvements-from-richard

Modified: packages-wip/libpassword-ruby/trunk/debian/rules
===================================================================
--- packages-wip/libpassword-ruby/trunk/debian/rules	2009-05-10 20:23:45 UTC (rev 3551)
+++ packages-wip/libpassword-ruby/trunk/debian/rules	2009-05-10 21:40:57 UTC (rev 3552)
@@ -2,6 +2,14 @@
 #
 # CDBS file to build the Ruby Password package.
 
+include /usr/share/cdbs/1/rules/patchsys-quilt.mk
 include /usr/share/cdbs/1/rules/debhelper.mk
+include /usr/share/ruby-pkg-tools/1/class/ruby-common.mk
+
+binary-install/libpassword-ruby::
+	dh_rdoc -p$(cdbs_curpkg)
+
+clean::
+	[ ! -f Makefile ] || make extra-clean
+
 include /usr/share/ruby-pkg-tools/1/class/ruby-extconf-rb.mk
-

Added: packages-wip/libpassword-ruby/trunk/debian/watch
===================================================================
--- packages-wip/libpassword-ruby/trunk/debian/watch	                        (rev 0)
+++ packages-wip/libpassword-ruby/trunk/debian/watch	2009-05-10 21:40:57 UTC (rev 3552)
@@ -0,0 +1,2 @@
+version=3
+http://www.caliban.org/ruby/ruby-password.shtml .*/ruby-password-([0-9.]+)\.tar\.gz

Deleted: packages-wip/libpassword-ruby/trunk/rbcrack.h
===================================================================
--- packages-wip/libpassword-ruby/trunk/rbcrack.h	2009-05-10 20:23:45 UTC (rev 3551)
+++ packages-wip/libpassword-ruby/trunk/rbcrack.h	2009-05-10 21:40:57 UTC (rev 3552)
@@ -1 +0,0 @@
-#define CRACK_DICT "/var/cache/cracklib/cracklib_dict"




More information about the Pkg-ruby-extras-commits mailing list