./www/p5-HTTP-Server-Simple-Static, Serve static files with HTTP::Server::Simple

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]


Branch: CURRENT, Version: 0.14, Package name: p5-HTTP-Server-Simple-Static-0.14, Maintainer: pkgsrc-users

HTTP::Server::Simple::Static is a mixin class that adds a method to
serve static files with the correct Content-type MIME type headers.


Required to run:
[www/p5-HTTP-Server-Simple] [lang/perl5] [devel/p5-File-LibMagic] [www/p5-HTTP-Date]

Required to build:
[devel/p5-Module-Build] [pkgtools/cwrappers]

Master sites: (Expand)

SHA1: c06180c127683ef714469f8db482179ec6726aa0
RMD160: 644a877e5732cc5460b00003c0b9e590090bb65d
Filesize: 6.487 KB

Version history: (Expand)


CVS history: (Expand)


   2017-11-08 22:40:46 by Thomas Klausner | Files touched by this commit (2) | Package updated
Log message:
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-10-11 09:12:24 by Thomas Klausner | Files touched by this commit (2) | Package updated
Log message:
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-06-05 16:25:36 by Ryo ONODERA | Files touched by this commit (2298)
Log message:
Recursive revbump from lang/perl5 5.26.0
   2016-06-08 21:25:20 by Thomas Klausner | Files touched by this commit (2236) | Package updated
Log message:
Bump PKGREVISION for perl-5.24.
   2016-05-21 10:33:22 by Wen Heping | Files touched by this commit (2) | Package updated
Log message:
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
   2015-11-04 03:47:43 by Alistair G. Crooks | Files touched by this commit (758)
Log message:
Add SHA512 digests for distfiles for www category

Problems found locating distfiles:
	Package haskell-cgi: missing distfile haskell-cgi-20001206.tar.gz
	Package nginx: missing distfile array-var-nginx-module-0.04.tar.gz
	Package nginx: missing distfile encrypted-session-nginx-module-0.04.tar.gz
	Package nginx: missing distfile headers-more-nginx-module-0.261.tar.gz
	Package nginx: missing distfile nginx_http_push_module-0.692.tar.gz
	Package nginx: missing distfile set-misc-nginx-module-0.29.tar.gz
	Package nginx-devel: missing distfile echo-nginx-module-0.58.tar.gz
	Package nginx-devel: missing distfile form-input-nginx-module-0.11.tar.gz
	Package nginx-devel: missing distfile lua-nginx-module-0.9.16.tar.gz
	Package nginx-devel: missing distfile nginx_http_push_module-0.692.tar.gz
	Package nginx-devel: missing distfile set-misc-nginx-module-0.29.tar.gz
	Package php-owncloud: missing distfile owncloud-8.2.0.tar.bz2

Otherwise, existing SHA1 digests verified and found to be the same on
the machine holding the existing distfiles (morden).  All existing
SHA1 digests retained for now as an audit trail.
   2015-06-12 12:52:19 by Thomas Klausner | Files touched by this commit (3152)
Log message:
Recursive PKGREVISION bump for all packages mentioning 'perl',
having a PKGNAME of p5-*, or depending such a package,
for perl-5.22.0.
   2015-01-12 09:04:34 by Makoto Fujiwara | Files touched by this commit (2) | Package updated
Log message:
(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.