diff options
author | 2010-12-07 12:18:24 +0300 | |
---|---|---|
committer | 2010-12-07 12:18:24 +0300 | |
commit | 54178afb675f72e0703a7a7cde0478ab2dd33f2e (patch) | |
tree | 017071c24a50a1e796b17b9d5d4f39802c01fbb6 /net-dns | |
parent | virtual/jpeg: dev-perl/GD is fixed in the portage (diff) | |
download | bircoph-54178afb675f72e0703a7a7cde0478ab2dd33f2e.tar.gz bircoph-54178afb675f72e0703a7a7cde0478ab2dd33f2e.tar.bz2 bircoph-54178afb675f72e0703a7a7cde0478ab2dd33f2e.zip |
bind2nsd: use /etc/bind as default config dir
Diffstat (limited to 'net-dns')
-rw-r--r-- | net-dns/bind2nsd/ChangeLog | 5 | ||||
-rw-r--r-- | net-dns/bind2nsd/Manifest | 5 | ||||
-rw-r--r-- | net-dns/bind2nsd/bind2nsd-0.7.2.ebuild | 6 | ||||
-rw-r--r-- | net-dns/bind2nsd/files/bind2nsd-0.7.2-bind-sysconfig.patch | 33 |
4 files changed, 46 insertions, 3 deletions
diff --git a/net-dns/bind2nsd/ChangeLog b/net-dns/bind2nsd/ChangeLog index 8eb9747..44a6d86 100644 --- a/net-dns/bind2nsd/ChangeLog +++ b/net-dns/bind2nsd/ChangeLog @@ -2,6 +2,11 @@ # Copyright 2000-2010 Gentoo Foundation; Distributed under the GPL v2 # $Header: $ + 07 Nov 2010; Andrew Savchenko <bircoph@gmail.com> + +files/bind2nsd-0.7.2-bind-sysconfig.patch, bind2nsd-0.7.2.ebuild: + Use /etc/bind as default bind config directory instead of + hard-coded /etc/bind9. + *dev-python/bind2nsd-0.7.2.ebuild (07 Nov 2010) 07 Nov 2010; Andrew Savchenko <bircoph@gmail.com> +bind2nsd-0.7.2.ebuild: diff --git a/net-dns/bind2nsd/Manifest b/net-dns/bind2nsd/Manifest index 3a12bfe..cfb18a3 100644 --- a/net-dns/bind2nsd/Manifest +++ b/net-dns/bind2nsd/Manifest @@ -1,4 +1,5 @@ +AUX bind2nsd-0.7.2-bind-sysconfig.patch 1744 RMD160 8d178a43510d8aad19ac35d8d7831419c7a95e2a SHA1 7c27dbd69fefbd1529a119b5a010305bc25ba6f5 SHA256 75c2b630f3c5a9acad7f35cc530b5fdbacf2c5bb8a8fad86c151204291081280 DIST bind2nsd-0.7.2.tar.gz 960658 RMD160 20dbf6061f003f13308c20431ff21873c24a0429 SHA1 e643370e3dc66e6cbf2e1b51765ee6b77a54eed3 SHA256 88c30b0d05b3cdfce5bb8b51b815df39cdf23b339a50886c15640e268b114d64 -EBUILD bind2nsd-0.7.2.ebuild 547 RMD160 8aa0032b0504c43c0eefa40c88c31e472ddd4773 SHA1 161de6aa3165d0e2291866d2be69a07e33f38f9d SHA256 cc9636764926df7489739b6f99c45d3bebc3dd83036bfcc24073f5c5cafb7a2d -MISC ChangeLog 280 RMD160 acac4444cb00f5c5cb166097c6dccf6b18247401 SHA1 e2fbf27eeb66a9231ec89c95eb234f06b7c8755f SHA256 b94d379329196b8e899d0829b319ba36d8d5955913a87b14a65ef9808cd6ec7e +EBUILD bind2nsd-0.7.2.ebuild 621 RMD160 6726862957e8cda0db82380d9af651a34c13f35f SHA1 48cf67842de7472bb76cca7fd16abf6b87b2ed49 SHA256 213c2caff8061be83f47cb8f164addf849729e5cce02de4166f48b221cd3e2e7 +MISC ChangeLog 487 RMD160 f2ebc9448353c04393102a512c564adecb5ad56d SHA1 f113c787250cf6a726dc912f38efc0b351e872d4 SHA256 88e2be7cf844ef8fb22a2d1a8528a0a17993e9ea1a950979d9a075201212b81b MISC metadata.xml 254 RMD160 9d7fc571dc2e5b4301442a5f90cf2a217d759dd1 SHA1 b4e460e3aa39d587106b9e65fd10087ab0db4d69 SHA256 ea790720bca816b57709afaa945b0118eacc9c19954f0ba340f7e82f8faf4b99 diff --git a/net-dns/bind2nsd/bind2nsd-0.7.2.ebuild b/net-dns/bind2nsd/bind2nsd-0.7.2.ebuild index 78a8d19..62c63eb 100644 --- a/net-dns/bind2nsd/bind2nsd-0.7.2.ebuild +++ b/net-dns/bind2nsd/bind2nsd-0.7.2.ebuild @@ -5,7 +5,7 @@ EAPI="3" SUPPORT_PYTHON_ABIS="1" -inherit distutils +inherit distutils eutils DESCRIPTION="Program to translate DNS information in BIND format to NSD format" HOMEPAGE="http://bind2nsd.sourceforge.net" @@ -26,3 +26,7 @@ RDEPEND="${DEPEND} " RESTRICT_PYTHON_ABIS="3.*" + +src_prepare() { + epatch "${FILESDIR}/${P}-bind-sysconfig.patch" +} diff --git a/net-dns/bind2nsd/files/bind2nsd-0.7.2-bind-sysconfig.patch b/net-dns/bind2nsd/files/bind2nsd-0.7.2-bind-sysconfig.patch new file mode 100644 index 0000000..7d06a94 --- /dev/null +++ b/net-dns/bind2nsd/files/bind2nsd-0.7.2-bind-sysconfig.patch @@ -0,0 +1,33 @@ +diff -Naur bind2nsd-0.7.2.orig/bind2nsd/Config.py bind2nsd-0.7.2/bind2nsd/Config.py +--- bind2nsd-0.7.2.orig/bind2nsd/Config.py 2008-06-27 04:22:28.000000000 +0400 ++++ bind2nsd-0.7.2/bind2nsd/Config.py 2010-12-07 12:09:19.000000000 +0300 +@@ -70,7 +70,7 @@ + 'masters_for_slaves' : '127.0.0.1', + 'named-checkconf' : '/usr/sbin/named-checkconf', + 'named-checkzone' : '/usr/sbin/named-checkzone', +- 'named_root' : '/etc/bind9', ++ 'named_root' : '/etc/bind', + 'named_conf' : 'named.conf', + 'named_watchlist' : '/etc/named.conf', + 'nsd-checkconf' : '/usr/sbin/nsd-checkconf', +diff -Naur bind2nsd-0.7.2.orig/etc/bind2nsd.conf bind2nsd-0.7.2/etc/bind2nsd.conf +--- bind2nsd-0.7.2.orig/etc/bind2nsd.conf 2008-06-27 04:22:28.000000000 +0400 ++++ bind2nsd-0.7.2/etc/bind2nsd.conf 2010-12-07 12:09:05.000000000 +0300 +@@ -34,7 +34,7 @@ + + #--- parameters for the bind2nsd command --------------------------------- + +-# default: named_root = /etc/bind9 ++# default: named_root = /etc/bind + # default: named_conf = named.conf + # default: nsd_conf = nsd.conf + # default: nsd_conf_dir = /etc/nsd/ +@@ -72,7 +72,7 @@ + # default: dnspw = iforgot => dnsconfig password (see s64-mkpw) + # default: named-checkconf = /usr/sbin/named-checkconf => BIND command location + # default: named-checkzone = /usr/sbin/named-checkzone => BIND command location +-# default: named_root = /etc/bind9 => default BIND config directory ++# default: named_root = /etc/bind => default BIND config directory + # default: named_conf = named.conf => BIND config file name + # default: named_watchlist = /etc/named.conf => config files to poll + # default: password_file = /etc/bind2nsd/passwd => encrypted passwords |