summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Wendler <polynomial-c@gentoo.org>2012-11-26 11:12:27 +0000
committerLars Wendler <polynomial-c@gentoo.org>2012-11-26 11:12:27 +0000
commit7f8f33bcf64950d2b3f7a94cc3d50f0b16be54b2 (patch)
tree531508cfaba209ef4c7e66c8957cfe397046d2b6 /net-dns/openresolv
parentKeyword ~ppc, wrt bug #443174. Thanks to Vicente Olivert Riera (diff)
downloadgentoo-2-7f8f33bcf64950d2b3f7a94cc3d50f0b16be54b2.tar.gz
gentoo-2-7f8f33bcf64950d2b3f7a94cc3d50f0b16be54b2.tar.bz2
gentoo-2-7f8f33bcf64950d2b3f7a94cc3d50f0b16be54b2.zip
Version bump
(Portage version: 2.2.0_alpha142/cvs/Linux x86_64, signed Manifest commit with key 0x981CA6FC)
Diffstat (limited to 'net-dns/openresolv')
-rw-r--r--net-dns/openresolv/ChangeLog7
-rw-r--r--net-dns/openresolv/openresolv-3.5.2.ebuild43
2 files changed, 49 insertions, 1 deletions
diff --git a/net-dns/openresolv/ChangeLog b/net-dns/openresolv/ChangeLog
index 1cb985661a58..60c4575ebab9 100644
--- a/net-dns/openresolv/ChangeLog
+++ b/net-dns/openresolv/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for net-dns/openresolv
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-dns/openresolv/ChangeLog,v 1.67 2012/11/26 08:20:23 polynomial-c Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-dns/openresolv/ChangeLog,v 1.68 2012/11/26 11:12:27 polynomial-c Exp $
+
+*openresolv-3.5.2 (26 Nov 2012)
+
+ 26 Nov 2012; Lars Wendler <polynomial-c@gentoo.org> +openresolv-3.5.2.ebuild:
+ non-maintainer commit: Version bump (bug #397691).
*openresolv-3.4.6 (26 Nov 2012)
diff --git a/net-dns/openresolv/openresolv-3.5.2.ebuild b/net-dns/openresolv/openresolv-3.5.2.ebuild
new file mode 100644
index 000000000000..021d14907f67
--- /dev/null
+++ b/net-dns/openresolv/openresolv-3.5.2.ebuild
@@ -0,0 +1,43 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-dns/openresolv/openresolv-3.5.2.ebuild,v 1.1 2012/11/26 11:12:27 polynomial-c Exp $
+
+EAPI=2
+
+inherit base multilib
+
+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=/$(get_libdir)/resolvconf
+}
+
+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
+}