1 |
commit: 1638f06c9a4f61fbbfb554346987c1ff76f62fe3 |
2 |
Author: Alon Bar-Lev <alonbl <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Apr 7 21:59:06 2018 +0000 |
4 |
Commit: Alon Bar-Lev <alonbl <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Apr 7 21:59:06 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1638f06c |
7 |
|
8 |
net-dns/openresolv: cleanup |
9 |
|
10 |
Package-Manager: Portage-2.3.24, Repoman-2.3.6 |
11 |
|
12 |
net-dns/openresolv/Manifest | 1 - |
13 |
net-dns/openresolv/openresolv-3.8.1.ebuild | 44 ------------------------------ |
14 |
2 files changed, 45 deletions(-) |
15 |
|
16 |
diff --git a/net-dns/openresolv/Manifest b/net-dns/openresolv/Manifest |
17 |
index 68417c02f45..a95699af176 100644 |
18 |
--- a/net-dns/openresolv/Manifest |
19 |
+++ b/net-dns/openresolv/Manifest |
20 |
@@ -1,2 +1 @@ |
21 |
-DIST openresolv-3.8.1.tar.xz 18396 BLAKE2B bddfb919728cb49baba6df6226abe2f893d36770643e735b41717dfd98edf17255d8b293f01b335d6ae31c7075884ea65aa150ebac9d34f252be724aa0a695ec SHA512 390bf30bb85b071839104e5c7e276b402f6f485edc038e38da389730d82e614bb11b0dde44a55aa2ca5e790b374671a9c89cc07b053633401a608150eebbf2c8 |
22 |
DIST openresolv-3.9.0.tar.xz 18844 BLAKE2B 0aa2125d79305aab04a8d052d56328493d51aa6ff5b44fdfe08e96ccc78ae1d84f2115e5d59940e7e1cedf7e4fe7dc36a461839bcef8fc2c5b2e21242e441f36 SHA512 4498db60f0b5a762194dd3651b94cc8b01a349a8cfb891e10d040cd6b8e22fa0e9897909517831591787ad22ffad97c78d3281e32296aa1ee67de5dff9bf765e |
23 |
|
24 |
diff --git a/net-dns/openresolv/openresolv-3.8.1.ebuild b/net-dns/openresolv/openresolv-3.8.1.ebuild |
25 |
deleted file mode 100644 |
26 |
index cc55e3160f1..00000000000 |
27 |
--- a/net-dns/openresolv/openresolv-3.8.1.ebuild |
28 |
+++ /dev/null |
29 |
@@ -1,44 +0,0 @@ |
30 |
-# Copyright 1999-2018 Gentoo Foundation |
31 |
-# Distributed under the terms of the GNU General Public License v2 |
32 |
- |
33 |
-EAPI=6 |
34 |
- |
35 |
-DESCRIPTION="A framework for managing DNS information" |
36 |
-HOMEPAGE="https://roy.marples.name/projects/openresolv" |
37 |
-SRC_URI="https://roy.marples.name/downloads/${PN}/${P}.tar.xz" |
38 |
- |
39 |
-LICENSE="BSD-2" |
40 |
-SLOT="0" |
41 |
-KEYWORDS="alpha amd64 arm hppa ia64 ~m68k ~mips ppc ppc64 ~s390 ~sh sparc x86 ~amd64-fbsd ~x86-fbsd" |
42 |
-IUSE="selinux" |
43 |
- |
44 |
-DEPEND="!net-dns/resolvconf-gentoo |
45 |
- !<net-dns/dnsmasq-2.40-r1" |
46 |
-RDEPEND="selinux? ( sec-policy/selinux-resolvconf )" |
47 |
- |
48 |
-PATCHES=( |
49 |
- "${FILESDIR}/3.8.1-restore-newline.patch" |
50 |
-) |
51 |
- |
52 |
-src_configure() { |
53 |
- econf \ |
54 |
- --prefix="${EPREFIX}" \ |
55 |
- --rundir="${EPREFIX}"/var/run \ |
56 |
- --libexecdir="${EPREFIX}"/lib/resolvconf |
57 |
-} |
58 |
- |
59 |
-pkg_config() { |
60 |
- if [[ ${ROOT} != / ]]; then |
61 |
- eerror "We cannot configure unless \$ROOT=/" |
62 |
- return 1 |
63 |
- fi |
64 |
- |
65 |
- if [[ -n "$(resolvconf -l)" ]]; then |
66 |
- einfo "${PN} already has DNS information" |
67 |
- else |
68 |
- ebegin "Copying /etc/resolv.conf to resolvconf -a dummy" |
69 |
- resolvconf -a dummy </etc/resolv.conf |
70 |
- eend $? || return $? |
71 |
- einfo "The dummy interface will disappear when you next reboot" |
72 |
- fi |
73 |
-} |