2011-06-30 18:55:03 +00:00
|
|
|
Name: git-annex
|
2015-07-13 16:26:06 +00:00
|
|
|
Version: 5.20150713
|
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-17 21:15:56 +00:00
|
|
|
Flag Inotify
|
|
|
|
Description: Enable inotify support
|
|
|
|
|
2012-07-19 17:01:41 +00:00
|
|
|
Flag Dbus
|
|
|
|
Description: Enable dbus 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
|
|
|
|
|
2014-03-13 01:21:10 +00:00
|
|
|
Flag Webapp-secure
|
|
|
|
Description: Secure webapp
|
2014-03-12 16:19:48 +00:00
|
|
|
|
2012-09-07 23:44:20 +00:00
|
|
|
Flag Pairing
|
|
|
|
Description: Enable pairing
|
2012-09-07 18:54:00 +00:00
|
|
|
|
2012-10-24 00:24:23 +00:00
|
|
|
Flag XMPP
|
|
|
|
Description: Enable notifications using XMPP
|
|
|
|
|
2012-10-28 23:14:30 +00:00
|
|
|
Flag DNS
|
|
|
|
Description: Enable the haskell DNS library for DNS lookup
|
2012-10-25 21: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
|
|
|
|
|
2013-05-06 13:44:55 +00:00
|
|
|
Flag TDFA
|
|
|
|
Description: Use regex-tdfa for wildcards
|
|
|
|
|
2013-07-28 19:27:36 +00:00
|
|
|
Flag Feed
|
|
|
|
Description: Enable podcast feed support
|
|
|
|
|
2013-09-09 06:16:22 +00:00
|
|
|
Flag Quvi
|
|
|
|
Description: Enable use of quvi to download videos
|
|
|
|
|
2014-01-08 20:14:37 +00:00
|
|
|
Flag Tahoe
|
|
|
|
Description: Enable the tahoe special remote
|
|
|
|
|
2014-03-22 14:42:38 +00:00
|
|
|
Flag DesktopNotify
|
|
|
|
Description: Enable desktop environment notifications
|
|
|
|
|
2014-12-18 18:22:43 +00:00
|
|
|
Flag TorrentParser
|
|
|
|
Description: Use haskell torrent library to parse torrent files
|
|
|
|
|
2015-05-12 17:54:16 +00:00
|
|
|
Flag AsciiProgress
|
|
|
|
Description: Use ascii-progress library (experimental)
|
|
|
|
Default: False
|
|
|
|
|
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
|
|
|
|
|
2014-09-13 16:02:02 +00:00
|
|
|
Flag network-uri
|
|
|
|
Description: Get Network.URI from the network-uri package
|
|
|
|
Default: True
|
|
|
|
|
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-07-08 16:33:27 +00:00
|
|
|
optparse-applicative (>= 0.10),
|
2015-04-19 14:54:12 +00:00
|
|
|
cryptohash (>= 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,
|
|
|
|
resourcet, http-conduit, http-types,
|
2015-07-21 23:25:12 +00:00
|
|
|
esqueleto, persistent-sqlite, persistent, persistent-template,
|
|
|
|
time, old-locale
|
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
|
|
|
|
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
|
|
|
|
Build-Depends: network (< 2.6), network (>= 2.0)
|
|
|
|
|
2013-02-27 05:41:01 +00:00
|
|
|
if flag(Production)
|
|
|
|
GHC-Options: -O2
|
2012-04-14 18:22:33 +00:00
|
|
|
|
2013-12-10 05:18:04 +00:00
|
|
|
if (os(windows))
|
2014-10-16 00:33:52 +00:00
|
|
|
Build-Depends: Win32, Win32-extras, unix-compat (>= 0.4.1.3), setenv
|
2014-02-13 18:00:15 +00:00
|
|
|
C-Sources: Utility/winprocess.c
|
2013-12-10 05:18:04 +00:00
|
|
|
else
|
2013-05-10 20:37:38 +00:00
|
|
|
Build-Depends: unix
|
2013-12-06 22:06:22 +00:00
|
|
|
-- Need to list these because they're generated from .hsc files.
|
|
|
|
Other-Modules: Utility.Touch Utility.Mounts
|
|
|
|
Include-Dirs: Utility
|
|
|
|
C-Sources: Utility/libdiskfree.c Utility/libmounts.c
|
|
|
|
CPP-Options: -DWITH_CLIBS
|
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
|
|
|
|
|
2013-05-06 13:44:55 +00:00
|
|
|
if flag(TDFA)
|
|
|
|
Build-Depends: regex-tdfa
|
|
|
|
CPP-Options: -DWITH_TDFA
|
2014-02-26 17:40:35 +00:00
|
|
|
else
|
|
|
|
Build-Depends: regex-compat
|
2013-05-06 13:44:55 +00:00
|
|
|
|
2012-04-14 18:22:33 +00:00
|
|
|
if flag(S3)
|
2015-02-27 15:15:09 +00:00
|
|
|
Build-Depends: conduit, conduit-extra, aws (>= 0.9.2), http-client
|
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)
|
2014-08-15 21:17:19 +00:00
|
|
|
Build-Depends: DAV (>= 1.0), http-client
|
2012-11-18 17:28:18 +00:00
|
|
|
CPP-Options: -DWITH_WEBDAV
|
2013-02-22 15:08:34 +00:00
|
|
|
|
2014-10-15 17:31:20 +00:00
|
|
|
if flag(Assistant) && ! os(solaris)
|
2012-06-26 13:15:47 +00:00
|
|
|
CPP-Options: -DWITH_ASSISTANT
|
|
|
|
|
2013-07-12 19:36:59 +00:00
|
|
|
if flag(Assistant)
|
|
|
|
if os(linux) && flag(Inotify)
|
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
|
2014-10-15 17:31:20 +00:00
|
|
|
CPP-Options: -DWITH_KQUEUE
|
|
|
|
C-Sources: Utility/libkqueue.c
|
2013-07-12 19:36:59 +00:00
|
|
|
|
2014-04-02 21:50:47 +00:00
|
|
|
if (os(linux))
|
2014-03-22 14:42:38 +00:00
|
|
|
if flag(Dbus)
|
2015-04-22 20:23:41 +00:00
|
|
|
Build-Depends: dbus (>= 0.10.7)
|
2014-04-02 21:50:47 +00:00
|
|
|
CPP-Options: -DWITH_DBUS
|
|
|
|
|
|
|
|
if flag(DesktopNotify)
|
|
|
|
if flag(Dbus)
|
|
|
|
Build-Depends: dbus (>= 0.10.3), fdo-notify (>= 0.3)
|
|
|
|
CPP-Options: -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__
|
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),
|
|
|
|
warp-tls,
|
|
|
|
wai, wai-extra,
|
2015-06-06 18:11:06 +00:00
|
|
|
blaze-builder, crypto-api, clientsession,
|
2015-04-22 20:19:05 +00:00
|
|
|
template-haskell, aeson,
|
2015-06-06 18:11:06 +00:00
|
|
|
shakespeare (>= 2.0.0)
|
2012-07-26 01:26:13 +00:00
|
|
|
CPP-Options: -DWITH_WEBAPP
|
2015-05-10 21:03:20 +00:00
|
|
|
|
2014-03-13 01:21:10 +00:00
|
|
|
if flag(Webapp) && flag (Webapp-secure)
|
2014-03-26 19:21:19 +00:00
|
|
|
Build-Depends: warp-tls (>= 1.4), securemem, byteable
|
2014-03-13 01:21:10 +00:00
|
|
|
CPP-Options: -DWITH_WEBAPP_SECURE
|
2012-07-26 01:26:13 +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
|
|
|
|
2013-10-17 22:56:28 +00:00
|
|
|
if flag(XMPP) && (! os(windows))
|
2012-10-31 15:50:43 +00:00
|
|
|
Build-Depends: network-protocol-xmpp, gnutls (>= 0.1.4), xml-types
|
2012-10-24 00:24:23 +00:00
|
|
|
CPP-Options: -DWITH_XMPP
|
|
|
|
|
2013-07-16 15:29:43 +00:00
|
|
|
if flag(DNS)
|
2012-10-28 23:14:30 +00:00
|
|
|
Build-Depends: dns
|
|
|
|
CPP-Options: -DWITH_DNS
|
2012-10-25 21:54:00 +00:00
|
|
|
|
2013-07-28 19:27:36 +00:00
|
|
|
if flag(Feed)
|
2015-03-17 07:01:43 +00:00
|
|
|
Build-Depends: feed (>= 0.3.4)
|
2013-07-28 19:27:36 +00:00
|
|
|
CPP-Options: -DWITH_FEED
|
2013-09-09 06:16:22 +00:00
|
|
|
|
|
|
|
if flag(Quvi)
|
|
|
|
Build-Depends: aeson
|
|
|
|
CPP-Options: -DWITH_QUVI
|
2014-01-08 20:14:37 +00:00
|
|
|
|
|
|
|
if flag(Tahoe)
|
|
|
|
Build-Depends: aeson
|
|
|
|
CPP-Options: -DWITH_TAHOE
|
2013-07-28 19:27:36 +00:00
|
|
|
|
2014-12-18 18:22:43 +00:00
|
|
|
if flag(TorrentParser)
|
|
|
|
Build-Depends: torrent (>= 10000.0.0)
|
|
|
|
CPP-Options: -DWITH_TORRENTPARSER
|
|
|
|
|
2015-05-12 17:54:16 +00:00
|
|
|
if flag(AsciiProgress)
|
|
|
|
Build-Depends: ascii-progress (<= 0.2.1.2), terminal-size
|
|
|
|
CPP-Options: -DWITH_ASCIIPROGRESS
|
|
|
|
|
2013-11-06 20:33:45 +00:00
|
|
|
if flag(EKG)
|
|
|
|
Build-Depends: ekg
|
|
|
|
GHC-Options: -with-rtsopts=-T
|
|
|
|
CPP-Options: -DWITH_EKG
|
2013-07-28 19:27:36 +00:00
|
|
|
|
2011-06-30 18:55:03 +00:00
|
|
|
source-repository head
|
|
|
|
type: git
|
|
|
|
location: git://git-annex.branchable.com/
|