Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 648928 - app-crypt/dehydrated should RDEPEND on net-misc/curl - dehydrated: ERROR: This script requires curl.
Summary: app-crypt/dehydrated should RDEPEND on net-misc/curl - dehydrated: ERROR: Thi...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Marc Schiffbauer
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-02-27 10:16 UTC by Steven Dürl
Modified: 2018-03-26 19:05 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Steven Dürl 2018-02-27 10:16:01 UTC
Dehydrated fails if curl is missing:

# dehydrated
ERROR: This script requires curl.


Currently no other package on my system pulls net-misc/curl. After manually installing curl everything works fine.

See check_dependencies function: https://github.com/lukas2511/dehydrated/blob/master/dehydrated#L37

Please add net-misc/curl to RDEPEND.

Maybe also consider to add sys-apps/grep, sys-apps/coreutils (=mktemp) and sys-apps/diffutils (=diff) to RDEPEND as dehydrated depends on these tools and will fail if they are missing.
Comment 1 Larry the Git Cow gentoo-dev 2018-03-26 19:02:05 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7c2ec6dedb9a29cc48092722f331bf651d0614a5

commit 7c2ec6dedb9a29cc48092722f331bf651d0614a5
Author:     Thomas Deutschmann <whissi@gentoo.org>
AuthorDate: 2018-03-26 19:00:12 +0000
Commit:     Thomas Deutschmann <whissi@gentoo.org>
CommitDate: 2018-03-26 19:01:55 +0000

    app-crypt/dehydrated: Bump to v0.6.1
    
    Closes: https://bugs.gentoo.org/648928
    Package-Manager: Portage-2.3.24, Repoman-2.3.6

 app-crypt/dehydrated/Manifest                |  1 +
 app-crypt/dehydrated/dehydrated-0.6.1.ebuild | 64 ++++++++++++++++++++++++++++
 2 files changed, 65 insertions(+)
Comment 2 Thomas Deutschmann (RETIRED) gentoo-dev 2018-03-26 19:05:02 UTC
Thanks for the report!

(In reply to Steven Dürl from comment #0)
> Please add net-misc/curl to RDEPEND.
> 
> Maybe also consider to add sys-apps/grep, sys-apps/coreutils (=mktemp) and
> sys-apps/diffutils (=diff) to RDEPEND as dehydrated depends on these tools
> and will fail if they are missing.
FYI, I only added RDEPEND on net-misc/curl. The other packages are base packages (i.e. pulled in in each profile) and therefore don't need to be explicit listed.