Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 597914 - net-dns/dnscrypt-proxy - initscript contains bashism
Summary: net-dns/dnscrypt-proxy - initscript contains bashism
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Georgy Yakovlev
Keywords: PATCH
Depends on:
Blocks: 609070
  Show dependency tree
Reported: 2016-10-23 20:07 UTC by Hadrien Lacour
Modified: 2017-11-19 02:50 UTC (History)
3 users (show)

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

dnscrypt-proxy.initd-1.6.1 bashism patch (dnscrypt-proxy.initd-1.6.1.patch,345 bytes, patch)
2016-10-23 20:07 UTC, Hadrien Lacour
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Hadrien Lacour 2016-10-23 20:07:04 UTC
Created attachment 451210 [details, diff]
dnscrypt-proxy.initd-1.6.1 bashism patch

The package file "dnscrypt-proxy.initd-1.6.1" contains a superfluous "[[ == ]]" that I, as a /bin/sh -> /bin/dash user, had to edit.

Included the (trivial) patch.
Comment 1 Yixun Lan archtester gentoo-dev 2016-10-30 22:46:12 UTC
I'm not sure if bash is the essential requirement for OpenRC init script, and possible change to make it dash compatible, so CC them
Comment 2 Hadrien Lacour 2016-10-30 23:14:41 UTC
>This led to a development of baselayout 2, which is written in C and only requires a POSIX-compliant shell
Comment 3 Yixun Lan archtester gentoo-dev 2016-10-31 04:26:49 UTC
thanks, Hadrien Lacour

I've already realized that OpenRC require POSIX sh compatible..
I'm reviewing bug 588462, and probably we will merge your patch together in next revision bump
Comment 4 Georgy Yakovlev archtester gentoo-dev 2017-11-19 02:50:35 UTC
The bug has been closed in the following commit(s):

commit 0ee515fb8a5ff324983ec37c38ec1e2dc8d7aaa6
Author:     Georgy Yakovlev <>
AuthorDate: 2017-08-07 20:52:14 +0000
Commit:     Lars Wendler <>
CommitDate: 2017-11-07 08:48:03 +0000