From owner-freebsd-ports-bugs@FreeBSD.ORG Mon Aug 1 09:00:19 2011 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 E1E07106566C for ; Mon, 1 Aug 2011 09:00:19 +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 BFDE58FC19 for ; Mon, 1 Aug 2011 09:00:19 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id p7190J3w091613 for ; Mon, 1 Aug 2011 09:00:19 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id p7190Juc091612; Mon, 1 Aug 2011 09:00:19 GMT (envelope-from gnats) Resent-Date: Mon, 1 Aug 2011 09:00:19 GMT Resent-Message-Id: <201108010900.p7190Juc091612@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 77D18106566B for ; Mon, 1 Aug 2011 08:57:16 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from red.freebsd.org (red.freebsd.org [IPv6:2001:4f8:fff6::22]) by mx1.freebsd.org (Postfix) with ESMTP id 684418FC16 for ; Mon, 1 Aug 2011 08:57:16 +0000 (UTC) Received: from red.freebsd.org (localhost [127.0.0.1]) by red.freebsd.org (8.14.4/8.14.4) with ESMTP id p718vGFf048011 for ; Mon, 1 Aug 2011 08:57:16 GMT (envelope-from nobody@red.freebsd.org) Received: (from nobody@localhost) by red.freebsd.org (8.14.4/8.14.4/Submit) id p718vG5g048010; Mon, 1 Aug 2011 08:57:16 GMT (envelope-from nobody) Message-Id: <201108010857.p718vG5g048010@red.freebsd.org> Date: Mon, 1 Aug 2011 08:57:16 GMT From: Gabor PALI To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: ports/159348: [patch] devel/git-annex: Update to 3.20110707 and Cabalize 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: Mon, 01 Aug 2011 09:00:20 -0000 >Number: 159348 >Category: ports >Synopsis: [patch] devel/git-annex: Update to 3.20110707 and Cabalize >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: update >Submitter-Id: current-users >Arrival-Date: Mon Aug 01 09:00:19 UTC 2011 >Closed-Date: >Last-Modified: >Originator: Gabor PALI >Release: n/a >Organization: The FreeBSD Project >Environment: n/a >Description: - Update to 3.20110707 - Rewrite the port as a Haskell Cabal package transcript - Move to devel/hs-git-annex (see the FreeBSD Haskell repository [1]) [1] https://github.com/freebsd-haskell/freebsd-haskell >How-To-Repeat: >Fix: Patch attached with submission follows: diff -urN git-annex/Makefile hs-git-annex/Makefile --- git-annex/Makefile 2011-08-01 10:01:55.000000000 +0200 +++ hs-git-annex/Makefile 2011-08-01 10:52:12.000000000 +0200 @@ -6,46 +6,33 @@ # PORTNAME= git-annex -PORTVERSION= 3.20110702 +PORTVERSION= 3.20110707 CATEGORIES= devel haskell -MASTER_SITES= http://git.kitenet.net/?p=git-annex.git;a=snapshot;sf=tgz;h=refs/tags/ -DISTFILES= ${PORTVERSION} -DIST_SUBDIR= ${PORTNAME} MAINTAINER= frase@frase.id.au -COMMENT= Manage file hierarchies with git - -BUILD_DEPENDS= ghc:${PORTSDIR}/lang/ghc \ - hs-MissingH>=0:${PORTSDIR}/devel/hs-MissingH \ - hs-pcre-light>=0:${PORTSDIR}/devel/hs-pcre-light \ - hs-utf8-string>=0:${PORTSDIR}/devel/hs-utf8-string \ - hs-SHA>=0:${PORTSDIR}/security/hs-SHA \ - hs-dataenc>=0:${PORTSDIR}/converters/hs-dataenc \ - hs-curl>0:${PORTSDIR}/ftp/hs-curl \ - git:${PORTSDIR}/devel/git \ - rsync:${PORTSDIR}/net/rsync - -RUN_DEPENDS= ghc:${PORTSDIR}/lang/ghc \ - hs-MissingH>=0:${PORTSDIR}/devel/hs-MissingH \ - hs-pcre-light>=0:${PORTSDIR}/devel/hs-pcre-light \ - hs-utf8-string>=0:${PORTSDIR}/devel/hs-utf8-string \ - hs-SHA>=0:${PORTSDIR}/security/hs-SHA \ - hs-dataenc>=0:${PORTSDIR}/converters/hs-dataenc \ - hs-curl>0:${PORTSDIR}/ftp/hs-curl \ - git:${PORTSDIR}/devel/git \ - rsync:${PORTSDIR}/net/rsync - -USE_PERL5= yes -USE_GMAKE= yes - -MAN1= git-annex.1 \ - git-annex-shell.1 \ - git-union-merge.1 +COMMENT= Manage files with git, without checking their contents into git LICENSE= GPLv3 +FILE_LICENSE= GPL + +USE_CABAL= dataenc hS3 hslogger HTTP MissingH mtl network pcre-light \ + SHA utf8-string +CABAL_SETUP= Setup.hs + +USE_GMAKE= yes +USE_PERL5_BUILD= yes + +BUILD_DEPENDS+= rsync:${PORTSDIR}/net/rsync \ + git:${PORTSDIR}/devel/git + +RUN_DEPENDS+= rsync:${PORTSDIR}/net/rsync \ + git:${PORTSDIR}/devel/git + +EXECUTABLE= git-union-merge git-annex-shell git-annex +STANDALONE= yes -PLIST_FILES= bin/git-annex \ - bin/git-annex-shell \ - bin/git-union-merge +MAN1SRC= . +MAN1= git-union-merge.1 git-annex-shell.1 git-annex.1 -.include +.include "${.CURDIR}/../../lang/ghc/bsd.cabal.mk" +.include diff -urN git-annex/distinfo hs-git-annex/distinfo --- git-annex/distinfo 2011-07-31 17:16:24.000000000 +0200 +++ hs-git-annex/distinfo 2011-07-13 14:07:12.000000000 +0200 @@ -1,2 +1,2 @@ -SHA256 (git-annex/3.20110702) = 66d633bcbd49d4a34b241222bf83f35e85af3207454de3fde4afaf1dd1409580 -SIZE (git-annex/3.20110702) = 378351 +SHA256 (cabal/git-annex-3.20110707.tar.gz) = 174713eb7af035d10f90b8189ed1dc241ce379f70eba9ca416ac2c66089a0461 +SIZE (cabal/git-annex-3.20110707.tar.gz) = 374279 diff -urN git-annex/files/patch-Makefile hs-git-annex/files/patch-Makefile --- git-annex/files/patch-Makefile 2011-08-01 09:35:37.000000000 +0200 +++ hs-git-annex/files/patch-Makefile 2011-07-10 20:01:25.000000000 +0200 @@ -1,45 +1,11 @@ ---- ./Makefile.orig 2011-07-02 21:08:05.000000000 +0200 -+++ ./Makefile 2011-08-01 09:35:21.000000000 +0200 -@@ -1,4 +1,4 @@ --PREFIX=/usr -+PREFIX?=/usr/local - IGNORE=-ignore-package monads-fd - GHCFLAGS=-O2 -Wall $(IGNORE) -fspec-constr-count=5 - ifdef PROFILE -@@ -43,12 +43,8 @@ - install: all - install -d $(DESTDIR)$(PREFIX)/bin - install $(bins) $(DESTDIR)$(PREFIX)/bin -- install -d $(DESTDIR)$(PREFIX)/share/man/man1 -- install -m 0644 $(mans) $(DESTDIR)$(PREFIX)/share/man/man1 -- install -d $(DESTDIR)$(PREFIX)/share/doc/git-annex -- if [ -d html ]; then \ -- rsync -a --delete html/ $(DESTDIR)$(PREFIX)/share/doc/git-annex/html/; \ -- fi -+ install -d $(DESTDIR)$(PREFIX)/man/man1 -+ install -m 0644 $(mans) $(DESTDIR)$(PREFIX)/man/man1 +--- ./Makefile.orig 2011-07-02 23:11:38.000000000 +0200 ++++ ./Makefile 2011-07-08 23:10:32.979799493 +0200 +@@ -73,6 +73,8 @@ + IKIWIKI=ikiwiki + endif - test: $(bins) - @if ! $(GHCMAKE) -O0 test; then \ -@@ -65,21 +61,7 @@ - @hpc report test --exclude=Main --exclude=QC - @hpc markup test --exclude=Main --exclude=QC --destdir=.hpc >/dev/null - --# If ikiwiki is available, build static html docs suitable for being --# shipped in the software package. --ifeq ($(shell which ikiwiki),) --IKIWIKI=@echo "** ikiwiki not found, skipping building docs" >&2; true --else --IKIWIKI=ikiwiki --endif -- ++manuals: $(mans) ++ docs: $(mans) -- $(IKIWIKI) doc html -v --wikiname git-annex --plugin=goodstuff \ -- --no-usedirs --disable-plugin=openid --plugin=sidebar \ -- --underlaydir=/dev/null --disable-plugin=shortcut \ -- --disable-plugin=smiley \ -- --plugin=comments --set comments_pagespec="*" \ -- --exclude='news/.*' - - clean: - rm -rf build $(bins) $(mans) test configure *.tix .hpc \ + $(IKIWIKI) doc html -v --wikiname git-annex --plugin=goodstuff \ + --no-usedirs --disable-plugin=openid --plugin=sidebar \ diff -urN git-annex/files/patch-Setup.hs hs-git-annex/files/patch-Setup.hs --- git-annex/files/patch-Setup.hs 1970-01-01 01:00:00.000000000 +0100 +++ hs-git-annex/files/patch-Setup.hs 2011-07-10 20:01:25.000000000 +0200 @@ -0,0 +1,14 @@ +--- ./Setup.hs.orig 2011-07-02 23:11:40.000000000 +0200 ++++ ./Setup.hs 2011-07-08 23:11:28.256484379 +0200 +@@ -9,9 +9,9 @@ + } + + makeSources _ _ = do +- system "make sources" ++ system "gmake sources manuals" + return (Nothing, []) + + makeClean _ _ _ _ = do +- system "make clean" ++ system "gmake clean" + return () >Release-Note: >Audit-Trail: >Unformatted: