1 |
commit: b2e2f094624e2d5a2c0ba88c0b2d393fda39fb20 |
2 |
Author: Lars Wendler <polynomial-c <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Dec 2 10:13:16 2019 +0000 |
4 |
Commit: Lars Wendler <polynomial-c <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Dec 2 10:13:16 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b2e2f094 |
7 |
|
8 |
net-dns/openresolv: Bump to version 3.9.2 |
9 |
|
10 |
Non-maintainer commit! |
11 |
|
12 |
Closes: https://bugs.gentoo.org/690242 |
13 |
Package-Manager: Portage-2.3.80, Repoman-2.3.19 |
14 |
Signed-off-by: Lars Wendler <polynomial-c <AT> gentoo.org> |
15 |
|
16 |
net-dns/openresolv/Manifest | 1 + |
17 |
net-dns/openresolv/openresolv-3.9.2.ebuild | 42 ++++++++++++++++++++++++++++++ |
18 |
2 files changed, 43 insertions(+) |
19 |
|
20 |
diff --git a/net-dns/openresolv/Manifest b/net-dns/openresolv/Manifest |
21 |
index a95699af176..e809ddc6ef0 100644 |
22 |
--- a/net-dns/openresolv/Manifest |
23 |
+++ b/net-dns/openresolv/Manifest |
24 |
@@ -1 +1,2 @@ |
25 |
DIST openresolv-3.9.0.tar.xz 18844 BLAKE2B 0aa2125d79305aab04a8d052d56328493d51aa6ff5b44fdfe08e96ccc78ae1d84f2115e5d59940e7e1cedf7e4fe7dc36a461839bcef8fc2c5b2e21242e441f36 SHA512 4498db60f0b5a762194dd3651b94cc8b01a349a8cfb891e10d040cd6b8e22fa0e9897909517831591787ad22ffad97c78d3281e32296aa1ee67de5dff9bf765e |
26 |
+DIST openresolv-3.9.2.tar.xz 20200 BLAKE2B 25cb56fd85114c3866207a3bf83d1295eb135f1746f141d8cb8f0fb18cdd96e184ad3fbb47d1f65ce4193b57da61e918ca4306a502eaba650ca438589be9a29b SHA512 2f88ccbb53c6e830eeb7dd53666ee72b9fa30f38324766e1d1734896bc9b7f531e42e234c882b921c79604a3bde2877db2681bab9dd8c590f02779da908d0649 |
27 |
|
28 |
diff --git a/net-dns/openresolv/openresolv-3.9.2.ebuild b/net-dns/openresolv/openresolv-3.9.2.ebuild |
29 |
new file mode 100644 |
30 |
index 00000000000..0d725c4c13e |
31 |
--- /dev/null |
32 |
+++ b/net-dns/openresolv/openresolv-3.9.2.ebuild |
33 |
@@ -0,0 +1,42 @@ |
34 |
+# Copyright 1999-2019 Gentoo Authors |
35 |
+# Distributed under the terms of the GNU General Public License v2 |
36 |
+ |
37 |
+EAPI=7 |
38 |
+ |
39 |
+DESCRIPTION="A framework for managing DNS information" |
40 |
+HOMEPAGE="https://roy.marples.name/projects/openresolv" |
41 |
+SRC_URI="https://roy.marples.name/downloads/${PN}/${P}.tar.xz" |
42 |
+ |
43 |
+LICENSE="BSD-2" |
44 |
+SLOT="0" |
45 |
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86" |
46 |
+IUSE="selinux" |
47 |
+ |
48 |
+DEPEND="!net-dns/resolvconf-gentoo |
49 |
+ !<net-dns/dnsmasq-2.40-r1" |
50 |
+RDEPEND="selinux? ( sec-policy/selinux-resolvconf )" |
51 |
+ |
52 |
+src_configure() { |
53 |
+ local myeconfargs=( |
54 |
+ --prefix="${EPREFIX}" |
55 |
+ --rundir="${EPREFIX}"/var/run |
56 |
+ --libexecdir="${EPREFIX}"/lib/resolvconf |
57 |
+ ) |
58 |
+ econf "${myeconfargs[@]}" |
59 |
+} |
60 |
+ |
61 |
+pkg_config() { |
62 |
+ if [[ ${ROOT} != / ]]; then |
63 |
+ eerror "We cannot configure unless \$ROOT=/" |
64 |
+ return 1 |
65 |
+ fi |
66 |
+ |
67 |
+ if [[ -n "$(resolvconf -l)" ]]; then |
68 |
+ einfo "${PN} already has DNS information" |
69 |
+ else |
70 |
+ ebegin "Copying /etc/resolv.conf to resolvconf -a dummy" |
71 |
+ resolvconf -a dummy </etc/resolv.conf |
72 |
+ eend $? || return $? |
73 |
+ einfo "The dummy interface will disappear when you next reboot" |
74 |
+ fi |
75 |
+} |