mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
net-dns/openresolv: add 3.17.2
Signed-off-by: Ben Kohler <bkohler@gentoo.org>
This commit is contained in:
@@ -1,2 +1,3 @@
|
||||
DIST openresolv-3.16.5.tar.xz 25436 BLAKE2B 9a89e06dc4c626db51a5e800d6b2f34064c8a169a8fdf969bd75b392572f18ee42334c78b6c21c8b90506f6a82ad7b03a7eccb97479fe09381ed945e43e3ac47 SHA512 cebf5a7bb6aa22a96293ad0cf8273b2da6564f9a72cfe0d9cc0d09c6a8c3b60e7a8e8ee7876dcc7c66bb4a1606bdf5c3c73b3ed89bb0500598c3738b177948d0
|
||||
DIST openresolv-3.17.0.tar.xz 25448 BLAKE2B be8e61a3fb408518aaf5be3b7376227b26e067fc81634c972e6988f262c5457fc97699926a30ff0755563ee8cc19c4cc3398f114154e8bb2681d3ce32cbef7f6 SHA512 82645933675a615daad9809e6891e1652701103d1c470309852f1ce6431c9a73f89dd5ebcbd5e2c14e1cc522a9e75624217fec92ebfc6fbf061c58b58c0d5161
|
||||
DIST openresolv-3.17.2.tar.xz 25608 BLAKE2B 14d632ba96c32cbd8e4495edc250d4e7944bacdf888de2aa968aa9fc3e95690277e32e53e3ac902c800a79f9eebbfed21f45e82c58128ead0ad4937767cb8720 SHA512 5cb8d28e2bb885b0fc5b9ba1a7c29035fda2e417a19bec4f4e5c909105e19591425595b6ad6a3fa2cc5a14b6be8a6d59521714ab7daf396f5be52bef5df4288e
|
||||
|
||||
43
net-dns/openresolv/openresolv-3.17.2.ebuild
Normal file
43
net-dns/openresolv/openresolv-3.17.2.ebuild
Normal file
@@ -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 )
|
||||
Reference in New Issue
Block a user