www/p5-HTML-Defang: New port: HTML::Defang - Cleans HTML as well as CSS of scripting
This module accepts an input HTML and/or CSS string and removes any executable code including scripting, embedded objects, applets, etc., and neutralises any XSS attacks. A whitelist based approach is used which means only HTML known to be safe is allowed through. PR: 267880
This commit is contained in:
parent
b8e3bc2cd0
commit
3f81d34c3e
|
@ -788,6 +788,7 @@
|
||||||
SUBDIR += p5-HTML-ContentExtractor
|
SUBDIR += p5-HTML-ContentExtractor
|
||||||
SUBDIR += p5-HTML-DOM
|
SUBDIR += p5-HTML-DOM
|
||||||
SUBDIR += p5-HTML-Declare
|
SUBDIR += p5-HTML-Declare
|
||||||
|
SUBDIR += p5-HTML-Defang
|
||||||
SUBDIR += p5-HTML-Defaultify
|
SUBDIR += p5-HTML-Defaultify
|
||||||
SUBDIR += p5-HTML-Diff
|
SUBDIR += p5-HTML-Diff
|
||||||
SUBDIR += p5-HTML-Display
|
SUBDIR += p5-HTML-Display
|
||||||
|
|
19
www/p5-HTML-Defang/Makefile
Normal file
19
www/p5-HTML-Defang/Makefile
Normal file
|
@ -0,0 +1,19 @@
|
||||||
|
PORTNAME= HTML-Defang
|
||||||
|
PORTVERSION= 1.07
|
||||||
|
CATEGORIES= www perl5
|
||||||
|
MASTER_SITES= CPAN
|
||||||
|
PKGNAMEPREFIX= p5-
|
||||||
|
|
||||||
|
MAINTAINER= m.ne@gmx.net
|
||||||
|
COMMENT= Cleans HTML of executable contents, and neutralises XSS attacks
|
||||||
|
WWW= https://metacpan.org/dist/HTML-Defang
|
||||||
|
|
||||||
|
LICENSE= ART10 GPLv1+
|
||||||
|
LICENSE_COMB= dual
|
||||||
|
|
||||||
|
USES= perl5
|
||||||
|
USE_PERL5= configure
|
||||||
|
|
||||||
|
NO_ARCH= yes
|
||||||
|
|
||||||
|
.include <bsd.port.mk>
|
3
www/p5-HTML-Defang/distinfo
Normal file
3
www/p5-HTML-Defang/distinfo
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
TIMESTAMP = 1667040189
|
||||||
|
SHA256 (HTML-Defang-1.07.tar.gz) = 882dc4a9dcfae8799235f4bad0062ee55ddbe408be1a5e4a7574b262e3fe07ce
|
||||||
|
SIZE (HTML-Defang-1.07.tar.gz) = 46222
|
4
www/p5-HTML-Defang/pkg-descr
Normal file
4
www/p5-HTML-Defang/pkg-descr
Normal file
|
@ -0,0 +1,4 @@
|
||||||
|
This module accepts an input HTML and/or CSS string and removes any
|
||||||
|
executable code including scripting, embedded objects, applets, etc.,
|
||||||
|
and neutralises any XSS attacks. A whitelist based approach is used
|
||||||
|
which means only HTML known to be safe is allowed through.
|
2
www/p5-HTML-Defang/pkg-plist
Normal file
2
www/p5-HTML-Defang/pkg-plist
Normal file
|
@ -0,0 +1,2 @@
|
||||||
|
%%SITE_PERL%%/HTML/Defang.pm
|
||||||
|
%%PERL5_MAN3%%/HTML::Defang.3.gz
|
Loading…
Reference in New Issue
Block a user