Bug 170785 - [update] devel/hs-git-annex
Summary: [update] devel/hs-git-annex
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: freebsd-haskell (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-08-20 15:50 UTC by Gabor Pali
Modified: 2012-09-04 22:12 UTC (History)
0 users

See Also:


Attachments
file.diff (2.07 KB, patch)
2012-08-20 15:50 UTC, Gabor Pali
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Gabor Pali freebsd_committer freebsd_triage 2012-08-20 15:50:11 UTC
- Update to 3.20120807
- Add options
- Take maintainership for haskell@ [1]

[1] The current maintainer does not seem to either submit updates for the port or
approve mines over more than a year, see ports/159348, ports/165256, ports/168711.  Without waiting for the maintainer timeouts I could probably update
the port more frequently.

Fix: See the attached patch.


Patch attached with submission follows:
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2012-08-20 15:50:22 UTC
Responsible Changed
From-To: freebsd-ports-bugs->haskell

haskell@ wants this port PRs (via the GNATS Auto Assign Tool)
Comment 2 Edwin Groothuis freebsd_committer freebsd_triage 2012-08-20 15:50:24 UTC
Maintainer of devel/hs-git-annex,

Please note that PR ports/170785 has just been submitted.

If it contains a patch for an upgrade, an enhancement or a bug fix
you agree on, reply to this email stating that you approve the patch
and a committer will take care of it.

The full text of the PR can be found at:
    http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/170785

-- 
Edwin Groothuis via the GNATS Auto Assign Tool
edwin@FreeBSD.org
Comment 3 Edwin Groothuis freebsd_committer freebsd_triage 2012-08-20 15:50:26 UTC
State Changed
From-To: open->feedback

Awaiting maintainers feedback (via the GNATS Auto Assign Tool)
Comment 4 dfilter service freebsd_committer freebsd_triage 2012-09-04 22:08:45 UTC
Author: pgj
Date: Tue Sep  4 21:08:30 2012
New Revision: 303673
URL: http://svn.freebsd.org/changeset/ports/303673

Log:
  - Update to 3.20120807
  - Add options
  - Take maintainership for haskell
  
  PR:		ports/170785
  Submitted by:	pgj
  Approved by:	maintainer (timeout)
  Obtained from:	FreeBSD Haskell

Modified:
  head/devel/hs-git-annex/Makefile
  head/devel/hs-git-annex/distinfo

Modified: head/devel/hs-git-annex/Makefile
==============================================================================
--- head/devel/hs-git-annex/Makefile	Tue Sep  4 21:05:15 2012	(r303672)
+++ head/devel/hs-git-annex/Makefile	Tue Sep  4 21:08:30 2012	(r303673)
@@ -6,11 +6,10 @@
 #
 
 PORTNAME=	git-annex
-PORTVERSION=	3.20120522
-PORTREVISION=	1
+PORTVERSION=	3.20120807
 CATEGORIES=	devel haskell
 
-MAINTAINER=	frase@frase.id.au
+MAINTAINER=	haskell@FreeBSD.org
 COMMENT=	Manage files with git, without checking their contents into git
 
 LICENSE=	GPLv3
@@ -18,10 +17,9 @@ FILE_LICENSE=	GPL
 
 CABAL_SETUP=	Setup.hs
 
-USE_CABAL=	bloomfilter dataenc edit-distance hslogger HTTP IfElse \
-		json lifted-base MissingH monad-control mtl network \
-		pcre-light QuickCheck>=2.1 SHA text transformers-base \
-		utf8-string
+USE_CABAL=	bloomfilter dataenc edit-distance hslogger HTTP IfElse json \
+		lifted-base MissingH monad-control mtl network pcre-light \
+		QuickCheck>=2.1 SHA text transformers-base utf8-string
 
 USE_GMAKE=		yes
 USE_PERL5_BUILD=	yes
@@ -35,5 +33,27 @@ RUN_DEPENDS+=	rsync:${PORTSDIR}/net/rsyn
 EXECUTABLE=	git-annex git-annex-shell
 STANDALONE=	yes
 
+OPTIONS_DEFINE=		S3 ASSISTANT
+OPTIONS_DEFAULT=	S3 ASSISTANT
+
+S3_DESC=		S3 support
+ASSISTANT_DESC=		'assistant' and 'watch' commands
+
+.include <bsd.port.options.mk>
+
+.if ${PORT_OPTIONS:MS3}
+CONFIGURE_ARGS+=	--flags="S3"
+USE_CABAL+=		hS3
+.else
+CONFIGURE_ARGS+=	--flags="-S3"
+.endif
+
+.if ${PORT_OPTIONS:MASSISTANT}
+CONFIGURE_ARGS+=	--flags="Assistant"
+USE_CABAL+=		stm>=2.3
+.else
+CONFIGURE_ARGS+=	--flags="-Assistant"
+.endif
+
 .include "${.CURDIR}/../../lang/ghc/bsd.cabal.mk"
 .include <bsd.port.mk>

Modified: head/devel/hs-git-annex/distinfo
==============================================================================
--- head/devel/hs-git-annex/distinfo	Tue Sep  4 21:05:15 2012	(r303672)
+++ head/devel/hs-git-annex/distinfo	Tue Sep  4 21:08:30 2012	(r303673)
@@ -1,2 +1,2 @@
-SHA256 (cabal/git-annex-3.20120522.tar.gz) = 694e59c93e8049172a54e6898c274b200c62d62b9b3064687a76c318727b5925
-SIZE (cabal/git-annex-3.20120522.tar.gz) = 638849
+SHA256 (cabal/git-annex-3.20120807.tar.gz) = 89c2a504c5570e2162809a81ee470f41709fb6b7a32c3f18f59f2fd8e5a149fb
+SIZE (cabal/git-annex-3.20120807.tar.gz) = 1183955
_______________________________________________
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"
Comment 5 Gabor Pali freebsd_committer freebsd_triage 2012-09-04 22:11:58 UTC
State Changed
From-To: feedback->closed

Committed.