- (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.
This commit is contained in:
mef 2015-01-12 08:04:33 +00:00
parent 9397910c87
commit eb83967337
2 changed files with 7 additions and 9 deletions

View file

@ -1,8 +1,7 @@
# $NetBSD: Makefile,v 1.10 2014/05/29 23:38:09 wiz Exp $
# $NetBSD: Makefile,v 1.11 2015/01/12 08:04:33 mef Exp $
DISTNAME= HTTP-Server-Simple-Static-0.07
DISTNAME= HTTP-Server-Simple-Static-0.09
PKGNAME= p5-${DISTNAME}
PKGREVISION= 6
CATEGORIES= www perl5
MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=HTTP/}
@ -13,9 +12,8 @@ COMMENT= Serve static files with HTTP::Server::Simple
PERL5_MODULE_TYPE= Module::Build
PERL5_PACKLIST= auto/HTTP/Server/Simple/Static/.packlist
DEPENDS+= p5-File-MMagic-[0-9]*:../../misc/p5-File-MMagic
DEPENDS+= p5-File-LibMagic-[0-9]*:../../devel/p5-File-LibMagic
DEPENDS+= p5-HTTP-Server-Simple>=0.01:../../www/p5-HTTP-Server-Simple
DEPENDS+= p5-MIME-Types-[0-9]*:../../mail/p5-MIME-Types
DEPENDS+= p5-URI-[0-9]*:../../www/p5-URI
.include "../../lang/perl5/module.mk"

View file

@ -1,5 +1,5 @@
$NetBSD: distinfo,v 1.2 2008/07/20 21:23:19 he Exp $
$NetBSD: distinfo,v 1.3 2015/01/12 08:04:33 mef Exp $
SHA1 (HTTP-Server-Simple-Static-0.07.tar.gz) = 2b91c6b9b316b8568410ffd24a4467b98bf43410
RMD160 (HTTP-Server-Simple-Static-0.07.tar.gz) = 757e6032c2c30065e43b36467b70312d35b0a2e5
Size (HTTP-Server-Simple-Static-0.07.tar.gz) = 3908 bytes
SHA1 (HTTP-Server-Simple-Static-0.09.tar.gz) = 17a148c79a4c8df93f3df4180934657dc0a66d49
RMD160 (HTTP-Server-Simple-Static-0.09.tar.gz) = e295fe56129d294cc1d41efdd5feb7009aa0232b
Size (HTTP-Server-Simple-Static-0.09.tar.gz) = 5717 bytes