EGO_PN="github.com/jedisct1/${PN}"
-inherit fcaps golang-build systemd user
+inherit fcaps golang-build systemd
if [[ ${PV} == 9999 ]]; then
inherit git-r3
DEPEND=">=dev-lang/go-1.12"
+RDEPEND="
+ acct-group/dnscrypt-proxy
+ acct-user/dnscrypt-proxy
+"
+
FILECAPS=( cap_net_bind_service+ep usr/bin/dnscrypt-proxy )
PATCHES=( "${FILESDIR}"/config-full-paths-r10.patch )
-pkg_setup() {
- enewgroup dnscrypt-proxy
- enewuser dnscrypt-proxy -1 -1 /var/empty dnscrypt-proxy
-}
-
src_prepare() {
default
# Create directory structure suitable for building