diff options
-rw-r--r-- | debian/NEWS.Developer | 20 | ||||
-rw-r--r-- | debian/changelog | 573 | ||||
-rw-r--r-- | debian/clean | 1 | ||||
-rw-r--r-- | debian/control | 113 | ||||
-rw-r--r-- | debian/copyright | 241 | ||||
-rw-r--r-- | debian/libdancer2-perl.docs | 2 | ||||
-rw-r--r-- | debian/libdancer2-perl.examples | 1 | ||||
-rw-r--r-- | debian/libdancer2-perl.links | 1 | ||||
-rw-r--r-- | debian/libdancer2-perl.lintian-overrides | 16 | ||||
-rw-r--r-- | debian/patches/autopkgtest.patch | 26 | ||||
-rw-r--r-- | debian/patches/no-phone-home.patch | 34 | ||||
-rw-r--r-- | debian/patches/series | 2 | ||||
-rwxr-xr-x | debian/rules | 13 | ||||
-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 |
18 files changed, 1058 insertions, 0 deletions
diff --git a/debian/NEWS.Developer b/debian/NEWS.Developer new file mode 100644 index 00000000..f2bc8d06 --- /dev/null +++ b/debian/NEWS.Developer @@ -0,0 +1,20 @@ +libdancer2-perl (1.0.0+dfsg-1) unstable; urgency=medium + + From upstream Changes for 1.0.0: + + [ DEPRECATED ] + * GH #1645: Deprecated Dancer2::Test (Jason A. Crome) + * GH #1646: Deprecated keyword: push_header (Jason A. Crome) + * GH #1647: Deprecated keyword: header (Jason A. Crome) + * GH #1648: Deprecated keyword: headers (Jason A. Crome) + * GH #1649: Deprecated keyword: context (Jason A. Crome) + * GH #1650: Deprecated: splat/capture named placeholders (Jason A. Crome) + * GH #1651: Deprecated core Request instance method: request->dispatch_path + (Jason A. Crome) + * GH #1652: Deprecated keyword in plugins: plugin_setting (Jason A. Crome) + * GH #1653: Deprecated keyword in plugins: dancer_app (Jason A. Crome) + * GH #1654: Deprecated keyword in plugins: request (Jason A. Crome) + * GH #1655: Deprecated keyword in plugins: var (Jason A. Crome) + * GH #1656: Deprecated keyword in plugins: hook (Jason A. Crome) + + -- gregor herrmann <gregoa@debian.org> Fri, 03 Nov 2023 22:44:48 +0100 diff --git a/debian/changelog b/debian/changelog new file mode 100644 index 00000000..a6f3f1f7 --- /dev/null +++ b/debian/changelog @@ -0,0 +1,573 @@ +libdancer2-perl (1.0.0+dfsg-1) unstable; urgency=medium + + * Import upstream version 1.0.0+dfsg. + * Mention deprecations in debian/NEWS.Developer. + * Follow doc renaming in debian/libdancer2-perl.docs. + * Remove generated test files via debian/clean. (Closes: #1047307) + + -- gregor herrmann <gregoa@debian.org> Fri, 03 Nov 2023 22:56:36 +0100 + +libdancer2-perl (0.400001+dfsg-1) unstable; urgency=medium + + * Import upstream version 0.400001+dfsg. + * Update years of upstream and packaging copyright. + * Add test dependency and recommendation on libunicode-utf8-perl. + * Declare compliance with Debian Policy 4.6.2. + * Update lintian override info format. + + -- gregor herrmann <gregoa@debian.org> Fri, 10 Feb 2023 22:50:28 +0100 + +libdancer2-perl (0.400000+dfsg-1) unstable; urgency=medium + + * Import upstream version 0.400000+dfsg. + * Update years of upstream and packaging copyright. + * Refresh lintian override (changed output format). + + -- gregor herrmann <gregoa@debian.org> Sun, 10 Apr 2022 01:11:52 +0200 + +libdancer2-perl (0.301004+dfsg-1) unstable; urgency=medium + + * Import upstream version 0.301004+dfsg. + * Drop obsolete remove-eumm-version-req.patch. + * Refresh no-phone-home.patch. + * Update test and runtime dependencies. + * Add more packages to Recommends. + * Declare compliance with Debian Policy 4.6.0. + * Drop unneeded version constraints from (build) dependencies. + * Fix hashbang in CLI script. + * Add another lintian override. + * Add autopkgtest.patch to fix new test under autopkgtests. + + -- gregor herrmann <gregoa@debian.org> Sat, 23 Oct 2021 15:27:28 +0200 + +libdancer2-perl (0.300005+dfsg-1) unstable; urgency=medium + + [ Debian Janitor ] + * Remove constraints unnecessary since stretch: + + Build-Depends-Indep: Drop versioned constraint on libplack-perl and + librole-tiny-perl. + + libdancer2-perl: Drop versioned constraint on libplack-perl and + librole-tiny-perl in Depends. + + [ gregor herrmann ] + * Import upstream version 0.300005+dfsg. + * Make (build) dependency on librole-tiny-perl versioned. + * Update years of upstream and packaging copyright. + * Add new lintian overrides + (package-contains-documentation-outside-usr-share-doc). + * Declare compliance with Debian Policy 4.5.1. + + -- gregor herrmann <gregoa@debian.org> Sat, 13 Mar 2021 23:34:54 +0100 + +libdancer2-perl (0.300004+dfsg-2) unstable; urgency=medium + + * Add liburl-encode-xs-perl to Build-Depends-Indep and Recommends. + + -- gregor herrmann <gregoa@debian.org> Sat, 13 Jun 2020 15:35:19 +0200 + +libdancer2-perl (0.300004+dfsg-1) unstable; urgency=medium + + * Import upstream version 0.300004+dfsg. + * Bump debhelper-compat to 13. + + -- gregor herrmann <gregoa@debian.org> Fri, 29 May 2020 17:36:36 +0200 + +libdancer2-perl (0.300003+dfsg-1) unstable; urgency=medium + + * Import upstream version 0.300003+dfsg. + + -- gregor herrmann <gregoa@debian.org> Fri, 10 Apr 2020 23:19:38 +0200 + +libdancer2-perl (0.300001+dfsg-1) unstable; urgency=medium + + * Import upstream version 0.300001+dfsg. + * Update years of upstream and packaging copyright. + * Declare compliance with Debian Policy 4.5.0. + + -- gregor herrmann <gregoa@debian.org> Mon, 06 Apr 2020 19:50:37 +0200 + +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/clean b/debian/clean new file mode 100644 index 00000000..491372c3 --- /dev/null +++ b/debian/clean @@ -0,0 +1 @@ +t/sessions/ diff --git a/debian/control b/debian/control new file mode 100644 index 00000000..cbd7f9c1 --- /dev/null +++ b/debian/control @@ -0,0 +1,113 @@ +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 (= 13) +Build-Depends-Indep: libanyevent-perl <!nocheck>, + libcapture-tiny-perl <!nocheck>, + libcli-osprey-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, + libfile-which-perl <!nocheck>, + libhash-merge-simple-perl <!nocheck>, + libhash-multivalue-perl <!nocheck>, + libhttp-cookies-perl <!nocheck>, + libhttp-date-perl <!nocheck>, + libhttp-headers-fast-perl <!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 <!nocheck>, + libpath-tiny-perl <!nocheck>, + libplack-middleware-fixmissingbodyinredirect-perl <!nocheck>, + libplack-middleware-removeredundantbody-perl <!nocheck>, + libplack-perl <!nocheck>, + libpod-simple-perl <!nocheck>, + libref-util-perl <!nocheck>, + librole-tiny-perl (>= 2.000008) <!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-fatal-perl <!nocheck>, + libtest-memory-cycle-perl <!nocheck>, + libtest-mocktime-perl <!nocheck>, + libtype-tiny-perl <!nocheck>, + libtype-tiny-xs-perl <!nocheck>, + libunicode-utf8-perl <!nocheck>, + liburi-perl <!nocheck>, + liburl-encode-xs-perl <!nocheck>, + libwww-perl <!nocheck>, + libyaml-perl <!nocheck>, + perl +Standards-Version: 4.6.2 +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}, + libcli-osprey-perl, + libclone-perl, + libconfig-any-perl, + libexporter-tiny-perl, + libfile-share-perl, + libfile-which-perl, + libhash-merge-simple-perl, + libhash-multivalue-perl, + libhttp-date-perl, + libhttp-headers-fast-perl, + libhttp-message-perl, + libimport-into-perl, + libjs-jquery, + libjson-maybexs-perl, + libmime-types-perl, + libmodule-runtime-perl, + libmoo-perl, + libpath-tiny-perl, + libplack-middleware-fixmissingbodyinredirect-perl, + libplack-perl, + libref-util-perl, + librole-tiny-perl (>= 2.000008), + libsafe-isa-perl, + libscalar-list-utils-perl, + libsub-quote-perl, + libtemplate-perl, + libtemplate-tiny-perl, + libtype-tiny-perl, + liburi-perl, + libwww-perl, + libyaml-perl +Recommends: libclass-xsaccessor-perl, + libcpanel-json-xs-perl, + libcrypt-urandom-perl, + libmath-random-isaac-xs-perl, + libmoox-typetiny-perl, + libpod-simple-perl, + libscope-upper-perl, + libtype-tiny-xs-perl, + libunicode-utf8-perl, + liburl-encode-xs-perl, + libyaml-libyaml-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..d1b1b700 --- /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: 2023, 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-2023, 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..d6e2a290 --- /dev/null +++ b/debian/libdancer2-perl.docs @@ -0,0 +1,2 @@ +Contributing.md +debian/NEWS.Developer 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..e563c6c7 --- /dev/null +++ b/debian/libdancer2-perl.lintian-overrides @@ -0,0 +1,16 @@ +# 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] + +# not documentation but boilerplate for webapps +libdancer2-perl: package-contains-documentation-outside-usr-share-doc [usr/share/perl5/auto/share/dist/Dancer2/skel/public/404.html] +libdancer2-perl: package-contains-documentation-outside-usr-share-doc [usr/share/perl5/auto/share/dist/Dancer2/skel/public/500.html] + +# this is in the skeleton webapp +libdancer2-perl: package-contains-vcs-control-file [usr/share/perl5/auto/share/dist/Dancer2/.gitignore] diff --git a/debian/patches/autopkgtest.patch b/debian/patches/autopkgtest.patch new file mode 100644 index 00000000..6611e9e1 --- /dev/null +++ b/debian/patches/autopkgtest.patch @@ -0,0 +1,26 @@ +Description: adjust path to installed files when run under autopkgtest +Origin: vendor +Forwarded: not-needed +Author: gregor herrmann <gregoa@debian.org> +Last-Update: 2021-10-23 + +--- a/t/dsl/pod.t ++++ b/t/dsl/pod.t +@@ -1,6 +1,7 @@ + use strict; + use warnings; + use Test::More; ++use Config; + + use Dancer2::Core::DSL; + use Pod::Simple::SimpleTree; +@@ -14,7 +15,8 @@ + + isa_ok($dsl_keywords, 'HASH', 'Check whether keywords are present'); + +-my $podpa = Pod::Simple::SimpleTree->new->parse_file('lib/Dancer2/Manual/Keywords.pod')->root; ++my $dir = $ENV{AUTOPKGTEST_TMP} ? $Config{vendorlib} : 'lib'; ++my $podpa = Pod::Simple::SimpleTree->new->parse_file($dir . '/Dancer2/Manual/Keywords.pod')->root; + + my $in_section = 0; + diff --git a/debian/patches/no-phone-home.patch b/debian/patches/no-phone-home.patch new file mode 100644 index 00000000..e0641ab3 --- /dev/null +++ b/debian/patches/no-phone-home.patch @@ -0,0 +1,34 @@ +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 +Bug-Debian: https://bugs.debian.org/883606 +Forwarded: not-needed +Author: Damyan Ivanov <dmn@debian.org> +Reviewed-by: gregor herrmann <gregoa@debian.org> +Last-Update: 2021-10-23 + +--- a/lib/Dancer2/CLI/Gen.pm ++++ b/lib/Dancer2/CLI/Gen.pm +@@ -58,14 +58,6 @@ + default => 0, + ); + +-option no_check => ( +- is => 'ro', +- short => 'x', +- doc => "don't check latest Dancer2 version (default: check - requires internet)", +- required => 0, +- default => 0, +-); +- + option skel => ( + is => 'ro', + short => 's', +@@ -130,7 +122,6 @@ + + sub run { + my $self = shift; +- $self->_version_check unless $self->no_check; + + my $app_name = $self->application; + my $app_file = $self->_get_app_file( $app_name ); diff --git a/debian/patches/series b/debian/patches/series new file mode 100644 index 00000000..c8f3ee10 --- /dev/null +++ b/debian/patches/series @@ -0,0 +1,2 @@ +no-phone-home.patch +autopkgtest.patch diff --git a/debian/rules b/debian/rules new file mode 100755 index 00000000..6f0da28c --- /dev/null +++ b/debian/rules @@ -0,0 +1,13 @@ +#!/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 \ + $(TMP)/usr/bin/dancer2 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@$ |