Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 18 Nov 2013 19:29:06 +0000 (UTC)
From:      Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r334253 - in head/www: . p5-Template-Plugin-StripScripts
Message-ID:  <201311181929.rAIJT6uY043983@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: sunpoet
Date: Mon Nov 18 19:29:06 2013
New Revision: 334253
URL: http://svnweb.freebsd.org/changeset/ports/334253

Log:
  - Add p5-Template-Plugin-StripScripts 0.02
  - While I'm here:
    - Add LICENSE
    - Convert to new Perl framework
  
  Template::Plugin::StripScripts is a Template::Toolkit plugin to
  filter HTML and strip scripting snipets which can cause XSS.
  Additionally, due to some nice features from HTML::StripScripts,
  this module can work really flexibly on treating HTML.
  
  WWW: http://search.cpan.org/dist/Template-Plugin-StripScripts/
  
  PR:		ports/180320
  Submitted by:	Anes Mukhametov <anes@anes.su>

Added:
  head/www/p5-Template-Plugin-StripScripts/
  head/www/p5-Template-Plugin-StripScripts/Makefile   (contents, props changed)
  head/www/p5-Template-Plugin-StripScripts/distinfo   (contents, props changed)
  head/www/p5-Template-Plugin-StripScripts/pkg-descr   (contents, props changed)
  head/www/p5-Template-Plugin-StripScripts/pkg-plist   (contents, props changed)
Modified:
  head/www/Makefile

Modified: head/www/Makefile
==============================================================================
--- head/www/Makefile	Mon Nov 18 19:28:22 2013	(r334252)
+++ head/www/Makefile	Mon Nov 18 19:29:06 2013	(r334253)
@@ -1197,6 +1197,7 @@
     SUBDIR += p5-Template-Plugin-Markdown
     SUBDIR += p5-Template-Plugin-Monta
     SUBDIR += p5-Template-Plugin-Number-Format
+    SUBDIR += p5-Template-Plugin-StripScripts
     SUBDIR += p5-Template-Plugin-Subst
     SUBDIR += p5-Template-Plugin-VMethods
     SUBDIR += p5-Template-Provider-Encoding

Added: head/www/p5-Template-Plugin-StripScripts/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/www/p5-Template-Plugin-StripScripts/Makefile	Mon Nov 18 19:29:06 2013	(r334253)
@@ -0,0 +1,22 @@
+# Created by: Anes Mukhametov <anes@anes.su>
+# $FreeBSD$
+
+PORTNAME=	Template-Plugin-StripScripts
+PORTVERSION=	0.02
+CATEGORIES=	www perl5
+MASTER_SITES=	CPAN
+PKGNAMEPREFIX=	p5-
+
+MAINTAINER=	anes@anes.su
+COMMENT=	TT plugin to filter HTML against XSS
+
+LICENSE=	MIT
+
+BUILD_DEPENDS=	p5-HTML-StripScripts-Parser>=0.99:${PORTSDIR}/www/p5-HTML-StripScripts-Parser \
+		p5-Template-Toolkit>=0:${PORTSDIR}/www/p5-Template-Toolkit
+RUN_DEPENDS:=	${BUILD_DEPENDS}
+
+USE_PERL5=	configure
+USES=		perl5
+
+.include <bsd.port.mk>

Added: head/www/p5-Template-Plugin-StripScripts/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/www/p5-Template-Plugin-StripScripts/distinfo	Mon Nov 18 19:29:06 2013	(r334253)
@@ -0,0 +1,2 @@
+SHA256 (Template-Plugin-StripScripts-0.02.tar.gz) = e5db2d808b0705f427d655bbaec7671dfc6e4d60fb353a52d2e999e5dce5409d
+SIZE (Template-Plugin-StripScripts-0.02.tar.gz) = 35092

Added: head/www/p5-Template-Plugin-StripScripts/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/www/p5-Template-Plugin-StripScripts/pkg-descr	Mon Nov 18 19:29:06 2013	(r334253)
@@ -0,0 +1,6 @@
+Template::Plugin::StripScripts is a Template::Toolkit plugin to
+filter HTML and strip scripting snipets which can cause XSS.
+Additionally, due to some nice features from HTML::StripScripts,
+this module can work really flexibly on treating HTML.
+
+WWW: http://search.cpan.org/dist/Template-Plugin-StripScripts/

Added: head/www/p5-Template-Plugin-StripScripts/pkg-plist
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/www/p5-Template-Plugin-StripScripts/pkg-plist	Mon Nov 18 19:29:06 2013	(r334253)
@@ -0,0 +1,8 @@
+%%SITE_PERL%%/Template/Plugin/StripScripts.pm
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/Template/Plugin/StripScripts/.packlist
+%%PERL5_MAN3%%/Template::Plugin::StripScripts.3.gz
+@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Template/Plugin/StripScripts
+@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Template/Plugin
+@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Template
+@dirrmtry %%SITE_PERL%%/Template/Plugin
+@dirrmtry %%SITE_PERL%%/Template



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201311181929.rAIJT6uY043983>