e296637737
Note from Joey: git-annex still supports git 2.1, but operates in a degraded fashion. It would be better for backports of the debian package to also backport a newer git. This dependency is mostly expressing that, also that any users who might upgrade git-annex should also upgrade git. Also worth noting that the i386ancient autobuilder has git 2.1 on it (best I have been able to manage there), but luckily the epoch is bumped to 2, so the dependencies will still be satisfied.
76 lines
2.2 KiB
Text
76 lines
2.2 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
|
|
|
|
--- a/debian/control
|
|
+++ b/debian/control
|
|
@@ -85,6 +85,7 @@ Build-Depends:
|
|
git (>= 1:2.22),
|
|
rsync,
|
|
curl,
|
|
+ locales,
|
|
openssh-client,
|
|
git-remote-gcrypt (>= 0.20130908-6),
|
|
gnupg,
|
|
@@ -95,15 +96,15 @@ 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:2.22),
|
|
+Conflicts: git-annex
|
|
+Provides: git-annex
|
|
+Depends: ${misc:Depends},
|
|
+ git,
|
|
netbase,
|
|
- rsync,
|
|
- curl,
|
|
- openssh-client (>= 1:5.6p1)
|
|
+ openssh-client
|
|
Recommends:
|
|
lsof,
|
|
gnupg,
|
|
@@ -122,7 +123,7 @@ Suggests:
|
|
libnss-mdns,
|
|
uftp,
|
|
Breaks: datalad (< 0.11.1~)
|
|
-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
|
|
@@ -140,3 +141,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.
|
|
--- /dev/null
|
|
+++ b/debian/install
|
|
@@ -0,0 +1 @@
|
|
+tmp/git-annex.linux usr/lib
|
|
--- /dev/null
|
|
+++ b/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
|
|
--- a/debian/rules
|
|
+++ b/debian/rules
|
|
@@ -38,4 +38,9 @@ override_dh_strip:
|
|
override_dh_makeshlibs:
|
|
dh_makeshlibs --noscripts
|
|
|
|
+# For portability to older systems which do not support default (since
|
|
+# buster) .xz for components of the .deb
|
|
+override_dh_builddeb:
|
|
+ dh_builddeb -- -Zgzip
|
|
+
|
|
endif
|