1 |
alonbl 13/05/24 19:35:09 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: openresolv-3.5.4-r3.ebuild |
5 |
Log: |
6 |
Fix conflict with dhcpcd, bug#440614, thanks to Renato Alves |
7 |
|
8 |
(Portage version: 2.2.0_alpha176/cvs/Linux x86_64, signed Manifest commit with key BF20DC51) |
9 |
|
10 |
Revision Changes Path |
11 |
1.75 net-dns/openresolv/ChangeLog |
12 |
|
13 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-dns/openresolv/ChangeLog?rev=1.75&view=markup |
14 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-dns/openresolv/ChangeLog?rev=1.75&content-type=text/plain |
15 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-dns/openresolv/ChangeLog?r1=1.74&r2=1.75 |
16 |
|
17 |
Index: ChangeLog |
18 |
=================================================================== |
19 |
RCS file: /var/cvsroot/gentoo-x86/net-dns/openresolv/ChangeLog,v |
20 |
retrieving revision 1.74 |
21 |
retrieving revision 1.75 |
22 |
diff -u -r1.74 -r1.75 |
23 |
--- ChangeLog 4 May 2013 15:36:48 -0000 1.74 |
24 |
+++ ChangeLog 24 May 2013 19:35:09 -0000 1.75 |
25 |
@@ -1,6 +1,12 @@ |
26 |
# ChangeLog for net-dns/openresolv |
27 |
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 |
28 |
-# $Header: /var/cvsroot/gentoo-x86/net-dns/openresolv/ChangeLog,v 1.74 2013/05/04 15:36:48 floppym Exp $ |
29 |
+# $Header: /var/cvsroot/gentoo-x86/net-dns/openresolv/ChangeLog,v 1.75 2013/05/24 19:35:09 alonbl Exp $ |
30 |
+ |
31 |
+*openresolv-3.5.4-r3 (24 May 2013) |
32 |
+ |
33 |
+ 24 May 2013; Alon Bar-Lev <alonbl@g.o> |
34 |
+ +files/openresolv-3.5.4-config-conflict.patch, +openresolv-3.5.4-r3.ebuild: |
35 |
+ Fix conflict with dhcpcd, bug#440614, thanks to Renato Alves |
36 |
|
37 |
*openresolv-3.5.4-r2 (04 May 2013) |
38 |
|
39 |
|
40 |
|
41 |
|
42 |
1.1 net-dns/openresolv/openresolv-3.5.4-r3.ebuild |
43 |
|
44 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-dns/openresolv/openresolv-3.5.4-r3.ebuild?rev=1.1&view=markup |
45 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-dns/openresolv/openresolv-3.5.4-r3.ebuild?rev=1.1&content-type=text/plain |
46 |
|
47 |
Index: openresolv-3.5.4-r3.ebuild |
48 |
=================================================================== |
49 |
# Copyright 1999-2013 Gentoo Foundation |
50 |
# Distributed under the terms of the GNU General Public License v2 |
51 |
# $Header: /var/cvsroot/gentoo-x86/net-dns/openresolv/openresolv-3.5.4-r3.ebuild,v 1.1 2013/05/24 19:35:09 alonbl Exp $ |
52 |
|
53 |
EAPI=5 |
54 |
|
55 |
inherit eutils |
56 |
|
57 |
DESCRIPTION="A framework for managing DNS information" |
58 |
HOMEPAGE="http://roy.marples.name/projects/openresolv" |
59 |
SRC_URI="http://roy.marples.name/downloads/${PN}/${P}.tar.bz2" |
60 |
|
61 |
LICENSE="BSD-2" |
62 |
SLOT="0" |
63 |
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd" |
64 |
IUSE="" |
65 |
|
66 |
DEPEND="!net-dns/resolvconf-gentoo |
67 |
!<net-dns/dnsmasq-2.40-r1" |
68 |
RDEPEND="" |
69 |
|
70 |
src_prepare() { |
71 |
epatch "${FILESDIR}/${P}-config-conflict.patch" |
72 |
} |
73 |
|
74 |
src_configure() { |
75 |
econf \ |
76 |
--prefix= \ |
77 |
--rundir=/var/run \ |
78 |
--libexecdir=/lib/resolvconf \ |
79 |
--restartcmd="/lib/resolvconf/helpers/restartcmd \1" |
80 |
} |
81 |
|
82 |
src_install() { |
83 |
default |
84 |
exeinto /lib/resolvconf/helpers |
85 |
doexe "${FILESDIR}"/restartcmd |
86 |
} |
87 |
|
88 |
pkg_config() { |
89 |
if [ "${ROOT}" != "/" ]; then |
90 |
eerror "We cannot configure unless \$ROOT=/" |
91 |
return 1 |
92 |
fi |
93 |
|
94 |
if [ -n "$(resolvconf -l)" ]; then |
95 |
einfo "${PN} already has DNS information" |
96 |
else |
97 |
ebegin "Copying /etc/resolv.conf to resolvconf -a dummy" |
98 |
resolvconf -a dummy </etc/resolv.conf |
99 |
eend $? || return $? |
100 |
einfo "The dummy interface will disappear when you next reboot" |
101 |
fi |
102 |
} |