debian/0000755000000000000000000000000012253353115007166 5ustar debian/rules0000755000000000000000000000003712253353115010246 0ustar #!/usr/bin/make -f %: dh $@ debian/control0000644000000000000000000000632712253353115010601 0ustar Source: libdancer2-perl Maintainer: Debian Perl Group Uploaders: gregor herrmann Section: perl Priority: optional Build-Depends: debhelper (>= 8) Build-Depends-Indep: libapp-cmd-perl, libcapture-tiny-perl (>= 0.12), libclass-load-perl, libconfig-any-perl, libcrypt-urandom-perl, libfile-sharedir-install-perl, libfile-sharedir-perl, libhash-merge-simple-perl, libhttp-body-perl, libhttp-date-perl, libhttp-message-perl, libhttp-server-simple-psgi-perl, libjson-perl, libjson-xs-perl, liblwp-protocol-psgi-perl (>= 0.06), libmath-random-isaac-xs-perl, libmime-types-perl, libmoo-perl (>= 1.003000), libmoox-types-mooselike-perl, libplack-perl, libreturn-multilevel-perl, librole-tiny-perl (>= 1.003000), libscope-upper-perl, libtemplate-perl, libtemplate-tiny-perl, libtest-fatal-perl, libtest-mocktime-perl, libtest-script-perl, libtest-tcp-perl (>= 1.13), liburi-perl, libwww-perl, libyaml-libyaml-perl, perl (>= 5.13.8) Standards-Version: 3.9.5 Vcs-Browser: http://anonscm.debian.org/gitweb/?p=pkg-perl/packages/libdancer2-perl.git Vcs-Git: git://anonscm.debian.org/pkg-perl/packages/libdancer2-perl.git Homepage: https://metacpan.org/release/Dancer2/ Package: libdancer2-perl Architecture: all Depends: ${misc:Depends}, ${perl:Depends}, libapp-cmd-perl, libconfig-any-perl, libclass-load-perl, libfile-sharedir-perl, libhash-merge-simple-perl, libhttp-body-perl, libhttp-date-perl, libhttp-message-perl, libhttp-server-simple-psgi-perl, libjs-jquery, libjson-perl, libmime-types-perl, libmoo-perl (>= 1.003000), libmoox-types-mooselike-perl, libplack-perl, libreturn-multilevel-perl, librole-tiny-perl (>= 1.003000), libtemplate-perl, libtemplate-tiny-perl, liburi-perl, libyaml-libyaml-perl, perl (>= 5.13.8) Recommends: libclass-load-xs-perl, libcrypt-urandom-perl, libjson-xs-perl, libmath-random-isaac-xs-perl Description: lightweight yet powerful web application framework Dancer2 is the new generation lightweight web-framework for Perl. It's a complete rewrite of Dancer based on Moo. It's designed to be powerful and flexible, but also easy to use - getting up and running with your web app is trivial, and an ecosystem of adaptors for common template engines, session storage, logging methods and plugins to make common tasks easy mean you can do what you want to do, your way, easily. debian/libdancer2-perl.lintian-overrides0000644000000000000000000000041712253353115015515 0ustar # this file is just a template libdancer2-perl: script-not-executable usr/share/perl5/auto/share/dist/Dancer2/skel/bin/+app.pl # this file is just a template libdancer2-perl: executable-not-elf-or-script usr/share/perl5/auto/share/dist/Dancer2/skel/public/+dispatch.cgi debian/libdancer2-perl.docs0000644000000000000000000000001212253353115012776 0ustar README.md debian/source/0000755000000000000000000000000012253353115010466 5ustar debian/source/format0000644000000000000000000000001412253353115011674 0ustar 3.0 (quilt) debian/changelog0000644000000000000000000000573612253353115011053 0ustar libdancer2-perl (0.11+dfsg-1) unstable; urgency=medium * Update repackaging framework. Starting with 0.11, script/dancer2 doesn't embedd files; but we want to remove the minified jQuery copy. * New upstream release. * Update (build) dependencies. * Update debian/copyright. * Use the packaged jQuery instead of the removed convenience copy. * Add patch to add encoding declaration to POD. * Add lintian overrides for template scripts. * Declare compliance with Debian Policy 3.9.5. -- gregor herrmann Sun, 15 Dec 2013 17:17:36 +0100 libdancer2-perl (0.10+dfsg-1) unstable; urgency=low * Team upload. * New upstream release. * Remove patch to correct typo, fixed upstream. * d/control: add new dependency liblwp-protocol-psgi-perl. -- Nuno Carvalho Thu, 03 Oct 2013 16:33:50 +0100 libdancer2-perl (0.09+dfsg-1) unstable; urgency=low * Team upload. * New upstream release. * d/control: remove libmodule-runtime-perl dependency. * d/control: add new dependencies libclass-load-perl and librole-tiny. * d/control: add libclass-load-xs-perl suggestion. * d/control: improved package extended description. * d/rules: remove override_dh_installexamples, since it only calling dh_installexamples. * Add patch to fix spelling error in POD documentation. -- Nuno Carvalho Mon, 02 Sep 2013 16:25:29 +0100 libdancer2-perl (0.07+dfsg-1) unstable; urgency=low * Team upload. * New upstream release. * d/control: add new dependecy libtest-script-perl. * d/control: remove libpath-class-perl from D-B-I. * d/control: require libmoo-perl >= 1.003000. * Remove spelling patch, fixed upstream. -- Nuno Carvalho Sat, 03 Aug 2013 10:22:16 +0100 libdancer2-perl (0.06+dfsg-1) unstable; urgency=low * Team upload. [ Nuno Carvalho ] * New upstream release. * d/control: add new dependecy. * d/libdancer2-perl.docs: TODO* files removed upstream. * contrib/*, cover.sh and progress.sh files removed. [ gregor herrmann ] * Upload to unstable. -- Nuno Carvalho Wed, 31 Jul 2013 18:23:29 +0100 libdancer2-perl (0.04+dfsg-1) experimental; urgency=low * New upstream release. * This release contains script/dancer2: - add repacking framework from libdancer-perl to get rid of uuencoded images and use the local jquery library - recommend libjs-jquery - add copyright/license for script/dancer2 * Update build/runtime dependencies. -- gregor herrmann Sun, 16 Jun 2013 15:55:33 +0200 libdancer2-perl (0.03-1) experimental; urgency=low * New upstream release. * Add new (build) dependency on libmodule-runtime-perl. * debian/copyright: add information about a third-party file. -- gregor herrmann Wed, 03 Apr 2013 20:50:37 +0200 libdancer2-perl (0.02-1) experimental; urgency=low * Initial release (closes: #701221). -- gregor herrmann Sun, 03 Mar 2013 00:04:27 +0100 debian/compat0000644000000000000000000000000212253353115010364 0ustar 8 debian/patches/0000755000000000000000000000000012253353115010615 5ustar debian/patches/series0000644000000000000000000000002312253353115012025 0ustar pod-encoding.patch debian/patches/pod-encoding.patch0000644000000000000000000000115512253353115014206 0ustar Description: add pod encoding to fix: POD ERRORS Hey! The above document had some coding errors, which are explained below: . Around line 229: Non-ASCII character seen before =encoding in 'Simo~es'. Assuming UTF-8 Origin: vendor Bug: https://rt.cpan.org/Ticket/Display.html?id=91428 Forwarded: https://rt.cpan.org/Ticket/Display.html?id=91428 Author: gregor herrmann Last-Update: 2013-12-15 --- a/lib/Dancer2.pm +++ b/lib/Dancer2.pm @@ -119,6 +119,8 @@ =pod +=encoding UTF-8 + =head1 NAME Dancer2 - Lightweight yet powerful web application framework debian/copyright0000644000000000000000000002635712253353115011136 0ustar Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-Name: Dancer Source: https://metacpan.org/release/Dancer2/ Upstream-Contact: Alexis Sukrieh Comment: The upstream sources were repackaged in order to: drop the minified jQuery convenience copy . The +dfsg tarball can be created using the repack.sh script (via repack.stub) and is automatically run on upgrade by uscan. Files: * Copyright: 2013, Alexis Sukrieh License: Artistic or GPL-1+ Files: lib/Dancer2/Template/Implementation/ForkedTiny.pm Copyright: 2009-2011, Adam Kennedy 2012, Damien Krotkine 2013, Alexis Sukrieh License: Artistic or GPL-1+ Files: lib/Dancer2/Tutorial.pod Copyright: 2010, Mark R. Allen 2013, Alexis Sukrieh License: Artistic-2.0 or GPL-2 Comment: the css file mentioned there doesn't exist Files: script/dancer2 Copyright: 2013, Alexis Sukrieh License: Artistic or GPL-1+ Files: debian/* Copyright: 2013, gregor herrmann 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: 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: GPL-2 This package 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 dated June, 1991. . On Debian systems, the complete text of the GNU General Public License version 2 can be found in `/usr/share/common-licenses/GPL-2'. debian/repack.local0000644000000000000000000000006612253353115011451 0ustar MANIFEST=1 rm share/skel/public/javascripts/jquery.js debian/libdancer2-perl.links0000644000000000000000000000016412253353115013176 0ustar usr/share/javascript/jquery/jquery.min.js usr/share/perl5/auto/share/dist/Dancer2/skel/public/javascripts/jquery.js debian/watch0000644000000000000000000000025612253353115010222 0ustar version=3 opts="dversionmangle=s/\+dfsg//" \ https://metacpan.org/release/Dancer2/ .*/Dancer2-v?(\d[\d.-]*)\.(?:tar(?:\.gz|\.bz2)?|tgz|zip)$ \ debian sh debian/repack.stub debian/repack.stub0000755000000000000000000000346412253353115011344 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" "$@"