Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

FL-326: openresolv update

  • Loading branch information...
commit de6c49849e4d04eeaf8628a190ac0f167ce97279 1 parent 2a7d746
@angryvincent angryvincent authored
View
8 net-dns/openresolv/Manifest
@@ -1,4 +1,4 @@
-DIST openresolv-3.3.4.tar.bz2 10495 RMD160 d87fdae8426b928fdf414cd335cbf0c2f70df9d1 SHA1 99532b1cb34922d139a827437f23cf9a0e843776 SHA256 8288e436c67e0f85bdda25916f6daba78009af353529944eb9fa6cdeb5c38e48
-DIST openresolv-3.4.1.tar.bz2 12741 RMD160 30a86a0f16b7de24a773a37ad86d7f76b623e339 SHA1 956c4109c82c9cd93c0d365f7230c18848811747 SHA256 c01c7fee00f8582658753cc15af421b00106e9d7c6ba6c777b535814b2c02e69
-DIST openresolv-3.5.1.tar.bz2 13918 RMD160 7c127632f6fd894ffc82a5fe577c23f92ee5988e SHA1 b6b6257b93193dbf74086c4cc3ed6cfa972cbb50 SHA256 7c4344542c31b280ab6c9094a588a346d5fd490955476aa43ffd9708b1d1946a
-DIST openresolv-3.5.2.tar.bz2 13933 RMD160 98fe5181bb86b28ffa75be939af981810c4c600b SHA1 726926ca1413ca7c256235e68e809848b67463c2 SHA256 4a4cf4ef20a1ce207937fb669bbae43f9db36f6298090b5e074c80ed2fe4a996
+DIST openresolv-3.3.4.tar.bz2 10495 SHA256 8288e436c67e0f85bdda25916f6daba78009af353529944eb9fa6cdeb5c38e48
+DIST openresolv-3.4.1.tar.bz2 12741 SHA256 c01c7fee00f8582658753cc15af421b00106e9d7c6ba6c777b535814b2c02e69
+DIST openresolv-3.5.2.tar.bz2 13933 SHA256 4a4cf4ef20a1ce207937fb669bbae43f9db36f6298090b5e074c80ed2fe4a996 SHA512 502740bf3cc09f754c1383d1dac9144c701e75c8b6663808778a22be257e15e09bce80623ff7524a90320adcf2f15e4cfa613e7fc74d55039ed250a74e10d2cd WHIRLPOOL 2bce3841febd44ae891f21eb31d140843cf2dc251b9560c5d17ea511d16baf6c51d727a3893208786047c701f983dcf44b12f9caa5bdb25a19180b1be5208a4e
+DIST openresolv-3.5.4.tar.bz2 14662 SHA256 ab91fce9053ac653379155aaa6f1b912c0e117d8c55c91a908133ea26004c446 SHA512 9933ee8cd3f9a54fa76871a72b9a6a234cff9d97d56f753063b26283af91cee34298b43fd412c233e7968e3affa275ad22ffd1040230ea343bd6a004ff430a3b WHIRLPOOL b3ce0caf028a7112ab6e70c50b3799848547048b35c7f11847fe21817caa0b3c1b9d5c780bd4a27fa2e67ffc66ddab2eac597dffa80b3841b68cb41de0da9b07
View
40 net-dns/openresolv/openresolv-3.5.4.ebuild
@@ -0,0 +1,40 @@
+# Distributed under the terms of the GNU General Public License v2
+
+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="*"
+IUSE=""
+
+DEPEND="!net-dns/resolvconf-gentoo
+ !<net-dns/dnsmasq-2.40-r1"
+RDEPEND=""
+
+src_configure() {
+ econf \
+ --prefix= \
+ --libexecdir=/$(get_libdir)/openresolv
+}
+
+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
+}
Please sign in to comment.
Something went wrong with that request. Please try again.