debian/0000755000000000000000000000000011560271206007166 5ustar debian/control0000644000000000000000000000430011557577207010606 0ustar Source: libcgi-application-plugin-authorization-perl Section: perl Priority: optional Build-Depends: debhelper (>= 8) Build-Depends-Indep: perl, libcgi-application-perl,libapache-htgroup-perl, libcgi-application-basic-plugin-bundle-perl, libuniversal-require-perl, libclass-isa-perl | perl-modules (<< 5.12), libtest-warn-perl, libtest-exception-perl, libnet-ldap-perl, pkg-components (>= 0.2), libtest-pod-perl, libtest-pod-coverage-perl, libdbd-sqlite3-perl Maintainer: Debian Perl Group Uploaders: Nicholas Bamber , Jaldhar H. Vyas Standards-Version: 3.9.2 Homepage: http://search.cpan.org/dist/CGI-Application-Plugin-Authorization/ Vcs-Svn: svn://svn.debian.org/pkg-perl/trunk/libcgi-application-plugin-authorization-perl/ Vcs-Browser: http://svn.debian.org/viewsvn/pkg-perl/trunk/libcgi-application-plugin-authorization-perl/ Package: libcgi-application-plugin-authorization-perl Architecture: all Depends: ${misc:Depends}, ${perl:Depends}, libcgi-application-perl, libcgi-application-basic-plugin-bundle-perl, libuniversal-require-perl, libclass-isa-perl | perl-modules (<< 5.12) Recommends: libcgi-application-plugin-authentication-perl, libnet-ldap-perl Enhances: libcgi-application-perl Replaces: libcgi-application-extra-plugin-bundle-perl (<< 0.3) Breaks: libcgi-application-extra-plugin-bundle-perl (<< 0.3) Provides: libcgi-application-plugin-authorization-driver-activedirectory-perl Description: authorization framework for CGI::Application CGI::Application::Plugin::Authorization adds the ability to authorize users for specific tasks. Once a user has been authenticated and you know who you are dealing with, you can then use this plugin to control what that user has access to. It imports two methods (authz and authorization) into your CGI::Application module. Both of these methods are interchangeable, so you should choose one and use it consistently throughout your code. Through the authz method you can call all the methods of the CGI::Application::Plugin::Authorization plugin. . This package also bundles an active directory driver: - CGI::Application::Plugin::Authorization::Driver::ActiveDirectory debian/clean0000644000000000000000000000001411500765311010165 0ustar t/sqlite.db debian/copyright0000644000000000000000000000230411500511631011111 0ustar Format-Specification: http://svn.debian.org/wsvn/dep/web/deps/dep5.mdwn?op=file&rev=135 Maintainer: Cees Hek Source: http://search.cpan.org/dist/CGI-Application-Plugin-Authorization/ Name: CGI-Application-Plugin-Authorization Files: * Copyright: 2005, Site Suite License: Artistic or GPL-1+ Files: driver-activedirectory/* Copyright: 2010, Dmitry Sukhanov License: Artistic or GPL-1+ Files: debian/* Copyright: 2010, Nicholas Bamber License: Artistic or 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 systems, the complete text of the Artistic License can be found in `/usr/share/common-licenses/Artistic'. 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 systems, the complete text of version 1 of the General Public License can be found in `/usr/share/common-licenses/GPL-1'. debian/update.sh0000755000000000000000000000140311557577207011025 0ustar #!/bin/sh set -e DESTDIR=${DESTDIR:-../tarballs} MODULE=CGI-Application-Plugin-Authorization PACKAGE=libcgi-application-plugin-authorization-perl VERSION=0.07 AD_VERS=0.01 D_AD=driver-ad FD=--force-download NS=--no-symlink RE=--rename DD="--destdir ${DESTDIR}" RS=--report-status DC=-"-watch debian/components" US=--upstream-version if [ $1 ] then echo update; rm -f ${DESTDIR}/${MODULE}*.tar.gz uscan ${FD} ${RE} ${DD} && true; uscan ${DC}/${D_AD}/watch ${FD} ${NS} ${DD} ${US} ${AD_VERS} && true; cd ${DESTDIR} AD=`ls ${MODULE}-Driver-ActiveDirectory*.tar.gz` mv ${AD} ${PACKAGE}_${VERSION}.orig-${D_AD}.tar.gz cd - else echo report; uscan ${RS} && true; uscan ${DC}/${D_AD}/watch ${RS} ${DD} ${US} ${AD_VERS} && true; fi debian/watch0000644000000000000000000000024511500511631010211 0ustar version=3 http://search.cpan.org/dist/CGI-Application-Plugin-Authorization/ .*/CGI-Application-Plugin-Authorization-v?(\d[\d.-]+)\.(?:tar(?:\.gz|\.bz2)?|tgz|zip)$ debian/patches/0000755000000000000000000000000011560271206010615 5ustar debian/patches/pod.patch0000644000000000000000000000325611500511631012417 0ustar Author: Nicholas Bamber Subject: Spelling mistakes Last-Update: 2010-08-31 Bug: http://rt.cpan.org/Ticket/Display.html?id=60917 --- CGI-Application-Plugin-Authorization-0.07.orig/lib/CGI/Application/Plugin/Authorization.pm +++ CGI-Application-Plugin-Authorization-0.07/lib/CGI/Application/Plugin/Authorization.pm @@ -854,7 +854,7 @@ =head1 TODO -The module is definately in a usable state, but there are still some parts +The module is definitely in a usable state, but there are still some parts missing that I would like to add in: =over 4 --- CGI-Application-Plugin-Authorization-0.07.orig/lib/CGI/Application/Plugin/Authorization/Driver.pm +++ CGI-Application-Plugin-Authorization-0.07/lib/CGI/Application/Plugin/Authorization/Driver.pm @@ -108,7 +108,7 @@ =head2 authz This will return the underlying L object. In most cases it will -not be necesary to access this. +not be necessary to access this. =cut --- CGI-Application-Plugin-Authorization-0.07.orig/lib/CGI/Application/Plugin/Authorization/Driver/DBI.pm +++ CGI-Application-Plugin-Authorization-0.07/lib/CGI/Application/Plugin/Authorization/Driver/DBI.pm @@ -36,7 +36,7 @@ This Authorization driver uses the DBI module to allow you to gather authorization information from any database for which there is a DBD module. You can either provide an active database handle, or provide the parameters -necesary to connect to the database. +necessary to connect to the database. =head2 DBH @@ -59,7 +59,7 @@ =back -Following is a description of all the avaliable parameters: +Following is a description of all the available parameters: =head2 TABLE(S) debian/patches/series0000644000000000000000000000001211500511631012014 0ustar pod.patch debian/compat0000644000000000000000000000000211500511631010355 0ustar 8 debian/README.source0000644000000000000000000000214011504407163011343 0ustar For most purposes this package is a standard Debian Perl Group package. The aspect in which it is special is that some related modules are bundled together with the package. So long as you have the appropriate tar balls in the correct place you can build using dpkg-buildpackage or svn-buildpackage as you would normally. If you have a fresh checkout from the svn repository and you wish to download all the tarballs to build under svn-buildpackage, then from the package root directory run: ./debian/update.sh update To check for new updates drop the "update" argument. If you are building under dpkg-buildpackage you need to tell the script about the alternative build directory so run DESTDIR=.. ./debian/update.sh update There are a couple of important caveats about the update.sh script. First of all when used in update mode it will DELETE the existing tarballs. Secondly when you do update one of the components, the update.sh script will need to be updated. These limitations arise because it is a temporary work around until pkg-components (or even uscan) provides something more substantial. debian/changelog0000644000000000000000000000110111557603124011035 0ustar libcgi-application-plugin-authorization-perl (0.07-2) unstable; urgency=low [ Nicholas Bamber ] * Renamed active directory component (Closes: #620833) * Raised standards version to 3.9.2 [ gregor herrmann ] * Switch order of alternative (build) dependencies after the perl 5.12 upload. -- Nicholas Bamber Mon, 02 May 2011 20:25:56 +0100 libcgi-application-plugin-authorization-perl (0.07-1) unstable; urgency=low * Initial Release. (Closes: #606508) -- Nicholas Bamber Tue, 21 Dec 2010 22:27:05 +0000 debian/source/0000755000000000000000000000000011560271206010466 5ustar debian/source/format0000644000000000000000000000001411500511630011664 0ustar 3.0 (quilt) debian/rules0000755000000000000000000000006011500511631010233 0ustar #!/usr/bin/make -f %: dh $@ --with components debian/components/0000755000000000000000000000000011560271206011353 5ustar debian/components/driver-ad/0000755000000000000000000000000011560271206013230 5ustar debian/components/driver-ad/watch0000644000000000000000000000032311557577076014303 0ustar version=3 http://search.cpan.org/dist/CGI-Application-Plugin-Authorization-Driver-ActiveDirectory/ .*/CGI-Application-Plugin-Authorization-Driver-ActiveDirectory-v?(\d[\d.-]+)\.(?:tar(?:\.gz|\.bz2)?|tgz|zip)$