Summary: | net-dns/stubby - a local DNS Privacy stub resolver | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Kristian <kbx> |
Component: | New packages | Assignee: | Default Assignee for New Packages <maintainer-wanted> |
Status: | RESOLVED OBSOLETE | ||
Severity: | normal | Keywords: | EBUILD, PATCH |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | All | ||
URL: | https://getdnsapi.net/ | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | 638166 | ||
Bug Blocks: | |||
Attachments: |
stubby-0.1.5.ebuild
stubby.init stubby-0.1.5-config.patch stubby-0.1.5.ebuild stubby.init stubby-0.1.5-config.patch |
Description
Kristian
2017-11-19 19:30:45 UTC
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. |