debian/0000755000000000000000000000000012257357232007176 5ustar debian/rules0000755000000000000000000000003612257357232010255 0ustar #!/usr/bin/make -f %: dh $@ debian/control0000644000000000000000000000556312257357232010612 0ustar Source: libdancer-perl Maintainer: Debian Perl Group Uploaders: Jonathan Yu , Iñigo Tejedor Arrondo , gregor herrmann , Krzysztof Krzyżaniak (eloy) , Damyan Ivanov Section: perl Priority: optional Build-Depends: debhelper (>= 8) # don't build-depend on libdancer-session-cookie-perl, # which depends in libdancer-perl again ... Build-Depends-Indep: perl, libclone-perl, libhttp-body-perl (>= 1.07), libhttp-parser-xs-perl (>= 0.10), libhttp-server-simple-psgi-perl, libjson-perl, libmime-types-perl (>= 1.38), libmodule-runtime-perl, libplack-perl, libtemplate-perl, libtest-output-perl, libtest-pod-coverage-perl, libtest-pod-perl (>= 1.44), libtest-requires-perl, libtest-tcp-perl (>= 1.30), libtry-tiny-perl (>= 0.09), liburi-perl (>= 1.59), libxml-parser-perl | libxml-sax-perl, libxml-simple-perl, perl (>= 5.11.1) | libtest-simple-perl (>= 0.94) Standards-Version: 3.9.5 Vcs-Browser: http://anonscm.debian.org/gitweb/?p=pkg-perl/packages/libdancer-perl.git Vcs-Git: git://anonscm.debian.org/pkg-perl/packages/libdancer-perl.git Homepage: https://metacpan.org/release/Dancer/ Package: libdancer-perl Architecture: all Depends: ${perl:Depends}, ${misc:Depends}, libhttp-body-perl (>= 1.07), libhttp-server-simple-psgi-perl, libmime-types-perl, libmodule-runtime-perl, libtry-tiny-perl (>= 0.09), liburi-perl (>= 1.59) Recommends: libjs-jquery Suggests: libclone-perl, libdancer-session-cookie-perl, libhttp-parser-xs-perl (>= 0.10), libjson-perl, libplack-perl, libtemplate-perl, libxml-parser-perl | libxml-sax-perl, libxml-simple-perl, perl (>= 5.11.1) | libtest-simple-perl (>= 0.94) Description: effortless web application framework Dancer is a Perl web application framework that aims to provide the simplest way for writing web applications, and offers the flexibility to scale between a very simple lightweight web service consisting of a few lines of code in a single file, all the way up to a more complex fully-fledged web application with session support, templates for views and layouts, etc. . If you don't want to write CGI scripts by hand, and find other frameworks such as Catalyst (see libcatalyst-perl) too complex or cumbersome for your project, Dancer is what you need. debian/source/0000755000000000000000000000000012257357232010476 5ustar debian/source/format0000644000000000000000000000001412257357232011704 0ustar 3.0 (quilt) debian/changelog0000644000000000000000000002251012257357232011050 0ustar libdancer-perl (1.3120+dfsg-1) unstable; urgency=medium * New upstream release. -- gregor herrmann Fri, 27 Dec 2013 21:09:55 +0100 libdancer-perl (1.3119+dfsg-1) unstable; urgency=low * New upstream release. * Declare compliance with Debian Policy 3.9.5. -- gregor herrmann Mon, 28 Oct 2013 23:12:58 +0100 libdancer-perl (1.3118+dfsg-1) unstable; urgency=low * New upstream release. * Remove build dependency on libdancer-session-cookie-perl, which depends in libdancer-perl again ... -- gregor herrmann Wed, 18 Sep 2013 19:10:45 +0200 libdancer-perl (1.3117+dfsg-2) unstable; urgency=low * Build depend on libmime-types-perl >= 1.38. Thanks to Olof Johansson for finding the underlying issue and solution. (Closes: #720975) -- gregor herrmann Tue, 03 Sep 2013 22:02:44 +0200 libdancer-perl (1.3117+dfsg-1) unstable; urgency=low * New upstream release. * Make build dependency on libtest-tcp-perl versioned. -- gregor herrmann Sat, 10 Aug 2013 17:49:02 +0200 libdancer-perl (1.3114+dfsg-1) unstable; urgency=low [ Salvatore Bonaccorso ] * Change Vcs-Git to canonical URI (git://anonscm.debian.org) * Change search.cpan.org based URIs to metacpan.org based URIs * Add copyright stanza for debian/repack.stub file [ gregor herrmann ] * Update debian/repack.stub. * New upstream release. Fixes "CVE-2012-5572: Cookie name CRLF injection" (Closes: #694279) * Add (build) dependency on libmodule-runtime-perl. * Update years of packaging copyright. * Add libclone-perl and libdancer-session-cookie-perl to B-D-I (tests) and add some optional packages to Suggests. -- gregor herrmann Tue, 04 Jun 2013 23:26:56 +0200 libdancer-perl (1.3110+dfsg-1) unstable; urgency=low * New upstream release * Remove libclone-perl (build) depends * Bump Standards-Version to 3.9.4 (no changes needed) -- Alessandro Ghedini Mon, 08 Oct 2012 10:25:56 +0200 libdancer-perl (1.3100+dfsg-1) unstable; urgency=low * New upstream release * Move libclone-perl to Depends (from Suggests) -- Alessandro Ghedini Sun, 02 Sep 2012 16:58:42 +0200 libdancer-perl (1.3099+dfsg-1) unstable; urgency=low * New upstream release -- Alessandro Ghedini Wed, 15 Aug 2012 18:40:14 +0200 libdancer-perl (1.3098+dfsg-1) unstable; urgency=low [ gregor herrmann ] * debian/control: update {versioned,alternative} (build) dependencies. [ Alessandro Ghedini ] * New upstream release * Merge Comment fields in script/dancer copyright -- Alessandro Ghedini Wed, 01 Aug 2012 12:08:35 +0200 libdancer-perl (1.3095+dfsg-1) unstable; urgency=low * New upstream release -- Alessandro Ghedini Tue, 03 Apr 2012 11:34:48 +0200 libdancer-perl (1.3094+dfsg-1) unstable; urgency=low * New upstream release * Email change: Alessandro Ghedini -> ghedo@debian.org -- Alessandro Ghedini Sun, 01 Apr 2012 15:39:34 +0200 libdancer-perl (1.3093+dfsg-1) unstable; urgency=low * New upstream release * Update debian/copyright format as in Debian Policy 3.9.3 * Bump Standards-Version to 3.9.3 -- Alessandro Ghedini Fri, 02 Mar 2012 11:39:40 +0100 libdancer-perl (1.3092+dfsg-1) unstable; urgency=low * New upstream release -- Alessandro Ghedini Fri, 27 Jan 2012 19:28:18 +0100 libdancer-perl (1.3091+dfsg-1) unstable; urgency=low * New upstream release. * Remove pod-spelling.patch, applied upstream. -- gregor herrmann Sat, 17 Dec 2011 17:09:31 +0100 libdancer-perl (1.3090+dfsg-1) unstable; urgency=low * New upstream release. * Add (build) dependency on libtry-tiny-perl. * Refresh pod-spelling.patch, remove fix-bad-whatis-entry.patch -- gregor herrmann Wed, 14 Dec 2011 17:50:52 +0100 libdancer-perl (1.3080+dfsg-1) unstable; urgency=low * New upstream release * Refresh patch * Update NEWS file -- Alessandro Ghedini Wed, 26 Oct 2011 19:46:39 +0200 libdancer-perl (1.3072+dfsg-1) unstable; urgency=low * New upstream release * (Build-)Depends(-Indep) on liburi-perl (>= 1.59) -- Alessandro Ghedini Tue, 23 Aug 2011 20:23:01 +0200 libdancer-perl (1.3071+dfsg-1) unstable; urgency=high [ Ansgar Burchardt ] * debian/control: Convert Vcs-* fields to Git. [ Alessandro Ghedini ] * New upstream release - Security release, set urgency=high * Refresh patches -- Alessandro Ghedini Tue, 02 Aug 2011 16:13:44 +0200 libdancer-perl (1.3070+dfsg-1) unstable; urgency=low * New upstream release * Refresh patch * Add fix-bad-whatis-entry patch -- Alessandro Ghedini Fri, 15 Jul 2011 11:09:20 +0200 libdancer-perl (1.3060+dfsg-1) unstable; urgency=low * New upstream release * Update spelling patch * Add libhttp-parser-xs-perl (>= 0.10) to B-D-I (needed by a test) -- Alessandro Ghedini Thu, 16 Jun 2011 18:50:24 +0200 libdancer-perl (1.3051+dfsg-1) unstable; urgency=low * New upstream release - FIX CVE-2011-1589 (Mojolicious report, but Dancer was vulnerable as well). * Refresh patch * Update NEWS with security fix -- Alessandro Ghedini Sat, 28 May 2011 15:49:35 +0200 libdancer-perl (1.3050+dfsg-1) unstable; urgency=low * New upstream release. * Refresh pod-spelling.patch. -- gregor herrmann Sun, 22 May 2011 01:11:47 +0200 libdancer-perl (1.3040+dfsg-1) unstable; urgency=low [ Alessandro Ghedini ] * New upstream release [ gregor herrmann ] * Switch order of alternative (build) dependencies after the perl 5.12 upload. * Refresh pod-spelling.patch (offset). -- Alessandro Ghedini Fri, 06 May 2011 18:39:11 +0200 libdancer-perl (1.3030+dfsg-1) unstable; urgency=low * New upstream release -- Alessandro Ghedini Thu, 14 Apr 2011 18:53:03 +0200 libdancer-perl (1.3020+dfsg-1) unstable; urgency=low [ Jonathan Yu ] * New upstream release [ gregor herrmann ] * Add Test::More 0.94 to Suggests, it's used in Dancer::Test. * Set Standards-Version to 3.9.2 (no changes). * Refresh spelling patch, add another spelling mistake. -- gregor herrmann Fri, 08 Apr 2011 16:38:54 +0200 libdancer-perl (1.3014+dfsg-1) unstable; urgency=low * New upstream release. * Refresh pod-spelling.patch. -- gregor herrmann Sat, 05 Mar 2011 21:28:40 +0100 libdancer-perl (1.3013+dfsg-1) unstable; urgency=low [ Jonathan Yu ] * New upstream release 1.3012 * Bump to debhelper compat 8 * Now requires Test::More 0.94 * Refresh spelling patch [ gregor herrmann ] * New upstream release 1.3013. -- gregor herrmann Thu, 03 Mar 2011 23:48:19 +0100 libdancer-perl (1.3011+dfsg-1) unstable; urgency=low [ Jonathan Yu ] * New upstream release * Update years of copyright [ gregor herrmann ] * Refresh pod-spelling.patch (offset). -- Jonathan Yu Fri, 25 Feb 2011 07:21:13 -0500 libdancer-perl (1.3010+dfsg-1) unstable; urgency=low [ Alessandro Ghedini ] * New upstream release * Add myself to Uploaders * Update debian/copyright to latest DEP5 candiate version * Add versioned Build-Depends-Indep on libtest-pod-perl [ gregor herrmann ] * Add note about API changes to debian/NEWS. * Source package: replace debian/replace.stub (which was actually repack.sh) with our typical repack.stub (which calls repack.sh). * Refresh pod-spelling.patch (offset). * debian/copyright: add information about new third-party files. * Add more spelling fixes to pod-spelling.patch. -- Alessandro Ghedini Fri, 11 Feb 2011 15:02:55 +0100 libdancer-perl (1.2003+dfsg-1) unstable; urgency=low * New upstream release * Make d/watch match the standard format (consequently, don't upgrade/propose upgrades to the development versions) -- Jonathan Yu Sat, 25 Dec 2010 14:28:51 -0500 libdancer-perl (1.2000+dfsg-1) unstable; urgency=low * New upstream release Repackaged to avoid shippping uuencoded images (not the preferred format) and make use of packaged jquery.js * Install examples/* * add myself to Uploaders * add libjs-jquery to Recommends (used by skeleton application) * add a patch fixing a small spelling mistake in POD -- Damyan Ivanov Tue, 30 Nov 2010 23:41:50 +0200 libdancer-perl (1.1904-1) unstable; urgency=low * New upstream release. * Add "libxml-parser-perl | libxml-sax-perl, libxml-simple-perl" to Build-Depends-Indep and Suggests. -- gregor herrmann Fri, 12 Nov 2010 22:18:47 +0100 libdancer-perl (1.1901-1) unstable; urgency=low * New upstream release -- Krzysztof Krzyżaniak (eloy) Mon, 04 Oct 2010 17:31:39 +0200 libdancer-perl (1.1812-1) unstable; urgency=low * New upstream release * Added me to Uploaders, updated debian/copyright file -- Krzysztof Krzyżaniak (eloy) Tue, 21 Sep 2010 16:39:40 +0200 libdancer-perl (1.1809-1) unstable; urgency=low [ Jonathan Yu, Iñigo Tejedor Arrondo ] * Initial Release (Closes: #569974) -- gregor herrmann Sat, 28 Aug 2010 01:32:00 +0200 debian/NEWS0000644000000000000000000000171212257357232007676 0ustar libdancer-perl (1.3080+dfsg-1) unstable; urgency=low [ API CHANGES ] Deprecation of 'before', 'before_template' and 'after' in favor of hook -- Alessandro Ghedini Wed, 26 Oct 2011 19:40:43 +0200 libdancer-perl (1.3051+dfsg-1) unstable; urgency=low [ SECURITY ] FIX CVE-2011-1589 (Mojolicious report, but Dancer was vulnerable as well). Return "400 Bad Request" when requested filename seems suspicious http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2011-1589 (Vladimir Lettiev and Franck Cuny) -- Alessandro Ghedini Sat, 28 May 2011 15:40:56 +0200 libdancer-perl (1.3010+dfsg-1) unstable; urgency=low 1.3003 [ API CHANGES ] Remove load_plugin from the core's DSL (was deprecated). 1.3002 [ API CHANGES ] to_json and from_json accept options as hashref instead of hash. Passing arguments as hash is deprecated -- gregor herrmann Fri, 11 Feb 2011 22:50:07 +0100 debian/compat0000644000000000000000000000000212257357232010374 0ustar 8 debian/copyright0000644000000000000000000003474212257357232011143 0ustar Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-Name: Dancer Upstream-Contact: Alexis Sukrieh Source: https://metacpan.org/release/Dancer/ Comment: The upstream sources were repackaged in order to: (1) not ship uuencoded images embedded in the dancer script this would violate the requirement to ship the preferred form for modifications (2) make use of packaged jquery.js by default . The +dfsg tarball can be created using the repack.sh script (via repack.stub) and is automatically run on upgrade by uscan. Files: * Copyright: 2009-2010, Alexis Sukrieh License: Artistic or GPL-1+ Files: lib/Dancer/Session/Simple.pm Copyright: 2010, David Precious License: Artistic or GPL-1+ Files: lib/Dancer/Route/Cache.pm Copyright: 2010, Sawyer X License: Artistic or GPL-1+ Files: lib/Dancer/Tutorial.pod Copyright: 2010, Mark R. Allen. License: Artistic-2.0 or GPL-2 Files: examples/dancr/public/css/style.css Comment: The CSS stylesheet is copied verbatim from the Flaskr example application and is subject to their license: Copyright: 2010, Armin Ronacher and contributors License: other Redistribution and use in source and binary forms of the software as well as documentation, with or without modification, are permitted provided that the following conditions are met: . * Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. . * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. . * The names of the contributors may not be used to endorse or promote products derived from this software without specific prior written permission. . THIS SOFTWARE AND DOCUMENTATION IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE AND DOCUMENTATION, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. Files: lib/Dancer/Object/Singleton.pm Copyright: 2010, Damien Krotkine License: Artistic or GPL-1+ Files: script/dancer Copyright: 2010, John Resig License: MIT or GPL-2 Comment: includes jQuery minified, in the jQuery part: * Includes Sizzle.js * http://sizzlejs.com/ * Copyright 2010, The Dojo Foundation * Released under the MIT, BSD, and GPL Licenses. Files: debian/* Copyright: 2010-2011, Jonathan Yu 2010, Iñigo Tejedor Arrondo 2010-2013, gregor herrmann 2010, Krzysztof Krzyżaniak (eloy) License: Artistic or GPL-1+ Files: debian/repack.stub Copyright: 2009, Ryan Niebur 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 GNU General Public License can be found in `/usr/share/common-licenses/GPL-1'. License: GPL-2 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; version 2. . On Debian systems, the complete text of version 2 of the GNU General Public License can be found in `/usr/share/common-licenses/GPL-2'. License: Artistic-2.0 Copyright (c) 2000-2006, The Perl Foundation. . Everyone is permitted to copy and distribute verbatim copies of this license document, but changing it is not allowed. . Preamble . This license establishes the terms under which a given free software Package may be copied, modified, distributed, and/or redistributed. The intent is that the Copyright Holder maintains some artistic control over the development of that Package while still keeping the Package available as open source and free software. . You are always permitted to make arrangements wholly outside of this license directly with the Copyright Holder of a given Package. If the terms of this license do not permit the full use that you propose to make of the Package, you should contact the Copyright Holder and seek a different licensing arrangement. . Definitions . "Copyright Holder" means the individual(s) or organization(s) named in the copyright notice for the entire Package. . "Contributor" means any party that has contributed code or other material to the Package, in accordance with the Copyright Holder's procedures. . "You" and "your" means any person who would like to copy, distribute, or modify the Package. . "Package" means the collection of files distributed by the Copyright Holder, and derivatives of that collection and/or of those files. A given Package may consist of either the Standard Version, or a Modified Version. . "Distribute" means providing a copy of the Package or making it accessible to anyone else, or in the case of a company or organization, to others outside of your company or organization. . "Distributor Fee" means any fee that you charge for Distributing this Package or providing support for this Package to another party. It does not mean licensing fees. . "Standard Version" refers to the Package if it has not been modified, or has been modified only in ways explicitly requested by the Copyright Holder. . "Modified Version" means the Package, if it has been changed, and such changes were not explicitly requested by the Copyright Holder. . "Original License" means this Artistic License as Distributed with the Standard Version of the Package, in its current version or as it may be modified by The Perl Foundation in the future. . "Source" form means the source code, documentation source, and configuration files for the Package. . "Compiled" form means the compiled bytecode, object code, binary, or any other form resulting from mechanical transformation or translation of the Source form. . Permission for Use and Modification Without Distribution . (1) You are permitted to use the Standard Version and create and use Modified Versions for any purpose without restriction, provided that you do not Distribute the Modified Version. . Permissions for Redistribution of the Standard Version . (2) You may Distribute verbatim copies of the Source form of the Standard Version of this Package in any medium without restriction, either gratis or for a Distributor Fee, provided that you duplicate all of the original copyright notices and associated disclaimers. At your discretion, such verbatim copies may or may not include a Compiled form of the Package. . (3) You may apply any bug fixes, portability changes, and other modifications made available from the Copyright Holder. The resulting Package will still be considered the Standard Version, and as such will be subject to the Original License. . Distribution of Modified Versions of the Package as Source . (4) You may Distribute your Modified Version as Source (either gratis or for a Distributor Fee, and with or without a Compiled form of the Modified Version) provided that you clearly document how it differs from the Standard Version, including, but not limited to, documenting any non-standard features, executables, or modules, and provided that you do at least ONE of the following: . (a) make the Modified Version available to the Copyright Holder of the Standard Version, under the Original License, so that the Copyright Holder may include your modifications in the Standard Version. (b) ensure that installation of your Modified Version does not prevent the user installing or running the Standard Version. In addition, the Modified Version must bear a name that is different from the name of the Standard Version. (c) allow anyone who receives a copy of the Modified Version to make the Source form of the Modified Version available to others under (i) the Original License or (ii) a license that permits the licensee to freely copy, modify and redistribute the Modified Version using the same licensing terms that apply to the copy that the licensee received, and requires that the Source form of the Modified Version, and of any works derived from it, be made freely available in that license fees are prohibited but Distributor Fees are allowed. . Distribution of Compiled Forms of the Standard Version or Modified Versions without the Source . (5) You may Distribute Compiled forms of the Standard Version without the Source, provided that you include complete instructions on how to get the Source of the Standard Version. Such instructions must be valid at the time of your distribution. If these instructions, at any time while you are carrying out such distribution, become invalid, you must provide new instructions on demand or cease further distribution. If you provide valid instructions or cease distribution within thirty days after you become aware that the instructions are invalid, then you do not forfeit any of your rights under this license. . (6) You may Distribute a Modified Version in Compiled form without the Source, provided that you comply with Section 4 with respect to the Source of the Modified Version. . Aggregating or Linking the Package . (7) You may aggregate the Package (either the Standard Version or Modified Version) with other packages and Distribute the resulting aggregation provided that you do not charge a licensing fee for the Package. Distributor Fees are permitted, and licensing fees for other components in the aggregation are permitted. The terms of this license apply to the use and Distribution of the Standard or Modified Versions as included in the aggregation. . (8) You are permitted to link Modified and Standard Versions with other works, to embed the Package in a larger work of your own, or to build stand-alone binary or bytecode versions of applications that include the Package, and Distribute the result without restriction, provided the result does not expose a direct interface to the Package. . Items That are Not Considered Part of a Modified Version . (9) Works (including, but not limited to, modules and scripts) that merely extend or make use of the Package, do not, by themselves, cause the Package to be a Modified Version. In addition, such works are not considered parts of the Package itself, and are not subject to the terms of this license. . General Provisions . (10) Any use, modification, and distribution of the Standard or Modified Versions is governed by this Artistic License. By using, modifying or distributing the Package, you accept this license. Do not use, modify, or distribute the Package, if you do not accept this license. . (11) If your Modified Version has been derived from a Modified Version made by someone other than you, you are nevertheless required to ensure that your Modified Version complies with the requirements of this license. . (12) This license does not grant you the right to use any trademark, service mark, tradename, or logo of the Copyright Holder. . (13) This license includes the non-exclusive, worldwide, free-of-charge patent license to make, have made, use, offer to sell, import and otherwise transfer the Package with respect to any patent claims licensable by the Copyright Holder that are necessarily infringed by the Package. If you institute patent litigation (including a cross-claim or counterclaim) against any party alleging that the Package constitutes direct or contributory patent infringement, then this Artistic License to you shall terminate on the date that such litigation is filed. . (14) Disclaimer of Warranty: THE PACKAGE IS PROVIDED BY THE COPYRIGHT HOLDER AND CONTRIBUTORS "AS IS' AND WITHOUT ANY EXPRESS OR IMPLIED WARRANTIES. THE IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, OR NON-INFRINGEMENT ARE DISCLAIMED TO THE EXTENT PERMITTED BY YOUR LOCAL LAW. UNLESS REQUIRED BY LAW, NO COPYRIGHT HOLDER OR CONTRIBUTOR WILL BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL DAMAGES ARISING IN ANY WAY OUT OF THE USE OF THE PACKAGE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. License: MIT Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: . The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. . THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. debian/repack.local0000644000000000000000000000016212257357232011456 0ustar perl -wn $MYORIGPWD/debian/prune.pl < script/dancer > script/dancer.pruned mv script/dancer.pruned script/dancer debian/libdancer-perl.examples0000644000000000000000000000001312257357232013613 0ustar examples/* debian/watch0000644000000000000000000000025512257357232010231 0ustar version=3 opts="dversionmangle=s/\+dfsg//" \ https://metacpan.org/release/Dancer/ .*/Dancer-v?(\d[\d.-]+)\.(?:tar(?:\.gz|\.bz2)?|tgz|zip)$ \ debian sh debian/repack.stub debian/repack.stub0000755000000000000000000000346412257357232011354 0ustar #!/bin/sh : <<=cut =pod =head1 NAME repack.stub - script to repack upstream tarballs from uscan =head1 INSTRUCTIONS put this in debian/repack.stub and add "debian sh debian/repack.stub" to the end of the line in debian/watch. you will also need to add a version mangle to debian/watch. then create a debian/repack.local. this is a shell script that is sourced under "set -e", so be careful to check returns codes. =head1 FUNCTIONS =over 4 =item rm rm is replaced by a function that does some magic ("rm -rv" by default), but also changes MANIFEST if $MANIFEST is 1 =item mv mv is replaced by a function that just does mv (by default), but also changes MANIFEST if $MANIFEST is 1 =item requires_version requires_version is there for future usage for requiring certain versions of the script =back =head1 VARIABLES =over 4 =item SUFFIX defaults to +dfsg what to append to the upstream version =item RM_OPTS defaults to -vrf options to pass to rm =item MANIFEST defaults to 0, set to 1 to turn on. this will manipulate MANIFEST files in CPAN tarballs. =item UP_BASE this is the directory where the upstream source is. =back =head1 COPYRIGHT AND LICENSE Copyright 2009, Ryan Niebur License: Artistic or GPL-1+ =cut if [ -z "$REPACK_SH" ]; then if [ -f ../../scripts/repack.sh ]; then REPACK_SH=../../scripts/repack.sh fi if [ -z "$REPACK_SH" ] && which repack.sh > /dev/null; then REPACK_SH=$(which repack.sh) fi fi if [ ! -f "$REPACK_SH" ]; then echo "Couldn't find a repack.sh. please put it in your PATH, put it at ../../scripts/repack.sh, or put it somewhere else and set the REPACK_SH variable" echo "You can get it from http://anonscm.debian.org/gitweb/?p=pkg-perl/scripts.git;a=blob_plain;f=repack.sh;hb=HEAD" exit 1 fi exec "$REPACK_SH" "$@" debian/prune.pl0000644000000000000000000000132212257357232010662 0ustar #!/usr/bin/perl use warnings; use strict; s/(?<="jquery.js" => )FILE/\\\&link_jquery/; print <<'EOT' if /^sub jquery_minified/; sub link_jquery { my $path = shift; my $target = '/usr/share/javascript/jquery/jquery.js'; if ( -e $target ) { symlink( $target, $path ) or die "symlink($target, $path): $!\n"; } else { # fallback to the embedded copy jquery_minified($path); } } EOT print $_ if not /^sub write_bg/ .. /^\}/ and not /^sub write_logo/ .. /\}/ and not /^sub write_favicon/ .. /\}/ and not /write_bg/ and not /write_logo/ and not /write_favicon/ and not /ajax.googleapis.com/ and not /Grab Google/; debian/libdancer-perl.docs0000644000000000000000000000001412257357232012726 0ustar TODO README