www/p5-HTML-Defang 1.07 FreeBSD
Cleans HTML of executable contents, and neutralises XSS attacks
- System
- FreeBSD
- Repository
- FreeBSD ports
- Maintainer
- [email protected]
- License
- ART10, GPLv1+
- Categories
- www, perl5
- Package size
- 32.3 KiB, 91.1 KiB installed
Description
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.
In the other systems
| System | Port | Version |
|---|---|---|
| FreeBSD | www/p5-HTML-Defang | 1.07 |
| DragonFly | www/p5-HTML-Defang | 1.07 |
Install
Binary package:
pkg install p5-HTML-Defang
From the ports tree:
cd /usr/ports/www/p5-HTML-Defang/ && make install clean
To depend on this port in another port's Makefile:
RUN_DEPENDS= p5-HTML-Defang>0:www/p5-HTML-Defang
Packages
The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.
| Repository | aarch64 | amd64 | armv6 | armv7 | i386 |
|---|---|---|---|---|---|
| FreeBSD:14:latest | 1.07 | 1.07 | 1.07 | 1.07 | 1.07 |
| FreeBSD:14:quarterly | 1.07 | 1.07 | n/a | 1.07 | 1.07 |
| FreeBSD:15:latest | 1.07 | 1.07 | n/a | 1.07 | 1.07 |
| FreeBSD:15:quarterly | 1.07 | 1.07 | n/a | n/a | n/a |
| FreeBSD:16:latest | 1.07 | 1.07 | n/a | n/a | n/a |
| FreeBSD:16:quarterly | n/a | n/a | n/a | n/a | n/a |
Dependencies
The Makefile names none itself; they come from USES and USE_*.
The full lists below include those, and their dependencies in turn.
Build dependencies 1
Run dependencies 1
No port depends on this one.
Configuration
No options to configure.
- USES
- perl5
- Service scripts
- none
Files
pkg-plist 2
- %%SITE_PERL%%/HTML/Defang.pm
- %%PERL5_MAN3%%/HTML::Defang.3.gz
distinfo 1
| File | Size | SHA256 |
|---|---|---|
| HTML-Defang-1.07.tar.gz | 46222 | 882dc4a9dcfae8799235f4bad0062ee55ddbe408be1a5e4a7574b262e3fe07ce |
Master sites 1
- CPAN
Commit history 0
No commits in the history this site was built from.