mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2025-12-09 00:07:57 +03:00
net-dns/openresolv: add 3.16.3
Signed-off-by: Ben Kohler <bkohler@gentoo.org>
This commit is contained in:
parent
33d3e2de59
commit
1d26ace8a1
@ -2,3 +2,4 @@ DIST openresolv-3.12.0.tar.xz 21008 BLAKE2B 1609d8e97a9abe82f9ead7179727dd432357
|
||||
DIST openresolv-3.13.2.tar.xz 21540 BLAKE2B e9ea4524da9e19ae8837869d04f039b2a77b9c9d34826b383ad8396a7b0e79df570c04dff38d33f8aaade35a171ae2599333ac54cbd4d656c965f2d4a5ddfe9b SHA512 4f1bc3e2865bc233d12c29e75893b3e53db0b127a7167d9be4ddd0228ba4f689f62af93eab088fb4d4f66baa556ed402c7fc5ecb9c4af5509004125af60fa379
|
||||
DIST openresolv-3.14.1.tar.xz 22144 BLAKE2B a9ff7217212f928eea04f131be854479fb0c3f486b19d7b789058977071160032607c9dacb0d1c7962b4f2a2eebd9d6ddc2784883976ee02c95570078374e90c SHA512 331ede9f58046e344448b6d96e331281286f47b8f71f761f2ce401725775577897464d5efd52e0003115bdb6a6bbef1982a99ae4faf483f29b640f9b2de12bb6
|
||||
DIST openresolv-3.16.2.tar.xz 23936 BLAKE2B b7ad267c8ba24f9118bb7cb07690d3bddb50f3f88965ae4e282af983a34f57477f1f160eb485236b70b0c32b21e691052571f8d3b56aa423545185723f6a4323 SHA512 0dc888a44668bf701428abffc7940cca4d223c212b56f1a00d0989619284635db58d85ff3a413361366c62f93740ae37ba0ff933584acf09d3371881c6738d40
|
||||
DIST openresolv-3.16.3.tar.xz 23928 BLAKE2B 7c9ac5c8d03b41ad738e8762d2d3a417ef1daf6b7e2a0f612439fbd1db1a3db5e46a1d115f9ac79d413501e367c9c87e410ab5928dcc7ce0afbc73d19c09b082 SHA512 c1f54c6194013892ec0a859c0062eec38540acd8793a3fb94f681f5a7ddcac50a44bcca9cd79e85cb90fe15ec7bb311bba9883326d38e57b519b0f6b8dd74b4e
|
||||
|
||||
43
net-dns/openresolv/openresolv-3.16.3.ebuild
Normal file
43
net-dns/openresolv/openresolv-3.16.3.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 )
|
||||
Loading…
x
Reference in New Issue
Block a user