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.diff -r1.2 -r1.3 pkgsrc/www/p5-HTTP-Server-Simple-Static/Makefile
(he)
@@ -1,16 +1,16 @@ | @@ -1,16 +1,16 @@ | |||
1 | # $NetBSD: Makefile,v 1.2 2008/06/20 01:09:43 joerg Exp $ | 1 | # $NetBSD: Makefile,v 1.3 2008/07/20 21:23:19 he Exp $ | |
2 | 2 | |||
3 | DISTNAME= HTTP-Server-Simple-Static-0.02 | 3 | DISTNAME= HTTP-Server-Simple-Static-0.07 | |
4 | PKGNAME= p5-${DISTNAME} | 4 | PKGNAME= p5-${DISTNAME} | |
5 | CATEGORIES= www perl5 | 5 | CATEGORIES= www perl5 | |
6 | MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=HTTP/} | 6 | MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=HTTP/} | |
7 | 7 | |||
8 | MAINTAINER= pkgsrc-users@NetBSD.org | 8 | MAINTAINER= pkgsrc-users@NetBSD.org | |
9 | HOMEPAGE= http://search.cpan.org/dist/HTTP-Server-Simple-Static/ | 9 | HOMEPAGE= http://search.cpan.org/dist/HTTP-Server-Simple-Static/ | |
10 | COMMENT= Serve static files with HTTP::Server::Simple | 10 | COMMENT= Serve static files with HTTP::Server::Simple | |
11 | 11 | |||
12 | PKG_DESTDIR_SUPPORT= user-destdir | 12 | PKG_DESTDIR_SUPPORT= user-destdir | |
13 | 13 | |||
14 | PERL5_MODULE_TYPE= Module::Build | 14 | PERL5_MODULE_TYPE= Module::Build | |
15 | PERL5_PACKLIST= auto/HTTP/Server/Simple/Static/.packlist | 15 | PERL5_PACKLIST= auto/HTTP/Server/Simple/Static/.packlist | |
16 | 16 |
@@ -1,5 +1,5 @@ | @@ -1,5 +1,5 @@ | |||
1 | $NetBSD: distinfo,v 1.1.1.1 2006/05/02 04:41:37 jlam Exp $ | 1 | $NetBSD: distinfo,v 1.2 2008/07/20 21:23:19 he Exp $ | |
2 | 2 | |||
3 | SHA1 (HTTP-Server-Simple-Static-0.02.tar.gz) = 84733cf355eb952e31b1b8e4e2e4f0d092a286b7 | 3 | SHA1 (HTTP-Server-Simple-Static-0.07.tar.gz) = 2b91c6b9b316b8568410ffd24a4467b98bf43410 | |
4 | RMD160 (HTTP-Server-Simple-Static-0.02.tar.gz) = 915252e85d3c787d8bda389bc5ba1834c8d2e8f6 | 4 | RMD160 (HTTP-Server-Simple-Static-0.07.tar.gz) = 757e6032c2c30065e43b36467b70312d35b0a2e5 | |
5 | Size (HTTP-Server-Simple-Static-0.02.tar.gz) = 2216 bytes | 5 | Size (HTTP-Server-Simple-Static-0.07.tar.gz) = 3908 bytes |