2015-10-01 04:16:00 +02:00
|
|
|
# $NetBSD: Makefile,v 1.35 2015/10/01 02:16:00 wen Exp $
|
2010-04-11 23:11:14 +02:00
|
|
|
|
2015-10-01 04:16:00 +02:00
|
|
|
DISTNAME= Dancer-1.3142
|
2010-04-11 23:11:14 +02:00
|
|
|
PKGNAME= p5-${DISTNAME}
|
|
|
|
CATEGORIES= www perl5
|
Update to 1.3111
Add p5-YAML as DEPENDS
Upstream changes:
1.3111
[ BUG FIXES ]
* GH #877: fix Dancer Error when so that 'exception' object is not passed
to serializers, because XML/JSON serializers don't understand objects
(rikbrown).
* GH #858: Check for definedness, not truth, when testing if we read
into the buffer when parsing a request body (florolf).
* GH #845: Fix uninitialized warning when loading modules (Fabrice Gabolde).
* GH #851, GH #853: Atomic YAML session writing (Roman Galeev).
* GH #852: Saner UTF logging (Roman Galeev).
* GH #849, GH #850: Serve autopages with text/html content type.
(Philippe Bruhat - BooK)
* GH #848: Handle If-Modified-Since header in the request for static files.
(Philippe Bruhat - BooK)
* GH #848: Send a Last-Modified header for static files.
(Philippe Bruhat - BooK)
* GH #856: Don't export non-existing subroutine (mokko).
* GH #874: Reduce dependence on %ENV for internal code (Kent Fredric).
* GH #875: Don't expect specific order in cookies (Yanick Champoux).
* Remove 'exception' object from message being passed to serializers.
(Rik Brown)
* Added .travis.yml to MANIFEST.SKIP so t/manifest.t passes (Kaitlyn Parkhurst).
* GH #887, GH #890: keyword 'global_warnings' added to replace 'import_warnings'
(Kaitlyn Parkhurst).
* GH #892: add 'private_key' to the list of potentially sensitive keys (Tom Heady).
[ DOCUMENTATION ]
* GH #847: Fix typo (John Wittkoski).
* GH #865: Correct 'before' hook documentation (David Precious, Maurice).
* GH #860, GH #844, GH #760: Misleading plack middleware documentation.
(Paul Fenwick)
* GH #862: Fix heading level for strict_config entry in Dancer::Config.
(Stefan Hornburg - Racke)
* GH #863: Correct example apache config (John Wittkoski).
* GH #867: correct doc for ModuleLoader::load_with_params (mokko).
* Document route_cache option (David Precious).
* Docs for route_cache_size_limit & route_cache_path_limit (David Precious).
* Remove meaningless 'encoding' to TT config (David Precious).
* Remove docs for mounting multiple apps (Naveed Massjouni).
* Update doc URLs (David Precious).
* Fix inconsistency in Perlbal deployment example (Slaven Rezi., Racke).
* GH #894: Replace spurious character in Dancer::Session's POD (Racke).
* GH #880: Add deprecation mention for 'after' (pdl and Yanick Champoux).
2013-02-25 03:23:13 +01:00
|
|
|
MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=../../authors/id/Y/YA/YANICK/}
|
2010-04-11 23:11:14 +02:00
|
|
|
|
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
|
|
|
HOMEPAGE= http://perldancer.org/
|
|
|
|
COMMENT= Perl 5 lightweight yet powerful web application framework
|
|
|
|
LICENSE= ${PERL5_LICENSE}
|
|
|
|
|
|
|
|
USE_LANGUAGES= # empty
|
|
|
|
PERL5_PACKLIST= auto/Dancer/.packlist
|
|
|
|
|
2015-10-01 04:16:00 +02:00
|
|
|
BUILD_DEPENDS+= p5-CGI>=0:../../www/p5-CGI \
|
|
|
|
p5-Test-NoWarnings>=0:../../devel/p5-Test-NoWarnings
|
2015-06-13 11:04:03 +02:00
|
|
|
|
2012-08-29 15:44:50 +02:00
|
|
|
DEPENDS+= p5-Clone>=0:../../devel/p5-Clone
|
2011-10-21 06:04:27 +02:00
|
|
|
DEPENDS+= p5-libwww-[0-9]*:../../www/p5-libwww
|
Update to 1.3134
Add missing DEPENDS
Upstream changes:
1.3134 2015-02-22
[DOCUMENTATION]
- Improve Dancer::Request documentation. (GH#1095, Gabor Szabo)
- Added descriptions to a bunch of internal modules. (GH#1097, Brad
Macpherson)
- Correcting the documentation's grammar. (GH#1101, Jonathan Hall)
- Improve Dancer.pm's documentation wrt the export of 'warnings'.
(GH#1100, Brad Macpherson)
- Generated development.yml was saying the logs appear on STDOUT whereas
it's really STDERR. (GH#1102, Fabrice Gabolde)
[ENHANCEMENTS]
- Skip tests requiring 'fork' if on a perl that doesn't implement it.
(GH#1094, Steve Hay) - Using ':script' disable command-line argument
munging globally. (GH#1098, Brad Macpherson)
[STATISTICS]
- code churn: 33 files changed, 173 insertions(+), 113 deletions(-)
1.3133 2014-11-26
[BUG FIXES]
- Test was failing for Perl 5.21+ (error message changed). (GH#1073,
cpansprout)
[DOCUMENTATION]
- Mention environment variables in Dancer::Config. (GH#1085, Sniperovitch)
- Replace "return send_file" with "send_file". (GH#1089, Ashley Willis)
- Fix NAME section for Dancer::Plugin::Ajax. (GH#1090, Ivan Bessarabov)
- Fix wrong layout directory in documentation. (GH#1091, olof)
[ENHANCEMENTS]
- Speedup in the upload of large files. (GH#1092, snakpak)
[STATISTICS]
- code churn: 6 files changed, 100 insertions(+), 35 deletions(-)
2015-02-23 12:13:59 +01:00
|
|
|
DEPENDS+= p5-Hash-Merge-Simple-[0-9]*:../../devel/p5-Hash-Merge-Simple
|
2012-01-22 21:00:26 +01:00
|
|
|
DEPENDS+= p5-HTTP-Body>=1.07:../../www/p5-HTTP-Body
|
2010-04-11 23:11:14 +02:00
|
|
|
DEPENDS+= p5-HTTP-Server-Simple-PSGI>=0.11:../../www/p5-HTTP-Server-Simple-PSGI
|
|
|
|
DEPENDS+= p5-MIME-Types-[0-9]*:../../mail/p5-MIME-Types
|
2013-06-11 09:26:08 +02:00
|
|
|
DEPENDS+= p5-Module-Runtime>=0:../../devel/p5-Module-Runtime
|
2012-01-22 21:00:26 +01:00
|
|
|
DEPENDS+= p5-URI>=1.59:../../www/p5-URI
|
Update to 1.3097
Upstream CHANGES:
1.3097 08.07.2012
[ ENHANCEMENTS ]
* New keywords 'register_hook' and 'execute_hooks' exported by Dancer::Plugin
for providing a consistent way with Dancer 2 on how to declare and run hooks
from within a plugin (Alexis Sukrieh, idea from David Precious).
1.3096 06.07.2012
** Codename: Chop Hooey // Neil Hooey **
[ ENHANCEMENTS ]
* Finally released, thanks to Neil Hooey bugging my sorry ass.
1.3095_02 03.07.2012
[ BUG FIXES ]
* fix exception tests in some cases (GH #734) (Damien Krotkine & katkad )
[ ENHANCEMENTS ]
* If YAML does not load, Dancer::Config now reports why (Ovid)
[ DOCUMENTATION ]
* Clarify serialization in introduction POD (Mark A. Stratman)
* Typo fix (Sam Kington)
1.3095_01 22.06.2012
[ BUG FIXES ]
* Don't assume returned references are blessed when considering
continuations (Neil Hooey, GH-778)
* Malformed/missing cookies caused warnings
(James Aitken/LoonyPandora, GH-782 and GH-783)
* Avoid potential crash in t/14_serializer/06_api.t if tmp dir is replaced
when %ENV gets cleared (Adam Kennedy)
* Properly initialize %callbacks to default empty hashref in _send_file if
not provided (Greg Mullen)
[ ENHANCEMENTS ]
* Add UTC timestamp options for logger_format (Alex C - perlpong).
* Tests can now run in parallel (Richard Sim.es).
* dancer_version keyword added (Damien "dams" Krotkine).
* New session_domain paramter allows you to set the domain of the default
session cookie (William Wolf)
[ DOCUMENTATION ]
* Update Ubic service example (Vyacheslav Matyukhin)
* Silly typo fixing (Paul Fenwick)
* Typo in Dancer::Test file upload example (Jonathan "Duke" Leto)
* UTF-8 fixes in POD (ambs)
1.3095 01.04.2012
[ BUG FIXES ]
* Small fix to skip tests when YAML is not available.
(Sawyer X)
[ ENHANCEMENTS ]
* Added 'info' log level for messages that should always go to the logs
but aren't really debug, warning or error messages (Ovid)
1.3094 31.03.2012
[ BUG FIXES ]
* GH #763: Fix exceptions in ajax routes clobbering layout (ilmari)
* GH #748 & GH 647: Don't force override environment from PLACK_ENV (jwittkoski)
* GH #762: fix param parsing lacking limit on split (leejo)
* GH #758: Fix Dancer::Test: make sure the request is properly converted to
a response. (Ovid)
* GH #729: Fix dancer exception composition, and message pattern application
(Damien Krotkine)
* GH #752: Exceptions raised in hooks were not propagated back to the route
code, but instead canceleld and replaced by a Dancer halt exception. That
was wrong. Now it is fixed, exceptions raised in hooks can be properly
caught in route code.
(Damien Krotkine)
* Be more flexible in single vs. mutliple values in key hiding.
(Sam Kington)
* Use isa() for checking relationships instead of ref() in Dancer::Test.
(Ovid)
[ ENHANCEMENTS ]
* Added 'strict_config' option to have the config return an object instead
of a hashref. (Ovid)
* GH #708: Added support for query strings in dancer_request (Jacob Rideout)
* It's possible for the user to set the environments directory using a new
environment variable (DANCER_ENVDIR) or using `set envdir => $path`
* Sort hash keys when serializing references in log messages (Ovid).
[ DOCUMENTATION ]
* Explain in POD that if there are multiple fields with the same name,
params('fieldname') returns an arrayref of them (alexrj).
* GH #750: Fix in Dancer::Deployment: appdir needs to be set before calling
load_app (Paul Johnson)
* Update 'before' hook document (David Cantrell).
1.3093 29.02.2012
[ BUG FIXES ]
* GH #738: Define exception type ::Core::Request, to avoid things blowing
up when Dancer::Request raises exceptions of that type
(David Precious, thanks to damog for reporting)
* GH #671: Fix Dancer::Plugin::Ajax with Plack::Builders.
(Activeg, Sawyer X)
* Auto-page feature cleanup and fixup. (David Precious)
* Remove uninitialized warnings. (Sawyer X, David Precious)
[ ENHANCEMENTS ]
* Winning release race to Catalyst (nice try rafl++!)
* Add exception type ::Core::Request. (David Precious)
* JSON decode from UTF8. (Sam Kington)
* Provide the method when a route crashes to help debug. (Sam Kington)
* More helpful log messages. (David Precious)
[ DOCUMENTATION ]
* Fix examples for multi-app deployment under Plack::Builder in deployment.
* Deployment docs. (c0bra)
* Update tutorial. (David Precious)
* Clean up EXPORTS. (David Precious)
* Keyword documentation fixups. (Kirk Kimmel)
* Clarify forward docs with better examples. (David Precious)
1.3092 27.01.2012
[ BUG FIXES ]
* Don't call isa() on unblessed refs in Dancer::Exception. (Sam Kington)
* Assume UTF-8 by default when serialising JSON. (Sam Kington)
* GH #725: If a cookie is set multiple times, last value wins.
(David Precious)
* More intuitive, backwards compatible appending of default template
extension. (GH #716, David Precious)
* Prevent recursion in censoring. (Yanick Champoux, Damien dams Krotkine)
* GH #734: More tests flexibility (Sawyer X, reported by @birdy-)
[ ENHANCEMENTS ]
* Return the current set prefix using prefix(). (Michal Wojciechowski)
* More intuitive appending of default template extension. Makes for cleaner
more DWIM code. (David Precious, reported by Nick Knutov)
* Allow any options to JSON serializer. (Lee Johnson)
* Support complex views with multiple document roots. (Pedro Melo)
[ DOCUMENTATION ]
* Document how to work with Dotcloud. (Oliver Gorwits)
* Clean ups and fix ups. (David Precious, Sawyer X, Michal Wojciechowski)
2012-07-26 02:20:13 +02:00
|
|
|
DEPENDS+= p5-Test-Output>=0:../../devel/p5-Test-Output
|
2013-06-11 09:26:08 +02:00
|
|
|
DEPENDS+= p5-Test-TCP>=1.30:../../net/p5-Test-TCP
|
Update to 1.3097
Upstream CHANGES:
1.3097 08.07.2012
[ ENHANCEMENTS ]
* New keywords 'register_hook' and 'execute_hooks' exported by Dancer::Plugin
for providing a consistent way with Dancer 2 on how to declare and run hooks
from within a plugin (Alexis Sukrieh, idea from David Precious).
1.3096 06.07.2012
** Codename: Chop Hooey // Neil Hooey **
[ ENHANCEMENTS ]
* Finally released, thanks to Neil Hooey bugging my sorry ass.
1.3095_02 03.07.2012
[ BUG FIXES ]
* fix exception tests in some cases (GH #734) (Damien Krotkine & katkad )
[ ENHANCEMENTS ]
* If YAML does not load, Dancer::Config now reports why (Ovid)
[ DOCUMENTATION ]
* Clarify serialization in introduction POD (Mark A. Stratman)
* Typo fix (Sam Kington)
1.3095_01 22.06.2012
[ BUG FIXES ]
* Don't assume returned references are blessed when considering
continuations (Neil Hooey, GH-778)
* Malformed/missing cookies caused warnings
(James Aitken/LoonyPandora, GH-782 and GH-783)
* Avoid potential crash in t/14_serializer/06_api.t if tmp dir is replaced
when %ENV gets cleared (Adam Kennedy)
* Properly initialize %callbacks to default empty hashref in _send_file if
not provided (Greg Mullen)
[ ENHANCEMENTS ]
* Add UTC timestamp options for logger_format (Alex C - perlpong).
* Tests can now run in parallel (Richard Sim.es).
* dancer_version keyword added (Damien "dams" Krotkine).
* New session_domain paramter allows you to set the domain of the default
session cookie (William Wolf)
[ DOCUMENTATION ]
* Update Ubic service example (Vyacheslav Matyukhin)
* Silly typo fixing (Paul Fenwick)
* Typo in Dancer::Test file upload example (Jonathan "Duke" Leto)
* UTF-8 fixes in POD (ambs)
1.3095 01.04.2012
[ BUG FIXES ]
* Small fix to skip tests when YAML is not available.
(Sawyer X)
[ ENHANCEMENTS ]
* Added 'info' log level for messages that should always go to the logs
but aren't really debug, warning or error messages (Ovid)
1.3094 31.03.2012
[ BUG FIXES ]
* GH #763: Fix exceptions in ajax routes clobbering layout (ilmari)
* GH #748 & GH 647: Don't force override environment from PLACK_ENV (jwittkoski)
* GH #762: fix param parsing lacking limit on split (leejo)
* GH #758: Fix Dancer::Test: make sure the request is properly converted to
a response. (Ovid)
* GH #729: Fix dancer exception composition, and message pattern application
(Damien Krotkine)
* GH #752: Exceptions raised in hooks were not propagated back to the route
code, but instead canceleld and replaced by a Dancer halt exception. That
was wrong. Now it is fixed, exceptions raised in hooks can be properly
caught in route code.
(Damien Krotkine)
* Be more flexible in single vs. mutliple values in key hiding.
(Sam Kington)
* Use isa() for checking relationships instead of ref() in Dancer::Test.
(Ovid)
[ ENHANCEMENTS ]
* Added 'strict_config' option to have the config return an object instead
of a hashref. (Ovid)
* GH #708: Added support for query strings in dancer_request (Jacob Rideout)
* It's possible for the user to set the environments directory using a new
environment variable (DANCER_ENVDIR) or using `set envdir => $path`
* Sort hash keys when serializing references in log messages (Ovid).
[ DOCUMENTATION ]
* Explain in POD that if there are multiple fields with the same name,
params('fieldname') returns an arrayref of them (alexrj).
* GH #750: Fix in Dancer::Deployment: appdir needs to be set before calling
load_app (Paul Johnson)
* Update 'before' hook document (David Cantrell).
1.3093 29.02.2012
[ BUG FIXES ]
* GH #738: Define exception type ::Core::Request, to avoid things blowing
up when Dancer::Request raises exceptions of that type
(David Precious, thanks to damog for reporting)
* GH #671: Fix Dancer::Plugin::Ajax with Plack::Builders.
(Activeg, Sawyer X)
* Auto-page feature cleanup and fixup. (David Precious)
* Remove uninitialized warnings. (Sawyer X, David Precious)
[ ENHANCEMENTS ]
* Winning release race to Catalyst (nice try rafl++!)
* Add exception type ::Core::Request. (David Precious)
* JSON decode from UTF8. (Sam Kington)
* Provide the method when a route crashes to help debug. (Sam Kington)
* More helpful log messages. (David Precious)
[ DOCUMENTATION ]
* Fix examples for multi-app deployment under Plack::Builder in deployment.
* Deployment docs. (c0bra)
* Update tutorial. (David Precious)
* Clean up EXPORTS. (David Precious)
* Keyword documentation fixups. (Kirk Kimmel)
* Clarify forward docs with better examples. (David Precious)
1.3092 27.01.2012
[ BUG FIXES ]
* Don't call isa() on unblessed refs in Dancer::Exception. (Sam Kington)
* Assume UTF-8 by default when serialising JSON. (Sam Kington)
* GH #725: If a cookie is set multiple times, last value wins.
(David Precious)
* More intuitive, backwards compatible appending of default template
extension. (GH #716, David Precious)
* Prevent recursion in censoring. (Yanick Champoux, Damien dams Krotkine)
* GH #734: More tests flexibility (Sawyer X, reported by @birdy-)
[ ENHANCEMENTS ]
* Return the current set prefix using prefix(). (Michal Wojciechowski)
* More intuitive appending of default template extension. Makes for cleaner
more DWIM code. (David Precious, reported by Nick Knutov)
* Allow any options to JSON serializer. (Lee Johnson)
* Support complex views with multiple document roots. (Pedro Melo)
[ DOCUMENTATION ]
* Document how to work with Dotcloud. (Oliver Gorwits)
* Clean ups and fix ups. (David Precious, Sawyer X, Michal Wojciechowski)
2012-07-26 02:20:13 +02:00
|
|
|
DEPENDS+= p5-Test-Pod-Coverage>=1.08:../../devel/p5-Test-Pod-Coverage
|
2013-06-11 09:26:08 +02:00
|
|
|
DEPENDS+= p5-Try-Tiny>=0.09:../../devel/p5-Try-Tiny
|
Update to 1.3111
Add p5-YAML as DEPENDS
Upstream changes:
1.3111
[ BUG FIXES ]
* GH #877: fix Dancer Error when so that 'exception' object is not passed
to serializers, because XML/JSON serializers don't understand objects
(rikbrown).
* GH #858: Check for definedness, not truth, when testing if we read
into the buffer when parsing a request body (florolf).
* GH #845: Fix uninitialized warning when loading modules (Fabrice Gabolde).
* GH #851, GH #853: Atomic YAML session writing (Roman Galeev).
* GH #852: Saner UTF logging (Roman Galeev).
* GH #849, GH #850: Serve autopages with text/html content type.
(Philippe Bruhat - BooK)
* GH #848: Handle If-Modified-Since header in the request for static files.
(Philippe Bruhat - BooK)
* GH #848: Send a Last-Modified header for static files.
(Philippe Bruhat - BooK)
* GH #856: Don't export non-existing subroutine (mokko).
* GH #874: Reduce dependence on %ENV for internal code (Kent Fredric).
* GH #875: Don't expect specific order in cookies (Yanick Champoux).
* Remove 'exception' object from message being passed to serializers.
(Rik Brown)
* Added .travis.yml to MANIFEST.SKIP so t/manifest.t passes (Kaitlyn Parkhurst).
* GH #887, GH #890: keyword 'global_warnings' added to replace 'import_warnings'
(Kaitlyn Parkhurst).
* GH #892: add 'private_key' to the list of potentially sensitive keys (Tom Heady).
[ DOCUMENTATION ]
* GH #847: Fix typo (John Wittkoski).
* GH #865: Correct 'before' hook documentation (David Precious, Maurice).
* GH #860, GH #844, GH #760: Misleading plack middleware documentation.
(Paul Fenwick)
* GH #862: Fix heading level for strict_config entry in Dancer::Config.
(Stefan Hornburg - Racke)
* GH #863: Correct example apache config (John Wittkoski).
* GH #867: correct doc for ModuleLoader::load_with_params (mokko).
* Document route_cache option (David Precious).
* Docs for route_cache_size_limit & route_cache_path_limit (David Precious).
* Remove meaningless 'encoding' to TT config (David Precious).
* Remove docs for mounting multiple apps (Naveed Massjouni).
* Update doc URLs (David Precious).
* Fix inconsistency in Perlbal deployment example (Slaven Rezi., Racke).
* GH #894: Replace spurious character in Dancer::Session's POD (Racke).
* GH #880: Add deprecation mention for 'after' (pdl and Yanick Champoux).
2013-02-25 03:23:13 +01:00
|
|
|
DEPENDS+= p5-YAML>=0:../../textproc/p5-YAML
|
2010-04-11 23:11:14 +02:00
|
|
|
|
|
|
|
.include "../../lang/perl5/module.mk"
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|