diff options
author | Donnie Berkholz <dberkholz@gentoo.org> | 2006-09-05 21:16:46 +0000 |
---|---|---|
committer | Donnie Berkholz <dberkholz@gentoo.org> | 2006-09-05 21:16:46 +0000 |
commit | ea97e1bbc808ed5f5e65736f557bd7775e987170 (patch) | |
tree | 93e757ab454e95b80c60133cedb15f6c1f772087 /app-admin/system-config-bind | |
parent | Version bump to the 1.68 patch and closing bug #145602. (diff) | |
download | historical-ea97e1bbc808ed5f5e65736f557bd7775e987170.tar.gz historical-ea97e1bbc808ed5f5e65736f557bd7775e987170.tar.bz2 historical-ea97e1bbc808ed5f5e65736f557bd7775e987170.zip |
The Red Hat BIND DNS Configuration Tool
Package-Manager: portage-2.1.1_rc1-r1
Diffstat (limited to 'app-admin/system-config-bind')
6 files changed, 145 insertions, 0 deletions
diff --git a/app-admin/system-config-bind/ChangeLog b/app-admin/system-config-bind/ChangeLog new file mode 100644 index 000000000000..7f51dea303a6 --- /dev/null +++ b/app-admin/system-config-bind/ChangeLog @@ -0,0 +1,11 @@ +# ChangeLog for app-admin/system-config-bind +# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/app-admin/system-config-bind/ChangeLog,v 1.1 2006/09/05 21:16:46 dberkholz Exp $ + +*system-config-bind-4.0.0 (05 Sep 2006) + + 05 Sep 2006; Donnie Berkholz <dberkholz@gentoo.org>; + +files/4.0.0-use-etc-bind-directory.patch, +metadata.xml, + +system-config-bind-4.0.0.ebuild: + The Red Hat BIND DNS Configuration Tool + diff --git a/app-admin/system-config-bind/Manifest b/app-admin/system-config-bind/Manifest new file mode 100644 index 000000000000..e399a092c8b2 --- /dev/null +++ b/app-admin/system-config-bind/Manifest @@ -0,0 +1,20 @@ +AUX 4.0.0-use-etc-bind-directory.patch 4701 RMD160 abdf8419d0f4d726000e8f96fe817bb377bf6a95 SHA1 62fb86d4de6cb31132c632e2a22a63cd6704013f SHA256 6ff920082ab61036bebb12067248e797179ca363ac863d264b0eff52138f51cd +MD5 57db2ab8e20ac9c14ea8fc414fc99e0f files/4.0.0-use-etc-bind-directory.patch 4701 +RMD160 abdf8419d0f4d726000e8f96fe817bb377bf6a95 files/4.0.0-use-etc-bind-directory.patch 4701 +SHA256 6ff920082ab61036bebb12067248e797179ca363ac863d264b0eff52138f51cd files/4.0.0-use-etc-bind-directory.patch 4701 +DIST system-config-bind-4.0.0-44.fc6.src.rpm 9832659 RMD160 bd109d46674e2a7b41fdbfd6509677482a1da8b1 SHA1 e19997d710dc31b64c56e3fe4c4e8ad510c97ff3 SHA256 9641464e749c707b65e3c7a0dff6daa2d76fea2018c2e462a6ee31d08a8b9410 +EBUILD system-config-bind-4.0.0.ebuild 1432 RMD160 52e7dec0c8eaa1478a65c30041582a8650e85e9f SHA1 9fe94d8e91208dbd22fac7716a621fbbfa98c971 SHA256 88ee26c79ccf6c9510bf6633c125a9f03e4504e2d4fabf36a82a4f3f00beba78 +MD5 afbfa637c3c3186bbe2dbbd76c81bc49 system-config-bind-4.0.0.ebuild 1432 +RMD160 52e7dec0c8eaa1478a65c30041582a8650e85e9f system-config-bind-4.0.0.ebuild 1432 +SHA256 88ee26c79ccf6c9510bf6633c125a9f03e4504e2d4fabf36a82a4f3f00beba78 system-config-bind-4.0.0.ebuild 1432 +MISC ChangeLog 467 RMD160 d64fffd3dc8f7eb2b70c86d297526add9744ba33 SHA1 c81ed4744eea3078ce9b0b110defa7504ccd2b0a SHA256 20c734cfa5f390639e9f1f219064265ce94e4de01bc975225abda8a8cc538a3c +MD5 13986e040842023291914e7401ecf796 ChangeLog 467 +RMD160 d64fffd3dc8f7eb2b70c86d297526add9744ba33 ChangeLog 467 +SHA256 20c734cfa5f390639e9f1f219064265ce94e4de01bc975225abda8a8cc538a3c ChangeLog 467 +MISC metadata.xml 252 RMD160 212f61f15769b523e0fa55ed5d872d85536b4043 SHA1 5f9d6137a829b96482aacd60baf98160b49dc514 SHA256 b3aaf1e941b12ded57dea3530d59b8db42716f5e805efb6338101c135beac506 +MD5 4f7fe0eacb3ba0ef618e04831e4a7517 metadata.xml 252 +RMD160 212f61f15769b523e0fa55ed5d872d85536b4043 metadata.xml 252 +SHA256 b3aaf1e941b12ded57dea3530d59b8db42716f5e805efb6338101c135beac506 metadata.xml 252 +MD5 c9d0f20697102936b5830893ec4e1393 files/digest-system-config-bind-4.0.0 301 +RMD160 29eb75ad04e3c27b9986ea0c4ccb3e64fdce876d files/digest-system-config-bind-4.0.0 301 +SHA256 c4b6cfdeb418c25f0eb9140e6d195b35c2310cf0eab6efb5a75c7126aa06774c files/digest-system-config-bind-4.0.0 301 diff --git a/app-admin/system-config-bind/files/4.0.0-use-etc-bind-directory.patch b/app-admin/system-config-bind/files/4.0.0-use-etc-bind-directory.patch new file mode 100644 index 000000000000..1b5635269865 --- /dev/null +++ b/app-admin/system-config-bind/files/4.0.0-use-etc-bind-directory.patch @@ -0,0 +1,52 @@ +? patch +Index: system-config-bind-4.0.0/BIND.py +=================================================================== +RCS file: /usr/local/CVS/system-config-bind/devel/system-config-bind-4.0.0/BIND.py,v +retrieving revision 1.4 +diff -u -b -B -r1.4 BIND.py +--- system-config-bind-4.0.0/BIND.py 7 Jun 2006 18:26:02 -0000 1.4 ++++ system-config-bind-4.0.0/BIND.py 3 Sep 2006 20:44:42 -0000 +@@ -51,12 +51,12 @@ + r=commands.getstatusoutput('. /etc/sysconfig/named; echo "$ROOTDIR"') + if (r[0] == 0): + chroot=r[1] +- if os.access(chroot + '/etc/named.conf',os.F_OK) != 1: ++ if os.access(chroot + '/etc/bind/named.conf',os.F_OK) != 1: + if os.access(SCB + '/profiles/default/named.conf',os.F_OK)==1: + debug( 'INIT CONFIG') + self.gui.warning(self.gui.gui,_('Initializing to Defaults:'),_('No BIND configuration was found.\nInstalling the initial default configuration.')) + debug( 'INITIALIZING') +- r=commands.getstatusoutput('set -e; /bin/mkdir -p '+chroot+'/{etc,var/{named/{slave,data},tmp,run/named},dev}; if [ ! -e '+chroot+'/dev/random ]; then /bin/mknod '+chroot+'/dev/random c 1 8; fi; if [ ! -e '+chroot+'/dev/null ]; then /bin/mknod '+chroot+'/dev/null c 1 3; fi; if [ ! -e '+chroot+'/dev/zero ]; then /bin/mknod '+chroot+'/dev/zero c 1 5; fi; /bin/cp -fp $SCB/profiles/default/named.conf '+chroot+'/etc; /bin/cp -fp $SCB/profiles/default/named/* '+chroot+'/var/named; /bin/chown -R root:named '+chroot+'/var/named; /bin/chown named:named '+chroot+'/var/{named/{slave,data},run/named}; /bin/chown root:root '+chroot+'/etc/named.conf; echo -ne "key rndckey {\n\talgorithm hmac-md5;\n\tsecret \""`/usr/sbin/dns-keygen`"\";\n};\n">'+chroot+'/etc/rndc.key; /bin/chown root:named '+chroot+'/etc/rndc.key; /bin/chmod 640 '+chroot+'/etc/rndc.key; /bin/chmod 777 '+chroot+'/var/tmp; if [ -e /selinux/enforce ] && [ -x /sbin/restorecon ]; then /sbin/restorecon -R /var/{named,run,tmp}; fi') ++ r=commands.getstatusoutput('set -e; /bin/mkdir -p '+chroot+'/{etc,var/{named/{slave,data},tmp,run/named},dev}; if [ ! -e '+chroot+'/dev/random ]; then /bin/mknod '+chroot+'/dev/random c 1 8; fi; if [ ! -e '+chroot+'/dev/null ]; then /bin/mknod '+chroot+'/dev/null c 1 3; fi; if [ ! -e '+chroot+'/dev/zero ]; then /bin/mknod '+chroot+'/dev/zero c 1 5; fi; /bin/cp -fp $SCB/profiles/default/named.conf '+chroot+'/etc; /bin/cp -fp $SCB/profiles/default/named/* '+chroot+'/var/named; /bin/chown -R root:named '+chroot+'/var/named; /bin/chown named:named '+chroot+'/var/{named/{slave,data},run/named}; /bin/chown root:root '+chroot+'/etc/bind/named.conf; echo -ne "key rndckey {\n\talgorithm hmac-md5;\n\tsecret \""`/usr/sbin/dns-keygen`"\";\n};\n">'+chroot+'/etc/bind/rndc.key; /bin/chown root:named '+chroot+'/etc/bind/rndc.key; /bin/chmod 640 '+chroot+'/etc/bind/rndc.key; /bin/chmod 777 '+chroot+'/var/tmp; if [ -e /selinux/enforce ] && [ -x /sbin/restorecon ]; then /sbin/restorecon -R /var/{named,run,tmp}; fi') + debug(r) + if r[0] != 0 : + self.gui.error(_('Initialization Error:'),_('Configuration could not be initialized from defaults:\n')+r[1],True) +Index: system-config-bind-4.0.0/NamedConf.py +=================================================================== +RCS file: /usr/local/CVS/system-config-bind/devel/system-config-bind-4.0.0/NamedConf.py,v +retrieving revision 1.6 +diff -u -b -B -r1.6 NamedConf.py +--- system-config-bind-4.0.0/NamedConf.py 20 Dec 2005 00:14:14 -0000 1.6 ++++ system-config-bind-4.0.0/NamedConf.py 3 Sep 2006 20:44:43 -0000 +@@ -279,7 +279,7 @@ + opts+=named_conf + self.files.append({'file':named_conf,'tokens':[],'contents':''}) + else: +- self.files.append({'file':self.chroot + '/etc/named.conf','tokens':[],'contents':''}) ++ self.files.append({'file':self.chroot + '/etc/bind/named.conf','tokens':[],'contents':''}) + s=commands.getstatusoutput('/usr/sbin/named-checkconf '+opts) + if len(s[1]): + self.errors.append(s[1]) +Index: system-config-bind-4.0.0/profiles/default/named.conf +=================================================================== +RCS file: /usr/local/CVS/system-config-bind/devel/system-config-bind-4.0.0/profiles/default/named.conf,v +retrieving revision 1.1.1.1 +diff -u -b -B -r1.1.1.1 named.conf +--- system-config-bind-4.0.0/profiles/default/named.conf 28 Apr 2005 17:56:14 -0000 1.1.1.1 ++++ system-config-bind-4.0.0/profiles/default/named.conf 3 Sep 2006 20:44:43 -0000 +@@ -58,4 +58,4 @@ + allow-update { none; }; + }; + +-include "/etc/rndc.key"; ++include "/etc/bind/rndc.key"; diff --git a/app-admin/system-config-bind/files/digest-system-config-bind-4.0.0 b/app-admin/system-config-bind/files/digest-system-config-bind-4.0.0 new file mode 100644 index 000000000000..55299364137c --- /dev/null +++ b/app-admin/system-config-bind/files/digest-system-config-bind-4.0.0 @@ -0,0 +1,3 @@ +MD5 43cc8c396e79a2c2a7a000efb32e621c system-config-bind-4.0.0-44.fc6.src.rpm 9832659 +RMD160 bd109d46674e2a7b41fdbfd6509677482a1da8b1 system-config-bind-4.0.0-44.fc6.src.rpm 9832659 +SHA256 9641464e749c707b65e3c7a0dff6daa2d76fea2018c2e462a6ee31d08a8b9410 system-config-bind-4.0.0-44.fc6.src.rpm 9832659 diff --git a/app-admin/system-config-bind/metadata.xml b/app-admin/system-config-bind/metadata.xml new file mode 100644 index 000000000000..cd89a979878d --- /dev/null +++ b/app-admin/system-config-bind/metadata.xml @@ -0,0 +1,9 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>no-herd</herd> +<maintainer> +<email>dberkholz@gentoo.org</email> +<name>Donnie Berkholz</name> +</maintainer> +</pkgmetadata> diff --git a/app-admin/system-config-bind/system-config-bind-4.0.0.ebuild b/app-admin/system-config-bind/system-config-bind-4.0.0.ebuild new file mode 100644 index 000000000000..cc72516ac01a --- /dev/null +++ b/app-admin/system-config-bind/system-config-bind-4.0.0.ebuild @@ -0,0 +1,50 @@ +# Copyright 1999-2006 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-admin/system-config-bind/system-config-bind-4.0.0.ebuild,v 1.1 2006/09/05 21:16:46 dberkholz Exp $ + +inherit eutils rpm + +# Tag for which Fedora Core version it's from +FCVER="6" +# Revision of the RPM. Shouldn't affect us, as we're just grabbing the source +# tarball out of it +RPMREV="44" + +DESCRIPTION="The Red Hat BIND DNS Configuration Tool" +HOMEPAGE="http://fedora.redhat.com/projects/config-tools/" +SRC_URI="mirror://fedora/development/source/SRPMS/${P}-${RPMREV}.fc${FCVER}.src.rpm" +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~ppc ~x86" +IUSE="" +RDEPEND="=dev-python/pygtk-2* + dev-lang/python + =dev-python/gnome-python-2* + net-dns/bind + net-dns/bind-tools + net-dns/bind-dns-keygen + x11-themes/hicolor-icon-theme" +DEPEND="${RDEPEND} + sys-devel/gettext + dev-util/intltool" + +src_unpack() { + rpm_src_unpack + cd "${S}" + + # by default it uses /etc/named.conf, not /etc/bind/named.conf + epatch "${FILESDIR}"/${PV}-use-etc-bind-directory.patch +} + +src_install() { + emake ROOT="${D}" install || die "emake install failed" + + make_desktop_entry /usr/bin/${PN} + + fperms 644 /etc/pam.d/{system-config-bind,bindconf} + + # It assumes this file already exists. This is the equivalent + # of /etc/conf.d/named, so this is where arguments to named end up. + dodir /etc/sysconfig + touch "${D}"/etc/sysconfig/named +} |