Add gpg-agent to Build-Depends. Needed to run the test suite.

Merged from Debian.

I think what this actually deals with is the case where gpg is installed,
but gpg-agent is not, since Utility.Gpg.stdParams enables --use-agent
when GPG_BATCH is set, and the test suite enables GPG_BATCH. So, test suite
will work with gpg not installed, or with both gpg and gpg-agent installed,
but not with only gpg.

For this reason, I've also put in an explicit dep on gnupg, although
dpkg-dev recommends it and all debian package builds tend to have it
available implicitly.
This commit is contained in:
Joey Hess 2018-02-14 17:32:44 -04:00
parent be62234e3f
commit aee9adbadc
No known key found for this signature in database
GPG key ID: DB12DB0FF05F8F38
2 changed files with 4 additions and 0 deletions

View file

@ -8,6 +8,8 @@ git-annex (6.20180113) UNRELEASED; urgency=medium
conflict with the problem version of datalad. conflict with the problem version of datalad.
* fsck: Warn when required content is not present in the repository that * fsck: Warn when required content is not present in the repository that
requires it. requires it.
* Add gpg-agent to Build-Depends.
Needed to run the test suite.
-- Joey Hess <id@joeyh.name> Wed, 24 Jan 2018 20:42:55 -0400 -- Joey Hess <id@joeyh.name> Wed, 24 Jan 2018 20:42:55 -0400

2
debian/control vendored
View file

@ -87,6 +87,8 @@ Build-Depends:
openssh-client, openssh-client,
git-remote-gcrypt (>= 0.20130908-6), git-remote-gcrypt (>= 0.20130908-6),
chrpath, chrpath,
gnupg,
gpg-agent,
Maintainer: Richard Hartmann <richih@debian.org> Maintainer: Richard Hartmann <richih@debian.org>
Standards-Version: 3.9.8 Standards-Version: 3.9.8
Vcs-Git: git://git.kitenet.net/git-annex Vcs-Git: git://git.kitenet.net/git-annex