summaryrefslogtreecommitdiff
path: root/net-dns
diff options
context:
space:
mode:
Diffstat (limited to 'net-dns')
-rw-r--r--net-dns/Manifest.gzbin8204 -> 8204 bytes
-rw-r--r--net-dns/openresolv/Manifest1
-rw-r--r--net-dns/openresolv/openresolv-3.13.2-r1.ebuild43
3 files changed, 44 insertions, 0 deletions
diff --git a/net-dns/Manifest.gz b/net-dns/Manifest.gz
index 55356916819f..8b0ba4708dbd 100644
--- a/net-dns/Manifest.gz
+++ b/net-dns/Manifest.gz
Binary files differ
diff --git a/net-dns/openresolv/Manifest b/net-dns/openresolv/Manifest
index 84bca023b019..dbb980bb92ae 100644
--- a/net-dns/openresolv/Manifest
+++ b/net-dns/openresolv/Manifest
@@ -3,5 +3,6 @@ DIST openresolv-3.13.1.tar.xz 21336 BLAKE2B 9794bd2af2af68dcd08383e0613a6ada0d1f
DIST openresolv-3.13.2.tar.xz 21540 BLAKE2B e9ea4524da9e19ae8837869d04f039b2a77b9c9d34826b383ad8396a7b0e79df570c04dff38d33f8aaade35a171ae2599333ac54cbd4d656c965f2d4a5ddfe9b SHA512 4f1bc3e2865bc233d12c29e75893b3e53db0b127a7167d9be4ddd0228ba4f689f62af93eab088fb4d4f66baa556ed402c7fc5ecb9c4af5509004125af60fa379
EBUILD openresolv-3.12.0-r1.ebuild 1104 BLAKE2B b82e4d1ce251fb14179a56528c777d015df8842715a774e8c8496ab0f015939bcb7ae9449d0609edf1af8e78460226585df30556ae4bf74046dde53d293db590 SHA512 3b0ff65863a04b59e8c0107e4d0185b8f471e75cecd0788ff65e373b55c5edf109c4e06eaa57a5ab139d27faf50c7016f7a12c5ec46b1d2d08d1f676bc55826b
EBUILD openresolv-3.13.1.ebuild 1185 BLAKE2B 8967f7cbc861d0c366e9fb1286eabea7fa5d7b156c9c52f167330bac57b2fe51b4cb3067084246ea544c3c30e47665d2b9c3e205bff78516cff27e725ba8f607 SHA512 b53dc34c39f09ac7639d7b2028792b2f777a1faa1a62be1a26b5d3732fa9c9061468ecdcf8e4cd137556becd026d2455eec30ac9e72ca1015709720f97efb4dd
+EBUILD openresolv-3.13.2-r1.ebuild 1147 BLAKE2B b4e32ab2e583209f5ce99aaa4e44881656817b142d6e2679b1919343bec86bdb7c31a0dc8a5dce859acadef9c2ac5da4bd4ff52785599a286437e1445277e386 SHA512 e459f7d03a70caab685454654a663b40b669846cdb1ed41eb624137e67cc8ca39e760b63d45b0eb403c439ce2d0b6e49cdd5fa0e2593419e4dee54666f68b76a
EBUILD openresolv-3.13.2.ebuild 1185 BLAKE2B 8967f7cbc861d0c366e9fb1286eabea7fa5d7b156c9c52f167330bac57b2fe51b4cb3067084246ea544c3c30e47665d2b9c3e205bff78516cff27e725ba8f607 SHA512 b53dc34c39f09ac7639d7b2028792b2f777a1faa1a62be1a26b5d3732fa9c9061468ecdcf8e4cd137556becd026d2455eec30ac9e72ca1015709720f97efb4dd
MISC metadata.xml 365 BLAKE2B 9cc7281443f4a25a8ab82240a0bf751482aa0ddbcd30c466835d78a21bab92fae99a707220af0b8e31f3e03e0a1e7ea9812c9e64b139c41c2b13dbeb33105ef1 SHA512 5a08078078d6d10ea0c5439dc8de670d1f65268eaa65d89642fd525ea2a4321f1674d3ec2ffca59a574f562eb8e6d112e8728220f84785f64e735284c207ce3e
diff --git a/net-dns/openresolv/openresolv-3.13.2-r1.ebuild b/net-dns/openresolv/openresolv-3.13.2-r1.ebuild
new file mode 100644
index 000000000000..6c0232d79c9b
--- /dev/null
+++ b/net-dns/openresolv/openresolv-3.13.2-r1.ebuild
@@ -0,0 +1,43 @@
+# Copyright 1999-2023 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 ~ia64 ~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 )