notbugAs an Amazon Associate I earn from qualifying purchases.
Want a good read? Try FreeBSD Mastery: Jails (IT Mastery Book 15)
Want a good monitor light? See my photosAll times are UTC
Ukraine
Port details
p5-Plack-Middleware-MethodOverride Override REST methods to Plack apps via POST
0.20 www on this many watch lists=2 search for ports that depend on this port Find issues related to this port Report an issue related to this port View this port on Repology. pkg-fallout 0.20Version of this port present on the latest quarterly branch.
Maintainer: sunpoet@FreeBSD.org search for ports maintained by this maintainer
Port Added: 2014-03-29 08:43:28
Last Update: 2022-09-07 21:58:51
Commit Hash: fb16dfe
People watching this port, also watch:: jdictionary, py311-Automat, py311-python-gdsii, py39-PyOpenGL, p5-Sane
Also Listed In: perl5
License: ART10 GPLv1+
WWW:
https://metacpan.org/release/Plack-Middleware-MethodOverride
Description:
Writing RESTful apps is a good thing, but if you're also trying to support web browsers, you're probably going to need some hackish workarounds. This module provides one such workaround for your Plack applications. Specifically, you can also use a header named X-HTTP-Method-Override (as used by Google for its APIs) override the POST request method. Or you can add a parameter named x-tunneled-method to your form action's query. Either way, the overriding works only via POST requests, not GET. If either of these attributes are available in a POST request, the REQUEST_METHOD key of the Plack environment hash will be replaced with its value. This allows your apps to override any HTTP method over POST. If your application needs to know that such overriding has taken place, the original method is stored under the plack.original_request_method key in the Plack environment hash. The list of methods you can specify are: GET, POST, HEAD, PUT, DELETE, OPTIONS, TRACE and CONNECT.
Homepage    cgit ¦ Codeberg ¦ GitHub ¦ GitLab ¦ SVNWeb

Manual pages:
FreshPorts has no man page information for this port.
pkg-plist: as obtained via: make generate-plist
Expand this list (9 items)
Collapse this list.
  1. /usr/local/share/licenses/p5-Plack-Middleware-MethodOverride-0.20/catalog.mk
  2. /usr/local/share/licenses/p5-Plack-Middleware-MethodOverride-0.20/LICENSE
  3. /usr/local/share/licenses/p5-Plack-Middleware-MethodOverride-0.20/ART10
  4. /usr/local/share/licenses/p5-Plack-Middleware-MethodOverride-0.20/GPLv1+
  5. lib/perl5/site_perl/Plack/Middleware/MethodOverride.pm
  6. lib/perl5/site_perl/man/man3/Plack::Middleware::MethodOverride.3.gz
  7. @owner
  8. @group
  9. @mode
Collapse this list.
Dependency lines:
  • p5-Plack-Middleware-MethodOverride>0:www/p5-Plack-Middleware-MethodOverride
To install the port:
cd /usr/ports/www/p5-Plack-Middleware-MethodOverride/ && make install clean
To add the package, run one of these commands:
  • pkg install www/p5-Plack-Middleware-MethodOverride
  • pkg install p5-Plack-Middleware-MethodOverride
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above.
PKGNAME: p5-Plack-Middleware-MethodOverride
Flavors: there is no flavor information for this port.
distinfo:
TIMESTAMP = 1527438195 SHA256 (Plack-Middleware-MethodOverride-0.20.tar.gz) = dbfb5a2efb48bfeb01cb3ae1e1c677e155dc7bfe210c7e7f221bae3cb6aab5f1 SIZE (Plack-Middleware-MethodOverride-0.20.tar.gz) = 12715

Packages (timestamps in pop-ups are UTC):
p5-Plack-Middleware-MethodOverride
ABIaarch64amd64armv6armv7i386powerpcpowerpc64powerpc64le
FreeBSD:13:latest0.200.200.200.200.20-0.20-
FreeBSD:13:quarterly0.200.200.200.200.200.200.200.20
FreeBSD:14:latest0.200.200.200.200.200.20-0.20
FreeBSD:14:quarterly0.200.20-0.200.200.200.200.20
FreeBSD:15:latest0.200.20n/a0.20n/a0.200.200.20
Dependencies
NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
Build dependencies:
  1. p5-Plack>=0 : www/p5-Plack
  2. perl5>=5.32.r0<5.33 : lang/perl5.32
  3. perl5>=5.32.r0<5.33 : lang/perl5.32
Runtime dependencies:
  1. p5-Plack>=0 : www/p5-Plack
  2. perl5>=5.32.r0<5.33 : lang/perl5.32
This port is required by:
for Build
  1. www/p5-Catalyst-Runtime
for Run
  1. www/p5-Catalyst-Runtime

Configuration Options:
No options to configure
Options name:
www_p5-Plack-Middleware-MethodOverride
USES:
perl5
FreshPorts was unable to extract/find any pkg message
Master Sites:
Expand this list (12 items)
Collapse this list.
  1. ftp://ftp.auckland.ac.nz/pub/perl/CPAN/modules/by-module/Plack/
  2. ftp://ftp.cpan.org/pub/CPAN/modules/by-module/
  3. ftp://ftp.cpan.org/pub/CPAN/modules/by-module/Plack/
  4. ftp://ftp.funet.fi/pub/languages/perl/CPAN/modules/by-module/Plack/
  5. ftp://ftp.kddlabs.co.jp/lang/perl/CPAN/modules/by-module/Plack/
  6. ftp://ftp.mirrorservice.org/sites/cpan.perl.org/CPAN/modules/by-module/Plack/
  7. http://backpan.perl.org/modules/by-module/Plack/
  8. http://ftp.jaist.ac.jp/pub/CPAN/modules/by-module/Plack/
  9. http://ftp.twaren.net/Unix/Lang/CPAN/modules/by-module/Plack/
  10. https://cpan.metacpan.org/modules/by-module/
  11. https://cpan.metacpan.org/modules/by-module/Plack/
  12. https://www.cpan.org/modules/by-module/Plack/
Collapse this list.

Number of commits found: 18

Commit History - (may be incomplete: for full details, see links to repositories near top of page)
CommitCreditsLog message
07 Sep 2022 21:58:51
commit hash: fb16dfecae4a6efac9f3a78e0b759fb7a3c53de4commit hash: fb16dfecae4a6efac9f3a78e0b759fb7a3c53de4commit hash: fb16dfecae4a6efac9f3a78e0b759fb7a3c53de4commit hash: fb16dfecae4a6efac9f3a78e0b759fb7a3c53de4 files touched by this commit
Stefan Eßer (se) search for other commits by this committer
Remove WWW entries moved into port Makefiles

Commit b7f05445c00f has added WWW entries to port Makefiles based on
WWW: lines in pkg-descr files.

This commit removes the WWW: lines of moved-over URLs from these
pkg-descr files.

Approved by:		portmgr (tcberner)
0.20
07 Sep 2022 21:10:59
commit hash: b7f05445c00f2625aa19b4154ebcbce5ed2daa52commit hash: b7f05445c00f2625aa19b4154ebcbce5ed2daa52commit hash: b7f05445c00f2625aa19b4154ebcbce5ed2daa52commit hash: b7f05445c00f2625aa19b4154ebcbce5ed2daa52 files touched by this commit
Stefan Eßer (se) search for other commits by this committer
Add WWW entries to port Makefiles

It has been common practice to have one or more URLs at the end of the
ports' pkg-descr files, one per line and prefixed with "WWW:". These
URLs should point at a project website or other relevant resources.

Access to these URLs required processing of the pkg-descr files, and
they have often become stale over time. If more than one such URL was
present in a pkg-descr file, only the first one was tarnsfered into
the port INDEX, but for many ports only the last line did contain the
port specific URL to further information.

There have been several proposals to make a project URL available as
a macro in the ports' Makefiles, over time.
(Only the first 15 lines of the commit message are shown above View all of this commit message)
0.20
20 Jul 2022 14:23:26
commit hash: e915e756715f12e5e0e46993b1265f44690b4a90commit hash: e915e756715f12e5e0e46993b1265f44690b4a90commit hash: e915e756715f12e5e0e46993b1265f44690b4a90commit hash: e915e756715f12e5e0e46993b1265f44690b4a90 files touched by this commit
Tobias C. Berner (tcberner) search for other commits by this committer
www: remove 'Created by' lines

A big Thank You to the original contributors of these ports:

  *
  *  <hvo.pm@xs4all.nl>
  *  Aaron Dalton <aaron@FreeBSD.org>
  *  Aaron Dalton <aaron@daltons.ca>
  *  Aaron LI <aly@aaronly.me>
  *  Aaron Zauner <az_mail@gmx.at>
  *  Abel Chow <achow@transoft.net>
  *  Adam Weinberger <adamw@FreeBSD.org>
  *  Ade Lovett <ade@FreeBSD.org>
  *  Adrian Steinmann <ast@marabu.ch>
  *  Akinori MUSHA aka knu <knu@idaemons.org>
(Only the first 15 lines of the commit message are shown above View all of this commit message)
0.20
20 Jun 2021 11:36:42
commit hash: 84fd115c77a0bb1fa85eae0f7e1122de7a790e84commit hash: 84fd115c77a0bb1fa85eae0f7e1122de7a790e84commit hash: 84fd115c77a0bb1fa85eae0f7e1122de7a790e84commit hash: 84fd115c77a0bb1fa85eae0f7e1122de7a790e84 files touched by this commit
Po-Chuan Hsieh (sunpoet) search for other commits by this committer
www/p5-Plack-Middleware-MethodOverride: Add LICENSE_FILE
0.20
06 Apr 2021 14:31:07
commit hash: 305f148f482daf30dcf728039d03d019f88344ebcommit hash: 305f148f482daf30dcf728039d03d019f88344ebcommit hash: 305f148f482daf30dcf728039d03d019f88344ebcommit hash: 305f148f482daf30dcf728039d03d019f88344eb files touched by this commit
Mathieu Arnold (mat) search for other commits by this committer
Remove # $FreeBSD$ from Makefiles.
0.20
06 Oct 2018 13:06:45
Revision:481365Original commit files touched by this commit
des search for other commits by this committer
Fix every instance of RUN_DEPENDS:=${BUILD_DEPENDS} in p5 ports, except
for where it resulted in a change in output from build-depends-list or
run-depends-list.

Approved by:	portmgr (adamw)
0.20
27 May 2018 20:17:16
Revision:470996Original commit files touched by this commit
sunpoet search for other commits by this committer
Update to 0.20

Changes:	https://metacpan.org/changes/distribution/Plack-Middleware-MethodOverride
0.17
27 May 2018 20:15:20
Revision:470993Original commit files touched by this commit
sunpoet search for other commits by this committer
Update WWW

search.cpan.org is shutting down.
It will redirect to metacpan.org after June 25, 2018.

With hat:	perl
0.17
26 May 2018 17:48:19
Revision:470919Original commit files touched by this commit
sunpoet search for other commits by this committer
Update to 0.17

- Clean up TEST_DEPENDS

Changes:	https://metacpan.org/changes/distribution/Plack-Middleware-MethodOverride
0.15
15 Sep 2017 08:58:50
Revision:449893Original commit files touched by this commit
mat search for other commits by this committer
Fix license information for portgs that use "the same license as Perl".

Sponsored by:	Absolight
0.15
01 Apr 2016 14:33:58
Revision:412351Original commit files touched by this commit
mat search for other commits by this committer
Remove ${PORTSDIR}/ from dependencies, categories v, w, x, y, and z.

With hat:	portmgr
Sponsored by:	Absolight
0.15
16 Aug 2015 00:40:40
Revision:394336Original commit files touched by this commit
sunpoet search for other commits by this committer
- Update to 0.15
- Add NO_ARCH

Changes:	http://search.cpan.org/dist/Plack-Middleware-MethodOverride/Changes
0.14
25 Mar 2015 15:44:40
Revision:382236Original commit files touched by this commit
sunpoet search for other commits by this committer
- Update to 0.14

Changes:	http://search.cpan.org/dist/Plack-Middleware-MethodOverride/Changes
0.13
17 Mar 2015 19:21:05
Revision:381509Original commit files touched by this commit
sunpoet search for other commits by this committer
- Update to 0.13

Changes:	http://search.cpan.org/dist/Plack-Middleware-MethodOverride/Changes
0.12
18 Feb 2015 16:22:22
Revision:379265Original commit files touched by this commit
sunpoet search for other commits by this committer
- Update to 0.12

Changes:	http://search.cpan.org/dist/Plack-Middleware-MethodOverride/Changes
0.11
13 Jan 2015 15:30:56
Revision:376954Original commit files touched by this commit
sunpoet search for other commits by this committer
- Update to 0.11

Changes:	http://search.cpan.org/dist/Plack-Middleware-MethodOverride/Changes
0.10_1
26 Nov 2014 13:08:38
Revision:373448Original commit files touched by this commit
mat search for other commits by this committer
Change the way Perl modules are installed, update the default Perl to 5.18.

Before, we had:

  site_perl :           lib/perl5/site_perl/5.18
  site_perl/perl_arch : lib/perl5/site_perl/5.18/mach
  perl_man3 :           lib/perl5/5.18/man/man3

Now we have:

  site_perl : lib/perl5/site_perl
  site_arch : lib/perl5/site_perl/mach/5.18
  perl_man3 : lib/perl5/site_perl/man/man3

Modules without any .so will be installed at the same place regardless of the
(Only the first 15 lines of the commit message are shown above View all of this commit message)
0.10
29 Mar 2014 08:43:21
Revision:349490Original commit files touched by this commit
sunpoet search for other commits by this committer
- Add p5-Plack-Middleware-MethodOverride 0.10

Writing RESTful apps is a good thing, but if you're also trying to support web
browsers, you're probably going to need some hackish workarounds. This module
provides one such workaround for your Plack applications.

Specifically, you can also use a header named X-HTTP-Method-Override (as used by
Google for its APIs) override the POST request method. Or you can add a
parameter named x-tunneled-method to your form action's query. Either way, the
overriding works only via POST requests, not GET.

If either of these attributes are available in a POST request, the
REQUEST_METHOD key of the Plack environment hash will be replaced with its
value. This allows your apps to override any HTTP method over POST. If your
application needs to know that such overriding has taken place, the original
method is stored under the plack.original_request_method key in the Plack
environment hash.

The list of methods you can specify are: GET, POST, HEAD, PUT, DELETE, OPTIONS,
TRACE and CONNECT.

WWW: http://search.cpan.org/dist/Plack-Middleware-MethodOverride/

Number of commits found: 18