Index: head/textproc/rubygem-sanitize/Makefile =================================================================== --- head/textproc/rubygem-sanitize/Makefile (revision 385191) +++ head/textproc/rubygem-sanitize/Makefile (revision 385192) @@ -1,20 +1,22 @@ # Created by: Eric Freeman # $FreeBSD$ PORTNAME= sanitize -PORTVERSION= 3.0.2 +PORTVERSION= 4.0.0 CATEGORIES= textproc rubygems MASTER_SITES= RG MAINTAINER= ruby@FreeBSD.org COMMENT= Whitelist based HTML sanitizer -RUN_DEPENDS= rubygem-crass>=0.2.0:${PORTSDIR}/www/rubygem-crass \ +LICENSE= MIT + +RUN_DEPENDS= rubygem-crass>=1.0.2:${PORTSDIR}/www/rubygem-crass \ rubygem-nokogiri>=1.4.4:${PORTSDIR}/textproc/rubygem-nokogiri \ - rubygem-nokogumbo>=1.1.12:${PORTSDIR}/textproc/rubygem-nokogumbo + rubygem-nokogumbo=1.4.1:${PORTSDIR}/textproc/rubygem-nokogumbo -USE_RUBY= yes -USE_RUBYGEMS= yes +USE_RUBY= yes +USE_RUBYGEMS= yes RUBYGEM_AUTOPLIST= yes .include Index: head/textproc/rubygem-sanitize/distinfo =================================================================== --- head/textproc/rubygem-sanitize/distinfo (revision 385191) +++ head/textproc/rubygem-sanitize/distinfo (revision 385192) @@ -1,2 +1,2 @@ -SHA256 (rubygem/sanitize-3.0.2.gem) = 95f678ec4fdd370d49c9ba2286601900f21a585f3aa492f1be83fac18aa268bd -SIZE (rubygem/sanitize-3.0.2.gem) = 35328 +SHA256 (rubygem/sanitize-4.0.0.gem) = 56445c9c609e98e855902d0be6c76a687a2987c698f56a983feedd1d8b46676a +SIZE (rubygem/sanitize-4.0.0.gem) = 38912 Index: head/textproc/rubygem-sanitize/pkg-descr =================================================================== --- head/textproc/rubygem-sanitize/pkg-descr (revision 385191) +++ head/textproc/rubygem-sanitize/pkg-descr (revision 385192) @@ -1,11 +1,11 @@ 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: http://wonko.com/post/sanitize +WWW: https://github.com/rgrove/sanitize/