BSD Ports

textproc/rubygem-sanitize60 6.0.2 FreeBSD

Whitelist based HTML sanitizer

System
FreeBSD
Repository
FreeBSD ports
Maintainer
[email protected]
License
MIT
Categories
textproc, rubygems
Package size
40.7 KiB, 181.1 KiB installed

Description

Sanitize is a whitelist-based HTML sanitizer. Given a list of acceptable elements and attributes, Sanitize will remove all unacceptable HTML from a string.

Using a simple configuration syntax, you can tell Sanitize to allow certain elements, certain attributes within those elements, and even certain URL protocols within attributes that contain URLs. Any HTML elements or attributes that you don't explicitly allow will be removed.

In the other systems

SystemPortVersion
FreeBSDtextproc/rubygem-sanitize606.0.2
DragonFlytextproc/rubygem-sanitize606.0.2
MidnightBSDtextproc/rubygem-sanitize606.0.2

Install

Binary package:

pkg install rubygem-sanitize60

From the ports tree:

cd /usr/ports/textproc/rubygem-sanitize60/ && make install clean

To depend on this port in another port's Makefile:

RUN_DEPENDS=	rubygem-sanitize60>0:textproc/rubygem-sanitize60

Packages

The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.

Repositoryaarch64amd64armv6armv7i386
FreeBSD:14:latest6.0.26.0.2--6.0.2
FreeBSD:14:quarterly6.0.26.0.2n/a-6.0.2
FreeBSD:15:latest6.0.26.0.2n/a-6.0.2
FreeBSD:15:quarterly6.0.26.0.2n/an/an/a
FreeBSD:16:latest6.0.26.0.2n/an/an/a
FreeBSD:16:quarterlyn/an/an/an/an/a

Dependencies

As this port's Makefile names them.

Runtime 2

The full lists below include those, and their dependencies in turn.

Build dependencies 6
Run dependencies 15

No port depends on this one.

Configuration

No options to configure.

USES
cpe gem
Service scripts
none

Files

distinfo 1
FileSizeSHA256
rubygem/sanitize-6.0.2.gem4761648c4eb8e92bb1699056b6000986ac50fc9df82f458a941abf2c4d6759bccd5cf
Master sites 1
  • RG

Commit history 0

No commits in the history this site was built from.