ports/178619: [new port]: devel/rubygem-bin_utils Extracting binary integers from binary string and packing back
Veniamin Gvozdikov
g.veniamin at googlemail.com
Wed May 15 05:30:21 UTC 2013
The following reply was made to PR ports/178619; it has been noted by GNATS.
From: Veniamin Gvozdikov <g.veniamin at googlemail.com>
To: freebsd-gnats-submit at FreeBSD.org
Cc:
Subject: ports/178619: [new port]: devel/rubygem-bin_utils Extracting binary
integers from binary string and packing back
Date: Tue, 14 May 2013 08:32:29 GMT
>Number: 178619
>Category: ports
>Synopsis: [new port]: devel/rubygem-bin_utils Extracting binary integers from binary string and packing back
>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: Tue May 14 08:40:00 UTC 2013
>Closed-Date:
>Last-Modified:
>Originator: Veniamin Gvozdikov
>Release: FreeBSD 9.1-RELEASE
>Organization:
>Environment:
FreeBSD ololo 9.1-RELEASE FreeBSD 9.1-RELEASE #0 r243825: Tue Dec 4 09:23:10 UTC 2012 root at farrell.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC amd64
>Description:
It is specialized versions of methods for working with binary data.
It were written cause:
- MRI's #pack and #unpack seems to be slow
- result of #pack is often appended to a string at the very next step.
- usually we need to drop unpacked string head
>How-To-Repeat:
>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-bin_utils
# rubygem-bin_utils/distinfo
# rubygem-bin_utils/Makefile
# rubygem-bin_utils/pkg-descr
#
echo c - rubygem-bin_utils
mkdir -p rubygem-bin_utils > /dev/null 2>&1
echo x - rubygem-bin_utils/distinfo
sed 's/^X//' >rubygem-bin_utils/distinfo << '7a60035374b3903be8654df5b4b30e23'
XSHA256 (rubygem/bin_utils-0.0.3.gem) = 3f78052397ea3234d56141e5ed3a461aac94c1ba2569e3922b951b741d51557c
XSIZE (rubygem/bin_utils-0.0.3.gem) = 16384
7a60035374b3903be8654df5b4b30e23
echo x - rubygem-bin_utils/Makefile
sed 's/^X//' >rubygem-bin_utils/Makefile << '04b70d1ea6b7f0ed0684a7fc90b4580b'
X# Created by: Gvozdikov Veniamin <g.veniamin at googlemail.com>
X# $FreeBSD$
X
XPORTNAME= bin_utils
XPORTVERSION= 0.0.3
XCATEGORIES= devel rubygems
XMASTER_SITES= RG
X
XMAINTAINER= g.veniamin at googlemail.com
XCOMMENT= Extracting binary integers from binary string and packing back
X
XRUBY_VER= 1.9
XUSE_RUBY= yes
XUSE_RUBYGEMS= yes
XRUBYGEM_AUTOPLIST= yes
X
X.include <bsd.port.mk>
04b70d1ea6b7f0ed0684a7fc90b4580b
echo x - rubygem-bin_utils/pkg-descr
sed 's/^X//' >rubygem-bin_utils/pkg-descr << '7044d881b7d89e2ad37e3488c9ca90c9'
XIt is specialized versions of methods for working with binary data.
XIt were written cause:
X
X- MRI's #pack and #unpack seems to be slow
X- result of #pack is often appended to a string at the very next step.
X- usually we need to drop unpacked string head
X
XWWW: https://github.com/funny-falcon/bin_utils
7044d881b7d89e2ad37e3488c9ca90c9
exit
>Release-Note:
>Audit-Trail:
>Unformatted:
_______________________________________________
freebsd-ports-bugs at freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports-bugs
To unsubscribe, send any mail to "freebsd-ports-bugs-unsubscribe at freebsd.org"
More information about the freebsd-ruby
mailing list