summaryrefslogtreecommitdiff
path: root/net-dns
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2023-04-15 17:48:43 +0100
committerV3n3RiX <venerix@koprulu.sector>2023-04-15 17:48:43 +0100
commit6fc112778f70ed827633ff345036db5b592ca1d0 (patch)
treee7cdb999d63c6c05d692df24f69651b737792c56 /net-dns
parent04fc7f10cec12efb1240344a0090b539e24ad0f3 (diff)
gentoo auto-resync : 15:04:2023 - 17:48:43
Diffstat (limited to 'net-dns')
-rw-r--r--net-dns/Manifest.gzbin8196 -> 8195 bytes
-rw-r--r--net-dns/openresolv/Manifest2
-rw-r--r--net-dns/openresolv/openresolv-3.13.0.ebuild45
3 files changed, 47 insertions, 0 deletions
diff --git a/net-dns/Manifest.gz b/net-dns/Manifest.gz
index 78b9a29442d6..fa81875a812b 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 fb6cdb9ae54b..daaec908f0a6 100644
--- a/net-dns/openresolv/Manifest
+++ b/net-dns/openresolv/Manifest
@@ -1,3 +1,5 @@
DIST openresolv-3.12.0.tar.xz 21008 BLAKE2B 1609d8e97a9abe82f9ead7179727dd4323571e92b36aa2ca2a1177972f3a61946f612dd0cf81a804087f1c71bda25e78dab8b085ad2be55ce21214dc9870fdf6 SHA512 60348ca35114b105c8b3121e5f2d301311fcc7251a9be60c45fedc27267cfd94e413e77c7d5c91d0a0ccb8f1b4288bc147582b0ac9be64afcaa96ad3d833f26f
+DIST openresolv-3.13.0.tar.gz 23613 BLAKE2B f3b9e819ac8cf371dff567dac787bf02c358faff777fc96908e2dae3d2baf2adb997c2cc00838c16b268511ae2e4f5d2847e27df07e49d856a3f0d57a91a7300 SHA512 4afd8ae3fac9af248478c8b60f4f6845dc29925d789874d6b8515cf16b08de5d51be5f0151e9e8ea9124f0cb2ddbacdf00150500d8b6922a041920b9b1a18a2b
EBUILD openresolv-3.12.0-r1.ebuild 1104 BLAKE2B b82e4d1ce251fb14179a56528c777d015df8842715a774e8c8496ab0f015939bcb7ae9449d0609edf1af8e78460226585df30556ae4bf74046dde53d293db590 SHA512 3b0ff65863a04b59e8c0107e4d0185b8f471e75cecd0788ff65e373b55c5edf109c4e06eaa57a5ab139d27faf50c7016f7a12c5ec46b1d2d08d1f676bc55826b
+EBUILD openresolv-3.13.0.ebuild 1157 BLAKE2B fc1f028d4258da9867083f64ad1a7b69786aab9210673198051ddfad9918bc147652bd49eec98986fa1ddfe386da844a1fcd17848a92746a18e9bfe8c5459fa9 SHA512 808707101b334619a007f63f3106846547ea72b00f7c601a25680e67c6cc44677f0324a4c7e17952ccf6e8470ef2ed5ed9c0dcfa36fa2534b9f35101132141ca
MISC metadata.xml 269 BLAKE2B d0d144cd9556f6d5c5fc6d104f72fbed37a946646dfea7485d08adb835a40ee3075a5a924070dc67b7c8a485ece82282460b5f84744cba2b56915f38254187a4 SHA512 05fe6aceaa193a65f9d7b107e14e0c2e88f331fb42af2c76cc0a311ee2b472faea7fb71c118aeb35fe784c611073b3024b7a98f78e91e1c3efa1e4f22c103db9
diff --git a/net-dns/openresolv/openresolv-3.13.0.ebuild b/net-dns/openresolv/openresolv-3.13.0.ebuild
new file mode 100644
index 000000000000..a636872c4657
--- /dev/null
+++ b/net-dns/openresolv/openresolv-3.13.0.ebuild
@@ -0,0 +1,45 @@
+# Copyright 1999-2023 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://github.com/NetworkConfiguration/openresolv/archive/${P}.tar.gz"
+
+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 )"
+
+S="${WORKDIR}/${PN}-${P}"
+
+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 )