From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: <gentoo-commits+bounces-1126721-garchives=archives.gentoo.org@lists.gentoo.org> 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 1C70A138334 for <garchives@archives.gentoo.org>; Mon, 2 Dec 2019 10:13:36 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 5E1D8E0863; Mon, 2 Dec 2019 10:13:35 +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 319EEE0863 for <gentoo-commits@lists.gentoo.org>; Mon, 2 Dec 2019 10:13:35 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (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 D035734D68B for <gentoo-commits@lists.gentoo.org>; Mon, 2 Dec 2019 10:13:33 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 5C04E778 for <gentoo-commits@lists.gentoo.org>; Mon, 2 Dec 2019 10:13:32 +0000 (UTC) From: "Lars Wendler" <polynomial-c@gentoo.org> To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Lars Wendler" <polynomial-c@gentoo.org> Message-ID: <1575281596.b2e2f094624e2d5a2c0ba88c0b2d393fda39fb20.polynomial-c@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: net-dns/openresolv/ X-VCS-Repository: repo/gentoo X-VCS-Files: net-dns/openresolv/Manifest net-dns/openresolv/openresolv-3.9.2.ebuild X-VCS-Directories: net-dns/openresolv/ X-VCS-Committer: polynomial-c X-VCS-Committer-Name: Lars Wendler X-VCS-Revision: b2e2f094624e2d5a2c0ba88c0b2d393fda39fb20 X-VCS-Branch: master Date: Mon, 2 Dec 2019 10:13:32 +0000 (UTC) Precedence: bulk List-Post: <mailto:gentoo-commits@lists.gentoo.org> List-Help: <mailto:gentoo-commits+help@lists.gentoo.org> List-Unsubscribe: <mailto:gentoo-commits+unsubscribe@lists.gentoo.org> List-Subscribe: <mailto:gentoo-commits+subscribe@lists.gentoo.org> List-Id: Gentoo Linux mail <gentoo-commits.gentoo.org> X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: fdbde6f8-0c19-4309-81f2-6ee3633c5287 X-Archives-Hash: 08113eb383887a9f7fd87c2f1b9356de commit: b2e2f094624e2d5a2c0ba88c0b2d393fda39fb20 Author: Lars Wendler <polynomial-c <AT> gentoo <DOT> org> AuthorDate: Mon Dec 2 10:13:16 2019 +0000 Commit: Lars Wendler <polynomial-c <AT> gentoo <DOT> org> CommitDate: Mon Dec 2 10:13:16 2019 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b2e2f094 net-dns/openresolv: Bump to version 3.9.2 Non-maintainer commit! Closes: https://bugs.gentoo.org/690242 Package-Manager: Portage-2.3.80, Repoman-2.3.19 Signed-off-by: Lars Wendler <polynomial-c <AT> gentoo.org> net-dns/openresolv/Manifest | 1 + net-dns/openresolv/openresolv-3.9.2.ebuild | 42 ++++++++++++++++++++++++++++++ 2 files changed, 43 insertions(+) diff --git a/net-dns/openresolv/Manifest b/net-dns/openresolv/Manifest index a95699af176..e809ddc6ef0 100644 --- a/net-dns/openresolv/Manifest +++ b/net-dns/openresolv/Manifest @@ -1 +1,2 @@ DIST openresolv-3.9.0.tar.xz 18844 BLAKE2B 0aa2125d79305aab04a8d052d56328493d51aa6ff5b44fdfe08e96ccc78ae1d84f2115e5d59940e7e1cedf7e4fe7dc36a461839bcef8fc2c5b2e21242e441f36 SHA512 4498db60f0b5a762194dd3651b94cc8b01a349a8cfb891e10d040cd6b8e22fa0e9897909517831591787ad22ffad97c78d3281e32296aa1ee67de5dff9bf765e +DIST openresolv-3.9.2.tar.xz 20200 BLAKE2B 25cb56fd85114c3866207a3bf83d1295eb135f1746f141d8cb8f0fb18cdd96e184ad3fbb47d1f65ce4193b57da61e918ca4306a502eaba650ca438589be9a29b SHA512 2f88ccbb53c6e830eeb7dd53666ee72b9fa30f38324766e1d1734896bc9b7f531e42e234c882b921c79604a3bde2877db2681bab9dd8c590f02779da908d0649 diff --git a/net-dns/openresolv/openresolv-3.9.2.ebuild b/net-dns/openresolv/openresolv-3.9.2.ebuild new file mode 100644 index 00000000000..0d725c4c13e --- /dev/null +++ b/net-dns/openresolv/openresolv-3.9.2.ebuild @@ -0,0 +1,42 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +DESCRIPTION="A framework for managing DNS information" +HOMEPAGE="https://roy.marples.name/projects/openresolv" +SRC_URI="https://roy.marples.name/downloads/${PN}/${P}.tar.xz" + +LICENSE="BSD-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86" +IUSE="selinux" + +DEPEND="!net-dns/resolvconf-gentoo + !<net-dns/dnsmasq-2.40-r1" +RDEPEND="selinux? ( sec-policy/selinux-resolvconf )" + +src_configure() { + local myeconfargs=( + --prefix="${EPREFIX}" + --rundir="${EPREFIX}"/var/run + --libexecdir="${EPREFIX}"/lib/resolvconf + ) + econf "${myeconfargs[@]}" +} + +pkg_config() { + if [[ ${ROOT} != / ]]; then + eerror "We cannot configure unless \$ROOT=/" + return 1 + fi + + if [[ -n "$(resolvconf -l)" ]]; then + einfo "${PN} already has DNS information" + else + ebegin "Copying /etc/resolv.conf to resolvconf -a dummy" + resolvconf -a dummy </etc/resolv.conf + eend $? || return $? + einfo "The dummy interface will disappear when you next reboot" + fi +}