2021-06-14 17:45:29 +02:00
|
|
|
# $NetBSD: Makefile,v 1.13 2021/06/14 15:45:29 taca Exp $
|
2017-04-06 05:10:52 +02:00
|
|
|
|
2021-06-14 17:45:29 +02:00
|
|
|
DISTNAME= loofah-2.10.0
|
2017-04-06 05:10:52 +02:00
|
|
|
CATEGORIES= www
|
|
|
|
|
|
|
|
MAINTAINER= minskim@NetBSD.org
|
2020-06-18 18:23:53 +02:00
|
|
|
HOMEPAGE= https://github.com/flavorjones/loofah
|
2017-04-06 05:10:52 +02:00
|
|
|
COMMENT= HTML sanitizer for Rails applications
|
|
|
|
LICENSE= mit
|
|
|
|
|
|
|
|
DEPENDS+= ${RUBY_PKGPREFIX}-nokogiri>=1.5.9:../../textproc/ruby-nokogiri
|
www/ruby-loofah: update to 2.2.0
## 2.2.0 / 2018-02-11
Features:
* Support HTML5 `<main>` tag. #133 (Thanks, @MothOnMars!)
* Recognize HTML5 block elements. #136 (Thanks, @MothOnMars!)
* Support SVG `<symbol>` tag. #131 (Thanks, @baopham!)
* Support for whitelisting CSS functions, initially just `calc` and `rgb`. #122/#123/#129 (Thanks, @NikoRoberts!)
* Whitelist CSS property `list-style-type`. #68/#137/#142 (Thanks, @andela-ysanni and @NikoRoberts!)
Bugfixes:
* Properly handle nested `script` tags. #127.
## 2.1.1 / 2017-09-24
Bugfixes:
* Removed warning for unused variable. #124 (Thanks, @y-yagi!)
## 2.1.0 / 2017-09-24
Notes:
* Re-implemented CSS parsing and sanitization using the {crass}[https://github.com/rgrove/crass] library. #91
Features:
* Added :noopener HTML scrubber (Thanks, @tastycode!)
* Support `data` URIs with the following media types: text/plain, text/css, image/png, image/gif, image/jpeg, image/svg+xml. #101, #120. (Thanks, @mrpasquini!)
Bugfixes:
* The :unprintable scrubber now scrubs unprintable characters in CDATA nodes (like `<script>`). #124
* Allow negative values in CSS properties. Restores functionality that was reverted in v2.0.3. #91
2018-03-17 17:21:48 +01:00
|
|
|
DEPENDS+= ${RUBY_PKGPREFIX}-crass>=1.0.2<1.1:../../www/ruby-crass
|
2017-04-06 05:10:52 +02:00
|
|
|
|
2018-11-01 17:11:45 +01:00
|
|
|
USE_LANGUAGES= # none
|
|
|
|
|
2017-04-06 05:10:52 +02:00
|
|
|
.include "../../lang/ruby/gem.mk"
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|