diff options
author | Lars Wendler <polynomial-c@gentoo.org> | 2012-12-06 13:11:52 +0000 |
---|---|---|
committer | Lars Wendler <polynomial-c@gentoo.org> | 2012-12-06 13:11:52 +0000 |
commit | bf9a59c0f4e2026eedc190e6f46b73cfc86f57cf (patch) | |
tree | e412f1628d4a239944e1afb7821d6e01f57e304c /net-dns/openresolv | |
parent | dev-java/netbeans-java: fixed check for link in ant directory (bug #443622) (diff) | |
download | gentoo-2-bf9a59c0f4e2026eedc190e6f46b73cfc86f57cf.tar.gz gentoo-2-bf9a59c0f4e2026eedc190e6f46b73cfc86f57cf.tar.bz2 gentoo-2-bf9a59c0f4e2026eedc190e6f46b73cfc86f57cf.zip |
Version bump
(Portage version: 2.2.0_alpha144/cvs/Linux x86_64, signed Manifest commit with key 0x981CA6FC)
Diffstat (limited to 'net-dns/openresolv')
-rw-r--r-- | net-dns/openresolv/ChangeLog | 7 | ||||
-rw-r--r-- | net-dns/openresolv/openresolv-3.5.3.ebuild | 43 |
2 files changed, 49 insertions, 1 deletions
diff --git a/net-dns/openresolv/ChangeLog b/net-dns/openresolv/ChangeLog index 60c4575ebab9..02c7b68600b6 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.68 2012/11/26 11:12:27 polynomial-c Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-dns/openresolv/ChangeLog,v 1.69 2012/12/06 13:11:52 polynomial-c Exp $ + +*openresolv-3.5.3 (06 Dec 2012) + + 06 Dec 2012; Lars Wendler <polynomial-c@gentoo.org> +openresolv-3.5.3.ebuild: + non-maintainer commit: Version bump. *openresolv-3.5.2 (26 Nov 2012) diff --git a/net-dns/openresolv/openresolv-3.5.3.ebuild b/net-dns/openresolv/openresolv-3.5.3.ebuild new file mode 100644 index 000000000000..9bac902efe12 --- /dev/null +++ b/net-dns/openresolv/openresolv-3.5.3.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.3.ebuild,v 1.1 2012/12/06 13:11:52 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 +} |