From c5cf5cf03a7801d31389c1eb75863fc652944e53 Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Mon, 20 Feb 2017 12:21:35 -0400 Subject: [PATCH] git-annex.cabal: Make crypto-api a dependency even when built w/o webapp and test suite. The p2p code made it always be needed. This commit was sponsored by Anthony DeRobertis on Patreon. --- CHANGELOG | 2 ++ ...s_a_global_dependency_because_of_Utility.AuthToken.mdwn | 1 + git-annex.cabal | 7 +++---- 3 files changed, 6 insertions(+), 4 deletions(-) diff --git a/CHANGELOG b/CHANGELOG index 36ae125b13..fe7e46adc5 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -22,6 +22,8 @@ git-annex (6.20170215) UNRELEASED; urgency=medium * config group groupwanted numcopies schedule wanted required: Avoid displaying extraneous messages about repository auto-init, git-annex branch merging, etc, when being used to get information. + * git-annex.cabal: Make crypto-api a dependency even when built w/o + webapp and test suite. -- Joey Hess Tue, 14 Feb 2017 15:54:25 -0400 diff --git a/doc/bugs/crypto-api_is_a_global_dependency_because_of_Utility.AuthToken.mdwn b/doc/bugs/crypto-api_is_a_global_dependency_because_of_Utility.AuthToken.mdwn index 29faab8d47..fcde456fd7 100644 --- a/doc/bugs/crypto-api_is_a_global_dependency_because_of_Utility.AuthToken.mdwn +++ b/doc/bugs/crypto-api_is_a_global_dependency_because_of_Utility.AuthToken.mdwn @@ -22,3 +22,4 @@ We need to make `crypto-api` into a global dependency. Here is a [patch](https:/ Oh yes! I use it everyday to sync collections of binary files across computers and VM's! +> [[fixed|done]], thanks! --[[Joey]] diff --git a/git-annex.cabal b/git-annex.cabal index 75ce829431..c394693cfe 100644 --- a/git-annex.cabal +++ b/git-annex.cabal @@ -361,7 +361,8 @@ Executable git-annex socks, byteable, stm-chans, - securemem + securemem, + crypto-api CC-Options: -Wall GHC-Options: -Wall -fno-warn-tabs Extensions: PackageImports @@ -397,8 +398,7 @@ Executable git-annex Other-Modules: Utility.Touch.Old if flag(TestSuite) - Build-Depends: tasty (>= 0.7), tasty-hunit, tasty-quickcheck, tasty-rerun, - crypto-api + Build-Depends: tasty (>= 0.7), tasty-hunit, tasty-quickcheck, tasty-rerun CPP-Options: -DWITH_TESTSUITE if flag(S3) @@ -461,7 +461,6 @@ Executable git-annex wai, wai-extra, blaze-builder, - crypto-api, clientsession, template-haskell, shakespeare (>= 2.0.0) -- 2.30.2