From: wen heping Subject: [Update]www/p5-Dancer2 To: "ports@openbsd.org" Date: Fri, 24 Oct 2025 01:48:30 +0000 Hi, ports@: Here is a patch for www/p5-Dancer2: i) Update to 2.0.1 ii) Add devel/p5-Data-Censor as RUN_D, I submitted the patch to create devel/p5-Data-Censor just now. iii) Add devel/p5-Test-Exception as TEST_D. It build well and pass all the tests on OpenBSD-current system. Cheers ! wen Index: www/p5-Dancer2/Makefile =================================================================== RCS file: /cvs/ports/www/p5-Dancer2/Makefile,v retrieving revision 1.21 diff -u -p -r1.21 Makefile --- www/p5-Dancer2/Makefile 23 Aug 2025 06:38:41 -0000 1.21 +++ www/p5-Dancer2/Makefile 24 Oct 2025 01:15:43 -0000 @@ -1,6 +1,6 @@ COMMENT = lightweight yet powerful web application framework -DISTNAME = Dancer2-1.1.2 +DISTNAME = Dancer2-2.0.1 CATEGORIES = www @@ -8,6 +8,7 @@ CATEGORIES = www PERMIT_PACKAGE = Yes MODULES = cpan +CPAN_AUTHOR = CROMEDOME BUILD_DEPENDS = devel/p5-File-ShareDir-Install>=0.06 @@ -18,6 +19,7 @@ RUN_DEPENDS = converters/p5-Cpanel-JSO devel/p5-CLI-Osprey \ devel/p5-Class-Load \ devel/p5-Config-Any \ + devel/p5-Data-Censor \ devel/p5-File-Share \ devel/p5-Hash-Merge-Simple \ devel/p5-Import-Into \ @@ -46,6 +48,7 @@ RUN_DEPENDS = converters/p5-Cpanel-JSO TEST_DEPENDS = devel/p5-AnyEvent \ devel/p5-Test-CPAN-Meta \ devel/p5-Test-EOL \ + devel/p5-Test-Exception \ devel/p5-Test-Fatal \ devel/p5-Test-Memory-Cycle>=1.04 \ devel/p5-Test-MockTime \ Index: www/p5-Dancer2/distinfo =================================================================== RCS file: /cvs/ports/www/p5-Dancer2/distinfo,v retrieving revision 1.15 diff -u -p -r1.15 distinfo --- www/p5-Dancer2/distinfo 23 Aug 2025 06:38:41 -0000 1.15 +++ www/p5-Dancer2/distinfo 24 Oct 2025 01:15:43 -0000 @@ -1,2 +1,2 @@ -SHA256 (Dancer2-1.1.2.tar.gz) = wRd/3H8yRDDfQdl0LzggaWGfekZofr67AsfPmDcZUc8= -SIZE (Dancer2-1.1.2.tar.gz) = 404292 +SHA256 (Dancer2-2.0.1.tar.gz) = 8LmPiIfLgXgSSgbdbyarhccdy+sKGANGaSIKu0e4ftg= +SIZE (Dancer2-2.0.1.tar.gz) = 389033 Index: www/p5-Dancer2/pkg/PLIST =================================================================== RCS file: /cvs/ports/www/p5-Dancer2/pkg/PLIST,v retrieving revision 1.8 diff -u -p -r1.8 PLIST --- www/p5-Dancer2/pkg/PLIST 20 Mar 2022 22:22:31 -0000 1.8 +++ www/p5-Dancer2/pkg/PLIST 24 Oct 2025 01:15:43 -0000 @@ -5,8 +5,11 @@ ${P5SITE}/Dancer2/CLI/ ${P5SITE}/Dancer2/CLI.pm ${P5SITE}/Dancer2/CLI/Gen.pm ${P5SITE}/Dancer2/CLI/Version.pm -${P5SITE}/Dancer2/Config.pod -${P5SITE}/Dancer2/Cookbook.pod +${P5SITE}/Dancer2/ConfigReader/ +${P5SITE}/Dancer2/ConfigReader.pm +${P5SITE}/Dancer2/ConfigReader/Config/ +${P5SITE}/Dancer2/ConfigReader/Config/Any.pm +${P5SITE}/Dancer2/ConfigUtils.pm ${P5SITE}/Dancer2/Core/ ${P5SITE}/Dancer2/Core.pm ${P5SITE}/Dancer2/Core/App.pm @@ -29,6 +32,8 @@ ${P5SITE}/Dancer2/Core/Role/ConfigReader ${P5SITE}/Dancer2/Core/Role/DSL.pm ${P5SITE}/Dancer2/Core/Role/Engine.pm ${P5SITE}/Dancer2/Core/Role/Handler.pm +${P5SITE}/Dancer2/Core/Role/HasConfig.pm +${P5SITE}/Dancer2/Core/Role/HasEnvironment.pm ${P5SITE}/Dancer2/Core/Role/HasLocation.pm ${P5SITE}/Dancer2/Core/Role/Hookable.pm ${P5SITE}/Dancer2/Core/Role/Logger.pm @@ -59,12 +64,17 @@ ${P5SITE}/Dancer2/Logger/Note.pm ${P5SITE}/Dancer2/Logger/Null.pm ${P5SITE}/Dancer2/Manual/ ${P5SITE}/Dancer2/Manual.pod +${P5SITE}/Dancer2/Manual/Config.pod +${P5SITE}/Dancer2/Manual/Cookbook.pod ${P5SITE}/Dancer2/Manual/Deployment.pod +${P5SITE}/Dancer2/Manual/Extending.pod ${P5SITE}/Dancer2/Manual/Keywords.pod ${P5SITE}/Dancer2/Manual/Migration.pod +${P5SITE}/Dancer2/Manual/Plugins.pod +${P5SITE}/Dancer2/Manual/QuickStart.pod ${P5SITE}/Dancer2/Manual/Testing.pod +${P5SITE}/Dancer2/Manual/Tutorial.pod ${P5SITE}/Dancer2/Plugin.pm -${P5SITE}/Dancer2/Plugins.pod ${P5SITE}/Dancer2/Policy.pod ${P5SITE}/Dancer2/Serializer/ ${P5SITE}/Dancer2/Serializer/Dumper.pm @@ -75,58 +85,99 @@ ${P5SITE}/Dancer2/Session/ ${P5SITE}/Dancer2/Session/Simple.pm ${P5SITE}/Dancer2/Session/YAML.pm ${P5SITE}/Dancer2/Template/ -${P5SITE}/Dancer2/Template/Implementation/ -${P5SITE}/Dancer2/Template/Implementation/ForkedTiny.pm -${P5SITE}/Dancer2/Template/Simple.pm ${P5SITE}/Dancer2/Template/TemplateToolkit.pm ${P5SITE}/Dancer2/Template/Tiny.pm ${P5SITE}/Dancer2/Test.pm -${P5SITE}/Dancer2/Tutorial.pod ${P5SITE}/auto/share/dist/Dancer2/ @comment ${P5SITE}/auto/share/dist/Dancer2/.gitignore @comment ${P5SITE}/auto/share/dist/Dancer2/docker/ @comment ${P5SITE}/auto/share/dist/Dancer2/docker/Dockerfile ${P5SITE}/auto/share/dist/Dancer2/skel/ -${P5SITE}/auto/share/dist/Dancer2/skel/.dancer -${P5SITE}/auto/share/dist/Dancer2/skel/MANIFEST.SKIP -${P5SITE}/auto/share/dist/Dancer2/skel/Makefile.PL -${P5SITE}/auto/share/dist/Dancer2/skel/bin/ -${P5SITE}/auto/share/dist/Dancer2/skel/bin/+app.psgi -${P5SITE}/auto/share/dist/Dancer2/skel/config.yml -${P5SITE}/auto/share/dist/Dancer2/skel/cpanfile -${P5SITE}/auto/share/dist/Dancer2/skel/environments/ -${P5SITE}/auto/share/dist/Dancer2/skel/environments/development.yml -${P5SITE}/auto/share/dist/Dancer2/skel/environments/production.yml -${P5SITE}/auto/share/dist/Dancer2/skel/lib/ -${P5SITE}/auto/share/dist/Dancer2/skel/lib/AppFile.pm -${P5SITE}/auto/share/dist/Dancer2/skel/public/ -${P5SITE}/auto/share/dist/Dancer2/skel/public/+dispatch.cgi -${P5SITE}/auto/share/dist/Dancer2/skel/public/+dispatch.fcgi -${P5SITE}/auto/share/dist/Dancer2/skel/public/404.html -${P5SITE}/auto/share/dist/Dancer2/skel/public/500.html -${P5SITE}/auto/share/dist/Dancer2/skel/public/css/ -${P5SITE}/auto/share/dist/Dancer2/skel/public/css/error.css -${P5SITE}/auto/share/dist/Dancer2/skel/public/css/style.css -${P5SITE}/auto/share/dist/Dancer2/skel/public/favicon.ico -${P5SITE}/auto/share/dist/Dancer2/skel/public/images/ -${P5SITE}/auto/share/dist/Dancer2/skel/public/images/perldancer-bg.jpg -${P5SITE}/auto/share/dist/Dancer2/skel/public/images/perldancer.jpg -${P5SITE}/auto/share/dist/Dancer2/skel/public/javascripts/ -${P5SITE}/auto/share/dist/Dancer2/skel/public/javascripts/jquery.js -${P5SITE}/auto/share/dist/Dancer2/skel/t/ -${P5SITE}/auto/share/dist/Dancer2/skel/t/001_base.t -${P5SITE}/auto/share/dist/Dancer2/skel/t/002_index_route.t -${P5SITE}/auto/share/dist/Dancer2/skel/views/ -${P5SITE}/auto/share/dist/Dancer2/skel/views/index.tt -${P5SITE}/auto/share/dist/Dancer2/skel/views/layouts/ -${P5SITE}/auto/share/dist/Dancer2/skel/views/layouts/main.tt +${P5SITE}/auto/share/dist/Dancer2/skel/default/ +${P5SITE}/auto/share/dist/Dancer2/skel/default/.dancer +${P5SITE}/auto/share/dist/Dancer2/skel/default/MANIFEST.SKIP +${P5SITE}/auto/share/dist/Dancer2/skel/default/Makefile.PL +${P5SITE}/auto/share/dist/Dancer2/skel/default/bin/ +${P5SITE}/auto/share/dist/Dancer2/skel/default/bin/+app.psgi +${P5SITE}/auto/share/dist/Dancer2/skel/default/config.yml +${P5SITE}/auto/share/dist/Dancer2/skel/default/cpanfile +${P5SITE}/auto/share/dist/Dancer2/skel/default/environments/ +${P5SITE}/auto/share/dist/Dancer2/skel/default/environments/development.yml +${P5SITE}/auto/share/dist/Dancer2/skel/default/environments/production.yml +${P5SITE}/auto/share/dist/Dancer2/skel/default/lib/ +${P5SITE}/auto/share/dist/Dancer2/skel/default/lib/AppFile.pm +${P5SITE}/auto/share/dist/Dancer2/skel/default/public/ +${P5SITE}/auto/share/dist/Dancer2/skel/default/public/+dispatch.cgi +${P5SITE}/auto/share/dist/Dancer2/skel/default/public/+dispatch.fcgi +${P5SITE}/auto/share/dist/Dancer2/skel/default/public/404.html +${P5SITE}/auto/share/dist/Dancer2/skel/default/public/500.html +${P5SITE}/auto/share/dist/Dancer2/skel/default/public/css/ +${P5SITE}/auto/share/dist/Dancer2/skel/default/public/css/error.css +${P5SITE}/auto/share/dist/Dancer2/skel/default/public/css/style.css +${P5SITE}/auto/share/dist/Dancer2/skel/default/public/favicon.ico +${P5SITE}/auto/share/dist/Dancer2/skel/default/public/images/ +${P5SITE}/auto/share/dist/Dancer2/skel/default/public/images/perldancer-bg.jpg +${P5SITE}/auto/share/dist/Dancer2/skel/default/public/images/perldancer.jpg +${P5SITE}/auto/share/dist/Dancer2/skel/default/t/ +${P5SITE}/auto/share/dist/Dancer2/skel/default/t/001_base.t +${P5SITE}/auto/share/dist/Dancer2/skel/default/t/002_index_route.t +${P5SITE}/auto/share/dist/Dancer2/skel/default/views/ +${P5SITE}/auto/share/dist/Dancer2/skel/default/views/index.tt +${P5SITE}/auto/share/dist/Dancer2/skel/default/views/layouts/ +${P5SITE}/auto/share/dist/Dancer2/skel/default/views/layouts/main.tt +${P5SITE}/auto/share/dist/Dancer2/skel/tutorial/ +${P5SITE}/auto/share/dist/Dancer2/skel/tutorial/bin/ +${P5SITE}/auto/share/dist/Dancer2/skel/tutorial/bin/+app.psgi +${P5SITE}/auto/share/dist/Dancer2/skel/tutorial/config.yml +${P5SITE}/auto/share/dist/Dancer2/skel/tutorial/cpanfile +${P5SITE}/auto/share/dist/Dancer2/skel/tutorial/db/ +${P5SITE}/auto/share/dist/Dancer2/skel/tutorial/db/blog.db +${P5SITE}/auto/share/dist/Dancer2/skel/tutorial/db/entries.sql +${P5SITE}/auto/share/dist/Dancer2/skel/tutorial/db/users.sql +${P5SITE}/auto/share/dist/Dancer2/skel/tutorial/environments/ +${P5SITE}/auto/share/dist/Dancer2/skel/tutorial/environments/development.yml +${P5SITE}/auto/share/dist/Dancer2/skel/tutorial/environments/production.yml +${P5SITE}/auto/share/dist/Dancer2/skel/tutorial/environments/test.yml +${P5SITE}/auto/share/dist/Dancer2/skel/tutorial/lib/ +${P5SITE}/auto/share/dist/Dancer2/skel/tutorial/lib/AppFile/ +${P5SITE}/auto/share/dist/Dancer2/skel/tutorial/lib/AppFile.pm +${P5SITE}/auto/share/dist/Dancer2/skel/tutorial/lib/AppFile/Schema/ +${P5SITE}/auto/share/dist/Dancer2/skel/tutorial/lib/AppFile/Schema.pm +${P5SITE}/auto/share/dist/Dancer2/skel/tutorial/lib/AppFile/Schema/Result/ +${P5SITE}/auto/share/dist/Dancer2/skel/tutorial/lib/AppFile/Schema/Result/Entry.pm +${P5SITE}/auto/share/dist/Dancer2/skel/tutorial/lib/AppFile/Schema/Result/User.pm +${P5SITE}/auto/share/dist/Dancer2/skel/tutorial/public/ +${P5SITE}/auto/share/dist/Dancer2/skel/tutorial/public/404.html +${P5SITE}/auto/share/dist/Dancer2/skel/tutorial/public/500.html +${P5SITE}/auto/share/dist/Dancer2/skel/tutorial/public/css/ +${P5SITE}/auto/share/dist/Dancer2/skel/tutorial/public/css/error.css +${P5SITE}/auto/share/dist/Dancer2/skel/tutorial/public/css/style.css +${P5SITE}/auto/share/dist/Dancer2/skel/tutorial/public/dispatch.cgi +${P5SITE}/auto/share/dist/Dancer2/skel/tutorial/public/dispatch.fcgi +${P5SITE}/auto/share/dist/Dancer2/skel/tutorial/public/favicon.ico +${P5SITE}/auto/share/dist/Dancer2/skel/tutorial/t/ +${P5SITE}/auto/share/dist/Dancer2/skel/tutorial/t/001_base.t +${P5SITE}/auto/share/dist/Dancer2/skel/tutorial/t/002_index_route.t +${P5SITE}/auto/share/dist/Dancer2/skel/tutorial/t/003_login.t +${P5SITE}/auto/share/dist/Dancer2/skel/tutorial/t/004_blog.t +${P5SITE}/auto/share/dist/Dancer2/skel/tutorial/t/db/ +${P5SITE}/auto/share/dist/Dancer2/skel/tutorial/t/db/test.db +${P5SITE}/auto/share/dist/Dancer2/skel/tutorial/views/ +${P5SITE}/auto/share/dist/Dancer2/skel/tutorial/views/create_update.tt +${P5SITE}/auto/share/dist/Dancer2/skel/tutorial/views/delete.tt +${P5SITE}/auto/share/dist/Dancer2/skel/tutorial/views/entry.tt +${P5SITE}/auto/share/dist/Dancer2/skel/tutorial/views/index.tt +${P5SITE}/auto/share/dist/Dancer2/skel/tutorial/views/layouts/ +${P5SITE}/auto/share/dist/Dancer2/skel/tutorial/views/layouts/main.tt +${P5SITE}/auto/share/dist/Dancer2/skel/tutorial/views/login.tt @man man/man1/dancer2.1 @man man/man3p/Dancer2.3p @man man/man3p/Dancer2::CLI.3p @man man/man3p/Dancer2::CLI::Gen.3p @man man/man3p/Dancer2::CLI::Version.3p -@man man/man3p/Dancer2::Config.3p -@man man/man3p/Dancer2::Cookbook.3p +@man man/man3p/Dancer2::ConfigReader.3p +@man man/man3p/Dancer2::ConfigReader::Config::Any.3p +@man man/man3p/Dancer2::ConfigUtils.3p @man man/man3p/Dancer2::Core.3p @man man/man3p/Dancer2::Core::App.3p @man man/man3p/Dancer2::Core::Cookie.3p @@ -145,6 +196,8 @@ ${P5SITE}/auto/share/dist/Dancer2/skel/v @man man/man3p/Dancer2::Core::Role::DSL.3p @man man/man3p/Dancer2::Core::Role::Engine.3p @man man/man3p/Dancer2::Core::Role::Handler.3p +@man man/man3p/Dancer2::Core::Role::HasConfig.3p +@man man/man3p/Dancer2::Core::Role::HasEnvironment.3p @man man/man3p/Dancer2::Core::Role::HasLocation.3p @man man/man3p/Dancer2::Core::Role::Hookable.3p @man man/man3p/Dancer2::Core::Role::Logger.3p @@ -170,12 +223,17 @@ ${P5SITE}/auto/share/dist/Dancer2/skel/v @man man/man3p/Dancer2::Logger::Note.3p @man man/man3p/Dancer2::Logger::Null.3p @man man/man3p/Dancer2::Manual.3p +@man man/man3p/Dancer2::Manual::Config.3p +@man man/man3p/Dancer2::Manual::Cookbook.3p @man man/man3p/Dancer2::Manual::Deployment.3p +@man man/man3p/Dancer2::Manual::Extending.3p @man man/man3p/Dancer2::Manual::Keywords.3p @man man/man3p/Dancer2::Manual::Migration.3p +@man man/man3p/Dancer2::Manual::Plugins.3p +@man man/man3p/Dancer2::Manual::QuickStart.3p @man man/man3p/Dancer2::Manual::Testing.3p +@man man/man3p/Dancer2::Manual::Tutorial.3p @man man/man3p/Dancer2::Plugin.3p -@man man/man3p/Dancer2::Plugins.3p @man man/man3p/Dancer2::Policy.3p @man man/man3p/Dancer2::Serializer::Dumper.3p @man man/man3p/Dancer2::Serializer::JSON.3p @@ -183,9 +241,6 @@ ${P5SITE}/auto/share/dist/Dancer2/skel/v @man man/man3p/Dancer2::Serializer::YAML.3p @man man/man3p/Dancer2::Session::Simple.3p @man man/man3p/Dancer2::Session::YAML.3p -@man man/man3p/Dancer2::Template::Implementation::ForkedTiny.3p -@man man/man3p/Dancer2::Template::Simple.3p @man man/man3p/Dancer2::Template::TemplateToolkit.3p @man man/man3p/Dancer2::Template::Tiny.3p @man man/man3p/Dancer2::Test.3p -@man man/man3p/Dancer2::Tutorial.3p