diff options
author | Roy Marples <uberlord@gentoo.org> | 2007-04-09 20:15:36 +0000 |
---|---|---|
committer | Roy Marples <uberlord@gentoo.org> | 2007-04-09 20:15:36 +0000 |
commit | 88571592b3553e9f3f689e265f1410c62aa3dfe8 (patch) | |
tree | 2b75a6bf4f1c5139b18233f95261f64ad0956857 /net-dns/resolvconf-gentoo | |
parent | Removed old development-branch ebuild. (diff) | |
download | historical-88571592b3553e9f3f689e265f1410c62aa3dfe8.tar.gz historical-88571592b3553e9f3f689e265f1410c62aa3dfe8.tar.bz2 historical-88571592b3553e9f3f689e265f1410c62aa3dfe8.zip |
This version works with the ash, busybox and dash shells :)
Package-Manager: portage-2.1.2.3
Diffstat (limited to 'net-dns/resolvconf-gentoo')
-rw-r--r-- | net-dns/resolvconf-gentoo/ChangeLog | 8 | ||||
-rw-r--r-- | net-dns/resolvconf-gentoo/Manifest | 16 | ||||
-rw-r--r-- | net-dns/resolvconf-gentoo/files/digest-resolvconf-gentoo-1.3 | 3 | ||||
-rw-r--r-- | net-dns/resolvconf-gentoo/resolvconf-gentoo-1.3.ebuild | 54 |
4 files changed, 76 insertions, 5 deletions
diff --git a/net-dns/resolvconf-gentoo/ChangeLog b/net-dns/resolvconf-gentoo/ChangeLog index 71752ab1dd14..3340e48c06cf 100644 --- a/net-dns/resolvconf-gentoo/ChangeLog +++ b/net-dns/resolvconf-gentoo/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for net-dns/resolvconf-gentoo # Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-dns/resolvconf-gentoo/ChangeLog,v 1.25 2007/01/30 05:49:17 beandog Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-dns/resolvconf-gentoo/ChangeLog,v 1.26 2007/04/09 20:15:36 uberlord Exp $ + +*resolvconf-gentoo-1.3 (09 Apr 2007) + + 09 Apr 2007; Roy Marples <uberlord@gentoo.org> + +resolvconf-gentoo-1.3.ebuild: + This version works fine with the ash, busybox and dash shells :) 30 Jan 2007; Steve Dibb <beandog@gentoo.org> resolvconf-gentoo-1.2.ebuild: amd64 stable, bug 159450 diff --git a/net-dns/resolvconf-gentoo/Manifest b/net-dns/resolvconf-gentoo/Manifest index ae882685ab65..92db2e1be3b1 100644 --- a/net-dns/resolvconf-gentoo/Manifest +++ b/net-dns/resolvconf-gentoo/Manifest @@ -1,6 +1,7 @@ DIST resolvconf-gentoo-1.0.tar.bz2 5320 RMD160 2c607df95bf240d41e511ca68203e9ca452068fe SHA1 7a25d091232bfa6732ad14e52712f456f553aa20 SHA256 75e536ee19182c193655b46c3b7d6909cb0fe3899381a7b6a2692f6017f63db9 DIST resolvconf-gentoo-1.1.tar.bz2 5322 RMD160 8fcc6fbd9cfc0acf8f47dd7371356f7f56f694e2 SHA1 69652f9218c65c7b7ded8be3c9be259dbcbba33e SHA256 3c1f667fc6681816f22780051432e6e3727b49aad32a840be07988e73bc55ec0 DIST resolvconf-gentoo-1.2.tar.bz2 5339 RMD160 703b1b524c6a808f18961e54575b5df3aeb28b7a SHA1 8f4a2285a80c63dd988d70e40ddd4b04185922a0 SHA256 b73e090675822e52f0ca0a3f335aef19a0bf53bd56bff0c0caadc006cd9aec03 +DIST resolvconf-gentoo-1.3.tar.bz2 5397 RMD160 e129e8c9ce61ce7a9dd7faa763444c3b3899c2b8 SHA1 0ade92f4548aea486e45d08ee75497ac62c79acd SHA256 0b1b36dd221bdd82d952ed66c5accfdbf8ff2287d5d5d599b5e83a3339ecc56e EBUILD resolvconf-gentoo-1.0.ebuild 1730 RMD160 6f3db9a25409b2d14d30331f5b292590d14e6613 SHA1 50070757c5ace8d22f2234d2bc82da14350a6759 SHA256 ff0aae6d3c3ff4eaf0a94a127a55c5391bcb3e9e3d440e81f2571d21d23df4e5 MD5 dabbc507189f332a6d1d1809c1d1e1c7 resolvconf-gentoo-1.0.ebuild 1730 RMD160 6f3db9a25409b2d14d30331f5b292590d14e6613 resolvconf-gentoo-1.0.ebuild 1730 @@ -13,10 +14,14 @@ EBUILD resolvconf-gentoo-1.2.ebuild 1753 RMD160 46569c31873ce433d59b4115affb655e MD5 ec139724c41dc80b536a192a228ad300 resolvconf-gentoo-1.2.ebuild 1753 RMD160 46569c31873ce433d59b4115affb655e3daab190 resolvconf-gentoo-1.2.ebuild 1753 SHA256 5f48c877585b1e4878bea5c915f821755462145e95c36d9ba796f09db97a0e3b resolvconf-gentoo-1.2.ebuild 1753 -MISC ChangeLog 4588 RMD160 19bbebd939fb6293532b8b1e71513e080bab906c SHA1 60710aee710ec5f5fd42e0810fdde6b4b8179378 SHA256 99984fc83054a5d14190258c025f3c622df65255d4596d6547f2791c96a6b9f1 -MD5 0719305aaf1cf3c78809b2a49dce4230 ChangeLog 4588 -RMD160 19bbebd939fb6293532b8b1e71513e080bab906c ChangeLog 4588 -SHA256 99984fc83054a5d14190258c025f3c622df65255d4596d6547f2791c96a6b9f1 ChangeLog 4588 +EBUILD resolvconf-gentoo-1.3.ebuild 1740 RMD160 96fdac90ed33637ab6c4f2b3b19cc3444e9404da SHA1 16fdae3e0cf4f859ecba77c31cf5f00c2e571d2c SHA256 e9c53f25f9e4fbb6c25c3105c81d95b0bc9ea28d4e629ba2fa708855b14847a7 +MD5 7db05679e5532d4bdce3c6f523dedd8a resolvconf-gentoo-1.3.ebuild 1740 +RMD160 96fdac90ed33637ab6c4f2b3b19cc3444e9404da resolvconf-gentoo-1.3.ebuild 1740 +SHA256 e9c53f25f9e4fbb6c25c3105c81d95b0bc9ea28d4e629ba2fa708855b14847a7 resolvconf-gentoo-1.3.ebuild 1740 +MISC ChangeLog 4777 RMD160 4cf67372ab9c769bfdbca05d044b8d59e2ce8735 SHA1 8b9bb6806a827cd047f77386d12d8f352d807983 SHA256 5204d3b09b471948d165669ee556b14c9f213a6dd4d7861d17e94841d5429ad5 +MD5 dd76dfc8a251e674cca4331f5c84a7c6 ChangeLog 4777 +RMD160 4cf67372ab9c769bfdbca05d044b8d59e2ce8735 ChangeLog 4777 +SHA256 5204d3b09b471948d165669ee556b14c9f213a6dd4d7861d17e94841d5429ad5 ChangeLog 4777 MISC metadata.xml 307 RMD160 5321ae1f8b9fe5ee81be83b1777595452c229714 SHA1 77507bd8344b40d7cd1157710a26080f1beeb99c SHA256 e579b678a12cbfb3e9f2ff9ba1d9e5c56adb3017a459b35472cbf2d7969a3ab0 MD5 23df2027bac4a8ecc8fbf018701239b5 metadata.xml 307 RMD160 5321ae1f8b9fe5ee81be83b1777595452c229714 metadata.xml 307 @@ -30,3 +35,6 @@ SHA256 8f5332877f7ec1e482935ac71b11867b4af5da702e2f7b7837cfc7db6b4f8b2f files/di MD5 a389e753fce0e6bff738724ae46fd490 files/digest-resolvconf-gentoo-1.2 262 RMD160 beb85eb1dce854e417aa138dc587f5de71f1793b files/digest-resolvconf-gentoo-1.2 262 SHA256 f268e0f057a5402a3366bd447d0d1c881b7a041e12aef47b14fde54dca0a3e14 files/digest-resolvconf-gentoo-1.2 262 +MD5 58a97939ba19dc8cfa24bc4d5fdc0e16 files/digest-resolvconf-gentoo-1.3 262 +RMD160 8bf729b2115e2dd4dd62b28212f928299d844db7 files/digest-resolvconf-gentoo-1.3 262 +SHA256 f03489ebd7a8cbc66b6dd1fe33bb82c68c86991bb3d962efb99171b1e95950a8 files/digest-resolvconf-gentoo-1.3 262 diff --git a/net-dns/resolvconf-gentoo/files/digest-resolvconf-gentoo-1.3 b/net-dns/resolvconf-gentoo/files/digest-resolvconf-gentoo-1.3 new file mode 100644 index 000000000000..88b28352f301 --- /dev/null +++ b/net-dns/resolvconf-gentoo/files/digest-resolvconf-gentoo-1.3 @@ -0,0 +1,3 @@ +MD5 011f925e8bb43ed70a4038957d9f7dc5 resolvconf-gentoo-1.3.tar.bz2 5397 +RMD160 e129e8c9ce61ce7a9dd7faa763444c3b3899c2b8 resolvconf-gentoo-1.3.tar.bz2 5397 +SHA256 0b1b36dd221bdd82d952ed66c5accfdbf8ff2287d5d5d599b5e83a3339ecc56e resolvconf-gentoo-1.3.tar.bz2 5397 diff --git a/net-dns/resolvconf-gentoo/resolvconf-gentoo-1.3.ebuild b/net-dns/resolvconf-gentoo/resolvconf-gentoo-1.3.ebuild new file mode 100644 index 000000000000..aad1c9a40254 --- /dev/null +++ b/net-dns/resolvconf-gentoo/resolvconf-gentoo-1.3.ebuild @@ -0,0 +1,54 @@ +# Copyright 1999-2007 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.3.ebuild,v 1.1 2007/04/09 20:15:36 uberlord Exp $ + +inherit eutils + +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 ~sparc-fbsd ~x86 ~x86-fbsd" +IUSE="" + +DEPEND="" +RDEPEND="" + +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 -a "$(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 +} |