From ssedov@mbsd.msk.ru  Tue Aug 15 18:32:50 2006
Return-Path: <ssedov@mbsd.msk.ru>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 1514316A4E7
	for <FreeBSD-gnats-submit@freebsd.org>; Tue, 15 Aug 2006 18:32:50 +0000 (UTC)
	(envelope-from ssedov@mbsd.msk.ru)
Received: from com1.ht-systems.ru (com1.ht-systems.ru [83.97.104.204])
	by mx1.FreeBSD.org (Postfix) with ESMTP id D577643D8A
	for <FreeBSD-gnats-submit@freebsd.org>; Tue, 15 Aug 2006 18:32:38 +0000 (GMT)
	(envelope-from ssedov@mbsd.msk.ru)
Received: from [217.118.83.1] (helo=fonon.realnet)
	by com1.ht-systems.ru with esmtpa (Exim 4.62)
	(envelope-from <ssedov@mbsd.msk.ru>)
	id 1GD3iH-0007fk-3U
	for FreeBSD-gnats-submit@freebsd.org; Tue, 15 Aug 2006 22:32:37 +0400
Received: by fonon.realnet (Postfix, from userid 1001)
	id 0CFEA120A3; Tue, 15 Aug 2006 22:30:54 +0600 (YEKST)
Message-Id: <20060815163055.0CFEA120A3@fonon.realnet>
Date: Tue, 15 Aug 2006 22:30:54 +0600 (YEKST)
From: Stanislav Sedov <ssedov@mbsd.msk.ru>
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: [NEW PORT] devel/ocaml-res: Automatically Resizing Contiguous Memory for OCaml
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         102107
>Category:       ports
>Synopsis:       [NEW PORT] devel/ocaml-res: Automatically Resizing Contiguous Memory for OCaml
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    itetcu
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Tue Aug 15 18:40:14 GMT 2006
>Closed-Date:    Sun Aug 20 06:57:43 GMT 2006
>Last-Modified:  Sun Aug 20 06:57:43 GMT 2006
>Originator:     Stanislav Sedov
>Release:        FreeBSD 7.0-CURRENT i386
>Organization:
MBSD labs, Inc.
>Environment:
System: FreeBSD fonon.realnet 7.0-CURRENT FreeBSD 7.0-CURRENT #1: Wed Aug  2 21:44:37 MSD
>Description:
This OCaml-library consists of a set of modules which implement
automatically resizing (= reallocating) datastructures that consume
a contiguous part of memory. This allows appending and removing of
elements to/from arrays (both boxed and unboxed), strings (-> buffers),
bit strings and weak arrays while still maintaining fast constant-time
access to elements.

There are also functors that allow the generation of similar modules
which use different reallocation strategies.

Author:	Markus Mottl <markus.mottl@gmail.com>
WWW:	http://www.ocaml.info/home/ocaml_sources.html

>How-To-Repeat:
>Fix:

--- ocaml-res-2.2.4.shar begins here ---
# 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:
#
#	res
#	res/pkg-descr
#	res/Makefile
#	res/distinfo
#
echo c - res
mkdir -p res > /dev/null 2>&1
echo x - res/pkg-descr
sed 's/^X//' >res/pkg-descr << 'END-of-res/pkg-descr'
XThis OCaml-library consists of a set of modules which implement
Xautomatically resizing (= reallocating) datastructures that consume
Xa contiguous part of memory. This allows appending and removing of
Xelements to/from arrays (both boxed and unboxed), strings (-> buffers),
Xbit strings and weak arrays while still maintaining fast constant-time
Xaccess to elements.
X
XThere are also functors that allow the generation of similar modules
Xwhich use different reallocation strategies.
X
XAuthor:	Markus Mottl <markus.mottl@gmail.com>
XWWW:	http://www.ocaml.info/home/ocaml_sources.html
END-of-res/pkg-descr
echo x - res/Makefile
sed 's/^X//' >res/Makefile << 'END-of-res/Makefile'
X# New ports collection makefile for:	res
X# Date created:		2006-08-15
X# Whom:			Stanislav Sedov <ssedov@mbsd.msk.ru>
X#
X# $MBSDlabs$
X# $FreeBSD$
X#
X
XPORTNAME=	res
XPORTVERSION=	2.2.4
XCATEGORIES=	devel
XMASTER_SITES=	http://www.ocaml.info/ocaml_sources/
XPKGNAMEPREFIX=	ocaml-
X
XMAINTAINER=	ssedov@mbsd.msk.ru
XCOMMENT=	Automatically Resizing Contiguous Memory for OCaml
X
XUSE_BZIP2=	yes
XUSE_GMAKE=	yes
XUSE_OCAML=	yes
XUSE_OCAML_FINDLIB=yes
XUSE_OCAML_WASH=	yes
X
XDOCS=		README
XDOCSDIR=	${TARGETDIR}/share/doc/ocaml/${PORTNAME}
XEXAMPLESDIR=	${TARGETDIR}/share/examples/ocaml/${PORTNAME}
X
X# XXX: exists untill it will be committed to bsd.port.mk
XCOPYTREE_SHARE=	${SH} -c '(${FIND} -d $$0 $$2 | ${CPIO} -dumpl $$1 >/dev/null \
X		2>&1) && \
X		${CHOWN} -R ${SHAREOWN}:${SHAREGRP} $$1 && \
X		${FIND} $$1/ -type d -exec ${CHMOD} 755 {} \; && \
X		${FIND} $$1/ -type f -exec ${CHMOD} ${SHAREMODE} {} \;' --
X
X.include <bsd.port.pre.mk>
X.include "${PORTSDIR}/lang/ocaml/bsd.ocaml.mk"
X
Xpost-extract:
X# For nonstandard prefixes
X.if !exists(${OCAMLFIND_DESTDIR})
X	${MKDIR} ${OCAMLFIND_DESTDIR}
X.endif
X
Xpost-install:
X	@${FIND} ${OCAMLFIND_DESTDIR}/${PORTNAME} -type f | \
X		${SED} "s,^${TARGETDIR}/,," >> ${TMPPLIST}
X.if !defined(NOPORTDOCS)
X	@${MKDIR} ${DOCSDIR}
X	${INSTALL_DATA} ${DOCS:S,^,${WRKSRC}/,} ${DOCSDIR}/
X	@${MKDIR} ${EXAMPLESDIR}
X	@(cd ${WRKSRC}/examples && ${COPYTREE_SHARE} \* ${EXAMPLESDIR}/)
X	@${FIND} ${EXAMPLESDIR}/ ! -type d | \
X		${SED} 's,^${TARGETDIR}/,,' >> ${TMPPLIST}
X	@${FIND} ${EXAMPLESDIR}/ -type d | ${SORT} -r | \
X		${SED} 's,^${TARGETDIR}/,@dirrm ,' >> ${TMPPLIST}
X	@${FIND} ${DOCSDIR}/ ! -type d | \
X		${SED} 's,^${TARGETDIR}/,,' >> ${TMPPLIST}
X	@${FIND} ${DOCSDIR}/ -type d | ${SORT} -r | \
X		${SED} 's,^${TARGETDIR}/,@dirrm ,' >> ${TMPPLIST}
X# XXX: temporary workaround for non-standard PREFIX
X	@${ECHO_CMD} "@unexec rmdir %D/share/doc/ocaml 2>/dev/null || true" \
X		>> ${TMPPLIST}
X	@${ECHO_CMD} "@unexec rmdir %D/share/examples/ocaml 2>/dev/null||true" \
X		>> ${TMPPLIST}
X.endif
X
X.include <bsd.port.post.mk>
END-of-res/Makefile
echo x - res/distinfo
sed 's/^X//' >res/distinfo << 'END-of-res/distinfo'
XMD5 (res-2.2.4.tar.bz2) = 1d1c522c193ad1bc9bd13760bc34f778
XSHA256 (res-2.2.4.tar.bz2) = a38dccb25822112a1e69acba6b271f587d299a7e3bd2cb0e8a09d11307744ac7
XSIZE (res-2.2.4.tar.bz2) = 33581
END-of-res/distinfo
exit
--- ocaml-res-2.2.4.shar ends here ---

>Release-Note:
>Audit-Trail:

From: Stanislav Sedov <ssedov@mbsd.msk.ru>
To: bug-followup@freebsd.org <bug-followup@freebsd.org>
Cc:  
Subject: Re: ports/102107: [NEW PORT] devel/ocaml-res: Automatically
 Resizing Contiguous Memory for OCaml
Date: Tue, 15 Aug 2006 23:00:28 +0600

 On Tue, 15 Aug 2006 18:40:14 GMT
 FreeBSD-gnats-submit@FreeBSD.org mentioned:
 
 Note, that port should have name ocaml-res, not res.
 
 Sorry for the typo in shar directory name.
 
 --=20
 Stanislav Sedov         MBSD labs, Inc.         <ssedov@mbsd.msk.ru>
 =F2=CF=D3=D3=C9=D1, =ED=CF=D3=CB=D7=C1         http://mbsd.msk.ru
 
 --------------------------------------------------------------------
 If the facts don't fit the theory, change the facts.  -- A. Einstein
 --------------------------------------------------------------------
 PGP fingerprint:  F21E D6CC 5626 9609 6CE2  A385 2BF5 5993 EB26 9581
Responsible-Changed-From-To: freebsd-ports-bugs->itetcu 
Responsible-Changed-By: itetcu 
Responsible-Changed-When: Sat Aug 19 09:20:09 UTC 2006 
Responsible-Changed-Why:  
I'll take it. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=102107 
State-Changed-From-To: open->closed 
State-Changed-By: itetcu 
State-Changed-When: Sun Aug 20 06:57:41 UTC 2006 
State-Changed-Why:  
New port added. Thanks! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=102107 
>Unformatted:
