public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Ben Kohler" <bkohler@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: net-dns/openresolv/
Date: Thu, 26 Jun 2025 15:41:16 +0000 (UTC)	[thread overview]
Message-ID: <1750952469.5fa792f07cf652c5c5bac62b36743939698d4424.bkohler@gentoo> (raw)

commit:     5fa792f07cf652c5c5bac62b36743939698d4424
Author:     Ben Kohler <bkohler <AT> gentoo <DOT> org>
AuthorDate: Thu Jun 26 14:32:16 2025 +0000
Commit:     Ben Kohler <bkohler <AT> gentoo <DOT> org>
CommitDate: Thu Jun 26 15:41:09 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5fa792f0

net-dns/openresolv: add 3.17.0

Signed-off-by: Ben Kohler <bkohler <AT> gentoo.org>

 net-dns/openresolv/Manifest                 |  1 +
 net-dns/openresolv/openresolv-3.17.0.ebuild | 43 +++++++++++++++++++++++++++++
 2 files changed, 44 insertions(+)

diff --git a/net-dns/openresolv/Manifest b/net-dns/openresolv/Manifest
index 390060a8aa86..5802fff45d12 100644
--- a/net-dns/openresolv/Manifest
+++ b/net-dns/openresolv/Manifest
@@ -4,3 +4,4 @@ DIST openresolv-3.14.1.tar.xz 22144 BLAKE2B a9ff7217212f928eea04f131be854479fb0c
 DIST openresolv-3.16.2.tar.xz 23936 BLAKE2B b7ad267c8ba24f9118bb7cb07690d3bddb50f3f88965ae4e282af983a34f57477f1f160eb485236b70b0c32b21e691052571f8d3b56aa423545185723f6a4323 SHA512 0dc888a44668bf701428abffc7940cca4d223c212b56f1a00d0989619284635db58d85ff3a413361366c62f93740ae37ba0ff933584acf09d3371881c6738d40
 DIST openresolv-3.16.3.tar.xz 23928 BLAKE2B 7c9ac5c8d03b41ad738e8762d2d3a417ef1daf6b7e2a0f612439fbd1db1a3db5e46a1d115f9ac79d413501e367c9c87e410ab5928dcc7ce0afbc73d19c09b082 SHA512 c1f54c6194013892ec0a859c0062eec38540acd8793a3fb94f681f5a7ddcac50a44bcca9cd79e85cb90fe15ec7bb311bba9883326d38e57b519b0f6b8dd74b4e
 DIST openresolv-3.16.5.tar.xz 25436 BLAKE2B 9a89e06dc4c626db51a5e800d6b2f34064c8a169a8fdf969bd75b392572f18ee42334c78b6c21c8b90506f6a82ad7b03a7eccb97479fe09381ed945e43e3ac47 SHA512 cebf5a7bb6aa22a96293ad0cf8273b2da6564f9a72cfe0d9cc0d09c6a8c3b60e7a8e8ee7876dcc7c66bb4a1606bdf5c3c73b3ed89bb0500598c3738b177948d0
+DIST openresolv-3.17.0.tar.xz 25448 BLAKE2B be8e61a3fb408518aaf5be3b7376227b26e067fc81634c972e6988f262c5457fc97699926a30ff0755563ee8cc19c4cc3398f114154e8bb2681d3ce32cbef7f6 SHA512 82645933675a615daad9809e6891e1652701103d1c470309852f1ce6431c9a73f89dd5ebcbd5e2c14e1cc522a9e75624217fec92ebfc6fbf061c58b58c0d5161

diff --git a/net-dns/openresolv/openresolv-3.17.0.ebuild b/net-dns/openresolv/openresolv-3.17.0.ebuild
new file mode 100644
index 000000000000..09d12f040453
--- /dev/null
+++ b/net-dns/openresolv/openresolv-3.17.0.ebuild
@@ -0,0 +1,43 @@
+# Copyright 1999-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DESCRIPTION="A framework for managing DNS information"
+HOMEPAGE="https://roy.marples.name/projects/openresolv"
+SRC_URI="https://github.com/NetworkConfiguration/openresolv/releases/download/v${PV}/${P}.tar.xz"
+
+LICENSE="BSD-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
+IUSE="selinux"
+
+RDEPEND="!sys-apps/systemd[resolvconf]
+	selinux? ( sec-policy/selinux-resolvconf )"
+
+src_configure() {
+	local myeconfargs=(
+		--prefix="${EPREFIX}"
+		--rundir="${EPREFIX}"/var/run
+		--libexecdir="${EPREFIX}"/lib/resolvconf
+	)
+	econf "${myeconfargs[@]}"
+}
+
+pkg_config() {
+	if [[ -n ${ROOT} ]]; then
+		eerror "We cannot configure unless \$ROOT is empty"
+		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
+}
+
+DOCS=( LICENSE README.md )


             reply	other threads:[~2025-06-26 15:41 UTC|newest]

Thread overview: 56+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-06-26 15:41 Ben Kohler [this message]
  -- strict thread matches above, loose matches on Subject: below --
2025-09-08 17:30 [gentoo-commits] repo/gentoo:master commit in: net-dns/openresolv/ Ben Kohler
2025-05-20 16:25 Ben Kohler
2025-05-13 17:25 Ben Kohler
2025-05-07 16:38 Ben Kohler
2025-04-10 19:29 Ben Kohler
2023-07-16 22:21 Ben Kohler
2023-07-14 13:00 Ben Kohler
2023-06-29 19:57 Ben Kohler
2023-06-07 12:48 Ben Kohler
2023-04-23 11:59 Ben Kohler
2023-04-23 11:59 Ben Kohler
2023-04-23 11:59 Ben Kohler
2023-04-15 12:54 Ben Kohler
2022-05-17 12:48 WANG Xuerui
2022-04-23  2:09 Sam James
2022-04-22 17:43 Sam James
2021-08-20  9:35 Yixun Lan
2021-07-20 10:41 Ben Kohler
2021-05-18 14:15 Ben Kohler
2021-03-29 13:49 Ben Kohler
2021-03-24 16:52 Ben Kohler
2021-03-21  8:24 Joonas Niilola
2020-12-29 20:33 Sam James
2020-10-11  9:30 Joonas Niilola
2020-09-14  1:48 Sam James
2020-08-17 10:21 Sam James
2020-08-17 10:19 Sam James
2020-06-22 13:13 Joonas Niilola
2020-06-19 15:41 Sergei Trofimovich
2020-06-08 16:47 Joonas Niilola
2020-06-08 16:47 Joonas Niilola
2020-06-08 16:47 Joonas Niilola
2020-06-08 16:47 Joonas Niilola
2019-12-02 10:13 Lars Wendler
2019-05-23  6:39 Aaron Bauman
2018-09-28  0:18 Alon Bar-Lev
2018-04-08  5:02 Alon Bar-Lev
2018-04-07 22:11 Matt Turner
2018-03-26 18:35 Aaron Bauman
2017-12-05  5:44 Markus Meier
2017-10-22 21:42 Tobias Klausmann
2017-10-13  0:13 Sergei Trofimovich
2017-10-12 18:48 Sergei Trofimovich
2017-10-12 18:48 Sergei Trofimovich
2017-10-09 22:48 Thomas Deutschmann
2017-10-07 13:33 Michael Palimaka
2017-06-26  8:37 Alexis Ballier
2017-04-22 16:12 Alon Bar-Lev
2017-04-22 15:21 Alon Bar-Lev
2017-04-22 13:32 Jeroen Roovers
2017-03-16  9:45 Michael Weber
2017-03-06 15:50 Tobias Klausmann
2015-10-29 20:55 Alon Bar-Lev
2015-08-26 10:30 Agostino Sarubbo
2015-08-22  5:08 Jeroen Roovers

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1750952469.5fa792f07cf652c5c5bac62b36743939698d4424.bkohler@gentoo \
    --to=bkohler@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox