ports/148855: New port: www/rubygem-domainatrix (URL/domain parser)
Eric Freeman
freebsdports at chillibear.com
Fri Jul 23 07:00:10 UTC 2010
>Number: 148855
>Category: ports
>Synopsis: New port: www/rubygem-domainatrix (URL/domain parser)
>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: Fri Jul 23 07:00:09 UTC 2010
>Closed-Date:
>Last-Modified:
>Originator: Eric Freeman
>Release: 7.2
>Organization:
>Environment:
>Description:
Quick rubygem port of this lib:
http://www.pauldix.net/2009/12/parse-domains-from-urls-easily-with-domainatrix.html
The Domainatrix library is used for parsing domain names,
canonicalizing URLs, and a few other things. It uses the
list of domain names from the Public Suffix List to know
what constitutes a subdomain, domain, and public suffix.
(Has one warning because of a long 80+ URL in pkg-descr)
>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-domainatrix
# rubygem-domainatrix/Makefile
# rubygem-domainatrix/pkg-descr
# rubygem-domainatrix/distinfo
#
echo c - rubygem-domainatrix
mkdir -p rubygem-domainatrix > /dev/null 2>&1
echo x - rubygem-domainatrix/Makefile
sed 's/^X//' >rubygem-domainatrix/Makefile << 'c590cc0f2d19eaaf885696085d23d7ee'
X# Ports collection makefile for: rubygem-domainatrix
X# Date created: 22 July 2010
X# Whom: Eric Freeman <freebsdports at chillibear.com>
X#
X# $FreeBSD$
X#
X
XPORTNAME= domainatrix
XPORTVERSION= 0.0.7
XCATEGORIES= www rubygems
XMASTER_SITES= RG
X
XMAINTAINER= freebsdports at chillibear.com
XCOMMENT= Library for parsing domain names and canonicalizing URLs
X
XRUN_DEPENDS= rubygem-addressable>=0.0.0:${PORTSDIR}/www/rubygem-addressable
X
XUSE_RUBY= yes
XUSE_RUBYGEMS= yes
XRUBYGEM_AUTOPLIST= yes
X
X.include <bsd.port.mk>
c590cc0f2d19eaaf885696085d23d7ee
echo x - rubygem-domainatrix/pkg-descr
sed 's/^X//' >rubygem-domainatrix/pkg-descr << '5fb842ae1025702d8da019c12b897a45'
XThe Domainatrix library is used for parsing domain names,
Xcanonicalizing URLs, and a few other things. It uses the
Xlist of domain names from the Public Suffix List to know
Xwhat constitutes a subdomain, domain, and public suffix.
X
XWWW: http://github.com/pauldix/domainatrix
XWWW: http://www.pauldix.net/2009/12/parse-domains-from-urls-easily-with-domainatrix.html
5fb842ae1025702d8da019c12b897a45
echo x - rubygem-domainatrix/distinfo
sed 's/^X//' >rubygem-domainatrix/distinfo << '92f7da0e5dbc543fca2f7d2568cd3ab6'
XMD5 (rubygem/domainatrix-0.0.7.gem) = e985b717dbb2de45b5666e7095ffd0e0
XSHA256 (rubygem/domainatrix-0.0.7.gem) = 63cc8905f469ddf25b147c6c2516996329efeab38299b148f6fa9e1e73f23828
XSIZE (rubygem/domainatrix-0.0.7.gem) = 27648
92f7da0e5dbc543fca2f7d2568cd3ab6
exit
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list