From nobody@FreeBSD.org  Tue Dec 16 13:13:05 2008
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id CE954106567C
	for <freebsd-gnats-submit@FreeBSD.org>; Tue, 16 Dec 2008 13:13:05 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21])
	by mx1.freebsd.org (Postfix) with ESMTP id C4A748FC13
	for <freebsd-gnats-submit@FreeBSD.org>; Tue, 16 Dec 2008 13:13:05 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (localhost [127.0.0.1])
	by www.freebsd.org (8.14.3/8.14.3) with ESMTP id mBGDD5ru056939
	for <freebsd-gnats-submit@FreeBSD.org>; Tue, 16 Dec 2008 13:13:05 GMT
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.14.3/8.14.3/Submit) id mBGDD5SJ056938;
	Tue, 16 Dec 2008 13:13:05 GMT
	(envelope-from nobody)
Message-Id: <200812161313.mBGDD5SJ056938@www.freebsd.org>
Date: Tue, 16 Dec 2008 13:13:05 GMT
From: Gabor PALI <pgj@FreeBSD.org>
To: freebsd-gnats-submit@FreeBSD.org
Subject: New port: devel/hs-binary Efficient binary serialisation for Haskell
X-Send-Pr-Version: www-3.1
X-GNATS-Notify:

>Number:         129678
>Category:       ports
>Synopsis:       New port: devel/hs-binary Efficient binary serialisation for Haskell
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    pgj
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Tue Dec 16 13:20:00 UTC 2008
>Closed-Date:    Sun Dec 21 12:12:32 UTC 2008
>Last-Modified:  Sun Dec 21 12:12:32 UTC 2008
>Originator:     Gabor PALI
>Release:        7.1-PRERELEASE
>Organization:
The FreeBSD Project
>Environment:
FreeBSD kolbasz 7.1-PRERELEASE FreeBSD 7.1-PRERELEASE #2: Mon Dec  8 02:19:56 CET 2008     pgj@kolbasz:/usr/obj/usr/src/sys/GEN-DTRACE-USB_KMOD  i386
>Description:
Efficient, pure binary serialisation using lazy ByteStrings.  Haskell values may be encoded to and from binary formats, written to disk as binary, or sent over the network.  Serialisation speeds of over 1 G/sec have been observed, so this library should be suitable for high performance scenarios.

WWW: http://code.haskell.org/binary/

>How-To-Repeat:

>Fix:


Patch attached with submission follows:

# 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:
#
#	hs-binary
#	hs-binary/Makefile
#	hs-binary/distinfo
#	hs-binary/pkg-descr
#	hs-binary/pkg-plist
#
echo c - hs-binary
mkdir -p hs-binary > /dev/null 2>&1
echo x - hs-binary/Makefile
sed 's/^X//' >hs-binary/Makefile << '4cc0ea30a53681df9ac7a087b49567cc'
X# New ports collection makefile for:	binary
X# Date created:				December 15, 2008
X# Whom:					Gabor Pali <pgj@FreeBSD.org>
X#
X# $FreeBSD$
X#
X
XPORTNAME=	binary
XPORTVERSION=	0.4.4
XCATEGORIES=	devel haskell
XMASTER_SITES=	http://hackage.haskell.org/packages/archive/${PORTNAME}/${PORTVERSION}/
XPKGNAMEPREFIX=	hs-
X
XMAINTAINER=	haskell@FreeBSD.org
XCOMMENT=	Efficient binary serialisation for Haskell
X
XBUILD_DEPENDS=	ghc>=6.8:${PORTSDIR}/lang/ghc
X
XCABAL=		${LOCALBASE}/bin/runghc Setup.lhs
XGHC_VERSION=	`${LOCALBASE}/bin/ghc --numeric-version`
XSUBDIR=		lib/${PORTNAME}-${PORTVERSION}
XPLIST_SUB=	GHC_VERSION="${GHC_VERSION}"		\
X		PORTVERSION=${PORTVERSION}		\
X		SUBDIR=${SUBDIR}
X
Xdo-configure:
X	cd ${WRKSRC} && ${CABAL} configure --prefix=${PREFIX} --ghc
X
Xdo-build:
X	cd ${WRKSRC} && ${CABAL} build && ${CABAL} register --gen-script
X
Xdo-install:
X	cd ${WRKSRC} && ${CABAL} install
X	${INSTALL_SCRIPT} ${WRKSRC}/register.sh ${PREFIX}/${SUBDIR}/register.sh
X
X.include <bsd.port.mk>
4cc0ea30a53681df9ac7a087b49567cc
echo x - hs-binary/distinfo
sed 's/^X//' >hs-binary/distinfo << '20ff9264b0a62063a50fbc9c8a1f7b34'
XMD5 (binary-0.4.4.tar.gz) = 48fc6454e82e0aec7f648be107bfc0b8
XSHA256 (binary-0.4.4.tar.gz) = 23dac14ce7eb7542e19b1ae6f8bec78e95c65ef8364416df43aa2b1751949536
XSIZE (binary-0.4.4.tar.gz) = 41466
20ff9264b0a62063a50fbc9c8a1f7b34
echo x - hs-binary/pkg-descr
sed 's/^X//' >hs-binary/pkg-descr << '7c168c07cf2a99d859c413c70da971ca'
XEfficient, pure binary serialisation using lazy ByteStrings.  Haskell
Xvalues may be encoded to and from binary formats, written to disk as
Xbinary, or sent over the network.  Serialisation speeds of over 1 G/sec
Xhave been observed, so this library should be suitable for high
Xperformance scenarios.
X
XWWW: http://code.haskell.org/binary/
7c168c07cf2a99d859c413c70da971ca
echo x - hs-binary/pkg-plist
sed 's/^X//' >hs-binary/pkg-plist << 'b9a03651d2c07c4e679e670f2529c629'
X%%SUBDIR%%/ghc-%%GHC_VERSION%%/Data/Binary.hi
X%%SUBDIR%%/ghc-%%GHC_VERSION%%/Data/Binary/Builder.hi
X%%SUBDIR%%/ghc-%%GHC_VERSION%%/Data/Binary/Get.hi
X%%SUBDIR%%/ghc-%%GHC_VERSION%%/Data/Binary/Put.hi
X%%SUBDIR%%/ghc-%%GHC_VERSION%%/HSbinary-%%PORTVERSION%%.o
X%%SUBDIR%%/ghc-%%GHC_VERSION%%/libHSbinary-%%PORTVERSION%%.a
X%%SUBDIR%%/register.sh
Xshare/doc/binary-%%PORTVERSION%%/LICENSE
X@dirrm share/doc/binary-%%PORTVERSION%%
X@dirrm %%SUBDIR%%/ghc-%%GHC_VERSION%%/Data/Binary
X@dirrm %%SUBDIR%%/ghc-%%GHC_VERSION%%/Data
X@dirrm %%SUBDIR%%/ghc-%%GHC_VERSION%%
X@dirrm %%SUBDIR%%
X@exec /bin/sh %D/%%SUBDIR%%/register.sh
X@exec /bin/rm -f %D/lib/ghc-%%GHC_VERSION%%/package.conf.old
X@unexec %D/bin/ghc-pkg unregister binary
X@unexec /bin/rm -f %D/lib/ghc-%%GHC_VERSION%%/package.conf.old
b9a03651d2c07c4e679e670f2529c629
exit



>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports-bugs->pgj 
Responsible-Changed-By: edwin 
Responsible-Changed-When: Tue Dec 16 13:20:10 UTC 2008 
Responsible-Changed-Why:  
Submitter has GNATS access (via the GNATS Auto Assign Tool) 

http://www.freebsd.org/cgi/query-pr.cgi?pr=129678 

From: Gabor PALI <pali.gabor@googlemail.com>
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/129678: New port: devel/hs-binary Efficient binary serialisation
 for Haskell
Date: Wed, 17 Dec 2008 01:45:18 +0100

 This is a multi-part message in MIME format.
 --------------000302040809050201050503
 Content-Type: text/plain; charset=ISO-8859-1
 Content-Transfer-Encoding: 7bit
 
 I found a small bug in the submitted port, here is the fixed version.
 
 
 --------------000302040809050201050503
 Content-Type: text/plain;
  name="hs-binary.txt"
 Content-Transfer-Encoding: 7bit
 Content-Disposition: inline;
  filename="hs-binary.txt"
 
 # 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:
 #
 #	hs-binary
 #	hs-binary/Makefile
 #	hs-binary/distinfo
 #	hs-binary/pkg-descr
 #	hs-binary/pkg-plist
 #
 echo c - hs-binary
 mkdir -p hs-binary > /dev/null 2>&1
 echo x - hs-binary/Makefile
 sed 's/^X//' >hs-binary/Makefile << '4cc0ea30a53681df9ac7a087b49567cc'
 X# New ports collection makefile for:	binary
 X# Date created:				December 15, 2008
 X# Whom:					Gabor Pali <pgj@FreeBSD.org>
 X#
 X# $FreeBSD$
 X#
 X
 XPORTNAME=	binary
 XPORTVERSION=	0.4.4
 XCATEGORIES=	devel haskell
 XMASTER_SITES=	http://hackage.haskell.org/packages/archive/${PORTNAME}/${PORTVERSION}/
 XPKGNAMEPREFIX=	hs-
 X
 XMAINTAINER=	haskell@FreeBSD.org
 XCOMMENT=	Efficient binary serialisation for Haskell
 X
 XBUILD_DEPENDS=	ghc>=6.8:${PORTSDIR}/lang/ghc
 XRUN_DEPENDS=	${BUILD_DEPENDS}
 X
 XCABAL=		${LOCALBASE}/bin/runghc Setup.lhs
 XGHC_VERSION=	`${LOCALBASE}/bin/ghc --numeric-version`
 XSUBDIR=		lib/${PORTNAME}-${PORTVERSION}
 XPLIST_SUB=	GHC_VERSION="${GHC_VERSION}"		\
 X		PORTVERSION=${PORTVERSION}		\
 X		SUBDIR=${SUBDIR}
 X
 Xdo-configure:
 X	cd ${WRKSRC} && ${CABAL} configure --prefix=${PREFIX} --ghc
 X
 Xdo-build:
 X	cd ${WRKSRC} && ${CABAL} build && ${CABAL} register --gen-script
 X
 Xdo-install:
 X	cd ${WRKSRC} && ${CABAL} install
 X	${INSTALL_SCRIPT} ${WRKSRC}/register.sh ${PREFIX}/${SUBDIR}/register.sh
 X
 X.include <bsd.port.mk>
 4cc0ea30a53681df9ac7a087b49567cc
 echo x - hs-binary/distinfo
 sed 's/^X//' >hs-binary/distinfo << '20ff9264b0a62063a50fbc9c8a1f7b34'
 XMD5 (binary-0.4.4.tar.gz) = 48fc6454e82e0aec7f648be107bfc0b8
 XSHA256 (binary-0.4.4.tar.gz) = 23dac14ce7eb7542e19b1ae6f8bec78e95c65ef8364416df43aa2b1751949536
 XSIZE (binary-0.4.4.tar.gz) = 41466
 20ff9264b0a62063a50fbc9c8a1f7b34
 echo x - hs-binary/pkg-descr
 sed 's/^X//' >hs-binary/pkg-descr << '7c168c07cf2a99d859c413c70da971ca'
 XEfficient, pure binary serialisation using lazy ByteStrings.  Haskell
 Xvalues may be encoded to and from binary formats, written to disk as
 Xbinary, or sent over the network.  Serialisation speeds of over 1 G/sec
 Xhave been observed, so this library should be suitable for high
 Xperformance scenarios.
 X
 XWWW: http://code.haskell.org/binary/
 7c168c07cf2a99d859c413c70da971ca
 echo x - hs-binary/pkg-plist
 sed 's/^X//' >hs-binary/pkg-plist << 'b9a03651d2c07c4e679e670f2529c629'
 X%%SUBDIR%%/ghc-%%GHC_VERSION%%/Data/Binary.hi
 X%%SUBDIR%%/ghc-%%GHC_VERSION%%/Data/Binary/Builder.hi
 X%%SUBDIR%%/ghc-%%GHC_VERSION%%/Data/Binary/Get.hi
 X%%SUBDIR%%/ghc-%%GHC_VERSION%%/Data/Binary/Put.hi
 X%%SUBDIR%%/ghc-%%GHC_VERSION%%/HSbinary-%%PORTVERSION%%.o
 X%%SUBDIR%%/ghc-%%GHC_VERSION%%/libHSbinary-%%PORTVERSION%%.a
 X%%SUBDIR%%/register.sh
 Xshare/doc/binary-%%PORTVERSION%%/LICENSE
 X@dirrm share/doc/binary-%%PORTVERSION%%
 X@dirrm %%SUBDIR%%/ghc-%%GHC_VERSION%%/Data/Binary
 X@dirrm %%SUBDIR%%/ghc-%%GHC_VERSION%%/Data
 X@dirrm %%SUBDIR%%/ghc-%%GHC_VERSION%%
 X@dirrm %%SUBDIR%%
 X@exec /bin/sh %D/%%SUBDIR%%/register.sh
 X@exec /bin/rm -f %D/lib/ghc-%%GHC_VERSION%%/package.conf.old
 X@unexec %D/bin/ghc-pkg unregister binary
 X@unexec /bin/rm -f %D/lib/ghc-%%GHC_VERSION%%/package.conf.old
 b9a03651d2c07c4e679e670f2529c629
 exit
 
 
 --------------000302040809050201050503--

From: Gabor PALI <pgj@FreeBSD.org>
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/129678: New port: devel/hs-binary Efficient binary serialisation
 for Haskell
Date: Sun, 21 Dec 2008 02:12:35 +0100

 This is a multi-part message in MIME format.
 --------------040703030602060001080504
 Content-Type: text/plain; charset=ISO-8859-1
 Content-Transfer-Encoding: 7bit
 
 PORTDOCS added and tested (porttools, tinderbox), PKGNAMESUFFIX="-ghc",
 as it is for the compiler.
 
 
 
 --------------040703030602060001080504
 Content-Type: text/plain;
  name="hs-binary-ghc.txt"
 Content-Transfer-Encoding: 7bit
 Content-Disposition: inline;
  filename="hs-binary-ghc.txt"
 
 # 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:
 #
 #	hs-binary-ghc
 #	hs-binary-ghc/Makefile
 #	hs-binary-ghc/distinfo
 #	hs-binary-ghc/pkg-descr
 #	hs-binary-ghc/pkg-plist
 #
 echo c - hs-binary-ghc
 mkdir -p hs-binary-ghc > /dev/null 2>&1
 echo x - hs-binary-ghc/Makefile
 sed 's/^X//' >hs-binary-ghc/Makefile << '2c1daecf53e24eb83299f07806700e31'
 X# New ports collection makefile for:	binary
 X# Date created:				December 15, 2008
 X# Whom:					Gabor Pali <pgj@FreeBSD.org>
 X#
 X# $FreeBSD$
 X#
 X
 XPORTNAME=	binary
 XPORTVERSION=	0.4.4
 XCATEGORIES=	devel haskell
 XMASTER_SITES=	http://hackage.haskell.org/packages/archive/${PORTNAME}/${PORTVERSION}/
 XPKGNAMEPREFIX=	hs-
 XPKGNAMESUFFIX=	-ghc
 X
 XMAINTAINER=	haskell@FreeBSD.org
 XCOMMENT=	Efficient binary serialisation for Haskell
 X
 XBUILD_DEPENDS=	ghc>=6.8:${PORTSDIR}/lang/ghc
 XRUN_DEPENDS=	${BUILD_DEPENDS}
 X
 XGHC_VERSION=	6.8.3
 XCABALCMD=	${LOCALBASE}/bin/runghc Setup.lhs
 XCABALDIR=	lib/ghc-${GHC_VERSION}/cabal
 X
 XSUBDIR=		lib/${PORTNAME}-${PORTVERSION}
 XPLIST_SUB=	GHC_VERSION=${GHC_VERSION}		\
 X		PORTNAME=${PORTNAME}			\
 X		PORTVERSION=${PORTVERSION}		\
 X		SUBDIR=${CABALDIR}
 XDOCSDIR=	share/doc/${PORTNAME}-${PORTVERSION}
 X
 XCONFIGURE_ARGS=	--ghc --prefix=${PREFIX} --libdir=${PREFIX}/${CABALDIR} --libsubdir='' --datasubdir=''
 X
 X.ifndef (NOPORTDOCS)
 XBUILD_DEPENDS+=	haddock:${PORTSDIR}/devel/hs-haddock
 X.endif
 X
 Xdo-configure:
 X	cd ${WRKSRC} && ${CABALCMD} configure ${CONFIGURE_ARGS}
 X
 Xdo-build:
 X	cd ${WRKSRC} && ${CABALCMD} build && ${CABALCMD} --gen-script register
 X.ifndef (NOPORTDOCS)
 X	cd ${WRKSRC} && ${CABALCMD} haddock
 X.endif
 X
 Xdo-install:
 X	cd ${WRKSRC} && ${CABALCMD} install
 X	${INSTALL_SCRIPT} ${WRKSRC}/register.sh ${PREFIX}/${CABALDIR}/${PORTNAME}-register.sh
 X
 X.include <bsd.port.mk>
 2c1daecf53e24eb83299f07806700e31
 echo x - hs-binary-ghc/distinfo
 sed 's/^X//' >hs-binary-ghc/distinfo << 'b467e01563099c2f87d37f8edf0db2d1'
 XMD5 (binary-0.4.4.tar.gz) = 48fc6454e82e0aec7f648be107bfc0b8
 XSHA256 (binary-0.4.4.tar.gz) = 23dac14ce7eb7542e19b1ae6f8bec78e95c65ef8364416df43aa2b1751949536
 XSIZE (binary-0.4.4.tar.gz) = 41466
 b467e01563099c2f87d37f8edf0db2d1
 echo x - hs-binary-ghc/pkg-descr
 sed 's/^X//' >hs-binary-ghc/pkg-descr << 'f50324d77c0826bc7397e2c1c3e17691'
 XEfficient, pure binary serialisation using lazy ByteStrings.  Haskell
 Xvalues may be encoded to and from binary formats, written to disk as
 Xbinary, or sent over the network.  Serialisation speeds of over 1 G/sec
 Xhave been observed, so this library should be suitable for high
 Xperformance scenarios.
 X
 XWWW: http://code.haskell.org/binary/
 f50324d77c0826bc7397e2c1c3e17691
 echo x - hs-binary-ghc/pkg-plist
 sed 's/^X//' >hs-binary-ghc/pkg-plist << '610b679aec24f7731fe670b2d6cf096c'
 X%%SUBDIR%%/Data/Binary.hi
 X%%SUBDIR%%/Data/Binary/Builder.hi
 X%%SUBDIR%%/Data/Binary/Get.hi
 X%%SUBDIR%%/Data/Binary/Put.hi
 X%%SUBDIR%%/HSbinary-%%PORTVERSION%%.o
 X%%SUBDIR%%/libHSbinary-%%PORTVERSION%%.a
 X%%SUBDIR%%/%%PORTNAME%%-register.sh
 X%%DOCSDIR%%/LICENSE
 X%%PORTDOCS%%%%DOCSDIR%%/html/%%PORTNAME%%.haddock
 X%%PORTDOCS%%%%DOCSDIR%%/html/doc-index.html
 X%%PORTDOCS%%%%DOCSDIR%%/html/haddock-util.js
 X%%PORTDOCS%%%%DOCSDIR%%/html/haddock.css
 X%%PORTDOCS%%%%DOCSDIR%%/html/haskell_icon.gif
 X%%PORTDOCS%%%%DOCSDIR%%/html/index.html
 X%%PORTDOCS%%%%DOCSDIR%%/html/minus.gif
 X%%PORTDOCS%%%%DOCSDIR%%/html/plus.gif
 X%%PORTDOCS%%%%DOCSDIR%%/html/Data-Binary-Builder.html
 X%%PORTDOCS%%%%DOCSDIR%%/html/Data-Binary-Get.html
 X%%PORTDOCS%%%%DOCSDIR%%/html/Data-Binary-Put.html
 X%%PORTDOCS%%%%DOCSDIR%%/html/Data-Binary.html
 X%%PORTDOCS%%@dirrm %%DOCSDIR%%/html
 X@dirrm %%DOCSDIR%%
 X@dirrmtry %%SUBDIR%%/Data/Binary
 X@dirrmtry %%SUBDIR%%/Data
 X@exec sh %D/%%SUBDIR%%/%%PORTNAME%%-register.sh
 X@exec rm -f %D/lib/ghc-%%GHC_VERSION%%/package.conf.old
 X@unexec ghc-pkg unregister %%PORTNAME%%
 X@unexec rm -f %D/lib/ghc-%%GHC_VERSION%%/package.conf.old
 610b679aec24f7731fe670b2d6cf096c
 exit
 
 
 --------------040703030602060001080504--

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/129678: commit references a PR
Date: Sun, 21 Dec 2008 11:23:33 +0000 (UTC)

 pgj         2008-12-21 11:23:18 UTC
 
   FreeBSD ports repository (doc committer)
 
   Modified files:
     devel                Makefile 
   Added files:
     devel/hs-binary-ghc  Makefile distinfo pkg-descr pkg-plist 
   Log:
   Efficient, pure binary serialisation using lazy ByteStrings. Haskell
   values may be encoded to and from binary formats, written to disk as
   binary, or sent over the network. Serialisation speeds of over 1 G/sec
   have been observed, so this library should be suitable for high
   performance scenarios.
   
   WWW: http://code.haskell.org/binary/
   
   PR:             ports/129678
   Submitted by:   pgj
   Approved by:    miwi
   
   Revision  Changes    Path
   1.3293    +1 -0      ports/devel/Makefile
   1.1       +51 -0     ports/devel/hs-binary-ghc/Makefile (new)
   1.1       +3 -0      ports/devel/hs-binary-ghc/distinfo (new)
   1.1       +7 -0      ports/devel/hs-binary-ghc/pkg-descr (new)
   1.1       +28 -0     ports/devel/hs-binary-ghc/pkg-plist (new)
 _______________________________________________
 cvs-all@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/cvs-all
 To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
 
State-Changed-From-To: open->closed 
State-Changed-By: pgj 
State-Changed-When: Sun Dec 21 12:11:58 UTC 2008 
State-Changed-Why:  
Committed. 

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