Verified Commit f6aa781b authored by sunpoet's avatar sunpoet
Browse files

textproc/rubygem-sanitize20: Remove obsoleted port

Use textproc/rubygem-sanitize instead.

With hat:	ruby
parent a0b4f062
Loading
Loading
Loading
Loading
+0 −22
Original line number Diff line number Diff line
PORTNAME=	sanitize
PORTVERSION=	2.0.6
CATEGORIES=	textproc rubygems
MASTER_SITES=	RG
PKGNAMESUFFIX=	20

MAINTAINER=	mfechner@FreeBSD.org
COMMENT=	Whitelist based HTML sanitizer

LICENSE=	MIT
LICENSE_FILE=	${WRKSRC}/LICENSE

RUN_DEPENDS=	rubygem-nokogiri>=1.4.4:textproc/rubygem-nokogiri

PORTSCOUT=	limit:^2\.0

NO_ARCH=	yes
USES=		cpe gem
CPE_VENDOR=	${PORTNAME}_project
USE_RUBY=	yes

.include <bsd.port.mk>
+0 −3
Original line number Diff line number Diff line
TIMESTAMP = 1518178087
SHA256 (rubygem/sanitize-2.0.6.gem) = 204cdaf6f7db12e20da25497a974cae7a891cfb7afb37669a0d31007300004a9
SIZE (rubygem/sanitize-2.0.6.gem) = 19968
+0 −11
Original line number Diff line number Diff line
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.

WWW: https://github.com/rgrove/sanitize