Bug 178619

Summary: [new port]: devel/rubygem-bin_utils Extracting binary integers from binary string and packing back
Product: Ports & Packages Reporter: Veniamin <g.veniamin>
Component: Individual Port(s)Assignee: Martin Wilke <miwi>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
file.shar none

Description Veniamin 2013-05-14 09:32:29 UTC
>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:
_______________________________________________
freebsd-ports-bugs@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports-bugs
To unsubscribe, send any mail to "freebsd-ports-bugs-unsubscribe@freebsd.org"
Comment 1 Veniamin 2013-05-14 09:40:00 UTC
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
Comment 2 Edwin Groothuis freebsd_committer freebsd_triage 2013-05-14 09:40:08 UTC
Responsible Changed
From-To: freebsd-ports-bugs->ruby

ruby@ wants this port PRs (via the GNATS Auto Assign Tool)
Comment 3 Martin Wilke freebsd_committer freebsd_triage 2013-05-20 06:07:41 UTC
Responsible Changed
From-To: ruby->miwi

I'll take it.
Comment 4 Martin Wilke freebsd_committer freebsd_triage 2013-05-29 01:40:35 UTC
State Changed
From-To: open->closed

New port added. Thanks!
Comment 5 dfilter service freebsd_committer freebsd_triage 2013-05-29 01:41:05 UTC
Author: miwi
Date: Wed May 29 00:40:56 2013
New Revision: 319334
URL: http://svnweb.freebsd.org/changeset/ports/319334

Log:
  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
  
  WWW: https://github.com/funny-falcon/bin_utils
  
  PR:		ports/178619
  Submitted by:	Gvozdikov Veniamin <g.veniamin@googlemail.com>

Added:
  head/devel/rubygem-bin_utils/
  head/devel/rubygem-bin_utils/Makefile   (contents, props changed)
  head/devel/rubygem-bin_utils/distinfo   (contents, props changed)
  head/devel/rubygem-bin_utils/pkg-descr   (contents, props changed)
Modified:
  head/devel/Makefile

Modified: head/devel/Makefile
==============================================================================
--- head/devel/Makefile	Wed May 29 00:38:53 2013	(r319333)
+++ head/devel/Makefile	Wed May 29 00:40:56 2013	(r319334)
@@ -3997,6 +3997,7 @@
     SUBDIR += rubygem-backports
     SUBDIR += rubygem-bacon
     SUBDIR += rubygem-benelux
+    SUBDIR += rubygem-bin_utils
     SUBDIR += rubygem-bioruby
     SUBDIR += rubygem-blockenspiel
     SUBDIR += rubygem-bson

Added: head/devel/rubygem-bin_utils/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/rubygem-bin_utils/Makefile	Wed May 29 00:40:56 2013	(r319334)
@@ -0,0 +1,17 @@
+# Created by: Gvozdikov Veniamin <g.veniamin@googlemail.com>
+# $FreeBSD$
+
+PORTNAME=	bin_utils
+PORTVERSION=	0.0.3
+CATEGORIES=	devel rubygems
+MASTER_SITES=	RG
+
+MAINTAINER=	g.veniamin@googlemail.com
+COMMENT=	Extracting binary integers from binary string and packing back
+
+RUBY_VER=	1.9
+USE_RUBY=	yes
+USE_RUBYGEMS=	yes
+RUBYGEM_AUTOPLIST=	yes
+
+.include <bsd.port.mk>

Added: head/devel/rubygem-bin_utils/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/rubygem-bin_utils/distinfo	Wed May 29 00:40:56 2013	(r319334)
@@ -0,0 +1,2 @@
+SHA256 (rubygem/bin_utils-0.0.3.gem) = 3f78052397ea3234d56141e5ed3a461aac94c1ba2569e3922b951b741d51557c
+SIZE (rubygem/bin_utils-0.0.3.gem) = 16384

Added: head/devel/rubygem-bin_utils/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/rubygem-bin_utils/pkg-descr	Wed May 29 00:40:56 2013	(r319334)
@@ -0,0 +1,8 @@
+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
+
+WWW: https://github.com/funny-falcon/bin_utils
_______________________________________________
svn-ports-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-ports-all
To unsubscribe, send any mail to "svn-ports-all-unsubscribe@freebsd.org"