From 720a58417ad71b57b50e9649c8bc9875b4c3cf52 Mon Sep 17 00:00:00 2001 From: lth Date: Sat, 31 Aug 2013 19:01:07 +0000 Subject: - Update to 0.09 Changes: 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. --- www/p5-HTTP-Server-Simple-Static/Makefile | 14 ++++---------- www/p5-HTTP-Server-Simple-Static/distinfo | 4 ++-- 2 files changed, 6 insertions(+), 12 deletions(-) (limited to 'www/p5-HTTP-Server-Simple-Static') diff --git a/www/p5-HTTP-Server-Simple-Static/Makefile b/www/p5-HTTP-Server-Simple-Static/Makefile index 484734f2b5e9..f1802dc47567 100644 --- a/www/p5-HTTP-Server-Simple-Static/Makefile +++ b/www/p5-HTTP-Server-Simple-Static/Makefile @@ -1,12 +1,7 @@ -# New ports collection makefile for: www/p5-HTTP-Server-Simple-Static -# Date created: 30 March 2005 -# Whom: Lars Thegler -# # $FreeBSD$ -# PORTNAME= HTTP-Server-Simple-Static -PORTVERSION= 0.07 +PORTVERSION= 0.09 CATEGORIES= www perl5 MASTER_SITES= CPAN MASTER_SITE_SUBDIR= HTTP @@ -15,10 +10,9 @@ PKGNAMEPREFIX= p5- MAINTAINER= lth@FreeBSD.org COMMENT= Serve static files with HTTP::Server::Simple -RUN_DEPENDS= p5-HTTP-Server-Simple>=0:${PORTSDIR}/www/p5-HTTP-Server-Simple \ - p5-URI>=0:${PORTSDIR}/net/p5-URI \ - p5-MIME-Types>=0:${PORTSDIR}/mail/p5-MIME-Types \ - p5-File-MMagic>=0:${PORTSDIR}/devel/p5-File-MMagic +RUN_DEPENDS= p5-File-LibMagic>=0:${PORTSDIR}/devel/p5-File-LibMagic \ + p5-HTTP-Server-Simple>=0:${PORTSDIR}/www/p5-HTTP-Server-Simple \ + p5-URI>=0:${PORTSDIR}/net/p5-URI BUILD_DEPENDS:= ${RUN_DEPENDS} USES= perl5 diff --git a/www/p5-HTTP-Server-Simple-Static/distinfo b/www/p5-HTTP-Server-Simple-Static/distinfo index 1aab77374704..9b754b880b8c 100644 --- a/www/p5-HTTP-Server-Simple-Static/distinfo +++ b/www/p5-HTTP-Server-Simple-Static/distinfo @@ -1,2 +1,2 @@ -SHA256 (HTTP-Server-Simple-Static-0.07.tar.gz) = 7c445e86dea2da033dd92bf8b0cc58354e64a57eddd2c13c1ca319b1c73da0b7 -SIZE (HTTP-Server-Simple-Static-0.07.tar.gz) = 3908 +SHA256 (HTTP-Server-Simple-Static-0.09.tar.gz) = f215f76a7588c4503744ea86d561ca4ca4a2fa400584671ec1790b7108972e21 +SIZE (HTTP-Server-Simple-Static-0.09.tar.gz) = 5717 -- cgit