mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-02 06:03:50 +00:00
2d2f1cd3bd
adds HTTP Header 'X-Content-Type-Options: nosniff' for safe. Sending X-Content-Type-Options response header with the value nosniff will prevent Internet Explorer from MIME-sniffing a response away from the declared content-type. WWW: http://search.cpan.org/dist/Plack-Middleware-IEnosniff/
27 lines
585 B
Makefile
27 lines
585 B
Makefile
# New ports collection makefile for: Plack::Middleware::IEnosniff
|
|
# Date created: 01 Feb 2011
|
|
# Whom: Jun Kuriyama <kuriyama@FreeBSD.org>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= Plack-Middleware-IEnosniff
|
|
PORTVERSION= 0.01
|
|
CATEGORIES= www perl5
|
|
MASTER_SITES= CPAN
|
|
MASTER_SITE_SUBDIR= ../../authors/id/B/BA/BAYASHI
|
|
PKGNAMEPREFIX= p5-
|
|
|
|
MAINTAINER= kuriyama@FreeBSD.org
|
|
COMMENT= Perl extension to add X-Content-Type-Options:nosniff
|
|
|
|
RUN_DEPENDS= \
|
|
p5-Plack>0:${PORTSDIR}/www/p5-Plack
|
|
BUILD_DEPENDS= ${RUN_DEPENDS}
|
|
|
|
PERL_CONFIGURE= yes
|
|
|
|
MAN3= Plack::Middleware::IEnosniff.3
|
|
|
|
.include <bsd.port.mk>
|