ports/147183: New port: devel/rubygem-sax-machine (ruby HTML/XML manipulation library)
Eric Freeman
freebsdports at chillibear.com
Sat May 29 11:40:09 UTC 2010
>Number: 147183
>Category: ports
>Synopsis: New port: devel/rubygem-sax-machine (ruby HTML/XML manipulation library)
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: change-request
>Submitter-Id: current-users
>Arrival-Date: Sat May 29 11:40:08 UTC 2010
>Closed-Date:
>Last-Modified:
>Originator: Eric Freeman
>Release: 7.2
>Organization:
>Environment:
FreeBSD localhost 7.2-RELEASE FreeBSD 7.2-RELEASE #0: Fri May 1 07:18:07 UTC 2009 root at driscoll.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC amd64
>Description:
quick gem port of sax-machine
It's a declarative SAX Parser that uses Nokogiri (already in ports)
http://github.com/pauldix/sax-machine
>How-To-Repeat:
n/a
>Fix:
# This is a shell archive. Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file". Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
# rubygem-loofah
# rubygem-loofah/Makefile
# rubygem-loofah/pkg-descr
# rubygem-loofah/distinfo
#
echo c - rubygem-loofah
mkdir -p rubygem-loofah > /dev/null 2>&1
echo x - rubygem-loofah/Makefile
sed 's/^X//' >rubygem-loofah/Makefile << '7a74de51dad5a2f66f28f1c766cbd5c2'
X# Ports collection makefile for: rubygem-loofah
X# Date created: 29 May 2010
X# Whom: Eric Freeman <freebsdports at chillibear.com>
X#
X# $FreeBSD$
X#
X
XPORTNAME= loofah
XPORTVERSION= 0.4.7
XCATEGORIES= textproc rubygems
XMASTER_SITES= RG
X
XMAINTAINER= freebsdports at chillibear.com
XCOMMENT= Library for manipulating HTML/XML documents and fragments
X
XRUN_DEPENDS= rubygem-nokogiri>=1.3.3:${PORTSDIR}/textproc/rubygem-nokogiri
X
XUSE_RUBY= yes
XUSE_RUBYGEMS= yes
XRUBYGEM_AUTOPLIST= yes
X
X.include <bsd.port.mk>
7a74de51dad5a2f66f28f1c766cbd5c2
echo x - rubygem-loofah/pkg-descr
sed 's/^X//' >rubygem-loofah/pkg-descr << 'd32a1f217f1ebfcc2ffe58081d0fed88'
XLoofah is a general library for manipulating HTML/XML documents and fragments.
XIt's built on top of Nokogiri and libxml2, so it's fast and has a nice API.
XLoofah excels at HTML sanitization (XSS prevention). It includes some nice HTML
Xsanitizers, which are based on HTML5lib's whitelist.
X
XWWW: http://github.com/flavorjones/loofah
XWWW: http://loofah.rubyforge.org/loofah/
d32a1f217f1ebfcc2ffe58081d0fed88
echo x - rubygem-loofah/distinfo
sed 's/^X//' >rubygem-loofah/distinfo << '599d17d9bbe7a05a876e29cac0d77583'
XMD5 (rubygem/loofah-0.4.7.gem) = 92e2d3153d0f0b077d5e16364ad1ec3a
XSHA256 (rubygem/loofah-0.4.7.gem) = 3e2b7fe9b642a0be85a9d6ac736f5df323f0bd46172ad7e3e813dd9645b3a662
XSIZE (rubygem/loofah-0.4.7.gem) = 60416
599d17d9bbe7a05a876e29cac0d77583
exit
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list