diff options
author | Alon Bar-Lev <alonbl@gentoo.org> | 2013-07-12 21:09:06 +0000 |
---|---|---|
committer | Alon Bar-Lev <alonbl@gentoo.org> | 2013-07-12 21:09:06 +0000 |
commit | 58b69a69dbf64dd2ce931668f7c71a56d7f479aa (patch) | |
tree | aad4875a2a75ddf0e97a0cf1fd4a0ede7532f6cf /net-dns/openresolv | |
parent | Removed freetype2 USE flag because there is truetype already; which is the gl... (diff) | |
download | gentoo-2-58b69a69dbf64dd2ce931668f7c71a56d7f479aa.tar.gz gentoo-2-58b69a69dbf64dd2ce931668f7c71a56d7f479aa.tar.bz2 gentoo-2-58b69a69dbf64dd2ce931668f7c71a56d7f479aa.zip |
Version bump, bug#476648
(Portage version: 2.2.0_alpha188/cvs/Linux x86_64, signed Manifest commit with key BF20DC51)
Diffstat (limited to 'net-dns/openresolv')
-rw-r--r-- | net-dns/openresolv/ChangeLog | 7 | ||||
-rw-r--r-- | net-dns/openresolv/openresolv-3.5.6.ebuild | 50 |
2 files changed, 56 insertions, 1 deletions
diff --git a/net-dns/openresolv/ChangeLog b/net-dns/openresolv/ChangeLog index 4b9188c5455e..4883aa767d7c 100644 --- a/net-dns/openresolv/ChangeLog +++ b/net-dns/openresolv/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for net-dns/openresolv # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-dns/openresolv/ChangeLog,v 1.88 2013/07/07 10:18:41 ago Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-dns/openresolv/ChangeLog,v 1.89 2013/07/12 21:09:06 alonbl Exp $ + +*openresolv-3.5.6 (12 Jul 2013) + + 12 Jul 2013; Alon Bar-Lev <alonbl@gentoo.org> +openresolv-3.5.6.ebuild: + Version bump, bug#476648 07 Jul 2013; Agostino Sarubbo <ago@gentoo.org> openresolv-3.5.4-r3.ebuild: Stable for x86, wrt bug #366535 diff --git a/net-dns/openresolv/openresolv-3.5.6.ebuild b/net-dns/openresolv/openresolv-3.5.6.ebuild new file mode 100644 index 000000000000..dc20128a2996 --- /dev/null +++ b/net-dns/openresolv/openresolv-3.5.6.ebuild @@ -0,0 +1,50 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-dns/openresolv/openresolv-3.5.6.ebuild,v 1.1 2013/07/12 21:09:06 alonbl Exp $ + +EAPI=5 + +inherit eutils + +DESCRIPTION="A framework for managing DNS information" +HOMEPAGE="http://roy.marples.name/projects/openresolv" +SRC_URI="http://roy.marples.name/downloads/${PN}/${P}.tar.bz2" + +LICENSE="BSD-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd" +IUSE="" + +DEPEND="!net-dns/resolvconf-gentoo + !<net-dns/dnsmasq-2.40-r1" +RDEPEND="" + +src_configure() { + econf \ + --prefix= \ + --rundir=/var/run \ + --libexecdir=/lib/resolvconf \ + --restartcmd="/lib/resolvconf/helpers/restartcmd \1" +} + +src_install() { + default + exeinto /lib/resolvconf/helpers + doexe "${FILESDIR}"/restartcmd +} + +pkg_config() { + if [ "${ROOT}" != "/" ]; then + eerror "We cannot configure unless \$ROOT=/" + 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 +} |