From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id EA2A9138334 for ; Thu, 12 Jul 2018 22:32:03 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 1E625E096F; Thu, 12 Jul 2018 22:32:03 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id ECFC6E096F for ; Thu, 12 Jul 2018 22:32:02 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id AC04E335D53 for ; Thu, 12 Jul 2018 22:32:01 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 9CF8135E for ; Thu, 12 Jul 2018 22:31:59 +0000 (UTC) From: "Anthony G. Basile" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Anthony G. Basile" Message-ID: <1531434703.cecd6be7b3c948d81dd4c97cfba092acfbd0a366.blueness@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: net-dns/getdns/, net-dns/getdns/files/ X-VCS-Repository: repo/gentoo X-VCS-Files: net-dns/getdns/files/getdns-1.4.2-stubby.service.patch net-dns/getdns/getdns-1.4.2-r1.ebuild net-dns/getdns/getdns-1.4.2.ebuild X-VCS-Directories: net-dns/getdns/files/ net-dns/getdns/ X-VCS-Committer: blueness X-VCS-Committer-Name: Anthony G. Basile X-VCS-Revision: cecd6be7b3c948d81dd4c97cfba092acfbd0a366 X-VCS-Branch: master Date: Thu, 12 Jul 2018 22:31:59 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: b37e2b3f-9a6b-4720-aed6-6336959b1bd0 X-Archives-Hash: 7b7f17cbf8af8d5fbaa6dfa39aa8b07d commit: cecd6be7b3c948d81dd4c97cfba092acfbd0a366 Author: Quentin Retornaz retornaz com> AuthorDate: Wed Jun 20 15:00:34 2018 +0000 Commit: Anthony G. Basile gentoo org> CommitDate: Thu Jul 12 22:31:43 2018 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cecd6be7 net-dns/getdns: fix upstream systemd unit to match ebuild configuration #656988 Signed-off-by: Anthony G. Basile gentoo.org> net-dns/getdns/files/getdns-1.4.2-stubby.service.patch | 16 ++++++++++++++++ .../{getdns-1.4.2.ebuild => getdns-1.4.2-r1.ebuild} | 2 ++ 2 files changed, 18 insertions(+) diff --git a/net-dns/getdns/files/getdns-1.4.2-stubby.service.patch b/net-dns/getdns/files/getdns-1.4.2-stubby.service.patch new file mode 100644 index 00000000000..2bb7546fcfa --- /dev/null +++ b/net-dns/getdns/files/getdns-1.4.2-stubby.service.patch @@ -0,0 +1,16 @@ +diff -ur a/stubby/systemd/stubby.service b/stubby/systemd/stubby.service +--- a/stubby/systemd/stubby.service 2018-05-11 13:25:22.000000000 +0200 ++++ b/stubby/systemd/stubby.service 2018-06-20 15:40:23.650164668 +0200 +@@ -3,9 +3,11 @@ + + [Service] + User=stubby +-DynamicUser=yes ++DynamicUser=no + CacheDirectory=stubby + WorkingDirectory=/var/cache/stubby ++ExecStartPre=/bin/mkdir -p /var/cache/stubby ++ExecStartPre=/bin/chown stubby:stubby /var/cache/stubby + ExecStart=/usr/bin/stubby + AmbientCapabilities=CAP_NET_BIND_SERVICE + CapabilityBoundingSet=CAP_NET_BIND_SERVICE diff --git a/net-dns/getdns/getdns-1.4.2.ebuild b/net-dns/getdns/getdns-1.4.2-r1.ebuild similarity index 96% rename from net-dns/getdns/getdns-1.4.2.ebuild rename to net-dns/getdns/getdns-1.4.2-r1.ebuild index de86ca0dce7..28d7a6c9c3c 100644 --- a/net-dns/getdns/getdns-1.4.2.ebuild +++ b/net-dns/getdns/getdns-1.4.2-r1.ebuild @@ -30,6 +30,8 @@ RDEPEND=" stubby? ( sys-libs/libcap:= ) " +PATCHES=( "${FILESDIR}/${PN}-1.4.2-stubby.service.patch" ) + src_configure() { econf \ --runstatedir=/var/run \