Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 14 May 2013 08:32:29 GMT
From:      Veniamin Gvozdikov <g.veniamin@googlemail.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/178619: [new port]: devel/rubygem-bin_utils Extracting binary integers from binary string and packing back
Message-ID:  <201305140832.r4E8WT0Y020656@oldred.FreeBSD.org>
Resent-Message-ID: <201305140840.r4E8e0qY094276@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>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@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@googlemail.com>
X# $FreeBSD$
X
XPORTNAME=	bin_utils
XPORTVERSION=	0.0.3
XCATEGORIES=	devel rubygems
XMASTER_SITES=	RG
X
XMAINTAINER=	g.veniamin@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:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201305140832.r4E8WT0Y020656>