FreeBSD Bugzilla – Attachment 238194 Details for
Bug 267880
[NEW PORT] www/p5-HTML-Defang: Cleans HTML of executable contents, and neutralises XSS attacks
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
patch adding www/p5-HTML-Defang
0001-www-p5-HTML-Defang-New-port-HTML-Defang-Cleans-HTML-.patch (text/plain), 2.64 KB, created by
Martin Neubauer
on 2022-11-20 16:32:13 UTC
(
hide
)
Description:
patch adding www/p5-HTML-Defang
Filename:
MIME Type:
Creator:
Martin Neubauer
Created:
2022-11-20 16:32:13 UTC
Size:
2.64 KB
patch
obsolete
>From 0f75a3891c272aa7849c80531aaa121a73672289 Mon Sep 17 00:00:00 2001 >From: Martin Neubauer <m.ne@gmx.net> >Date: Sat, 19 Nov 2022 20:29:56 +0100 >Subject: [PATCH] www/p5-HTML-Defang: New port: HTML::Defang - Cleans HTML as > well as CSS of scripting > >--- > www/Makefile | 1 + > www/p5-HTML-Defang/Makefile | 19 +++++++++++++++++++ > www/p5-HTML-Defang/distinfo | 3 +++ > www/p5-HTML-Defang/pkg-descr | 4 ++++ > www/p5-HTML-Defang/pkg-plist | 2 ++ > 5 files changed, 29 insertions(+) > create mode 100644 www/p5-HTML-Defang/Makefile > create mode 100644 www/p5-HTML-Defang/distinfo > create mode 100644 www/p5-HTML-Defang/pkg-descr > create mode 100644 www/p5-HTML-Defang/pkg-plist > >diff --git a/www/Makefile b/www/Makefile >index ed6c4e705fbd..65a474e3a62f 100644 >--- a/www/Makefile >+++ b/www/Makefile >@@ -787,6 +787,7 @@ > SUBDIR += p5-HTML-ContentExtractor > SUBDIR += p5-HTML-DOM > SUBDIR += p5-HTML-Declare >+ SUBDIR += p5-HTML-Defang > SUBDIR += p5-HTML-Defaultify > SUBDIR += p5-HTML-Diff > SUBDIR += p5-HTML-Display >diff --git a/www/p5-HTML-Defang/Makefile b/www/p5-HTML-Defang/Makefile >new file mode 100644 >index 000000000000..7dfed473e357 >--- /dev/null >+++ b/www/p5-HTML-Defang/Makefile >@@ -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> >diff --git a/www/p5-HTML-Defang/distinfo b/www/p5-HTML-Defang/distinfo >new file mode 100644 >index 000000000000..87885ed23e88 >--- /dev/null >+++ b/www/p5-HTML-Defang/distinfo >@@ -0,0 +1,3 @@ >+TIMESTAMP = 1667040189 >+SHA256 (HTML-Defang-1.07.tar.gz) = 882dc4a9dcfae8799235f4bad0062ee55ddbe408be1a5e4a7574b262e3fe07ce >+SIZE (HTML-Defang-1.07.tar.gz) = 46222 >diff --git a/www/p5-HTML-Defang/pkg-descr b/www/p5-HTML-Defang/pkg-descr >new file mode 100644 >index 000000000000..44b395a6e94b >--- /dev/null >+++ b/www/p5-HTML-Defang/pkg-descr >@@ -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. >diff --git a/www/p5-HTML-Defang/pkg-plist b/www/p5-HTML-Defang/pkg-plist >new file mode 100644 >index 000000000000..2f4ebb8beff0 >--- /dev/null >+++ b/www/p5-HTML-Defang/pkg-plist >@@ -0,0 +1,2 @@ >+%%SITE_PERL%%/HTML/Defang.pm >+%%PERL5_MAN3%%/HTML::Defang.3.gz >-- >2.38.1 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 267880
: 238194