Port details
p5-HTML-StripScripts Strip scripting constructs out of HTML
1.06 www Σ=0 search for ports that depend on this port Find issues related to this port Report an issue related to this port View this port on Repology. pkg-fallout 1.06Version of this port present on the latest quarterly branch.
Maintainer: bofh@FreeBSD.org search for ports maintained by this maintainer
Port Added: 2008-05-09 17:26:26
Last Update: 2022-09-07 21:58:51
Commit Hash: fb16dfe
Also Listed In: perl5
License: ART10 GPLv1+
WWW:
https://metacpan.org/release/HTML-StripScripts
Description: #
This module strips scripting constructs out of HTML, leaving as much non-scripting markup in place as possible. This allows web applications to display HTML originating from an untrusted source without introducing XSS (cross site scripting) vulnerabilities. You will probably use HTML::StripScripts::Parser rather than using this module directly. The process is based on whitelists of tags, attributes and attribute values. This approach is the most secure against disguised scripting constructs hidden in malicious HTML documents. As well as removing scripting constructs, this module ensures that there is a matching end for each start tag, and that the tags are properly nested. Previously, in order to customise the output, you needed to subclass HTML::StripScripts and override methods. Now, most customisation can be done through the Rules option provided to new(). (See examples/declaration/ and examples/tags/ for cases where subclassing is necessary.) The HTML document must be parsed into start tags, end tags and text before it can be filtered by this module. Use either HTML::StripScripts::Parser or HTML::StripScripts::Regex instead if you want to input an unparsed HTML document.
Homepage    cgit ¦ Codeberg ¦ GitHub ¦ GitLab ¦ SVNWeb
Manual pages: #
FreshPorts has no man page information for this port.
pkg-plist: as obtained via: make generate-plist #
Expand this list (9 items)
Collapse this list.
  1. /usr/local/share/licenses/p5-HTML-StripScripts-1.06/catalog.mk
  2. /usr/local/share/licenses/p5-HTML-StripScripts-1.06/LICENSE
  3. /usr/local/share/licenses/p5-HTML-StripScripts-1.06/ART10
  4. /usr/local/share/licenses/p5-HTML-StripScripts-1.06/GPLv1+
  5. lib/perl5/site_perl/man/man3/HTML::StripScripts.3.gz
  6. lib/perl5/site_perl/HTML/StripScripts.pm
  7. @owner
  8. @group
  9. @mode
Collapse this list.
USE_RC_SUBR (Service Scripts)
  • no SUBR information found for this port
Dependency lines:
  • p5-HTML-StripScripts>0:www/p5-HTML-StripScripts
To install the port: #
cd /usr/ports/www/p5-HTML-StripScripts/ && make install clean
To add the package, run one of these commands:
  • pkg install www/p5-HTML-StripScripts
  • pkg install p5-HTML-StripScripts
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above.
PKGNAME: p5-HTML-StripScripts
Flavors: #
there is no flavor information for this port.
distinfo: #
TIMESTAMP = 1465302675 SHA256 (HTML-StripScripts-1.06.tar.gz) = 222bfb7ec1fdfa465e32da3dc4abed2edc7364bbe19e8e3c513c7d585b0109ad SIZE (HTML-StripScripts-1.06.tar.gz) = 44745

Packages (timestamps in pop-ups are UTC): #
p5-HTML-StripScripts
ABIaarch64amd64armv6armv7i386
FreeBSD:14:latest1.061.061.061.061.06
FreeBSD:14:quarterly1.061.06-1.061.06
FreeBSD:15:latest1.061.06n/a1.06n/a
FreeBSD:15:quarterly1.061.06n/a-n/a
FreeBSD:16:latest CURRENT1.061.06n/a-n/a
Dependencies #
NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
Build dependencies: #
  1. perl5>=5.32.r0<5.33 : lang/perl5.32
Runtime dependencies: #
  1. perl5>=5.32.r0<5.33 : lang/perl5.32
This port is required by: #
for Build #
  1. www/p5-HTML-StripScripts-Parser
for Run #
  1. www/p5-HTML-StripScripts-Parser

Configuration Options: #
No options to configure
Options name: #
www_p5-HTML-StripScripts
USES: #
perl5
pkg-message: #
FreshPorts was unable to extract/find any pkg message
Master Sites: #
Expand this list (12 items)
Collapse this list.
  1. ftp://ftp.auckland.ac.nz/pub/perl/CPAN/modules/by-module/HTML/
  2. ftp://ftp.cpan.org/pub/CPAN/modules/by-module/
  3. ftp://ftp.cpan.org/pub/CPAN/modules/by-module/HTML/
  4. ftp://ftp.funet.fi/pub/languages/perl/CPAN/modules/by-module/HTML/
  5. ftp://ftp.kddlabs.co.jp/lang/perl/CPAN/modules/by-module/HTML/
  6. ftp://ftp.mirrorservice.org/sites/cpan.perl.org/CPAN/modules/by-module/HTML/
  7. http://backpan.perl.org/modules/by-module/HTML/
  8. http://ftp.jaist.ac.jp/pub/CPAN/modules/by-module/HTML/
  9. http://ftp.twaren.net/Unix/Lang/CPAN/modules/by-module/HTML/
  10. https://cpan.metacpan.org/modules/by-module/
  11. https://cpan.metacpan.org/modules/by-module/HTML/
  12. https://www.cpan.org/modules/by-module/HTML/
Collapse this list.

Number of commits found: 17 #

Commit History - (may be incomplete: for full details, see links to repositories near top of page)
CommitCreditsLog message
07 Sep 2022 21:58:51
commit hash: fb16dfecae4a6efac9f3a78e0b759fb7a3c53de4commit hash: fb16dfecae4a6efac9f3a78e0b759fb7a3c53de4commit hash: fb16dfecae4a6efac9f3a78e0b759fb7a3c53de4commit hash: fb16dfecae4a6efac9f3a78e0b759fb7a3c53de4 files touched by this commit
Stefan Eßer (se) search for other commits by this committer
Remove WWW entries moved into port Makefiles

Commit b7f05445c00f has added WWW entries to port Makefiles based on
WWW: lines in pkg-descr files.

This commit removes the WWW: lines of moved-over URLs from these
pkg-descr files.

Approved by:		portmgr (tcberner)
1.06
07 Sep 2022 21:10:59
commit hash: b7f05445c00f2625aa19b4154ebcbce5ed2daa52commit hash: b7f05445c00f2625aa19b4154ebcbce5ed2daa52commit hash: b7f05445c00f2625aa19b4154ebcbce5ed2daa52commit hash: b7f05445c00f2625aa19b4154ebcbce5ed2daa52 files touched by this commit
Stefan Eßer (se) search for other commits by this committer
Add WWW entries to port Makefiles

It has been common practice to have one or more URLs at the end of the
ports' pkg-descr files, one per line and prefixed with "WWW:". These
URLs should point at a project website or other relevant resources.

Access to these URLs required processing of the pkg-descr files, and
they have often become stale over time. If more than one such URL was
present in a pkg-descr file, only the first one was tarnsfered into
the port INDEX, but for many ports only the last line did contain the
port specific URL to further information.

There have been several proposals to make a project URL available as
a macro in the ports' Makefiles, over time.
(Only the first 15 lines of the commit message are shown above View all of this commit message)
1.06
20 Jul 2022 14:23:26
commit hash: e915e756715f12e5e0e46993b1265f44690b4a90commit hash: e915e756715f12e5e0e46993b1265f44690b4a90commit hash: e915e756715f12e5e0e46993b1265f44690b4a90commit hash: e915e756715f12e5e0e46993b1265f44690b4a90 files touched by this commit
Tobias C. Berner (tcberner) search for other commits by this committer
www: remove 'Created by' lines

A big Thank You to the original contributors of these ports:

  *
  *  <hvo.pm@xs4all.nl>
  *  Aaron Dalton <aaron@FreeBSD.org>
  *  Aaron Dalton <aaron@daltons.ca>
  *  Aaron LI <aly@aaronly.me>
  *  Aaron Zauner <az_mail@gmx.at>
  *  Abel Chow <achow@transoft.net>
  *  Adam Weinberger <adamw@FreeBSD.org>
  *  Ade Lovett <ade@FreeBSD.org>
  *  Adrian Steinmann <ast@marabu.ch>
  *  Akinori MUSHA aka knu <knu@idaemons.org>
(Only the first 15 lines of the commit message are shown above View all of this commit message)
1.06
06 Apr 2021 14:31:07
commit hash: 305f148f482daf30dcf728039d03d019f88344ebcommit hash: 305f148f482daf30dcf728039d03d019f88344ebcommit hash: 305f148f482daf30dcf728039d03d019f88344ebcommit hash: 305f148f482daf30dcf728039d03d019f88344eb files touched by this commit
Mathieu Arnold (mat) search for other commits by this committer
Remove # $FreeBSD$ from Makefiles.
1.06
27 May 2018 20:15:20
Revision:470993commit hash: ad4f267b7a2606a97d9e9b015928a8ece70689d4commit hash: ad4f267b7a2606a97d9e9b015928a8ece70689d4commit hash: ad4f267b7a2606a97d9e9b015928a8ece70689d4commit hash: ad4f267b7a2606a97d9e9b015928a8ece70689d4Original commit files touched by this commit
sunpoet search for other commits by this committer
Update WWW

search.cpan.org is shutting down.
It will redirect to metacpan.org after June 25, 2018.

With hat:	perl
1.06
15 Sep 2017 08:58:50
Revision:449893commit hash: cb41fc662313ab27e3a613a60d4b23ce1729fe98commit hash: cb41fc662313ab27e3a613a60d4b23ce1729fe98commit hash: cb41fc662313ab27e3a613a60d4b23ce1729fe98commit hash: cb41fc662313ab27e3a613a60d4b23ce1729fe98Original commit files touched by this commit
mat search for other commits by this committer
Fix license information for portgs that use "the same license as Perl".

Sponsored by:	Absolight
1.06
10 Jun 2016 09:52:36
Revision:416667commit hash: 70500b6a58ab9eae7e597042fcfff50e04c5a221commit hash: 70500b6a58ab9eae7e597042fcfff50e04c5a221commit hash: 70500b6a58ab9eae7e597042fcfff50e04c5a221commit hash: 70500b6a58ab9eae7e597042fcfff50e04c5a221Original commit files touched by this commit
bofh search for other commits by this committer
www/p5-HTML-StripScripts: Update version 1.05=>1.06
1.05_1
24 Dec 2014 00:14:13
Revision:375378commit hash: 6d2e8f9aebbcd9134425dfb7bef6619062bee6eccommit hash: 6d2e8f9aebbcd9134425dfb7bef6619062bee6eccommit hash: 6d2e8f9aebbcd9134425dfb7bef6619062bee6eccommit hash: 6d2e8f9aebbcd9134425dfb7bef6619062bee6ecOriginal commit files touched by this commit
bofh search for other commits by this committer
Change my non-FreeBSD MAINTAINER mail to bofh@

Approved by:	bapt
1.05_1
26 Nov 2014 13:08:38
Revision:373448commit hash: eee58d187e2c55fca6f53b9e482d33cf5346fe81commit hash: eee58d187e2c55fca6f53b9e482d33cf5346fe81commit hash: eee58d187e2c55fca6f53b9e482d33cf5346fe81commit hash: eee58d187e2c55fca6f53b9e482d33cf5346fe81Original commit files touched by this commit
mat search for other commits by this committer
Change the way Perl modules are installed, update the default Perl to 5.18.

Before, we had:

  site_perl :           lib/perl5/site_perl/5.18
  site_perl/perl_arch : lib/perl5/site_perl/5.18/mach
  perl_man3 :           lib/perl5/5.18/man/man3

Now we have:

  site_perl : lib/perl5/site_perl
  site_arch : lib/perl5/site_perl/mach/5.18
  perl_man3 : lib/perl5/site_perl/man/man3

Modules without any .so will be installed at the same place regardless of the
(Only the first 15 lines of the commit message are shown above View all of this commit message)
1.05
06 Apr 2014 05:48:42
Revision:350318commit hash: b472899133363749495a2d6767ece9afa3f60637commit hash: b472899133363749495a2d6767ece9afa3f60637commit hash: b472899133363749495a2d6767ece9afa3f60637commit hash: b472899133363749495a2d6767ece9afa3f60637Original commit files touched by this commit
sunpoet search for other commits by this committer
- Add LICENSE
- Pass maintainership to submitter

PR:		188169
Submitted by:	Muhammad Moinur Rahman <5u623l20@gmail.com>
1.05
07 Nov 2013 13:55:25
Revision:333099commit hash: 1e2bf2c5d57e115acb946a6b16e47483d5a8a391commit hash: 1e2bf2c5d57e115acb946a6b16e47483d5a8a391commit hash: 1e2bf2c5d57e115acb946a6b16e47483d5a8a391commit hash: 1e2bf2c5d57e115acb946a6b16e47483d5a8a391Original commit files touched by this commit
vanilla search for other commits by this committer
support STAGEDIR.
1.05
20 Sep 2013 23:36:54
Revision:327776commit hash: 85fbf21ec594128ff43c71f34d84d4c02ecf7fa7commit hash: 85fbf21ec594128ff43c71f34d84d4c02ecf7fa7commit hash: 85fbf21ec594128ff43c71f34d84d4c02ecf7fa7commit hash: 85fbf21ec594128ff43c71f34d84d4c02ecf7fa7Original commit files touched by this commit
bapt search for other commits by this committer
Add NO_STAGE all over the place in preparation for the staging support (cat:
www)
1.05
02 Aug 2013 18:21:06
Revision:324171commit hash: 0aad97bb5c24e162fa1f0e0fa87c8654f738ff52commit hash: 0aad97bb5c24e162fa1f0e0fa87c8654f738ff52commit hash: 0aad97bb5c24e162fa1f0e0fa87c8654f738ff52commit hash: 0aad97bb5c24e162fa1f0e0fa87c8654f738ff52Original commit files touched by this commit Sanity Test Failure
az search for other commits by this committer
- Convert to new perl framework
1.05
19 Mar 2011 12:38:54
Original commit files touched by this commit
miwi search for other commits by this committer
- Get Rid MD5 support
1.05
06 Nov 2009 09:28:36
Original commit files touched by this commit
leeym search for other commits by this committer
- update to 1.05
1.04
10 Feb 2009 08:33:14
Original commit files touched by this commit
leeym search for other commits by this committer
- reset maintainership
1.04
09 May 2008 17:25:59
Original commit files touched by this commit
leeym search for other commits by this committer
- add HTML-StripScripts 1.04

This module strips scripting constructs out of HTML, leaving as
much non-scripting markup in place as possible. This allows web
applications to display HTML originating from an untrusted source
without introducing XSS (cross site scripting) vulnerabilities.
You will probably use HTML::StripScripts::Parser rather than using
this module directly.

WWW: http://search.cpan.org/dist/HTML-StripScripts/

Submitted by:   kftseng@iyard.org

Number of commits found: 17