r66091 - in /trunk/libcgi-application-plugin-authorization-perl/debian: README.source changelog components/driver-activedirectory/watch update.sh

periapt-guest at users.alioth.debian.org periapt-guest at users.alioth.debian.org
Tue Dec 21 21:59:21 UTC 2010


Author: periapt-guest
Date: Tue Dec 21 21:59:15 2010
New Revision: 66091

URL: http://svn.debian.org/wsvn/pkg-perl/?sc=1&rev=66091
Log:
temporary work around uscan components

Added:
    trunk/libcgi-application-plugin-authorization-perl/debian/README.source
    trunk/libcgi-application-plugin-authorization-perl/debian/components/driver-activedirectory/watch
    trunk/libcgi-application-plugin-authorization-perl/debian/update.sh   (with props)
Modified:
    trunk/libcgi-application-plugin-authorization-perl/debian/changelog

Added: trunk/libcgi-application-plugin-authorization-perl/debian/README.source
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libcgi-application-plugin-authorization-perl/debian/README.source?rev=66091&op=file
==============================================================================
--- trunk/libcgi-application-plugin-authorization-perl/debian/README.source (added)
+++ trunk/libcgi-application-plugin-authorization-perl/debian/README.source Tue Dec 21 21:59:15 2010
@@ -1,0 +1,25 @@
+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.
+

Modified: trunk/libcgi-application-plugin-authorization-perl/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libcgi-application-plugin-authorization-perl/debian/changelog?rev=66091&op=diff
==============================================================================
--- trunk/libcgi-application-plugin-authorization-perl/debian/changelog (original)
+++ trunk/libcgi-application-plugin-authorization-perl/debian/changelog Tue Dec 21 21:59:15 2010
@@ -1,6 +1,4 @@
 libcgi-application-plugin-authorization-perl (0.07-1) UNRELEASED; urgency=low
-
-  TODO: write README.source, experimenta little with watch files
 
   * Initial Release. (Closes: #606508)
 

Added: trunk/libcgi-application-plugin-authorization-perl/debian/components/driver-activedirectory/watch
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libcgi-application-plugin-authorization-perl/debian/components/driver-activedirectory/watch?rev=66091&op=file
==============================================================================
--- trunk/libcgi-application-plugin-authorization-perl/debian/components/driver-activedirectory/watch (added)
+++ trunk/libcgi-application-plugin-authorization-perl/debian/components/driver-activedirectory/watch Tue Dec 21 21:59:15 2010
@@ -1,0 +1,2 @@
+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)$

Added: trunk/libcgi-application-plugin-authorization-perl/debian/update.sh
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libcgi-application-plugin-authorization-perl/debian/update.sh?rev=66091&op=file
==============================================================================
--- trunk/libcgi-application-plugin-authorization-perl/debian/update.sh (added)
+++ trunk/libcgi-application-plugin-authorization-perl/debian/update.sh Tue Dec 21 21:59:15 2010
@@ -1,0 +1,33 @@
+#!/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-activedirectory
+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

Propchange: trunk/libcgi-application-plugin-authorization-perl/debian/update.sh
------------------------------------------------------------------------------
    svn:executable = *




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