ports/180320: New port: www/p5-Template-Plugin-StripScripts
Anes Mukhametov
anes at anes.su
Fri Jul 5 13:10:04 UTC 2013
>Number: 180320
>Category: ports
>Synopsis: New port: www/p5-Template-Plugin-StripScripts
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: change-request
>Submitter-Id: current-users
>Arrival-Date: Fri Jul 05 13:10:04 UTC 2013
>Closed-Date:
>Last-Modified:
>Originator: Anes Mukhametov
>Release:
>Organization:
>Environment:
>Description:
New port: www/p5-Template-Plugin-StripScripts
Template::Plugin::StripScripts is a Template::Toolkit plugin to filter HTML and strip scripting snipets which can cause XSS.
>How-To-Repeat:
>Fix:
--- p5-Template-Plugin-StripScripts.shar begins here ---
# This is a shell archive. Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file". Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
# p5-Template-Plugin-StripScripts
# p5-Template-Plugin-StripScripts/pkg-descr
# p5-Template-Plugin-StripScripts/pkg-plist
# p5-Template-Plugin-StripScripts/Makefile
# p5-Template-Plugin-StripScripts/distinfo
#
echo c - p5-Template-Plugin-StripScripts
mkdir -p p5-Template-Plugin-StripScripts > /dev/null 2>&1
echo x - p5-Template-Plugin-StripScripts/pkg-descr
sed 's/^X//' >p5-Template-Plugin-StripScripts/pkg-descr << '422f687b788767f94491dfadb0515638'
XTemplate::Plugin::StripScripts is a Template::Toolkit plugin to
Xfilter HTML and strip scripting snipets which can cause XSS.
XAdditionally, due to some nice features from HTML::StripScripts,
Xthis module can work really flexibly on treating HTML.
X
XWWW: http://search.cpan.org/dist/Template-Plugin-StripScripts/
422f687b788767f94491dfadb0515638
echo x - p5-Template-Plugin-StripScripts/pkg-plist
sed 's/^X//' >p5-Template-Plugin-StripScripts/pkg-plist << 'dc383372b5ee40df244cf4921d3a83f9'
X%%SITE_PERL%%/Template/Plugin/StripScripts.pm
X%%SITE_PERL%%/%%PERL_ARCH%%/auto/Template/Plugin/StripScripts/.packlist
X at dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Template/Plugin/StripScripts
X at dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Template/Plugin
X at dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Template
X at dirrmtry %%SITE_PERL%%/Template/Plugin
X at dirrmtry %%SITE_PERL%%/Template
dc383372b5ee40df244cf4921d3a83f9
echo x - p5-Template-Plugin-StripScripts/Makefile
sed 's/^X//' >p5-Template-Plugin-StripScripts/Makefile << 'a1aa0ec659824c93e6d41f3d108b0742'
X# Created by: Anes Mukhametov <anes at anes.su>
X# $FreeBSD$
X
XPORTNAME= Template-Plugin-StripScripts
XPORTVERSION= 0.02
XCATEGORIES= www perl5
XMASTER_SITES= CPAN
XPKGNAMEPREFIX= p5-
X
XMAINTAINER= anes at anes.su
XCOMMENT= TT plugin to filter HTML against XSS
X
XBUILD_DEPENDS= p5-HTML-StripScripts-Parser>0.99:${PORTSDIR}/www/p5-HTML-StripScripts-Parser \
X p5-Template-Toolkit>=0:${PORTSDIR}/www/p5-Template-Toolkit
XRUN_DEPENDS= p5-HTML-StripScripts-Parser>0.99:${PORTSDIR}/www/p5-HTML-StripScripts-Parser \
X p5-Template-Toolkit>=0:${PORTSDIR}/www/p5-Template-Toolkit
X
XPERL_CONFIGURE= yes
X
XMAN3= Template::Plugin::StripScripts.3
X
X.include <bsd.port.mk>
a1aa0ec659824c93e6d41f3d108b0742
echo x - p5-Template-Plugin-StripScripts/distinfo
sed 's/^X//' >p5-Template-Plugin-StripScripts/distinfo << 'e05732a60b019fcc3170440c88f604cb'
XSHA256 (Template-Plugin-StripScripts-0.02.tar.gz) = e5db2d808b0705f427d655bbaec7671dfc6e4d60fb353a52d2e999e5dce5409d
XSIZE (Template-Plugin-StripScripts-0.02.tar.gz) = 35092
e05732a60b019fcc3170440c88f604cb
exit
--- p5-Template-Plugin-StripScripts.shar ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list