git-annex/debian/patches/standalone-build

68 lines
2.3 KiB
Text

From: Yaroslav Halchenko <debian@onerussian.com>
Subject: Patch debian/ to provide a standalone build of git-annex
Origin: NeuroDebian
Last-Update: 2015-04-20
Index: git-annex/debian/control
===================================================================
--- git-annex.orig/debian/control
+++ git-annex/debian/control
@@ -86,15 +86,14 @@ Vcs-Git: git://git.kitenet.net/git-annex
Homepage: http://git-annex.branchable.com/
XS-Testsuite: autopkgtest
-Package: git-annex
+Package: git-annex-standalone
Architecture: any
Section: utils
-Depends: ${misc:Depends}, ${shlibs:Depends},
- git (>= 1:1.8.1),
- rsync,
- wget,
- curl,
- openssh-client (>= 1:5.6p1)
+Conflicts: git-annex
+Provides: git-annex
+Depends: ${misc:Depends},
+ git,
+ openssh-client
Recommends:
lsof,
gnupg,
@@ -109,7 +108,7 @@ Suggests:
bup,
tahoe-lafs,
libnss-mdns,
-Description: manage files with git, without checking their contents into git
+Description: manage files with git, without checking their contents into git -- standalone build
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
@@ -127,3 +126,7 @@ Description: manage files with git, with
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.
+ .
+ This package provides a standalone bundle build of git-annex, which
+ should be installable on any more or less recent Debian or Ubuntu
+ release.
Index: git-annex/debian/install
===================================================================
--- /dev/null
+++ git-annex/debian/install
@@ -0,0 +1 @@
+tmp/git-annex.linux usr/lib
Index: git-annex/debian/links
===================================================================
--- /dev/null
+++ git-annex/debian/links
@@ -0,0 +1,2 @@
+/usr/lib/git-annex.linux/git-annex /usr/bin/git-annex
+/usr/lib/git-annex.linux/git-annex-shell /usr/bin/git-annex-shell
Index: git-annex/debian/manpages
===================================================================
--- /dev/null
+++ git-annex/debian/manpages
@@ -0,0 +1 @@
+debian/git-annex-standalone/usr/lib/git-annex.linux/usr/share/man/man1/git-annex*