r44380 - in /trunk/libauthen-bitcard-perl: Changes META.yml Makefile.PL README debian/changelog debian/control debian/rules lib/Authen/Bitcard.pm

jawnsy-guest at users.alioth.debian.org jawnsy-guest at users.alioth.debian.org
Sun Sep 20 04:44:41 UTC 2009


Author: jawnsy-guest
Date: Sun Sep 20 04:44:36 2009
New Revision: 44380

URL: http://svn.debian.org/wsvn/pkg-perl/?sc=1&rev=44380
Log:
TODO: fix copyright file; verify if rules is OK
* New upstream release
* Standards-Version 3.8.3 (drop perl version dependency)
* Add myself to Uploaders

Modified:
    trunk/libauthen-bitcard-perl/Changes
    trunk/libauthen-bitcard-perl/META.yml
    trunk/libauthen-bitcard-perl/Makefile.PL
    trunk/libauthen-bitcard-perl/README
    trunk/libauthen-bitcard-perl/debian/changelog
    trunk/libauthen-bitcard-perl/debian/control
    trunk/libauthen-bitcard-perl/debian/rules
    trunk/libauthen-bitcard-perl/lib/Authen/Bitcard.pm

Modified: trunk/libauthen-bitcard-perl/Changes
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libauthen-bitcard-perl/Changes?rev=44380&op=diff
==============================================================================
--- trunk/libauthen-bitcard-perl/Changes (original)
+++ trunk/libauthen-bitcard-perl/Changes Sun Sep 20 04:44:36 2009
@@ -1,8 +1,13 @@
-0.86 - July 3rd 2006
+0.87 - September 14, 2009
+  - Add Class::ErrorHandler to the prereqs list
+  - Update documentation
+
+0.86 - July 4th 2006
   - Add the Changes file to the distribution
   - register_url method
   - bump version to 4
   - prepare to support "unconfirmed users"
+  - Use ExtUtils::MakeMaker instead of Module::Build
 
 0.85 - July 21th 2005
   - New API, works with http://www.bitcard.org/

Modified: trunk/libauthen-bitcard-perl/META.yml
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libauthen-bitcard-perl/META.yml?rev=44380&op=diff
==============================================================================
--- trunk/libauthen-bitcard-perl/META.yml (original)
+++ trunk/libauthen-bitcard-perl/META.yml Sun Sep 20 04:44:36 2009
@@ -1,17 +1,27 @@
-# http://module-build.sourceforge.net/META-spec.html
-#XXXXXXX This is a prototype!!!  It will change in the future!!! XXXXX#
-name:         Authen-Bitcard
-version:      0.86
-version_from: lib/Authen/Bitcard.pm
-installdirs:  site
+--- #YAML:1.0
+name:               Authen-Bitcard
+version:            0.87
+abstract:           Bitcard authentication verification
+author:
+    - Ask Bjoern Hansen <ask at develooper.com>
+license:            unknown
+distribution_type:  module
+configure_requires:
+    ExtUtils::MakeMaker:  0
 requires:
-    Digest::SHA1:                  0
-    HTTP::Status:                  0
-    LWP::UserAgent:                0
-    Math::BigInt:                  0
-    MIME::Base64:                  0
-    Test::More:                    0
-    URI:                           1.22
-
-distribution_type: module
-generated_by: ExtUtils::MakeMaker version 6.17
+    Class::ErrorHandler:  0
+    Digest::SHA1:         0
+    HTTP::Status:         0
+    LWP::UserAgent:       0
+    Math::BigInt:         0
+    MIME::Base64:         0
+    Test::More:           0
+    URI:                  1.22
+no_index:
+    directory:
+        - t
+        - inc
+generated_by:       ExtUtils::MakeMaker version 6.48
+meta-spec:
+    url:      http://module-build.sourceforge.net/META-spec-v1.4.html
+    version:  1.4

Modified: trunk/libauthen-bitcard-perl/Makefile.PL
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libauthen-bitcard-perl/Makefile.PL?rev=44380&op=diff
==============================================================================
--- trunk/libauthen-bitcard-perl/Makefile.PL (original)
+++ trunk/libauthen-bitcard-perl/Makefile.PL Sun Sep 20 04:44:36 2009
@@ -16,6 +16,7 @@
                   'LWP::UserAgent' => 0,
                   'HTTP::Status'   => 0,
                   'URI'            => 1.22,
+                  'Class::ErrorHandler' => 0,
     },
     dist                => { COMPRESS => 'gzip -9f', SUFFIX => 'gz', },
 );

Modified: trunk/libauthen-bitcard-perl/README
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libauthen-bitcard-perl/README?rev=44380&op=diff
==============================================================================
--- trunk/libauthen-bitcard-perl/README (original)
+++ trunk/libauthen-bitcard-perl/README Sun Sep 20 04:44:36 2009
@@ -50,11 +50,34 @@
     Returns the URL the user can edit his Bitcard account information at.
     Also needs the "r" parameter like "login_url" and "logout_url".
 
+  $bc->register_url( r => $return_url )
+    Returns the URL for a user to register a new Bitcard account. Also needs
+    the "r" parameter as above.
+
   $bc->key_url()
     Get the URL from which the Bitcard public key can be obtained.
 
   $bc->info_required(  $string | [ array ref ] )
+    With info_required you specify what user data you require. The possible
+    fields are "username", "name" and "email" (see "verify" for more
+    information).
+
+    The method takes either a comma seperated string or a reference to an
+    array.
+
+    This must be called before "login_url".
+
+    NOTE: "name" is currently not implemented well in the Bitcard server, so
+    we recommend you require "username", but mark "name" as optional if you
+    want the "display name" of the user returned.
+
   $bc->info_optional( $string | [ array ref ] )
+    As "info_required" except the Bitcard server will ask the user to allow
+    the information to be forwarded, but not require it to proceed.
+
+    The Bitcard server will always have a confirmed email address on file
+    before letting a user login.
+
   $bc->verify($query)
     Verify a Bitcard signature based on the other parameters given. The
     signature and other parameters are found in the *$query* object, which
@@ -67,6 +90,10 @@
     * id
         The unique user id of the Bitcard user on your site. It's a 128bit
         number as a 40 byte hex value.
+
+        The id is always returned when the verification was successful (all
+        other user data fields are optional, see "info_required" and
+        "info_optional").
 
     * username
         The unique username of the Bitcard user.
@@ -123,7 +150,7 @@
     modify it under the same terms as Perl itself.
 
 AUTHOR & COPYRIGHT
-    Except where otherwise noted, *Authen::Bitcard* is Copyright 2004-2005
+    Except where otherwise noted, *Authen::Bitcard* is Copyright 2004-2006
     Develooper LLC, ask at develooper.com.
 
     Parts are Copyright 2004 Six Apart Ltd, cpan at sixapart.com.

Modified: trunk/libauthen-bitcard-perl/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libauthen-bitcard-perl/debian/changelog?rev=44380&op=diff
==============================================================================
--- trunk/libauthen-bitcard-perl/debian/changelog (original)
+++ trunk/libauthen-bitcard-perl/debian/changelog Sun Sep 20 04:44:36 2009
@@ -1,4 +1,11 @@
-libauthen-bitcard-perl (0.86-2) UNRELEASED; urgency=low
+libauthen-bitcard-perl (0.87-1) UNRELEASED; urgency=low
+
+  TODO: fix copyright file; verify if rules is OK
+
+  [ Jonathan Yu ]
+  * New upstream release
+  * Standards-Version 3.8.3 (drop perl version dependency)
+  * Add myself to Uploaders
 
   [ gregor herrmann ]
   * debian/control: Changed: Switched Vcs-Browser field to ViewSVN
@@ -7,7 +14,7 @@
   [ Nathan Handler ]
   * debian/watch: Update to ignore development releases.
 
- -- gregor herrmann <gregoa at debian.org>  Sun, 16 Nov 2008 20:39:43 +0100
+ -- Jonathan Yu <jawnsy at cpan.org>  Sat, 19 Sep 2009 20:42:47 -0400
 
 libauthen-bitcard-perl (0.86-1) unstable; urgency=low
 

Modified: trunk/libauthen-bitcard-perl/debian/control
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libauthen-bitcard-perl/debian/control?rev=44380&op=diff
==============================================================================
--- trunk/libauthen-bitcard-perl/debian/control (original)
+++ trunk/libauthen-bitcard-perl/debian/control Sun Sep 20 04:44:36 2009
@@ -2,12 +2,12 @@
 Section: perl
 Priority: optional
 Build-Depends: debhelper (>= 7)
-Build-Depends-Indep: perl (>= 5.6.10-12), liburi-perl (>= 1.22), libwww-perl, 
+Build-Depends-Indep: perl, liburi-perl (>= 1.22), libwww-perl, 
  libdigest-sha1-perl, libtest-pod-coverage-perl, libclass-errorhandler-perl,
  libmath-bigint-gmp-perl, libtest-pod-perl
 Maintainer: Debian Perl Group <pkg-perl-maintainers at lists.alioth.debian.org>
-Uploaders: AGOSTINI Yves <agostini at univ-metz.fr>
-Standards-Version: 3.8.0
+Uploaders: AGOSTINI Yves <agostini at univ-metz.fr>, Jonathan Yu <jawnsy at cpan.org>
+Standards-Version: 3.8.3
 Homepage: http://search.cpan.org/dist/Authen-Bitcard/
 Vcs-Svn: svn://svn.debian.org/pkg-perl/trunk/libauthen-bitcard-perl/
 Vcs-Browser: http://svn.debian.org/viewsvn/pkg-perl/trunk/libauthen-bitcard-perl/
@@ -16,12 +16,10 @@
 Architecture: all
 Depends: ${perl:Depends}, ${misc:Depends}, liburi-perl (>= 1.22), libwww-perl,
  libdigest-sha1-perl, libclass-errorhandler-perl, libmath-bigint-gmp-perl
-Description:  Bitcard authentication verification
- Authen::Bitcard is an implementation of verification for signatures
- generated by Bitcard authentication. For information on the Bitcard
- protocol and using Bitcard in other applications, see
- http://www.bitcard.org/api.
+Description: Perl module providing authentication using the Bitcard service
+ Authen::Bitcard is an implementation of verification for signatures generated
+ by Bitcard authentication. For information on the Bitcard protocol and using
+ Bitcard in other applications, see <URL:http://www.bitcard.org/api>
  .
- The module and the protocol are heavily based on Authen::Typekey.
- (In fact, the Bitcard authentication server also supports the TypeKey
- API!)
+ The module and the protocol are heavily based on Authen::Typekey. (In fact,
+ the Bitcard authentication server also supports the TypeKey API!)

Modified: trunk/libauthen-bitcard-perl/debian/rules
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libauthen-bitcard-perl/debian/rules?rev=44380&op=diff
==============================================================================
--- trunk/libauthen-bitcard-perl/debian/rules (original)
+++ trunk/libauthen-bitcard-perl/debian/rules Sun Sep 20 04:44:36 2009
@@ -1,25 +1,4 @@
 #!/usr/bin/make -f
 
-build: build-stamp
-build-stamp:
-	dh build
-	touch $@
-
-clean:
+%:
 	dh $@
-
-install: install-stamp
-install-stamp: build-stamp
-	dh install
-	# remove a transitional package
-	$(RM) -rv $(CURDIR)/debian/libauthen-bitcard-perl/usr/share/perl5/Sau
-	touch $@
-
-binary-arch:
-
-binary-indep: install
-	dh $@
-
-binary: binary-arch binary-indep
-
-.PHONY: binary binary-arch binary-indep install clean build

Modified: trunk/libauthen-bitcard-perl/lib/Authen/Bitcard.pm
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libauthen-bitcard-perl/lib/Authen/Bitcard.pm?rev=44380&op=diff
==============================================================================
--- trunk/libauthen-bitcard-perl/lib/Authen/Bitcard.pm (original)
+++ trunk/libauthen-bitcard-perl/lib/Authen/Bitcard.pm Sun Sep 20 04:44:36 2009
@@ -10,7 +10,7 @@
 use URI;
 use URI::QueryParam;
 
-our $VERSION = '0.86';
+our $VERSION = '0.87';
 
 sub new {
     my $class = shift;
@@ -375,7 +375,7 @@
 =head1 AUTHOR & COPYRIGHT
 
 Except where otherwise noted, I<Authen::Bitcard> is Copyright
-2004-2005 Develooper LLC, ask at develooper.com.
+2004-2006 Develooper LLC, ask at develooper.com.
 
 Parts are Copyright 2004 Six Apart Ltd, cpan at sixapart.com.
 




More information about the Pkg-perl-cvs-commits mailing list