diff options
author | Roy Marples <uberlord@gentoo.org> | 2006-06-12 10:50:42 +0000 |
---|---|---|
committer | Roy Marples <uberlord@gentoo.org> | 2006-06-12 10:50:42 +0000 |
commit | 5f28ba82502796a8d0f34e4c334e664a12e9d3c5 (patch) | |
tree | e7c4775a8ac9d7d7189a2478303722b5990755a4 /net-dns/resolvconf-gentoo | |
parent | version bump (diff) | |
download | gentoo-2-5f28ba82502796a8d0f34e4c334e664a12e9d3c5.tar.gz gentoo-2-5f28ba82502796a8d0f34e4c334e664a12e9d3c5.tar.bz2 gentoo-2-5f28ba82502796a8d0f34e4c334e664a12e9d3c5.zip |
Moved from net-misc/resolvconf-gentoo to net-dns/resolvconf-gentoo.
Diffstat (limited to 'net-dns/resolvconf-gentoo')
-rw-r--r-- | net-dns/resolvconf-gentoo/ChangeLog | 53 | ||||
-rw-r--r-- | net-dns/resolvconf-gentoo/Manifest | 16 | ||||
-rw-r--r-- | net-dns/resolvconf-gentoo/files/digest-resolvconf-gentoo-1.0 | 3 | ||||
-rw-r--r-- | net-dns/resolvconf-gentoo/metadata.xml | 9 | ||||
-rw-r--r-- | net-dns/resolvconf-gentoo/resolvconf-gentoo-1.0.ebuild | 61 |
5 files changed, 142 insertions, 0 deletions
diff --git a/net-dns/resolvconf-gentoo/ChangeLog b/net-dns/resolvconf-gentoo/ChangeLog new file mode 100644 index 000000000000..d3f155808416 --- /dev/null +++ b/net-dns/resolvconf-gentoo/ChangeLog @@ -0,0 +1,53 @@ +# ChangeLog for net-misc/resolvconf-gentoo +# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/net-dns/resolvconf-gentoo/ChangeLog,v 1.1 2006/06/12 10:50:42 uberlord Exp $ + + 12 Jun 2006; <roy@gentoo.org> +metadata.xml, + +resolvconf-gentoo-1.0.ebuild: + Moved from net-misc/resolvconf-gentoo to net-dns/resolvconf-gentoo. + +*resolvconf-gentoo-1.0 (04 Jun 2006) + + 04 Jun 2006; Roy Marples <uberlord@gentoo.org> + +resolvconf-gentoo-1.0.ebuild: + Append \n to the head file when reading it, thanks to Eric Lenio. + Stable candidate :) + +*resolvconf-gentoo-0.6 (25 May 2006) + + 25 May 2006; Roy Marples <uberlord@gentoo.org> + +resolvconf-gentoo-0.6.ebuild: + Fix the setup of NEWNS, #134346 thanks to Oldrich Jedlicka. + +*resolvconf-gentoo-0.5 (12 May 2006) + + 12 May 2006; Roy Marples <uberlord@gentoo.org> + +resolvconf-gentoo-0.5.ebuild: + NEWNEW should be NEWNS for resolvconf -v + +*resolvconf-gentoo-0.4 (10 May 2006) + + 10 May 2006; Roy Marples <uberlord@gentoo.org> + +resolvconf-gentoo-0.4.ebuild: + New version adds the -v option which echos variables to the console + for helper scripts to use which in turn results in less code to write + in the helper scripts. + +*resolvconf-gentoo-0.3 (02 May 2006) + + 02 May 2006; Roy Marples <uberlord@gentoo.org> + +resolvconf-gentoo-0.3.ebuild: + Blank search line are no longer added to /etc/resolv.conf + +*resolvconf-gentoo-0.2 (20 Apr 2006) + + 20 Apr 2006; Roy Marples <uberlord@gentoo.org> + +resolvconf-gentoo-0.2.ebuild: + New version tries to handle domain/search a little better for libc + +*resolvconf-gentoo-0.1 (08 Apr 2006) + + 08 Apr 2006; Roy Marples <uberlord@gentoo.org> +metadata.xml, + +resolvconf-gentoo-0.1.ebuild: + Initial import. + diff --git a/net-dns/resolvconf-gentoo/Manifest b/net-dns/resolvconf-gentoo/Manifest new file mode 100644 index 000000000000..9d1f4b8b9308 --- /dev/null +++ b/net-dns/resolvconf-gentoo/Manifest @@ -0,0 +1,16 @@ +DIST resolvconf-gentoo-1.0.tar.bz2 5320 RMD160 2c607df95bf240d41e511ca68203e9ca452068fe SHA1 7a25d091232bfa6732ad14e52712f456f553aa20 SHA256 75e536ee19182c193655b46c3b7d6909cb0fe3899381a7b6a2692f6017f63db9 +EBUILD resolvconf-gentoo-1.0.ebuild 2046 RMD160 b6a2084ab8eed074bfc18d2d3accb7c164b19f31 SHA1 3db86498914b030261c3357e44323c8286e8a373 SHA256 b3988101f972209c0f6af9fcfd75b163e2f8d70a62706ba32f40d6a8126cca3d +MD5 e21d11a0c98c1c2169a1ad65942031aa resolvconf-gentoo-1.0.ebuild 2046 +RMD160 b6a2084ab8eed074bfc18d2d3accb7c164b19f31 resolvconf-gentoo-1.0.ebuild 2046 +SHA256 b3988101f972209c0f6af9fcfd75b163e2f8d70a62706ba32f40d6a8126cca3d resolvconf-gentoo-1.0.ebuild 2046 +MISC ChangeLog 1598 RMD160 c5a753149cf74f46b882dd696946c5ea61e2895b SHA1 9c09f7614eedeeb18d440c440b4b1d501bd21be3 SHA256 3de869753a8738fa3bfa8a26a9c3351975f1a61b42ea5487ed6ebac66207f057 +MD5 f46f8612fbc03c7b52039cca5acf3716 ChangeLog 1598 +RMD160 c5a753149cf74f46b882dd696946c5ea61e2895b ChangeLog 1598 +SHA256 3de869753a8738fa3bfa8a26a9c3351975f1a61b42ea5487ed6ebac66207f057 ChangeLog 1598 +MISC metadata.xml 307 RMD160 5321ae1f8b9fe5ee81be83b1777595452c229714 SHA1 77507bd8344b40d7cd1157710a26080f1beeb99c SHA256 e579b678a12cbfb3e9f2ff9ba1d9e5c56adb3017a459b35472cbf2d7969a3ab0 +MD5 23df2027bac4a8ecc8fbf018701239b5 metadata.xml 307 +RMD160 5321ae1f8b9fe5ee81be83b1777595452c229714 metadata.xml 307 +SHA256 e579b678a12cbfb3e9f2ff9ba1d9e5c56adb3017a459b35472cbf2d7969a3ab0 metadata.xml 307 +MD5 7bd829720e722c4b3ab0057bd70f8d6d files/digest-resolvconf-gentoo-1.0 262 +RMD160 daeeab143d18de493fd3a71fe810658f2dc6ad71 files/digest-resolvconf-gentoo-1.0 262 +SHA256 9777e1d41247ca64cd416302c4616e5a2c64d83da986da1ff36c30f8da04c53d files/digest-resolvconf-gentoo-1.0 262 diff --git a/net-dns/resolvconf-gentoo/files/digest-resolvconf-gentoo-1.0 b/net-dns/resolvconf-gentoo/files/digest-resolvconf-gentoo-1.0 new file mode 100644 index 000000000000..a989d5c5d20c --- /dev/null +++ b/net-dns/resolvconf-gentoo/files/digest-resolvconf-gentoo-1.0 @@ -0,0 +1,3 @@ +MD5 f8d6e6dcd5050b788bb7f80885ebab4e resolvconf-gentoo-1.0.tar.bz2 5320 +RMD160 2c607df95bf240d41e511ca68203e9ca452068fe resolvconf-gentoo-1.0.tar.bz2 5320 +SHA256 75e536ee19182c193655b46c3b7d6909cb0fe3899381a7b6a2692f6017f63db9 resolvconf-gentoo-1.0.tar.bz2 5320 diff --git a/net-dns/resolvconf-gentoo/metadata.xml b/net-dns/resolvconf-gentoo/metadata.xml new file mode 100644 index 000000000000..2bdf8c8ef038 --- /dev/null +++ b/net-dns/resolvconf-gentoo/metadata.xml @@ -0,0 +1,9 @@ +<?xml version='1.0' encoding='UTF-8'?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer> + <email>uberlord@gentoo.org</email> + <name>Roy Marples</name> + </maintainer> + <longdescription>DNS configuration management framework</longdescription> +</pkgmetadata> diff --git a/net-dns/resolvconf-gentoo/resolvconf-gentoo-1.0.ebuild b/net-dns/resolvconf-gentoo/resolvconf-gentoo-1.0.ebuild new file mode 100644 index 000000000000..386f530a9021 --- /dev/null +++ b/net-dns/resolvconf-gentoo/resolvconf-gentoo-1.0.ebuild @@ -0,0 +1,61 @@ +# Copyright 1999-2006 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-dns/resolvconf-gentoo/resolvconf-gentoo-1.0.ebuild,v 1.1 2006/06/12 10:50:42 uberlord Exp $ + +DESCRIPTION="A framework for managing DNS information" +HOMEPAGE="http://www.gentoo.org" +SRC_URI="http://dev.gentoo.org/~uberlord/${PN}/${P}.tar.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86" +IUSE="" + +DEPEND="" +RDEPEND="app-shells/bash" + +pkg_setup() { + if ! grep -q "^uniqify()" "${ROOT}"/etc/init.d/functions.sh ; then + eerror "/etc/init.d/functions.sh does not supply the uniqify function" + eerror "Please upgrade to a baselayout that support it" + eerror "(baselayout-1.12.0_pre17 and later versions do)" + die "function uniqify does not exist" + fi +} + +src_install() { + make ROOT="${D}" install || die "Failed to install" +} + +pkg_postinst() { + if [[ ! -"L ${ROOT}/etc/resolv.conf" ]] \ + || [[ $(readlink "${ROOT}/etc/resolv.conf") != \ + "resolvconf/run/resolv.conf" ]] ; then + ewarn "resolvconf requires ${ROOT}/etc/resolv.conf to be a symbolic" + ewarn "to resolvconf/run/resolv.conf" + einfo "To set this up automatically type" + einfo " emerge --config =${PF}" + fi +} + +pkg_config() { + cd "${ROOT}/etc" + if [[ -L resolv.conf && $(readlink resolv.conf) == \ + "resolvconf/run/resolv.conf" ]] ; then + einfo "${ROOT}/etc/resolv.conf is already configured for ${PN}" + else + if [[ -e resolv.conf ]] ; then + einfo "Your existing resolv.conf is will be mapped to an" + einfo "interface called \"dummy\" in resolvconf. This will" + einfo "disappear when you reboot." + cp resolv.conf resolvconf/run/resolv.conf + [[ ! -d resolvconf/run/interfaces ]] \ + && mkdir resolvconf/run/interfaces + cp resolv.conf resolvconf/run/interfaces/dummy + echo "dummy" > resolvconf/run/add_order + fi + rm -f resolv.conf + ln -snf resolvconf/run/resolv.conf . + einfo "${ROOT}/etc/resolv.conf is now correctly configured for ${PN}" + fi +} |