Created attachment 504988 [details] stubby-0.1.5.ebuild Stubby is an application that acts as a local DNS Privacy stub resolver. In other words, it resolves your DNS queries over TLS so your provider can not see what you resolve (of course the servers preconfigured in stubby can). Depends on net-dns/getdns (Bug #638166).
Created attachment 504994 [details] stubby.init openrc init script for stubby
Created attachment 504996 [details, diff] stubby-0.1.5-config.patch Adds a missing DESTDIR to Makefile.am (already fixed upstream). Actually the line should probably not be in the Makefile at all, as the directory is either created by systemd-tmpfiles or by the openrc init script.
Comment on attachment 504988 [details] stubby-0.1.5.ebuild ># Copyright 1999-2017 Gentoo Foundation ># Distributed under the terms of the GNU General Public License v2 > >EAPI=6 > >inherit autotools eutils systemd user With EAPI=6 you do not need epatch from eutils.eclass. >PATCHES=( > "${FILESDIR}/${P}-config.patch" >) >src_prepare() { > eapply_user > epatch ${FILESDIR}/${P}-config.patch If you call "default" with EAPI=6 instead of the above two lines, you can remove the eutils.eclass inherit. Also, first you set the PATCHES variable and then you don't use it. > eautoreconf >} > >src_configure() { > econf --with-piddir="/var/run/stubby" You want /run not /var/run. >} > >src_install() { > emake DESTDIR="${D}" install Again, calling "default" should suffice here.
Created attachment 505796 [details] stubby-0.1.5.ebuild Updated ebuild according to comments
Created attachment 505798 [details] stubby.init openrc init script now uses /run/stubby for pid file
Created attachment 505800 [details, diff] stubby-0.1.5-config.patch patch now simply removes the install line from Makefile.am, that creates /run/stubby, as this provoked a QA notice during install. The directory is created at runtime (systemd-tmpfiles or openrc init script).
stubby is available in portage tree as net-dns/getdns with stubby USE flag.
closed, as stubby is in the tree. Thanks.