r38287 - in /trunk/libjifty-plugin-oauth-perl/debian: changelog compat control copyright patches/ patches/manpage-has-bad-whatis-entry.patch patches/series rules

yvesago-guest at users.alioth.debian.org yvesago-guest at users.alioth.debian.org
Fri Jun 19 09:22:56 UTC 2009


Author: yvesago-guest
Date: Fri Jun 19 09:22:50 2009
New Revision: 38287

URL: http://svn.debian.org/wsvn/pkg-perl/?sc=1&rev=38287
Log:
* refresh rules, compat, control for dh7
* rules: clean temp files
* add patch for manpage-has-bad-whatis-entry
* control: update descriptio, add quil dep
* clean changelog

Added:
    trunk/libjifty-plugin-oauth-perl/debian/patches/
    trunk/libjifty-plugin-oauth-perl/debian/patches/manpage-has-bad-whatis-entry.patch
    trunk/libjifty-plugin-oauth-perl/debian/patches/series
Modified:
    trunk/libjifty-plugin-oauth-perl/debian/changelog
    trunk/libjifty-plugin-oauth-perl/debian/compat
    trunk/libjifty-plugin-oauth-perl/debian/control
    trunk/libjifty-plugin-oauth-perl/debian/copyright
    trunk/libjifty-plugin-oauth-perl/debian/rules

Modified: trunk/libjifty-plugin-oauth-perl/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libjifty-plugin-oauth-perl/debian/changelog?rev=38287&op=diff
==============================================================================
--- trunk/libjifty-plugin-oauth-perl/debian/changelog (original)
+++ trunk/libjifty-plugin-oauth-perl/debian/changelog Fri Jun 19 09:22:50 2009
@@ -1,12 +1,5 @@
 libjifty-plugin-oauth-perl (0.03-1) UNRELEASED; urgency=low
-
-  [ AGOSTINI Yves ]
-  TODO: 
-  - test fails with REST, need more investigation
 
   * Initial Release. (Closes: #491052)
 
-  [ Nathan Handler ]
-  * debian/watch: Update to ignore development releases.
-
- -- AGOSTINI Yves <agostini at univ-metz.fr>  Mon, 18 Aug 2008 10:44:41 +0200
+ -- AGOSTINI Yves <agostini at univ-metz.fr>  Fri, 19 Jun 2009 10:55:33 +0200

Modified: trunk/libjifty-plugin-oauth-perl/debian/compat
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libjifty-plugin-oauth-perl/debian/compat?rev=38287&op=diff
==============================================================================
--- trunk/libjifty-plugin-oauth-perl/debian/compat (original)
+++ trunk/libjifty-plugin-oauth-perl/debian/compat Fri Jun 19 09:22:50 2009
@@ -1,1 +1,1 @@
-5
+7

Modified: trunk/libjifty-plugin-oauth-perl/debian/control
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libjifty-plugin-oauth-perl/debian/control?rev=38287&op=diff
==============================================================================
--- trunk/libjifty-plugin-oauth-perl/debian/control (original)
+++ trunk/libjifty-plugin-oauth-perl/debian/control Fri Jun 19 09:22:50 2009
@@ -1,19 +1,23 @@
 Source: libjifty-plugin-oauth-perl
 Section: perl
 Priority: optional
-Build-Depends: debhelper (>= 5)
-Build-Depends-Indep: perl (>= 5.6.10-12), libjifty-perl, libnet-oauth-perl,
- libjifty-plugin-halo-perl
+Build-Depends: debhelper (>= 7), quilt
+Build-Depends-Indep: libjifty-perl, libjifty-plugin-halo-perl, libnet-oauth-perl,
+ perl (>= 5.6.10-12)
 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
+Standards-Version: 3.8.1
 Homepage: http://search.cpan.org/dist/Jifty-Plugin-OAuth/
 Vcs-Svn: svn://svn.debian.org/pkg-perl/trunk/libjifty-plugin-oauth-perl/
 Vcs-Browser: http://svn.debian.org/viewsvn/pkg-perl/trunk/libjifty-plugin-oauth-perl/
 
 Package: libjifty-plugin-oauth-perl
 Architecture: all
-Depends: ${perl:Depends}, ${misc:Depends}, libjifty-perl, libnet-oauth-perl
-Description: secure API authentication
+Depends: ${misc:Depends}, ${perl:Depends}, libjifty-perl, libnet-oauth-perl
+Description: secure API authentication for Jifty
  Jifty::Plugin::OAuth provides a OAuth web services API for your Jifty app.
  Other applications may have secure and limited access to your users' data.
+ This plugin adds an /oauth set of URLs to your application. It also adds
+ is_oauthed and oauth_token to Jifty::CurrentUser, so you may have additional
+ restrictions on OAuth access (such as forbidding OAuthed users to change 
+ users' passwords).

Modified: trunk/libjifty-plugin-oauth-perl/debian/copyright
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libjifty-plugin-oauth-perl/debian/copyright?rev=38287&op=diff
==============================================================================
--- trunk/libjifty-plugin-oauth-perl/debian/copyright (original)
+++ trunk/libjifty-plugin-oauth-perl/debian/copyright Fri Jun 19 09:22:50 2009
@@ -1,14 +1,34 @@
-This is the debian package for the Jifty-Plugin-OAuth module.
-It was created by AGOSTINI Yves <agostini at univ-metz.fr> using dh-make-perl.
+Format-Specification:
+    http://wiki.debian.org/Proposals/CopyrightFormat?action=recall&rev=196
+Upstream-Maintainer: Shawn M Moore <sartak at bestpractical.com>
+Upstream-Source: http://search.cpan.org/dist/Jifty-Plugin-OAuth/
+Upstream-Name: Jifty-Plugin-OAuth
 
-It was downloaded from http://search.cpan.org/dist/Jifty-Plugin-OAuth/
+Files: *
+Copyright: 2007-2008 Best Practical Solutions, LLC.
+License: GPL-1+ | Artistic
+ Jifty::Plugin::OAuth is distributed under the same terms as Perl itself.
 
-This copyright info was automatically extracted from the perl module.
-It may not be accurate, so you better check the module sources
-if you don't want to get into legal troubles.
+Files: inc/*
+Copyright: Copyright 2002 - 2008 by Brian Ingerson, Audrey Tang and Adam Kennedy.
+License: GPL-1+ | Artistic
+ This program is free software; you can redistribute it and/or modify it under
+ the same terms as Perl itself.
 
-The upstream author is: Shawn M Moore C<< <sartak at bestpractical.com> >>.
+Files: debian/*
+Copyright: 2008, 2009, AGOSTINI Yves <agostini at univ-metz.fr>
+License: Artistic | GPL-1+
 
+License: Artistic
+    This program is free software; you can redistribute it and/or modify
+    it under the terms of the Artistic License, which comes with Perl.
+    On Debian GNU/Linux systems, the complete text of the Artistic License
+    can be found in `/usr/share/common-licenses/Artistic'
 
-The Debian packaging is (C) 2008, AGOSTINI Yves <agostini at univ-metz.fr> and
-is licensed under the same terms as the software itself (see above).
+License: GPL-1+
+    This program is free software; you can redistribute it and/or modify
+    it under the terms of the GNU General Public License as published by
+    the Free Software Foundation; either version 1, or (at your option)
+    any later version.
+    On Debian GNU/Linux systems, the complete text of the GNU General
+    Public License can be found in `/usr/share/common-licenses/GPL'

Added: trunk/libjifty-plugin-oauth-perl/debian/patches/manpage-has-bad-whatis-entry.patch
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libjifty-plugin-oauth-perl/debian/patches/manpage-has-bad-whatis-entry.patch?rev=38287&op=file
==============================================================================
--- trunk/libjifty-plugin-oauth-perl/debian/patches/manpage-has-bad-whatis-entry.patch (added)
+++ trunk/libjifty-plugin-oauth-perl/debian/patches/manpage-has-bad-whatis-entry.patch Fri Jun 19 09:22:50 2009
@@ -1,0 +1,87 @@
+Author: yvesago-guest (Yves Agostini)
+Description: fix some manpage-has-bad-whatis-entry
+Upstream:
+--- a/lib/Jifty/Plugin/OAuth/Action/AuthorizeRequestToken.pm
++++ b/lib/Jifty/Plugin/OAuth/Action/AuthorizeRequestToken.pm
+@@ -5,7 +5,7 @@
+ 
+ =head1 NAME
+ 
+-Jifty::Plugin::OAuth::Action::AuthorizeRequestToken
++Jifty::Plugin::OAuth::Action::AuthorizeRequestToken - autorize request token action
+ 
+ =cut
+ 
+--- a/lib/Jifty/Plugin/OAuth/Dispatcher.pm
++++ b/lib/Jifty/Plugin/OAuth/Dispatcher.pm
+@@ -9,6 +9,12 @@
+ use Net::OAuth::ProtectedResourceRequest;
+ use URI::Escape 'uri_unescape';
+ 
++=head1 NAME
++
++Jifty::Plugin::OAuth::Dispatcher - Plugin dispatcher
++
++=cut
++
+ on     POST '/oauth/request_token' => \&request_token;
+ before GET  '/oauth/authorize'     => \&authorize;
+ on     POST '/oauth/authorize'     => \&authorize_post;
+--- a/lib/Jifty/Plugin/OAuth/Model/AccessToken.pm
++++ b/lib/Jifty/Plugin/OAuth/Model/AccessToken.pm
+@@ -3,6 +3,12 @@
+ use strict;
+ use warnings;
+ 
++=head1 NAME
++
++Jifty::Plugin::OAuth::Model::AccessToken - Acess token model
++
++=cut
++
+ use base qw( Jifty::Plugin::OAuth::Token Jifty::Record );
+ 
+ use constant is_private => 1;
+--- a/lib/Jifty/Plugin/OAuth/Model/Consumer.pm
++++ b/lib/Jifty/Plugin/OAuth/Model/Consumer.pm
+@@ -3,6 +3,12 @@
+ use strict;
+ use warnings;
+ 
++=head1 NAME
++
++Jifty::Plugin::OAuth::Model::Consumer - Consumer model
++
++=cut
++
+ use base qw( Jifty::Record );
+ 
+ use constant is_private => 1;
+--- a/lib/Jifty/Plugin/OAuth/Model/RequestToken.pm
++++ b/lib/Jifty/Plugin/OAuth/Model/RequestToken.pm
+@@ -3,6 +3,12 @@
+ use strict;
+ use warnings;
+ 
++=head1 NAME
++
++Jifty::Plugin::OAuth::Model::RequestToken - Request token model
++
++=cut
++
+ use base qw( Jifty::Plugin::OAuth::Token Jifty::Record );
+ 
+ use constant is_private => 1;
+--- a/lib/Jifty/Plugin/OAuth/Token.pm
++++ b/lib/Jifty/Plugin/OAuth/Token.pm
+@@ -4,6 +4,10 @@
+ use warnings;
+ use Scalar::Util 'blessed';
+ 
++=head1 NAME
++
++Jifty::Plugin::OAuth::Token - OAuth helper methods
++
+ =head1 DESCRIPTION
+ 
+ This just provides some helper methods for both token classes to use

Added: trunk/libjifty-plugin-oauth-perl/debian/patches/series
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libjifty-plugin-oauth-perl/debian/patches/series?rev=38287&op=file
==============================================================================
--- trunk/libjifty-plugin-oauth-perl/debian/patches/series (added)
+++ trunk/libjifty-plugin-oauth-perl/debian/patches/series Fri Jun 19 09:22:50 2009
@@ -1,0 +1,1 @@
+manpage-has-bad-whatis-entry.patch

Modified: trunk/libjifty-plugin-oauth-perl/debian/rules
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libjifty-plugin-oauth-perl/debian/rules?rev=38287&op=diff
==============================================================================
--- trunk/libjifty-plugin-oauth-perl/debian/rules (original)
+++ trunk/libjifty-plugin-oauth-perl/debian/rules Fri Jun 19 09:22:50 2009
@@ -1,63 +1,8 @@
 #!/usr/bin/make -f
-# This debian/rules file is provided as a template for normal perl
-# packages. It was created by Marc Brockschmidt <marc at dch-faq.de> for
-# the Debian Perl Group (http://pkg-perl.alioth.debian.org/) but may
-# be used freely wherever it is useful.
 
-# Uncomment this to turn on verbose mode.
-#export DH_VERBOSE=1
+%:
+	dh --with quilt $@
 
-# If set to a true value then MakeMaker's prompt function will
-# always return the default without waiting for user input.
-export PERL_MM_USE_DEFAULT=1
-
-PERL   ?= /usr/bin/perl
-PACKAGE = $(shell dh_listpackages)
-TMP     = $(CURDIR)/debian/$(PACKAGE)
-
-build: build-stamp
-build-stamp:
-	dh_testdir
-	$(PERL) Makefile.PL --skipdeps INSTALLDIRS=vendor
-	$(MAKE)
-	$(MAKE) test
-	touch $@
-
-clean:
-	dh_testdir
-	dh_testroot
-	dh_clean build-stamp install-stamp
-	$(RM) -rf t/mason*
-	$(RM) -rf t/t/mailbox_tt*
-	$(RM) -rf t/testapp_plugin_oauth*
-	[ ! -f Makefile ] || $(MAKE) realclean
-
-install: install-stamp
-install-stamp: build-stamp
-	dh_testdir
-	dh_testroot
-	dh_clean -k
-	$(MAKE) install DESTDIR=$(TMP) PREFIX=/usr
-	[ ! -d $(TMP)/usr/lib/perl5 ] || \
-		rmdir --ignore-fail-on-non-empty --parents --verbose \
-		$(TMP)/usr/lib/perl5
-	touch $@
-
-binary-arch:
-# We have nothing to do here for an architecture-independent package
-
-binary-indep: build install
-	dh_testdir
-	dh_testroot
-	dh_installdocs 
-	dh_installchangelogs Changes
-	dh_perl
-	dh_compress
-	dh_fixperms
-	dh_installdeb
-	dh_gencontrol
-	dh_md5sums
-	dh_builddeb
-
-binary: binary-indep binary-arch
-.PHONY: build clean binary-indep binary-arch binary install
+override_dh_clean:
+	rm -rf t/mason*
+	dh_clean




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