diff options
author | Nick Morrott <nickm@debian.org> | 2020-01-02 21:37:21 +0100 |
---|---|---|
committer | Nick Morrott <nickm@debian.org> | 2020-01-02 21:37:21 +0100 |
commit | d9cf4ea4d36cea9d63f2a607efca2e0b4b062422 (patch) | |
tree | 0a4f65ea06b87fa2c5a6c5c6ad6ab84350cb074b | |
parent | cb1bc58155756753c8551d4e877971cbe529df58 (diff) | |
parent | 52d9639f224c22bb6d0c781b3ef2921e7f8147eb (diff) |
libdancer2-perl (0.300000+dfsg-1) unstable; urgency=medium
* Team upload
* New upstream version 0.300000+dfsg
[dgit import unpatched libdancer2-perl 0.300000+dfsg-1]
-rw-r--r-- | debian/changelog | 485 | ||||
-rw-r--r-- | debian/control | 101 | ||||
-rw-r--r-- | debian/copyright | 241 | ||||
-rw-r--r-- | debian/libdancer2-perl.docs | 1 | ||||
-rw-r--r-- | debian/libdancer2-perl.examples | 1 | ||||
-rw-r--r-- | debian/libdancer2-perl.links | 1 | ||||
-rw-r--r-- | debian/libdancer2-perl.lintian-overrides | 9 | ||||
-rw-r--r-- | debian/patches/no-phone-home.patch | 25 | ||||
-rw-r--r-- | debian/patches/remove-eumm-version-req.patch | 99 | ||||
-rw-r--r-- | debian/patches/series | 2 | ||||
-rwxr-xr-x | debian/rules | 11 | ||||
-rw-r--r-- | debian/source/format | 1 | ||||
-rw-r--r-- | debian/tests/pkg-perl/smoke-files | 3 | ||||
-rw-r--r-- | debian/tests/pkg-perl/syntax-skip | 2 | ||||
-rw-r--r-- | debian/upstream/metadata | 6 | ||||
-rw-r--r-- | debian/watch | 3 |
16 files changed, 991 insertions, 0 deletions
diff --git a/debian/changelog b/debian/changelog new file mode 100644 index 00000000..5ee7386f --- /dev/null +++ b/debian/changelog @@ -0,0 +1,485 @@ +libdancer2-perl (0.300000+dfsg-1) unstable; urgency=medium + + * Team upload + + * New upstream version 0.300000+dfsg + + -- Nick Morrott <nickm@debian.org> Thu, 02 Jan 2020 20:37:21 +0000 + +libdancer2-perl (0.208002+dfsg-1) unstable; urgency=medium + + * Team upload + + * New upstream version 0.208002+dfsg + * d/control: + - Declare compliance with Debian Policy 4.4.1 + - Add Rules-Requires-Root field + - Refresh (build) dependencies + - Annotate test-only build dependencies with <!nocheck> + - Add more test libraries to improve coverage + * d/copyright: + - Reorder header stanza + * d/docs: + - Include upstream GitGuide + * d/lintian-overrides: + - Refresh overrides for dancer2 CLI script + * d/patches: + - Refresh patches (offset) + * d/s/lintian-overrides: + - Drop unused source-contains-empty-directory override + * d/u/metadata: + - Add Bug-Submit field; drop deprecated Contact, Name fields + * d/watch: + - Migrate to version 4 watch file format + + -- Nick Morrott <nickm@debian.org> Mon, 16 Dec 2019 21:52:27 +0000 + +libdancer2-perl (0.208001+dfsg-1) unstable; urgency=medium + + * Team upload + + [ Utkarsh Gupta ] + * New upstream version 0.208001+dfsg + * Drop patch: merged in upstream + + [ gregor herrmann ] + * Refresh remove-eumm-version-req.patch (offset). + + -- Utkarsh Gupta <guptautkarsh2102@gmail.com> Sat, 10 Aug 2019 12:51:15 +0530 + +libdancer2-perl (0.208000+dfsg-1) unstable; urgency=medium + + * Team upload + * New upstream version 0.208000+dfsg + * Update d/copright years + * Bump debhelper-compat to 12 + * Bump Standards-Version to 4.4.0 + * Comment unused overrides + * Add patch to fix spelling + + -- Utkarsh Gupta <guptautkarsh2102@gmail.com> Sat, 27 Jul 2019 10:29:16 +0530 + +libdancer2-perl (0.207000+dfsg-1) unstable; urgency=medium + + [ Laurent Baillet ] + * fix lintian file-contains-trailing-whitespace warning + + [ gregor herrmann ] + * Import upstream version 0.207000. + * Refresh remove-eumm-version-req.patch. + * Declare compliance with Debian Policy 4.2.1. + * Update (build) dependencies. + * Fix hashbang in skeleton script. + + -- gregor herrmann <gregoa@debian.org> Sun, 23 Dec 2018 16:33:53 +0100 + +libdancer2-perl (0.206000+dfsg-1) unstable; urgency=medium + + [ Damyan Ivanov ] + * declare conformance with Policy 4.1.3 (no changes needed) + + [ Salvatore Bonaccorso ] + * Update Vcs-* headers for switch to salsa.debian.org + + [ gregor herrmann ] + * Import upstream version 0.206000. + * Refresh remove-eumm-version-req.patch (offset/fuzz). + * Update years of upstream and packaging copyright. + * Update (build) dependencies. + * Declare compliance with Debian Policy 4.1.4. + * Bump debhelper compatibility level to 10. + * Install new examples. + * debian/tests/pkg-perl/smoke-files: new examples are needed + for smoke test. + * Add a source lintian override about an empty directory in the tarball + which is caued by our repackaging. + + -- gregor herrmann <gregoa@debian.org> Fri, 11 May 2018 20:45:21 +0200 + +libdancer2-perl (0.205002+dfsg-2) unstable; urgency=medium + + * Team upload + + * declare conformance with Policy 4.1.2 (no changes needed) + * add no-phone-home.patch disabling upstream version check when creating new + application via 'dancer2 -a' + (Closes: #883606) + + -- Damyan Ivanov <dmn@debian.org> Tue, 05 Dec 2017 21:39:47 +0000 + +libdancer2-perl (0.205002+dfsg-1) unstable; urgency=medium + + * Team upload + + * Import upstream version 0.205002. + * Declare conformance with Policy 4.1.1 (no changes needed) + + -- Damyan Ivanov <dmn@debian.org> Sun, 22 Oct 2017 18:13:56 +0000 + +libdancer2-perl (0.205001+dfsg-1) unstable; urgency=medium + + * Team upload. + + [ gregor herrmann ] + * Drop debian/tests/pkg-perl/smoke-tests, handled by pkg-perl- + autopkgtest now. + + [ Nuno Carvalho ] + * Drop spelling.patch, merged upstream. + * debian/control: + + add new dependency libref-util-perl. + + Declare compliance with Debian Policy 4.1.0. + * d/copyright: + + update copyright years. + + -- Nuno Carvalho <ssmash@cpan.org> Sun, 27 Aug 2017 12:55:46 +0100 + +libdancer2-perl (0.205000+dfsg-1) unstable; urgency=medium + + * Import upstream version 0.204003. + * Drop spelling.patch, merged upstream. + * Update years of packaging copyright. + * New (build) dependency: libsub-quote-perl. + + * Import upstream version 0.205000. + * Refresh remove-eumm-version-req.patch (offset). + * Update (build) dependencies. + * Add a patch to fix a typo in the documentation. + + -- gregor herrmann <gregoa@debian.org> Sun, 18 Jun 2017 16:59:30 +0200 + +libdancer2-perl (0.204002+dfsg-1) unstable; urgency=medium + + * Import upstream version 0.204002 + * Add a patch to fix a typo in the POD. + + -- gregor herrmann <gregoa@debian.org> Fri, 23 Dec 2016 01:32:30 +0100 + +libdancer2-perl (0.204001+dfsg-1) unstable; urgency=medium + + * Import upstream version 0.204001 + * Refresh remove-eumm-version-req.patch (offset). + * Update build dependencies. + + -- gregor herrmann <gregoa@debian.org> Fri, 21 Oct 2016 01:05:28 +0200 + +libdancer2-perl (0.204000+dfsg-1) unstable; urgency=medium + + * Team upload. + * Import upstream version 0.204000. + * Refresh remove-eumm-version-req.patch (offset). + * debian/copyright: + + update stanza for lib/Dancer2/Tutorial.pod. + + add new uploader as upstream contact. + * debian/control: + + add new dependencies for testing libtest-eol-perl and + libtest-perl-critic-perl to B-D-I. + + add new runtime dependency libplack-middleware-removeredundantbody-perl. + + add libclass-xsaccessor-perl to Recommends. + + -- Nuno Carvalho <smash@cpan.org> Tue, 11 Oct 2016 15:27:07 +0100 + +libdancer2-perl (0.203001+dfsg-1) unstable; urgency=medium + + * Import upstream version 0.203001. + * Refresh remove-eumm-version-req.patch (offset). + * Update Build-Depends-Indep and Recommends. + + -- gregor herrmann <gregoa@debian.org> Sun, 04 Sep 2016 15:14:32 +0200 + +libdancer2-perl (0.203000+dfsg-1) unstable; urgency=medium + + * Team upload. + * New upstream release. + + -- Nuno Carvalho <smash@cpan.org> Thu, 25 Aug 2016 11:04:29 +0100 + +libdancer2-perl (0.202000+dfsg-1) unstable; urgency=medium + + * Team upload. + * New upstream release. + * Update remove-eumm-version-req.patch to match new generated files. + * d/control: + + add new dependency libmoox-types-mooselike-perl. + + remove dependency libtype-tiny-perl, no longer required. + + remove libtype-tiny-xs-perl from recommends. + + -- Nuno Carvalho <smash@cpan.org> Mon, 22 Aug 2016 12:14:52 +0100 + +libdancer2-perl (0.201000+dfsg-1) unstable; urgency=medium + + * Team upload. + * New upstream release. + * Update remove-eumm-version-req.patch to match new generated file. + * d/control: update JSON related packages requirements and recommendations. + + -- Nuno Carvalho <smash@cpan.org> Tue, 26 Jul 2016 14:16:58 +0100 + +libdancer2-perl (0.200003+dfsg-1) unstable; urgency=medium + + * Team upload. + + [ Nuno Carvalho ] + * New upstream release. + * Remove spelling.patch, fixed upstream. + * Add a patch to remove ExtUtils::MakeMaker required version. + + [ gregor herrmann] + * autopkgtest: run more tests in smoke test. + + -- Nuno Carvalho <smash@cpan.org> Wed, 13 Jul 2016 11:20:04 +0100 + +libdancer2-perl (0.200002+dfsg-1) unstable; urgency=medium + + * Switch repackaging framework to Files-Excluded method. + * Import upstream version 0.200002. + * Remove build dependency on libtest-deep-perl. + * Add a patch to fix a spelling mistake in the documentation. + + -- gregor herrmann <gregoa@debian.org> Tue, 28 Jun 2016 21:08:48 +0200 + +libdancer2-perl (0.200000+dfsg-1) unstable; urgency=medium + + * Team upload. + + [ gregor herrmann ] + * debian/copyright: change Copyright-Format 1.0 URL to HTTPS. + + [ Nuno Carvalho ] + * New upstream release. + * Remove spelling patch, fixed upstream. + * d/control: + + update B-D-I and Depends according to new dependencies. + + update Standards-Version to 3.9.8. + + removed dependencies required versions (per cme suggestion). + * d/copyright: + + remove Deployment.pod specific stanza. + + update copyright years. + + [ gregor herrmann ] + * Run more tests during autopkgtest's smoke test. + + -- Nuno Carvalho <smash@cpan.org> Wed, 01 Jun 2016 14:02:49 +0100 + +libdancer2-perl (0.166001+dfsg-1) unstable; urgency=medium + + [ Salvatore Bonaccorso ] + * debian/control: Use HTTPS transport protocol for Vcs-Git URI + + [ gregor herrmann ] + * Import upstream version 0.166001+dfsg. + * Update years of packaging copyright. + * Bump versioned (build) dependency on libplack-perl. + * Declare compliance with Debian Policy 3.9.7. + * Add a patch to fix spelling mistakes in the POD. + + -- gregor herrmann <gregoa@debian.org> Sat, 13 Feb 2016 19:35:31 +0100 + +libdancer2-perl (0.163000+dfsg-1) unstable; urgency=medium + + * Team upload. + + [ Nuno Carvalho ] + * New upstream release. + * Remove patch for correcting typo, fixed upstream. + * d/control: + + update librole-tiny-perl and libmoo-perl required versions. + + remove libtemplate-perl from Depends, only required for testing. + * d/copyright: remove script/dancer2 entry (redundant). + + [ gregor herrmann ] + * Rename autopkgtest configuration file(s). + * Add libtemplate-perl to Recommends, it's used by + Dancer2/Template/TemplateToolkit.pm. + + -- Nuno Carvalho <smash@cpan.org> Thu, 22 Oct 2015 18:25:18 +0100 + +libdancer2-perl (0.162000+dfsg-1) unstable; urgency=medium + + * Team upload. + + [ Nuno Carvalho ] + * New upstream release. + * Add patch for fixing documentation typo. + * d/control: + + remove libmodule-build-perl from B-D, Build.PL removed. + + remove libtest-memory-cycle-perl and libtest-mocktime-perl from + D-B-I, no longer required. + + [ gregor herrmann ] + * Drop (build) dependency on libtry-tiny-perl. No longer needed. + * Bump debhelper compatibility level to 9. + + -- Nuno Carvalho <smash@cpan.org> Thu, 10 Sep 2015 01:38:35 +0100 + +libdancer2-perl (0.160003+dfsg-1) unstable; urgency=medium + + * Import new release 0.160003. Fixes + - "Failure to get POST arguments with serializer JSON + with version 0.152000" (Closes: #788488) + - "FTBFS with Plack >= 1.0036: t/classes/Dancer2-Core-Response/new_from.t" + (Closes: #789141) + * Drop language.patch, merged upstream. + * Add (build) dependency on libhttp-headers-fast-perl. + * Update years of packaging copyright. + + -- gregor herrmann <gregoa@debian.org> Thu, 18 Jun 2015 17:37:23 +0200 + +libdancer2-perl (0.160001+dfsg-1) unstable; urgency=medium + + [ Nuno Carvalho ] + * Team upload. + * Drop t-basename-metachars.patch, fixed upstream. + * Update dependencies. + * Remove libdancer2-perl.docs, file removed upstream. + * Update lintian overrides due to upstream file changes. + * Update years of upstream copyright. + * d/copyright: + + fix upstream name in d/copyright + + update copyright information for some specific files + + [ gregor herrmann ] + * Tweak build and runtime dependencies a bit more. + * Add a patch to fix minor spelling issues. + + -- Nuno Carvalho <smash@cpan.org> Fri, 15 May 2015 20:19:58 +0100 + +libdancer2-perl (0.152000+dfsg-1) unstable; urgency=medium + + * New upstream release. + * Make build dependency on libfile-sharedir-install-perl versioned. + * Mark package as autopkgtest-able. + * Add patch to fix test failure in new test which occurs with regexp + pattern meta-characters in the build path. + + -- gregor herrmann <gregoa@debian.org> Wed, 15 Oct 2014 20:24:46 +0200 + +libdancer2-perl (0.150000+dfsg-1) unstable; urgency=medium + + [ Salvatore Bonaccorso ] + * Update Vcs-Browser URL to cgit web frontend + + [ gregor herrmann ] + * Add debian/upstream/metadata + * Imported Upstream version 0.150000+dfsg + * Update Build-Depends-Indep and and Depends. + * Explicitly build-depend on libmodule-build-perl. + * Declare compliance with Debian Policy 3.9.6. + + -- gregor herrmann <gregoa@debian.org> Wed, 08 Oct 2014 21:30:10 +0200 + +libdancer2-perl (0.143000+dfsg-1) unstable; urgency=medium + + * New upstream release. + * Add (build) dependency on libmodule-runtime-perl. + + -- gregor herrmann <gregoa@debian.org> Sun, 06 Jul 2014 15:43:07 +0200 + +libdancer2-perl (0.140001+dfsg-1) unstable; urgency=medium + + * New upstream release. + * Update years of upstream copyright. + * Update (build) dependencies. + + -- gregor herrmann <gregoa@debian.org> Sat, 03 May 2014 14:42:24 +0200 + +libdancer2-perl (0.12+dfsg-1) unstable; urgency=medium + + * New upstream release. + * Strip trailing slash from metacpan URLs. + * Drop pod-encoding.patch, fixed upstream. + * Update years of packaging copyright. + + -- gregor herrmann <gregoa@debian.org> Sun, 13 Apr 2014 18:01:09 +0200 + +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 <gregoa@debian.org> 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 <smash@cpan.org> 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 <smash@cpan.org> 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 <smash@cpan.org> 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 <smash@cpan.org> 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 <gregoa@debian.org> 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 <gregoa@debian.org> Wed, 03 Apr 2013 20:50:37 +0200 + +libdancer2-perl (0.02-1) experimental; urgency=low + + * Initial release (closes: #701221). + + -- gregor herrmann <gregoa@debian.org> Sun, 03 Mar 2013 00:04:27 +0100 diff --git a/debian/control b/debian/control new file mode 100644 index 00000000..66812844 --- /dev/null +++ b/debian/control @@ -0,0 +1,101 @@ +Source: libdancer2-perl +Maintainer: Debian Perl Group <pkg-perl-maintainers@lists.alioth.debian.org> +Uploaders: gregor herrmann <gregoa@debian.org> +Section: perl +Testsuite: autopkgtest-pkg-perl +Priority: optional +Build-Depends: debhelper-compat (= 12) +Build-Depends-Indep: libanyevent-perl <!nocheck>, + libapp-cmd-perl <!nocheck>, + libcapture-tiny-perl <!nocheck>, + libclone-perl <!nocheck>, + libconfig-any-perl <!nocheck>, + libcpan-meta-requirements-perl <!nocheck>, + libcrypt-urandom-perl <!nocheck>, + libexporter-tiny-perl <!nocheck>, + libfile-share-perl <!nocheck>, + libfile-sharedir-install-perl, + libhash-merge-simple-perl <!nocheck>, + libhash-multivalue-perl <!nocheck>, + libhttp-cookies-perl <!nocheck>, + libhttp-date-perl <!nocheck>, + libhttp-headers-fast-perl (>= 0.21) <!nocheck>, + libhttp-message-perl <!nocheck>, + libimport-into-perl <!nocheck>, + libjson-maybexs-perl <!nocheck>, + libmath-random-isaac-xs-perl <!nocheck>, + libmime-types-perl <!nocheck>, + libmodule-runtime-perl <!nocheck>, + libmoo-perl (>= 2.003000) <!nocheck>, + libplack-middleware-fixmissingbodyinredirect-perl <!nocheck>, + libplack-middleware-removeredundantbody-perl <!nocheck>, + libplack-perl (>= 1.0040) <!nocheck>, + libref-util-perl <!nocheck>, + librole-tiny-perl (>= 2.000000) <!nocheck>, + libsafe-isa-perl <!nocheck>, + libscalar-list-utils-perl <!nocheck>, + libscope-upper-perl <!nocheck>, + libsub-quote-perl <!nocheck>, + libtemplate-perl <!nocheck>, + libtemplate-tiny-perl <!nocheck>, + libtest-cpan-meta-perl <!nocheck>, + libtest-fatal-perl <!nocheck>, + libtest-memory-cycle-perl <!nocheck>, + libtest-mocktime-perl <!nocheck>, + libtype-tiny-perl (>= 1.000006) <!nocheck>, + libtype-tiny-xs-perl <!nocheck>, + liburi-perl <!nocheck>, + libwww-perl <!nocheck>, + libyaml-perl <!nocheck>, + perl +Standards-Version: 4.4.1 +Vcs-Browser: https://salsa.debian.org/perl-team/modules/packages/libdancer2-perl +Vcs-Git: https://salsa.debian.org/perl-team/modules/packages/libdancer2-perl.git +Homepage: https://metacpan.org/release/Dancer2 +Rules-Requires-Root: no + +Package: libdancer2-perl +Architecture: all +Depends: ${misc:Depends}, + ${perl:Depends}, + libapp-cmd-perl, + libclone-perl, + libconfig-any-perl, + libexporter-tiny-perl, + libfile-share-perl, + libhash-merge-simple-perl, + libhash-multivalue-perl, + libhttp-date-perl, + libhttp-headers-fast-perl (>= 0.21), + libhttp-message-perl, + libimport-into-perl, + libjs-jquery, + libjson-maybexs-perl, + libmime-types-perl, + libmodule-runtime-perl, + libmoo-perl (>= 2.003000), + libplack-middleware-fixmissingbodyinredirect-perl, + libplack-perl (>= 1.0040), + libref-util-perl, + librole-tiny-perl (>= 2.000000), + libsafe-isa-perl, + libscalar-list-utils-perl, + libsub-quote-perl, + libtemplate-perl, + libtemplate-tiny-perl, + libtype-tiny-perl (>= 1.000006), + liburi-perl, + libwww-perl, + libyaml-perl +Recommends: libclass-xsaccessor-perl, + libcrypt-urandom-perl, + libcpanel-json-xs-perl, + libmath-random-isaac-xs-perl, + libtype-tiny-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. diff --git a/debian/copyright b/debian/copyright new file mode 100644 index 00000000..f3253998 --- /dev/null +++ b/debian/copyright @@ -0,0 +1,241 @@ +Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ +Source: https://metacpan.org/release/Dancer2 +Upstream-Contact: Alexis Sukrieh <sukria@sukria.net>, Jason A. Crome <cromedome@cpan.org> +Upstream-Name: Dancer2 +Files-Excluded: share/skel/public/javascripts/jquery.js +Comment: The upstream sources were repackaged in order to: + drop the minified jQuery convenience copy + +Files: * +Copyright: 2019, Alexis Sukrieh <sukria@sukria.net> +License: Artistic or GPL-1+ + +Files: lib/Dancer2/Template/Implementation/ForkedTiny.pm +Copyright: 2009-2011, Adam Kennedy + 2012, Damien Krotkine + 2016, Alexis Sukrieh +License: Artistic or GPL-1+ + +Files: lib/Dancer2/Tutorial.pod +Copyright: 2017, Alexis Sukrieh <sukria@sukria.net> +License: Artistic-2.0 or GPL-2 +Comment: the css file mentioned there doesn't exist + +Files: debian/* +Copyright: 2013-2018, gregor herrmann <gregoa@debian.org> +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'. diff --git a/debian/libdancer2-perl.docs b/debian/libdancer2-perl.docs new file mode 100644 index 00000000..e0e57697 --- /dev/null +++ b/debian/libdancer2-perl.docs @@ -0,0 +1 @@ +GitGuide.md diff --git a/debian/libdancer2-perl.examples b/debian/libdancer2-perl.examples new file mode 100644 index 00000000..e39721e2 --- /dev/null +++ b/debian/libdancer2-perl.examples @@ -0,0 +1 @@ +examples/* diff --git a/debian/libdancer2-perl.links b/debian/libdancer2-perl.links new file mode 100644 index 00000000..42d59f63 --- /dev/null +++ b/debian/libdancer2-perl.links @@ -0,0 +1 @@ +usr/share/javascript/jquery/jquery.min.js usr/share/perl5/auto/share/dist/Dancer2/skel/public/javascripts/jquery.js diff --git a/debian/libdancer2-perl.lintian-overrides b/debian/libdancer2-perl.lintian-overrides new file mode 100644 index 00000000..50f28eea --- /dev/null +++ b/debian/libdancer2-perl.lintian-overrides @@ -0,0 +1,9 @@ +# this file is just a template +libdancer2-perl: script-not-executable usr/share/perl5/auto/share/dist/Dancer2/skel/bin/+app.psgi + +# this file is just a template +libdancer2-perl: executable-not-elf-or-script usr/share/perl5/auto/share/dist/Dancer2/skel/public/+dispatch.cgi + +# this is a CLI interface to the Dancer2 libraries +libdancer2-perl: application-in-library-section perl usr/bin/dancer2 +libdancer2-perl: library-package-name-for-application usr/bin/dancer2 diff --git a/debian/patches/no-phone-home.patch b/debian/patches/no-phone-home.patch new file mode 100644 index 00000000..97137980 --- /dev/null +++ b/debian/patches/no-phone-home.patch @@ -0,0 +1,25 @@ +Description: Remove version check when generating an application tree + This is a privacy breach and serves no real purpose for the package in + Debian/stable +Forwarded: not-needed +Author: Damyan Ivanov <dmn@debian.org> +Bug-Debian: https://bugs.debian.org/883606 + +--- a/lib/Dancer2/CLI/Command/gen.pm ++++ b/lib/Dancer2/CLI/Command/gen.pm +@@ -26,7 +26,6 @@ + [ 'path|p=s', 'application path (default: current directory)', + { default => '.' } ], + [ 'overwrite|o', 'overwrite existing files' ], +- [ 'no-check|x', 'don\'t check latest Dancer2 version (requires internet)' ], + [ 'skel|s=s', 'skeleton directory' ], + ); + } +@@ -57,7 +56,6 @@ + + sub execute { + my ($self, $opt, $args) = @_; +- $self->_version_check() unless $opt->{'no_check'}; + + my $dist_dir = dist_dir('Dancer2'); + my $skel_dir = $opt->{skel} || catdir($dist_dir, 'skel'); diff --git a/debian/patches/remove-eumm-version-req.patch b/debian/patches/remove-eumm-version-req.patch new file mode 100644 index 00000000..66bf0b7f --- /dev/null +++ b/debian/patches/remove-eumm-version-req.patch @@ -0,0 +1,99 @@ +Description: remove required version for ExtUtils::MakeMaker, this is only + required to avoid YAML version 1.16 which is not packaged for debian +Forwarded: not-needed +Author: Nuno Carvalho <smash@cpan.org> +Reviewed-by: gregor herrmann <gregoa@debian.org> +Last-Update: 2019-08-10 + +--- a/Makefile.PL ++++ b/Makefile.PL +@@ -4,7 +4,7 @@ + + + +-use ExtUtils::MakeMaker 7.1101; ++use ExtUtils::MakeMaker; + + use File::ShareDir::Install; + $File::ShareDir::Install::INCLUDE_DOTFILES = 1; +@@ -16,12 +16,12 @@ + "ABSTRACT" => "Lightweight yet powerful web application framework", + "AUTHOR" => "Dancer Core Developers", + "BUILD_REQUIRES" => { +- "ExtUtils::MakeMaker" => "7.1101", ++ "ExtUtils::MakeMaker" => "0", + "Test::CPAN::Meta" => 0 + }, + "CONFIGURE_REQUIRES" => { + "CPAN::Meta::Requirements" => "2.120620", +- "ExtUtils::MakeMaker" => "7.1101", ++ "ExtUtils::MakeMaker" => "0", + "File::ShareDir::Install" => "0.06", + "Module::Metadata" => 0 + }, +@@ -80,7 +80,7 @@ + }, + "TEST_REQUIRES" => { + "Capture::Tiny" => "0.12", +- "ExtUtils::MakeMaker" => "7.1101", ++ "ExtUtils::MakeMaker" => "0", + "File::Spec" => 0, + "HTTP::Cookies" => 0, + "HTTP::Headers" => 0, +@@ -110,7 +110,7 @@ + "Encode" => 0, + "Exporter" => "5.57", + "Exporter::Tiny" => 0, +- "ExtUtils::MakeMaker" => "7.1101", ++ "ExtUtils::MakeMaker" => "0", + "File::Basename" => 0, + "File::Copy" => 0, + "File::Find" => 0, +--- a/META.json ++++ b/META.json +@@ -16,14 +16,14 @@ + "prereqs" : { + "build" : { + "requires" : { +- "ExtUtils::MakeMaker" : "7.1101", ++ "ExtUtils::MakeMaker" : "0", + "Test::CPAN::Meta" : "0" + } + }, + "configure" : { + "requires" : { + "CPAN::Meta::Requirements" : "2.120620", +- "ExtUtils::MakeMaker" : "7.1101", ++ "ExtUtils::MakeMaker" : "0", + "File::ShareDir::Install" : "0.06", + "Module::Metadata" : "0" + } +@@ -124,7 +124,7 @@ + }, + "requires" : { + "Capture::Tiny" : "0.12", +- "ExtUtils::MakeMaker" : "7.1101", ++ "ExtUtils::MakeMaker" : "0", + "File::Spec" : "0", + "HTTP::Cookies" : "0", + "HTTP::Headers" : "0", +--- a/META.yml ++++ b/META.yml +@@ -4,7 +4,7 @@ + - 'Dancer Core Developers' + build_requires: + Capture::Tiny: '0.12' +- ExtUtils::MakeMaker: '7.1101' ++ ExtUtils::MakeMaker: '0' + File::Spec: '0' + HTTP::Cookies: '0' + HTTP::Headers: '0' +@@ -18,7 +18,7 @@ + Test::More: '0.92' + configure_requires: + CPAN::Meta::Requirements: '2.120620' +- ExtUtils::MakeMaker: '7.1101' ++ ExtUtils::MakeMaker: '0' + File::ShareDir::Install: '0.06' + Module::Metadata: '0' + conflicts: diff --git a/debian/patches/series b/debian/patches/series new file mode 100644 index 00000000..0f62a913 --- /dev/null +++ b/debian/patches/series @@ -0,0 +1,2 @@ +remove-eumm-version-req.patch +no-phone-home.patch diff --git a/debian/rules b/debian/rules new file mode 100755 index 00000000..a64870ff --- /dev/null +++ b/debian/rules @@ -0,0 +1,11 @@ +#!/usr/bin/make -f + +PACKAGE = $(shell dh_listpackages) +TMP = $(CURDIR)/debian/$(PACKAGE) + +%: + dh $@ + +override_dh_auto_install: + dh_auto_install + sed -i '1s|^#!/usr/bin/env perl|#!/usr/bin/perl|' $(TMP)/usr/share/perl5/auto/share/dist/Dancer2/skel/bin/+app.psgi diff --git a/debian/source/format b/debian/source/format new file mode 100644 index 00000000..163aaf8d --- /dev/null +++ b/debian/source/format @@ -0,0 +1 @@ +3.0 (quilt) diff --git a/debian/tests/pkg-perl/smoke-files b/debian/tests/pkg-perl/smoke-files new file mode 100644 index 00000000..e4f2a022 --- /dev/null +++ b/debian/tests/pkg-perl/smoke-files @@ -0,0 +1,3 @@ +t/ +script/ +examples/ diff --git a/debian/tests/pkg-perl/syntax-skip b/debian/tests/pkg-perl/syntax-skip new file mode 100644 index 00000000..3f563d86 --- /dev/null +++ b/debian/tests/pkg-perl/syntax-skip @@ -0,0 +1,2 @@ +# templates. the only .pm file uses TT. +/usr/share/perl5/auto/share/dist/Dancer2/skel/ diff --git a/debian/upstream/metadata b/debian/upstream/metadata new file mode 100644 index 00000000..87953ca9 --- /dev/null +++ b/debian/upstream/metadata @@ -0,0 +1,6 @@ +--- +Archive: CPAN +Bug-Database: https://github.com/PerlDancer/Dancer2/issues +Bug-Submit: https://github.com/PerlDancer/Dancer2/issues/new +Repository: https://github.com/PerlDancer/Dancer2.git +Repository-Browse: https://github.com/PerlDancer/Dancer2 diff --git a/debian/watch b/debian/watch new file mode 100644 index 00000000..b8b10971 --- /dev/null +++ b/debian/watch @@ -0,0 +1,3 @@ +version=4 +opts="dversionmangle=s/\+dfsg//,repacksuffix=+dfsg" \ +https://metacpan.org/release/Dancer2 .*/Dancer2-v?@ANY_VERSION@@ARCHIVE_EXT@$ |