From owner-freebsd-ports-bugs@FreeBSD.ORG Tue Dec 16 14:50:01 2008 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9B08D106567A for ; Tue, 16 Dec 2008 14:50:01 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 74A288FC1D for ; Tue, 16 Dec 2008 14:50:01 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id mBGEo1lJ036640 for ; Tue, 16 Dec 2008 14:50:01 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id mBGEo1hR036639; Tue, 16 Dec 2008 14:50:01 GMT (envelope-from gnats) Resent-Date: Tue, 16 Dec 2008 14:50:01 GMT Resent-Message-Id: <200812161450.mBGEo1hR036639@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Gabor PALI Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 064861065673 for ; Tue, 16 Dec 2008 14:40:36 +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 E71FB8FC25 for ; Tue, 16 Dec 2008 14:40:35 +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 mBGEeZHJ081646 for ; Tue, 16 Dec 2008 14:40:35 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.14.3/8.14.3/Submit) id mBGEeZ3q081645; Tue, 16 Dec 2008 14:40:35 GMT (envelope-from nobody) Message-Id: <200812161440.mBGEeZ3q081645@www.freebsd.org> Date: Tue, 16 Dec 2008 14:40:35 GMT From: Gabor PALI To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: ports/129679: New port: archivers/hs-zip-archive Haskell library for creating and modifying zip archives X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 16 Dec 2008 14:50:01 -0000 >Number: 129679 >Category: ports >Synopsis: New port: archivers/hs-zip-archive Haskell library for creating and modifying zip archives >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 Dec 16 14:50:01 UTC 2008 >Closed-Date: >Last-Modified: >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: The zip-archive library provides functions for creating, modifying, and extracting files from zip archives. WWW: http://johnmacfarlane.net/zip-archive/ NOTE: This port requires devel/hs-binary [1] to be committed first. [1] http://www.freebsd.org/cgi/query-pr.cgi?pr=129678 >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-zip-archive # hs-zip-archive/Makefile # hs-zip-archive/distinfo # hs-zip-archive/pkg-descr # hs-zip-archive/pkg-plist # echo c - hs-zip-archive mkdir -p hs-zip-archive > /dev/null 2>&1 echo x - hs-zip-archive/Makefile sed 's/^X//' >hs-zip-archive/Makefile << '1373c616af1a610cd72ac66027d010a9' X# New ports collection makefile for: zip-archive X# Date created: December 15, 2008 X# Whom: Gabor Pali X# X# $FreeBSD$ X# X XPORTNAME= zip-archive XPORTVERSION= 0.1.1.1 XCATEGORIES= archivers haskell XMASTER_SITES= http://hackage.haskell.org/packages/archive/${PORTNAME}/${PORTVERSION}/ XPKGNAMEPREFIX= hs- X XMAINTAINER= haskell@FreeBSD.org XCOMMENT= A Haskell library for working with zip archives X XBUILD_DEPENDS= ghc>=6.8:${PORTSDIR}/lang/ghc \ X hs-zlib>=0.5:${PORTSDIR}/archivers/hs-zlib \ X hs-binary>=0.4:${PORTSDIR}/devel/hs-binary \ X hs-utf8-string-ghc>=0.3:${PORTSDIR}/devel/hs-utf8-string-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 1373c616af1a610cd72ac66027d010a9 echo x - hs-zip-archive/distinfo sed 's/^X//' >hs-zip-archive/distinfo << '0085276e989b9814d25a17918ee22fda' XMD5 (zip-archive-0.1.1.1.tar.gz) = fc7eab8f0cf98b20df4bb97fa7a9674b XSHA256 (zip-archive-0.1.1.1.tar.gz) = f93b21e6f118fbf79d8eaaa2759887c9048fb298b78e48b214cb02a24be9e777 XSIZE (zip-archive-0.1.1.1.tar.gz) = 19175 0085276e989b9814d25a17918ee22fda echo x - hs-zip-archive/pkg-descr sed 's/^X//' >hs-zip-archive/pkg-descr << '6bffa1ee238dd1a2e78c43f9f14c4c57' XThe zip-archive library provides functions for creating, modifying, and Xextracting files from zip archives. X XWWW: http://johnmacfarlane.net/zip-archive/ 6bffa1ee238dd1a2e78c43f9f14c4c57 echo x - hs-zip-archive/pkg-plist sed 's/^X//' >hs-zip-archive/pkg-plist << '4946f45170c1d64c02fc48cfd2fdb36b' X%%SUBDIR%%/ghc-%%GHC_VERSION%%/Codec/Archive/Zip.hi X%%SUBDIR%%/ghc-%%GHC_VERSION%%/Data/Hash/CRC32/GZip.hi X%%SUBDIR%%/ghc-%%GHC_VERSION%%/HSzip-archive-%%PORTVERSION%%.o X%%SUBDIR%%/ghc-%%GHC_VERSION%%/libHSzip-archive-%%PORTVERSION%%.a X%%SUBDIR%%/register.sh Xshare/doc/zip-archive-%%PORTVERSION%%/LICENSE X@dirrm share/doc/zip-archive-%%PORTVERSION%% X@dirrm %%SUBDIR%%/ghc-%%GHC_VERSION%%/Data/Hash/CRC32 X@dirrm %%SUBDIR%%/ghc-%%GHC_VERSION%%/Data/Hash X@dirrm %%SUBDIR%%/ghc-%%GHC_VERSION%%/Data X@dirrm %%SUBDIR%%/ghc-%%GHC_VERSION%%/Codec/Archive X@dirrm %%SUBDIR%%/ghc-%%GHC_VERSION%%/Codec 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 zip-archive X@unexec /bin/rm -f %D/lib/ghc-%%GHC_VERSION%%/package.conf.old 4946f45170c1d64c02fc48cfd2fdb36b exit >Release-Note: >Audit-Trail: >Unformatted: