2011-06-30 18:55:03 +00:00
|
|
|
Name: git-annex
|
2016-05-11 16:41:58 +00:00
|
|
|
Version: 6.20160511
|
2012-04-05 20:39:50 +00:00
|
|
|
Cabal-Version: >= 1.8
|
2013-06-03 19:38:48 +00:00
|
|
|
License: GPL-3
|
2015-01-21 16:50:09 +00:00
|
|
|
Maintainer: Joey Hess <id@joeyh.name>
|
2011-06-30 18:55:03 +00:00
|
|
|
Author: Joey Hess
|
|
|
|
Stability: Stable
|
2014-01-16 15:36:54 +00:00
|
|
|
Copyright: 2010-2014 Joey Hess
|
2012-09-24 19:20:28 +00:00
|
|
|
License-File: COPYRIGHT
|
2014-03-20 15:04:47 +00:00
|
|
|
Extra-Source-Files: CHANGELOG
|
2011-06-30 18:55:03 +00:00
|
|
|
Homepage: http://git-annex.branchable.com/
|
2013-02-28 23:18:56 +00:00
|
|
|
Build-type: Custom
|
2011-06-30 18:55:03 +00:00
|
|
|
Category: Utility
|
|
|
|
Synopsis: manage files with git, without checking their contents into git
|
|
|
|
Description:
|
|
|
|
git-annex allows managing files with git, without checking the file
|
|
|
|
contents into git. While that may seem paradoxical, it is useful when
|
|
|
|
dealing with files larger than git can currently easily handle, whether due
|
2012-02-15 23:43:15 +00:00
|
|
|
to limitations in memory, time, or disk space.
|
2011-06-30 18:55:03 +00:00
|
|
|
.
|
2014-10-03 18:12:01 +00:00
|
|
|
It can store large files in many places, from local hard drives, to a
|
|
|
|
large number of cloud storage services, including S3, WebDAV,
|
|
|
|
and rsync, with a dozen cloud storage providers usable via plugins.
|
|
|
|
Files can be stored encrypted with gpg, so that the cloud storage
|
|
|
|
provider cannot see your data. git-annex keeps track of where each file
|
|
|
|
is stored, so it knows how many copies are available, and has many
|
|
|
|
facilities to ensure your data is preserved.
|
|
|
|
.
|
|
|
|
git-annex can also be used to keep a folder in sync between computers,
|
|
|
|
noticing when files are changed, and automatically committing them
|
|
|
|
to git and transferring them to other computers. The git-annex webapp
|
|
|
|
makes it easy to set up and use git-annex this way.
|
2011-06-30 18:55:03 +00:00
|
|
|
|
2012-04-14 18:22:33 +00:00
|
|
|
Flag S3
|
|
|
|
Description: Enable S3 support
|
|
|
|
|
2012-11-15 00:25:00 +00:00
|
|
|
Flag WebDAV
|
|
|
|
Description: Enable WebDAV support
|
|
|
|
|
2012-06-26 13:15:47 +00:00
|
|
|
Flag Assistant
|
|
|
|
Description: Enable git-annex assistant and watch command
|
|
|
|
|
2012-07-26 01:26:13 +00:00
|
|
|
Flag Webapp
|
|
|
|
Description: Enable git-annex webapp
|
|
|
|
|
2012-09-07 23:44:20 +00:00
|
|
|
Flag Pairing
|
|
|
|
Description: Enable pairing
|
2012-09-07 18:54:00 +00:00
|
|
|
|
2013-02-27 05:41:01 +00:00
|
|
|
Flag Production
|
2013-02-27 06:30:26 +00:00
|
|
|
Description: Enable production build (slower build; faster binary)
|
|
|
|
|
|
|
|
Flag Android
|
2013-11-25 17:01:53 +00:00
|
|
|
Description: Cross building for Android
|
|
|
|
Default: False
|
|
|
|
|
|
|
|
Flag AndroidSplice
|
|
|
|
Description: Building to get TH splices for Android
|
2013-02-27 06:30:26 +00:00
|
|
|
Default: False
|
2013-02-27 05:41:01 +00:00
|
|
|
|
2013-02-27 19:59:31 +00:00
|
|
|
Flag TestSuite
|
|
|
|
Description: Embed the test suite into git-annex
|
|
|
|
|
2014-12-18 18:22:43 +00:00
|
|
|
Flag TorrentParser
|
|
|
|
Description: Use haskell torrent library to parse torrent files
|
|
|
|
|
2016-02-03 20:29:34 +00:00
|
|
|
Flag MagicMime
|
|
|
|
Description: Use libmagic to determine file MIME types
|
|
|
|
|
2015-11-04 17:45:34 +00:00
|
|
|
Flag ConcurrentOutput
|
|
|
|
Description: Use concurrent-output library
|
2015-05-12 17:54:16 +00:00
|
|
|
|
2013-11-06 20:33:45 +00:00
|
|
|
Flag EKG
|
|
|
|
Description: Enable use of EKG to monitor git-annex as it runs (at http://localhost:4242/)
|
|
|
|
Default: False
|
|
|
|
|
2016-01-12 17:01:44 +00:00
|
|
|
Flag Benchmark
|
|
|
|
Description: Enable benchmarking
|
|
|
|
Default: False
|
|
|
|
|
2014-09-13 16:02:02 +00:00
|
|
|
Flag network-uri
|
|
|
|
Description: Get Network.URI from the network-uri package
|
|
|
|
Default: True
|
|
|
|
|
2015-08-06 19:02:25 +00:00
|
|
|
Flag Cryptonite
|
|
|
|
Description: Use the cryptonite library, instead of the older cryptohash
|
|
|
|
|
2016-02-05 22:00:20 +00:00
|
|
|
Flag Dbus
|
|
|
|
Description: Enable dbus support
|
|
|
|
|
|
|
|
Flag XMPP
|
|
|
|
Description: Enable notifications using XMPP
|
|
|
|
|
2011-06-30 18:55:03 +00:00
|
|
|
Executable git-annex
|
|
|
|
Main-Is: git-annex.hs
|
2015-05-10 21:03:20 +00:00
|
|
|
Build-Depends:
|
|
|
|
base (>= 4.5 && < 4.9),
|
2015-08-02 23:05:24 +00:00
|
|
|
optparse-applicative (>= 0.11.0),
|
2015-05-10 21:03:20 +00:00
|
|
|
containers (>= 0.5.0.0),
|
|
|
|
exceptions (>= 0.6),
|
|
|
|
QuickCheck (>= 2.1),
|
|
|
|
stm (>= 2.3),
|
|
|
|
mtl (>= 2),
|
|
|
|
process, data-default, case-insensitive, uuid, random, dlist,
|
|
|
|
unix-compat, SafeSemaphore, async, directory, filepath, IfElse,
|
|
|
|
MissingH, hslogger, monad-logger,
|
|
|
|
utf8-string, bytestring, text, sandi, json,
|
|
|
|
monad-control, transformers,
|
|
|
|
bloomfilter, edit-distance,
|
2015-11-06 16:54:23 +00:00
|
|
|
resourcet, http-conduit, http-client, http-types,
|
2015-12-26 17:00:52 +00:00
|
|
|
time, old-locale,
|
2016-01-26 12:14:57 +00:00
|
|
|
esqueleto, persistent-sqlite, persistent, persistent-template,
|
|
|
|
aeson,
|
2016-01-26 12:52:34 +00:00
|
|
|
feed,
|
2016-03-08 06:45:10 +00:00
|
|
|
regex-tdfa
|
2015-06-06 16:09:45 +00:00
|
|
|
CC-Options: -Wall
|
2015-05-10 18:40:08 +00:00
|
|
|
GHC-Options: -Wall -fno-warn-tabs
|
2013-04-14 16:49:09 +00:00
|
|
|
Extensions: PackageImports
|
2013-07-25 17:57:53 +00:00
|
|
|
-- Some things don't work with the non-threaded RTS.
|
|
|
|
GHC-Options: -threaded
|
2013-02-27 05:41:01 +00:00
|
|
|
|
2016-01-26 12:14:57 +00:00
|
|
|
-- Fully optimize for production.
|
|
|
|
if flag(Production)
|
|
|
|
GHC-Options: -O2
|
|
|
|
|
2015-07-07 17:19:13 +00:00
|
|
|
-- Avoid linking with unused dynamic libaries.
|
|
|
|
-- (Only tested on Linux).
|
|
|
|
if os(Linux)
|
|
|
|
GHC-Options: -optl-Wl,--as-needed
|
|
|
|
|
2014-09-13 16:02:02 +00:00
|
|
|
if flag(network-uri)
|
|
|
|
Build-Depends: network-uri (>= 2.6), network (>= 2.6)
|
|
|
|
else
|
2016-02-24 00:35:32 +00:00
|
|
|
Build-Depends: network (< 2.6), network (>= 2.4)
|
2014-09-13 16:02:02 +00:00
|
|
|
|
2015-08-06 19:02:25 +00:00
|
|
|
if flag(Cryptonite)
|
|
|
|
Build-Depends: cryptonite
|
|
|
|
CPP-Options: -DWITH_CRYPTONITE
|
|
|
|
else
|
|
|
|
Build-Depends: cryptohash (>= 0.11.0)
|
|
|
|
|
2013-12-10 05:18:04 +00:00
|
|
|
if (os(windows))
|
2015-09-03 18:03:08 +00:00
|
|
|
Build-Depends: Win32, Win32-extras, unix-compat (>= 0.4.1.3), setenv,
|
|
|
|
process (>= 1.3.0.0)
|
2013-12-10 05:18:04 +00:00
|
|
|
else
|
2013-05-10 20:37:38 +00:00
|
|
|
Build-Depends: unix
|
2016-02-15 15:47:33 +00:00
|
|
|
if impl(ghc <= 7.6.3)
|
|
|
|
Other-Modules: Utility.Touch.Old
|
2013-05-10 20:08:53 +00:00
|
|
|
|
2013-02-27 19:59:31 +00:00
|
|
|
if flag(TestSuite)
|
2014-01-27 18:22:44 +00:00
|
|
|
Build-Depends: tasty (>= 0.7), tasty-hunit, tasty-quickcheck, tasty-rerun,
|
2015-07-08 16:33:27 +00:00
|
|
|
crypto-api
|
2013-02-27 19:59:31 +00:00
|
|
|
CPP-Options: -DWITH_TESTSUITE
|
|
|
|
|
2012-04-14 18:22:33 +00:00
|
|
|
if flag(S3)
|
2015-11-06 16:54:23 +00:00
|
|
|
Build-Depends: conduit, conduit-extra, aws (>= 0.9.2)
|
2012-04-14 18:22:33 +00:00
|
|
|
CPP-Options: -DWITH_S3
|
2011-06-30 18:55:03 +00:00
|
|
|
|
2013-12-05 23:15:23 +00:00
|
|
|
if flag(WebDAV)
|
2015-11-06 16:54:23 +00:00
|
|
|
Build-Depends: DAV (>= 1.0)
|
2012-11-18 17:28:18 +00:00
|
|
|
CPP-Options: -DWITH_WEBDAV
|
2013-02-22 15:08:34 +00:00
|
|
|
|
2015-08-24 21:22:26 +00:00
|
|
|
if flag(Assistant) && ! os(solaris)
|
2016-02-15 15:13:26 +00:00
|
|
|
Build-Depends: dns, mountpoints
|
2012-06-26 13:15:47 +00:00
|
|
|
CPP-Options: -DWITH_ASSISTANT
|
|
|
|
|
2013-07-12 19:36:59 +00:00
|
|
|
if flag(Assistant)
|
2015-12-28 18:46:01 +00:00
|
|
|
if os(linux)
|
2013-07-16 15:29:43 +00:00
|
|
|
Build-Depends: hinotify
|
|
|
|
CPP-Options: -DWITH_INOTIFY
|
2012-12-27 19:19:12 +00:00
|
|
|
else
|
2013-07-12 19:36:59 +00:00
|
|
|
if os(darwin)
|
|
|
|
Build-Depends: hfsevents
|
|
|
|
CPP-Options: -DWITH_FSEVENTS
|
|
|
|
else
|
2013-11-12 18:54:02 +00:00
|
|
|
if os(windows)
|
|
|
|
Build-Depends: Win32-notify
|
|
|
|
CPP-Options: -DWITH_WIN32NOTIFY
|
|
|
|
else
|
|
|
|
if (! os(solaris) && ! os(linux))
|
|
|
|
if flag(Android)
|
|
|
|
Build-Depends: hinotify
|
|
|
|
CPP-Options: -DWITH_INOTIFY
|
|
|
|
else
|
2015-08-24 21:22:26 +00:00
|
|
|
CPP-Options: -DWITH_KQUEUE
|
|
|
|
C-Sources: Utility/libkqueue.c
|
2013-07-12 19:36:59 +00:00
|
|
|
|
2016-02-05 22:00:20 +00:00
|
|
|
if flag(Dbus)
|
|
|
|
if (os(linux))
|
|
|
|
Build-Depends: dbus (>= 0.10.7), fdo-notify (>= 0.3)
|
|
|
|
CPP-Options: -DWITH_DBUS -DWITH_DESKTOP_NOTIFY -DWITH_DBUS_NOTIFICATIONS
|
2014-03-22 14:42:38 +00:00
|
|
|
|
2013-11-12 18:54:02 +00:00
|
|
|
if flag(Android)
|
|
|
|
Build-Depends: data-endian
|
2013-12-18 06:06:15 +00:00
|
|
|
CPP-Options: -D__ANDROID__ -DANDROID_SPLICES -D__NO_TH__
|
2016-03-08 06:45:10 +00:00
|
|
|
else
|
|
|
|
Build-Depends: disk-free-space
|
|
|
|
|
2013-11-25 17:16:04 +00:00
|
|
|
if flag(AndroidSplice)
|
2013-11-25 17:01:53 +00:00
|
|
|
CPP-Options: -DANDROID_SPLICES
|
2012-07-19 17:01:41 +00:00
|
|
|
|
2013-12-06 19:04:19 +00:00
|
|
|
if flag(Webapp)
|
2013-05-23 15:02:25 +00:00
|
|
|
Build-Depends:
|
2015-04-22 20:19:05 +00:00
|
|
|
yesod (>= 1.2.6),
|
|
|
|
yesod-default (>= 1.2.0),
|
|
|
|
yesod-static (>= 1.2.4),
|
|
|
|
yesod-form (>= 1.3.15),
|
|
|
|
yesod-core (>= 1.2.19),
|
|
|
|
path-pieces (>= 0.1.4),
|
|
|
|
warp (>= 3.0.0.5),
|
2016-01-26 12:14:57 +00:00
|
|
|
warp-tls (>= 1.4),
|
2015-04-22 20:19:05 +00:00
|
|
|
wai, wai-extra,
|
2015-06-06 18:11:06 +00:00
|
|
|
blaze-builder, crypto-api, clientsession,
|
2016-01-26 12:14:57 +00:00
|
|
|
template-haskell,
|
|
|
|
shakespeare (>= 2.0.0),
|
|
|
|
securemem,
|
|
|
|
byteable
|
2012-07-26 01:26:13 +00:00
|
|
|
CPP-Options: -DWITH_WEBAPP
|
2015-05-10 21:03:20 +00:00
|
|
|
|
2013-07-16 15:29:43 +00:00
|
|
|
if flag(Pairing)
|
2012-09-07 23:44:20 +00:00
|
|
|
Build-Depends: network-multicast, network-info
|
|
|
|
CPP-Options: -DWITH_PAIRING
|
2012-09-07 18:54:00 +00:00
|
|
|
|
2016-02-05 22:00:20 +00:00
|
|
|
if flag(XMPP)
|
|
|
|
if (! os(windows))
|
|
|
|
Build-Depends: network-protocol-xmpp, gnutls (>= 0.1.4), xml-types
|
|
|
|
CPP-Options: -DWITH_XMPP
|
2013-09-09 06:16:22 +00:00
|
|
|
|
2014-12-18 18:22:43 +00:00
|
|
|
if flag(TorrentParser)
|
|
|
|
Build-Depends: torrent (>= 10000.0.0)
|
|
|
|
CPP-Options: -DWITH_TORRENTPARSER
|
|
|
|
|
2016-02-03 20:29:34 +00:00
|
|
|
if flag(MagicMime)
|
2016-02-15 19:05:31 +00:00
|
|
|
if (! os(windows))
|
|
|
|
Build-Depends: magic
|
|
|
|
CPP-Options: -DWITH_MAGICMIME
|
2016-02-03 20:29:34 +00:00
|
|
|
|
2015-11-04 17:45:34 +00:00
|
|
|
if flag(ConcurrentOutput)
|
2015-11-05 20:13:10 +00:00
|
|
|
Build-Depends: concurrent-output (>= 1.6)
|
2015-11-04 17:45:34 +00:00
|
|
|
CPP-Options: -DWITH_CONCURRENTOUTPUT
|
2015-05-12 17:54:16 +00:00
|
|
|
|
2013-11-06 20:33:45 +00:00
|
|
|
if flag(EKG)
|
|
|
|
Build-Depends: ekg
|
|
|
|
GHC-Options: -with-rtsopts=-T
|
|
|
|
CPP-Options: -DWITH_EKG
|
2016-01-12 17:01:44 +00:00
|
|
|
|
|
|
|
if flag(Benchmark)
|
|
|
|
Build-Depends: criterion, deepseq
|
|
|
|
CPP-Options: -DWITH_BENCHMARK
|
2013-07-28 19:27:36 +00:00
|
|
|
|
2016-05-04 16:16:09 +00:00
|
|
|
custom-setup
|
|
|
|
Setup-Depends: base (>= 4.5), hslogger, MissingH
|
|
|
|
|
2011-06-30 18:55:03 +00:00
|
|
|
source-repository head
|
|
|
|
type: git
|
|
|
|
location: git://git-annex.branchable.com/
|