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.
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
https://wiki.gentoo.org/wiki/OpenRC/Baselayout_1_to_2_migration >This led to a development of baselayout 2, which is written in C and only requires a POSIX-compliant shell
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
The bug has been closed in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0ee515fb8a5ff324983ec37c38ec1e2dc8d7aaa6 commit 0ee515fb8a5ff324983ec37c38ec1e2dc8d7aaa6 Author: Georgy Yakovlev <ya@sysdump.net> AuthorDate: 2017-08-07 20:52:14 +0000 Commit: Lars Wendler <polynomial-c@gentoo.org> CommitDate: 2017-11-07 08:48:03 +0000