diff options
author | 2006-04-20 17:42:17 +0000 | |
---|---|---|
committer | 2006-04-20 17:42:17 +0000 | |
commit | 4d71c1e68be9118f836c3aa12c0b248535ac0e6b (patch) | |
tree | 030fde3f77f19d8f577a107e6d3d9469ea22d5bd /net-misc/resolvconf-gentoo | |
parent | Version bump, removed old version (diff) | |
download | gentoo-2-4d71c1e68be9118f836c3aa12c0b248535ac0e6b.tar.gz gentoo-2-4d71c1e68be9118f836c3aa12c0b248535ac0e6b.tar.bz2 gentoo-2-4d71c1e68be9118f836c3aa12c0b248535ac0e6b.zip |
New version tries to handle domain/search a little better for libc
(Portage version: 2.1_pre7-r5)
Diffstat (limited to 'net-misc/resolvconf-gentoo')
-rw-r--r-- | net-misc/resolvconf-gentoo/ChangeLog | 8 | ||||
-rw-r--r-- | net-misc/resolvconf-gentoo/Manifest | 16 | ||||
-rw-r--r-- | net-misc/resolvconf-gentoo/files/digest-resolvconf-gentoo-0.2 | 3 | ||||
-rw-r--r-- | net-misc/resolvconf-gentoo/resolvconf-gentoo-0.2.ebuild | 61 |
4 files changed, 77 insertions, 11 deletions
diff --git a/net-misc/resolvconf-gentoo/ChangeLog b/net-misc/resolvconf-gentoo/ChangeLog index 87077d7757a4..33be8a56b41b 100644 --- a/net-misc/resolvconf-gentoo/ChangeLog +++ b/net-misc/resolvconf-gentoo/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for net-misc/resolvconf-gentoo # Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-misc/resolvconf-gentoo/ChangeLog,v 1.1 2006/04/08 00:09:45 uberlord Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-misc/resolvconf-gentoo/ChangeLog,v 1.2 2006/04/20 17:42:17 uberlord Exp $ + +*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) diff --git a/net-misc/resolvconf-gentoo/Manifest b/net-misc/resolvconf-gentoo/Manifest index db6af4701747..05571a856ef2 100644 --- a/net-misc/resolvconf-gentoo/Manifest +++ b/net-misc/resolvconf-gentoo/Manifest @@ -1,22 +1,18 @@ ------BEGIN PGP SIGNED MESSAGE----- -Hash: SHA1 - MD5 5ffebbb626fe8c813c8aff6cecde4b83 ChangeLog 381 RMD160 f99c8fc649064229f7a87b256a8b1c598acdba2c ChangeLog 381 SHA256 0c16041c3310d297e560edc69f505e602631f558e202e3c8391bf36d7bc50d01 ChangeLog 381 MD5 311954ae71c997a4722e12af07fa70f3 files/digest-resolvconf-gentoo-0.1 262 RMD160 78aef69d460e2452f9ce662ed6f0d8ac73347c75 files/digest-resolvconf-gentoo-0.1 262 SHA256 85ff8cb30590b04cc7da51e2b65a825287197aa38b342e2c3c9fd9504e1a3379 files/digest-resolvconf-gentoo-0.1 262 +MD5 5530bdc9ad00889facf5b37ace1f6867 files/digest-resolvconf-gentoo-0.2 262 +RMD160 f1420c0fe59e541558c56826049d82979cee40af files/digest-resolvconf-gentoo-0.2 262 +SHA256 558c2e0db8d955e8a215b914d00d7eccaff4c6da9d262c320c807fba1b3b2982 files/digest-resolvconf-gentoo-0.2 262 MD5 23df2027bac4a8ecc8fbf018701239b5 metadata.xml 307 RMD160 5321ae1f8b9fe5ee81be83b1777595452c229714 metadata.xml 307 SHA256 e579b678a12cbfb3e9f2ff9ba1d9e5c56adb3017a459b35472cbf2d7969a3ab0 metadata.xml 307 MD5 d2dac6d205819fd44530406695b2f3e0 resolvconf-gentoo-0.1.ebuild 2046 RMD160 2ad3ef584aa4063298665ea96fc26345c5ee9358 resolvconf-gentoo-0.1.ebuild 2046 SHA256 f0d7e3f13b4de1f66857dcb78a6ce50cabca8debf3c1ba6427a489c867d7186e resolvconf-gentoo-0.1.ebuild 2046 ------BEGIN PGP SIGNATURE----- -Version: GnuPG v1.4.2.2 (GNU/Linux) - -iD8DBQFENv9aEbVyYKaZ/NERAhwKAKCJSaUjKQk4tQP5aUdSMZi9iuH0FQCfZPAH -Cl4dAnd9a3UVStRmbiSvgdQ= -=EQfD ------END PGP SIGNATURE----- +MD5 d2dac6d205819fd44530406695b2f3e0 resolvconf-gentoo-0.2.ebuild 2046 +RMD160 2ad3ef584aa4063298665ea96fc26345c5ee9358 resolvconf-gentoo-0.2.ebuild 2046 +SHA256 f0d7e3f13b4de1f66857dcb78a6ce50cabca8debf3c1ba6427a489c867d7186e resolvconf-gentoo-0.2.ebuild 2046 diff --git a/net-misc/resolvconf-gentoo/files/digest-resolvconf-gentoo-0.2 b/net-misc/resolvconf-gentoo/files/digest-resolvconf-gentoo-0.2 new file mode 100644 index 000000000000..a476fa2f5d67 --- /dev/null +++ b/net-misc/resolvconf-gentoo/files/digest-resolvconf-gentoo-0.2 @@ -0,0 +1,3 @@ +MD5 159905145cbf370009db2844b8fc2b97 resolvconf-gentoo-0.2.tar.bz2 4910 +RMD160 9f996ec8f18c0ffc3a3233b7d3baef4217ac0d40 resolvconf-gentoo-0.2.tar.bz2 4910 +SHA256 f3449124a667fbc753b3a9b791c7c570f4d0920a3b44e279ad2d856c08f442c9 resolvconf-gentoo-0.2.tar.bz2 4910 diff --git a/net-misc/resolvconf-gentoo/resolvconf-gentoo-0.2.ebuild b/net-misc/resolvconf-gentoo/resolvconf-gentoo-0.2.ebuild new file mode 100644 index 000000000000..266ce19dd459 --- /dev/null +++ b/net-misc/resolvconf-gentoo/resolvconf-gentoo-0.2.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-misc/resolvconf-gentoo/resolvconf-gentoo-0.2.ebuild,v 1.1 2006/04/20 17:42:17 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 +} |