Commit graph

17 commits

Author SHA1 Message Date
wiz
e069327e2d p5-HTTP-Server-Simple-Static: update to 0.14.
0.14  Sat, 28 Oct 2017 14:53:00 +0100

        - Further improvements to the path handling to fix a bug with
          specifying the base directory using a relative path. Closes:
          https://rt.cpan.org/Public/Bug/Display.html?id=123428
2017-11-08 21:40:46 +00:00
wiz
fa24864a2f p5-HTTP-Server-Simple-Static: update to 0.13.
0.13  Sun, 08 Oct 2017 09:38:00 +0100

        - Reworked file path handling to prevent attacker traversing
          out of the base directory. Closes:
	  https://rt.cpan.org/Ticket/Display.html?id=123178
2017-10-11 07:12:24 +00:00
ryoon
b9d9d2fc30 Recursive revbump from lang/perl5 5.26.0 2017-06-05 14:24:48 +00:00
wiz
86a78fce2e Bump PKGREVISION for perl-5.24. 2016-06-08 19:22:13 +00:00
wen
69abb1d3b9 Update to 0.12
Add LICENSE

Upstream changes:
0.12  Thu, 28 Apr 2016 06:30:00 +0100

        - Moved POD tests to xt/ directory so they are not run for
          normal user installs.

0.11  Wed, 27 Apr 2016 16:01:00 +0100

        - Added a mapping for *.js files to a Content-Type of
            application/javascript

0.10  Wed, 27 Apr 2016 14:45:00 +0100

        - Reworked how the value for the Content-Type header is
            selected. Simple regexp matching on the path suffix is
            used for *.html?, *.css and *.txt files. Any other files
            are checked using File::LibMagic as before. Closes:
            https://rt.cpan.org/Ticket/Display.html?id=113980 and
            https://rt.cpan.org/Ticket/Display.html?id=91321
2016-05-21 08:33:22 +00:00
wiz
2e65d464e8 Recursive PKGREVISION bump for all packages mentioning 'perl',
having a PKGNAME of p5-*, or depending such a package,
for perl-5.22.0.
2015-06-12 10:50:58 +00:00
mef
eb83967337 (pkgsrc)
- (As noted below, dependency converted)
     -DEPENDS+=      p5-File-MMagic-[0-9]*:../../misc/p5-File-MMagic
     -DEPENDS+=      p5-MIME-Types-[0-9]*:../../mail/p5-MIME-Types
     +DEPENDS+=      p5-File-LibMagic-[0-9]*:../../devel/p5-File-LibMagic
(upstream)
 - Update 0.07 to 0.09
0.09  Thu, 15 Aug 2013 09:08:00 +0100

        - Added support for clients which send an If-Modified-Since
            HTTP header in the request. We return a 304 if the file
            has not been changed.

0.08  Wed, 14 Aug 2013 17:00:00 +0100

        - Replaced File::MMagic and MIME::Types with File::LibMagic
            which should be more reliable.
            Closes: http://rt.cpan.org/Public/Bug/Display.html?id=39598
        - Improved docs and code example.
            Closes: http://rt.cpan.org/Public/Bug/Display.html?id=37701
        - Added support for the Last-Modified and Date HTTP headers,
            this consequently adds a new dependency on HTTP::Date.
	- Added support for not sending the content when the request
            method is HEAD.
2015-01-12 08:04:33 +00:00
wiz
7eeb51b534 Bump for perl-5.20.0.
Do it for all packages that
* mention perl, or
* have a directory name starting with p5-*, or
* depend on a package starting with p5-
like last time, for 5.18, where this didn't lead to complaints.
Let me know if you have any this time.
2014-05-29 23:35:13 +00:00
wiz
d2ca14a3f1 Bump all packages for perl-5.18, that
a) refer 'perl' in their Makefile, or
b) have a directory name of p5-*, or
c) have any dependency on any p5-* package

Like last time, where this caused no complaints.
2013-05-31 12:39:57 +00:00
asau
5eae6a18a3 Drop superfluous PKG_DESTDIR_SUPPORT, "user-destdir" is default these days. 2012-10-28 06:30:00 +00:00
wiz
8b5d49eb78 Bump all packages that use perl, or depend on a p5-* package, or
are called p5-*.

I hope that's all of them.
2012-10-03 21:53:53 +00:00
obache
84fa8bcd7c Revision bump after updating perl5 to 5.14.1. 2011-08-14 16:05:39 +00:00
seb
c3f1e700ad Bump the PKGREVISION for all packages which depend directly on perl,
to trigger/signal a rebuild for the transition 5.10.1 -> 5.12.1.

The list of packages is computed by finding all packages which end
up having either of PERL5_USE_PACKLIST, BUILDLINK_API_DEPENDS.perl,
or PERL5_PACKLIST defined in their make setup (tested via
"make show-vars VARNAMES=..."), minus the packages updated after
the perl package update.

sno@ was right after all, obache@ kindly asked and he@ led the
way. Thanks!
2010-08-21 16:32:42 +00:00
he
b021813da0 Bump the PKGREVISION for all packages which depend directly on perl,
to trigger/signal a rebuild for the transition 5.8.8 -> 5.10.0.

The list of packages is computed by finding all packages which end
up having either of PERL5_USE_PACKLIST, BUILDLINK_API_DEPENDS.perl,
or PERL5_PACKLIST defined in their make setup (tested via
"make show-vars VARNAMES=...").
2008-10-19 19:17:40 +00:00
he
aae542a2bb Update from version 0.2 to 0.7. Changes:
0.07  Wed, 19 Mar 2008 18:41:56 +0000

        - Only serve files not directories, thanks to Bradley Bailey
          for the report.
          Closes http://rt.cpan.org/Public/Bug/Display.html?id=34068
        - Fixed url handling for requests from IE/
          Closes http://rt.cpan.org/Public/Bug/Display.html?id=27650

0.06  Mon, 23 Jul 2007 10:42:37 +0100

        - Fixed problem with handling empty files where they have no
          file extension or it is not recognised by MIME::Types.
          Thanks to Mark Stosberg for the report

0.05  Mon,  6 Nov 2006 09:29:42 +0000

        - Applied patch from Max Maischein to use the binmode function
          rather than the binmode method of IO::File, which only exists
          in newer versions of that module which we were not requiring.

0.04  Thu, 20 Jul 2006 12:03:21 +0100

        - Applied patch from Tom Hukins to make
          HTTP::Server::Simple::Static RFC compliant. Section 4.1 of
          RFC 2616, "Message Types", states that header fields should
          be separated by CRLF. This is done in the manner recommended
          in perlport(1).
        - Also applied patch from Tom Hukins to add the "use bytes"
          pragma to ensure Content-Length contains the number of bytes
          in the response body, not the number of characters.

0.03  Tue, 13 Jun 2006 11:00:58 +0100
        - Fixed documentation to show that HTTP::Server::Simple::CGI
          should be used as the base class.
          Closes: http://rt.cpan.org/Public/Bug/Display.html?id=18682
        - Switched to using IO::File for the file handling, also
          turned on binmode to help those on Windows serve images, etc.
2008-07-20 21:23:19 +00:00
joerg
3b0d97b0de Add DESTDIR support. 2008-06-20 01:09:05 +00:00
jlam
3e550db788 Import HTTP::Server::Simple::Static-0.02 as www/p5-HTTP-Server-Simple-Static.
HTTP::Server::Simple::Static is a mixin class that adds a method to
serve static files with the correct Content-type MIME type headers.
2006-05-02 04:41:37 +00:00