From 3b19ba2afb4fc633f87efd4f3973162c997e2e8d Mon Sep 17 00:00:00 2001 From: Christian Ruppert Date: Wed, 8 Jul 2015 17:38:44 +0000 Subject: Version bump, bug 553584 Package-Manager: portage-2.2.20/cvs/Linux x86_64 Manifest-Sign-Key: 0xB427ABC8 --- net-dns/bind-tools/ChangeLog | 9 +- net-dns/bind-tools/Manifest | 29 +- net-dns/bind-tools/bind-tools-9.10.2-r1.ebuild | 125 -------- net-dns/bind-tools/bind-tools-9.10.2.ebuild | 123 -------- net-dns/bind-tools/bind-tools-9.10.2_p2.ebuild | 125 ++++++++ net-dns/bind-tools/bind-tools-9.9.5.ebuild | 111 ------- net-dns/bind/ChangeLog | 8 +- net-dns/bind/Manifest | 30 +- net-dns/bind/bind-9.10.2.ebuild | 407 ------------------------- net-dns/bind/bind-9.10.2_p2.ebuild | 407 +++++++++++++++++++++++++ 10 files changed, 568 insertions(+), 806 deletions(-) delete mode 100644 net-dns/bind-tools/bind-tools-9.10.2-r1.ebuild delete mode 100644 net-dns/bind-tools/bind-tools-9.10.2.ebuild create mode 100644 net-dns/bind-tools/bind-tools-9.10.2_p2.ebuild delete mode 100644 net-dns/bind-tools/bind-tools-9.9.5.ebuild delete mode 100644 net-dns/bind/bind-9.10.2.ebuild create mode 100644 net-dns/bind/bind-9.10.2_p2.ebuild (limited to 'net-dns') diff --git a/net-dns/bind-tools/ChangeLog b/net-dns/bind-tools/ChangeLog index 27a2536f0de0..a2d6d0785db5 100644 --- a/net-dns/bind-tools/ChangeLog +++ b/net-dns/bind-tools/ChangeLog @@ -1,6 +1,13 @@ # ChangeLog for net-dns/bind-tools # Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-dns/bind-tools/ChangeLog,v 1.285 2015/05/26 03:01:00 vapier Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-dns/bind-tools/ChangeLog,v 1.286 2015/07/08 17:38:43 idl0r Exp $ + +*bind-tools-9.10.2_p2 (08 Jul 2015) + + 08 Jul 2015; Christian Ruppert -bind-tools-9.9.5.ebuild, + -bind-tools-9.10.2.ebuild, -bind-tools-9.10.2-r1.ebuild, + +bind-tools-9.10.2_p2.ebuild: + Version bump, bug 553584 *bind-tools-9.10.2-r1 (26 May 2015) diff --git a/net-dns/bind-tools/Manifest b/net-dns/bind-tools/Manifest index 413b0d8f0e41..6a7aa8265bfb 100644 --- a/net-dns/bind-tools/Manifest +++ b/net-dns/bind-tools/Manifest @@ -4,28 +4,19 @@ Hash: SHA256 AUX bind-tools-9.10.2-openssl.patch 3480 SHA256 67e45c17a88efd3b0daafc1dec0d13cb5cd1628534e3312b3ddf2324087f0068 SHA512 6acd1bd906429abe27ecb28d64f6837d4f11c2906cc4b750c454357056083a1afb078b4e76477b777e9b6eece173442a729ca73cc345bb6a964e6bb6acdbbc67 WHIRLPOOL 4f4d5f197804f89490305e389cf3afae3b40e330fcb04d355355f5da7a45121c9cd7af7d53b3ebeb99c11c7c12bfb446255e868f5cc24d2cf79e8f60413544d9 AUX bind-tools-9.5.0_p1-lwconfig.patch 1856 SHA256 5e39cd20da4f2b3bf5ee352d73249c105de1e182c595afb20a15e950f2f88f02 SHA512 f46290cddfb39b077269cd2198d04eef6a7e680b5f0f8dcf471e551a61b4b7a56871a56cdd20afdeaa86edb790513d8c522032fb725a266c18e0e59eee803dcc WHIRLPOOL 01365d359cd7a6e1e2e8015a041df3747c58b3942a0c586c9db6f2cde36351e95ee8650483ba0439b9a748a354e134145945217a44e38e11722fad5f21278972 DIST bind-9.10.1-P1.tar.gz 8356463 SHA256 974343108d32f253a130383d0ba51290fb7bf372092f1451f264a9e3ac09898d SHA512 5fedff46d9cb0ff2544624c6d998f4f4bcd82152730e8e936c2611847fe443018b5c5c1dfb1dc49888dde5e3e30c3814f08369525612f0770575d54a3133ed48 WHIRLPOOL 6f39ff0e15676ed68f6d48d2ec5894b00de5192edbbbff94444f62dcf83e62a1e72019d575da97b6e6cde91b8918da78721c48510dbaad88095d4f2b3af375eb -DIST bind-9.10.2.tar.gz 8481111 SHA256 6f9bb7908aa45c1edfa391e356fc0afc1ded175386cdefb6cf9e1289f7457a98 SHA512 e4c72fe52641a515620930d0e1c149e6f0d9cec2e1a64cbfd510829d908ccab7293197dbbe603c863168f9ea9ded57b27b32cbad02f8b60abc91acb035c2e79f WHIRLPOOL 6b1df7b711fd6d7bba0aad533a11cc979d9e06ea43d4c160536306945e18ece8e622077f75be0bf6a077dd6b40789377e443d92d7dbabdb528b3bdd24aec0553 -DIST bind-9.9.5.tar.gz 7729695 SHA256 d4b64c1dde442145a316679acff2df4008aa117ae52dfa3a6bc69efecc7840d1 SHA512 2639e73c0b57a6a34727e65e44a6d4c90e8682145f92a0a543f80fe0d3cdf707287b67d7ff9f1da5cf91a3c23861033b542871bc909ce0f538b4d3d368932574 WHIRLPOOL ad25df5dfebe06db950755d46531ceb36ae5f8dde38d1a53a3ca593bbd62161535b8a611c6a89701ff5853c740a5a2ff5e7f83da3841ea5482718e569b9f9c71 +DIST bind-9.10.2-P2.tar.gz 8469608 SHA256 b1e6f0af88634aaf48fb9d06bbf82968264f49b8e2685f061dd3fd4c1ab76c5f SHA512 f59a4e7ef268cd95be9c31b8f908a77b261c76bfad0572608f503175e4e06e69c22ee88f4b6ae9578cd096aa069d9401f76084c7e07b3e98e9dbbb40d535695c WHIRLPOOL 10b035f790a43552b22eed13a98b8dcfdc0cc0614342ae221ce23ba655fb40a46e336cca8575460bf26a792303c6eba61e184ca5deb219372fdd09609b4c9798 EBUILD bind-tools-9.10.1_p1.ebuild 2932 SHA256 831a2bdf6d6e9417393b01a7ad94b0facd62be46ba0faf554a6c8d135e04b68c SHA512 1129915a8e440f996ce7b5402b67c8f683a205aaf0451f4d3d9908f0ddb01a9978d2ebcd89399ec9da1aab8ff46012e5c0bea1a71eba8f6f4e57704fefccd1f6 WHIRLPOOL 0762764b4d5f4320af4d551c7ebcd4a9145e9fc8645b33fcd8ec8d82e0a596650278e4447b8795f7f7064de2f642e3ac392d975578d341cade1d6ac58cb4362c -EBUILD bind-tools-9.10.2-r1.ebuild 3064 SHA256 ca8f7d29400f4a57f63e5ed1cb0e61348ae43c07376ce2e59d7e25788a9f8950 SHA512 0f5160a549a973640f5f3e6cd24a3cc317132cbf4f73520805d305757b8e75c2c05717eaea6fce69dd90ecfe639e85bf0305d0f9d4af40891a5fc8d72db976c4 WHIRLPOOL 725684a3d7d206d2dc8fa4ae39c27330246947e52a4ca99925b146601ad96cd7ca5357becf333713708ebf897315547384ac1bb3c97fc641833be677e567a913 -EBUILD bind-tools-9.10.2.ebuild 3077 SHA256 f954a64f4b29d6e6f6b20a8ffc80f16433f1583c56a7a843c20af949eda7c066 SHA512 7da8c5c307e783341849e0417abae984640c90df00bed4e718385f48d3950eba848bce20074a6d3d55964e2080bf4b3a51da987f0e273b7a1c312ad4b9ce1f31 WHIRLPOOL 37732efdf9ad4f78508cc2532811f9f1d109656d3590981ac945687392decb07b77d4572cd8e45b1665f92cefbf86d22c216009d90c849509013f038d65c55d7 -EBUILD bind-tools-9.9.5.ebuild 2725 SHA256 ee0c2ad62f49fd08b907c3d4eac80867226603902b0280c323457b51f11b7739 SHA512 44eb686d6390f1320757dd31c1eab84fcd524acf3323e2ac909561937652438febfc515619584070ced40628182d7deb68c69621c39460b1d8f0f204ad54cc33 WHIRLPOOL 22e3a13da29727f6894fff6c33e8ccb5257d1690ae12948e6130ccbeee6921a38af90b7cfd729de38bf2bb030bea7501ee05283f334339c68647f9f5aafedbe8 -MISC ChangeLog 41266 SHA256 63e0abdf2ae5094771ac1be26ce8f984b1b0d2396524b35f26e04c0136d6454a SHA512 fb68bc6d781d72c68d2a9d2242422a9304f3370183e73569fa6392994b1b4ee98546966126ed397b5fbf322077a85ffe3dc3123370a68e345fe458c0e63a5509 WHIRLPOOL a9c6f72ab2bd5f244b8068ef4a2ec35645c078e22233eabd2fde079719b9d450cd74f1d16b4c9c79d5f0733d4455c6823b869a3c5c3a243bb09d73ae3d9f68e7 +EBUILD bind-tools-9.10.2_p2.ebuild 3063 SHA256 d3814ebc5dc1e57e77d89782189b1d2a503007cee5bef0a479f9cf8bd472b280 SHA512 c3aee7f231a1db076a3654513d7f76b021c58ce4da0cece418a9a082f7ec5b2b665823170ef2c0019cc4edbe48776f581397b28fca09bd7e034f381e81890e4b WHIRLPOOL 1697f8170262d961f5d662bc8aa199f31487186a045c79032801e50128b595384e6804ccf7c97f7ac0d4aff88fee857d8a95f0351ca90deacd3daa2031a50853 +MISC ChangeLog 41499 SHA256 e0b94e8ef947989f4a2404de0ec55851f13f2c0ba1897176b2898656910db1d5 SHA512 4bf57bb7d8a30e0acd113ef1483ab85c4fa5e3ccc3e4db9cd86ee5b334a06543e9466474914fdbc774946cb6ee3dc6d0eb1e246bd97b8fd8ab57cd577024870d WHIRLPOOL 0dbb3314afe3b9a05c3b7fb1200de07d77d3fb5d0eb6b2dbc9b3627ee318ca8146383fa243f86ed2942a6fc1b3bb334db251767d54b3939c6fa3770b09d05d36 MISC metadata.xml 499 SHA256 8d5d4d0257735d89c3435d0c595aa743e08e79cc8345996a00f1cd0744d92c3e SHA512 d6c960b12a25d46a767131b94712d643c6fcd9508cf9dc02eaff1681749819a0a11615d8fb2b76ba6b78252fa14d21755f05b4f9a7157e16a97a52bdbb688301 WHIRLPOOL d7d8ddf46cfcc638c539d7eea0212086923fdd866b4f9b4c6d1808ead5ccd9bfce63736ede94163998fc50a99664ce36ee923cbdd133dcc033448edb4f7ec0bc -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 -iQIcBAEBCAAGBQJVY+HuAAoJEPGu1DbS6WIAm/sP/R4qxgig72lUQuvAucwoNC09 -bLJkSJSp4A9D07TVMsOram9OopoMYFIkaEUEeidcrwitfPevj/rN9zLZGYJyEQkC -JePTX7ht6CNnap6QqE84N69iZEkCg10ZwY6dd8WloVo9jlPopkQEvWxHn+wRmPBO -k0J3ENK92VCexN6qsCY9e7sN1y8QHWiCQqJpnl2yGP2Inh778sxzZxoqXOgV2OgZ -USBVVgNClm6W7jG2/g7um22gAI6jDpugSvmKxg62Q4WeZh6CVrss1yuLsiC9NQmh -NV97RrYJp/H6G2l5CWFERnk/z2IeiJAhpxV8zqpaDumj5nfu0f82xV3Jo+I/zt0W -bWU8RYksWBP6+AZgjd3JEM6zsXpGIvqlQsw+yTacl5arsej0WL7jfui5nwsoTOsN -eNFx0foBYubm6UxEJ9PH55y0UxsY1VD4grNOmRQh0RSI8p7Oj3cfww6MoANwOGGp -+vxZRkfWV0k792M4wII2xFdXI7abLgd4q4JDIi7WEojNTBEBF+8xJGcf89xLozjw -StyX/8SJKsv2SbE9epZbx+ikKBzy3dvbBT0wHrUiLkRj7DNRSVMTVtt/Z791G8s4 -qhqQxZbenj6I+wyHCLCc82KtzGxaMsUiBzSajusRAPuZMPRirSY5pww3weYLQc2g -G5KX3nJ8JOxI/ftwnYkE -=T/h6 +iQEcBAEBCAAGBQJVnWAkAAoJEMOx0zmdw4Z1E2sIAKYG3GwqI4TFAkaObxuW2ZDK +R4dTrKBVMjH5aylxjS/o40Tvb6vQMVjkHec+UW9NZZmy3sIHaw4kgSLI6XI7RVBi +wpX8qljMD/TKTdACmdShGW4Z/Ev+S0Vk2GZJ1sO8NbGu0HnBY90utksIB5bX/D+G +qwfD2ln7dc/nUOgBBe3PTvOSBZbUwIR8IrROWD18i0d/bhQe46SDcflbEYAKQh+3 +raaFn8sP9f51BKz5Aw+AqWJiTyTOUCGZ/oiO8BaQ4iZGiYse+WrDPWmRFkuPtQWE +f9tC0OQJACdAqyISrUBj9uwq3bGpn7WC1mWdysk+U9JrY8jxwuXolwMAWFr2Uko= +=fW+6 -----END PGP SIGNATURE----- diff --git a/net-dns/bind-tools/bind-tools-9.10.2-r1.ebuild b/net-dns/bind-tools/bind-tools-9.10.2-r1.ebuild deleted file mode 100644 index b0e61f3ad904..000000000000 --- a/net-dns/bind-tools/bind-tools-9.10.2-r1.ebuild +++ /dev/null @@ -1,125 +0,0 @@ -# Copyright 1999-2015 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-dns/bind-tools/bind-tools-9.10.2-r1.ebuild,v 1.1 2015/05/26 03:01:00 vapier Exp $ - -EAPI="5" - -inherit eutils autotools flag-o-matic toolchain-funcs - -MY_PN=${PN//-tools} -MY_PV=${PV/_p/-P} -MY_PV=${MY_PV/_rc/rc} -MY_P="${MY_PN}-${MY_PV}" - -DESCRIPTION="bind tools: dig, nslookup, host, nsupdate, dnssec-keygen" -HOMEPAGE="http://www.isc.org/software/bind" -SRC_URI="ftp://ftp.isc.org/isc/bind9/${MY_PV}/${MY_P}.tar.gz" - -LICENSE="ISC BSD BSD-2 HPND JNIC RSA openssl" -SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" -IUSE="doc gost gssapi idn ipv6 readline seccomp ssl urandom xml" -# no PKCS11 currently as it requires OpenSSL to be patched, also see bug 409687 - -REQUIRED_USE="gost? ( ssl )" - -DEPEND="ssl? ( dev-libs/openssl:0 ) - gost? ( >=dev-libs/openssl-1.0.0:0[-bindist] ) - xml? ( dev-libs/libxml2 ) - idn? ( net-dns/idnkit ) - gssapi? ( virtual/krb5 ) - readline? ( sys-libs/readline:0= ) - seccomp? ( sys-libs/libseccomp )" -RDEPEND="${DEPEND} - !> config.h -} - -src_compile() { - local AR=$(tc-getAR) - - emake AR="${AR}" -C lib/ - emake AR="${AR}" -C bin/delv/ - emake AR="${AR}" -C bin/dig/ - emake AR="${AR}" -C bin/nsupdate/ - emake AR="${AR}" -C bin/dnssec/ -} - -src_install() { - dodoc README CHANGES FAQ - - cd "${S}"/bin/delv - dobin delv - doman delv.1 - - cd "${S}"/bin/dig - dobin dig host nslookup - doman {dig,host,nslookup}.1 - - cd "${S}"/bin/nsupdate - dobin nsupdate - doman nsupdate.1 - if use doc; then - dohtml nsupdate.html - fi - - cd "${S}"/bin/dnssec - for tool in dsfromkey importkey keyfromlabel keygen \ - revoke settime signzone verify; do - dobin dnssec-"${tool}" - doman dnssec-"${tool}".8 - if use doc; then - dohtml dnssec-"${tool}".html - fi - done -} diff --git a/net-dns/bind-tools/bind-tools-9.10.2.ebuild b/net-dns/bind-tools/bind-tools-9.10.2.ebuild deleted file mode 100644 index fe89d5171ab7..000000000000 --- a/net-dns/bind-tools/bind-tools-9.10.2.ebuild +++ /dev/null @@ -1,123 +0,0 @@ -# Copyright 1999-2015 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-dns/bind-tools/bind-tools-9.10.2.ebuild,v 1.3 2015/05/26 01:52:00 vapier Exp $ - -EAPI="5" - -inherit eutils autotools flag-o-matic toolchain-funcs - -MY_PN=${PN//-tools} -MY_PV=${PV/_p/-P} -MY_PV=${MY_PV/_rc/rc} -MY_P="${MY_PN}-${MY_PV}" - -DESCRIPTION="bind tools: dig, nslookup, host, nsupdate, dnssec-keygen" -HOMEPAGE="http://www.isc.org/software/bind" -SRC_URI="ftp://ftp.isc.org/isc/bind9/${MY_PV}/${MY_P}.tar.gz" - -LICENSE="ISC BSD BSD-2 HPND JNIC RSA openssl" -SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" -IUSE="doc gost gssapi idn ipv6 readline ssl urandom xml" -# no PKCS11 currently as it requires OpenSSL to be patched, also see bug 409687 - -REQUIRED_USE="gost? ( ssl )" - -DEPEND="ssl? ( dev-libs/openssl:0 ) - gost? ( >=dev-libs/openssl-1.0.0:0[-bindist] ) - xml? ( dev-libs/libxml2 ) - idn? ( net-dns/idnkit ) - gssapi? ( virtual/krb5 ) - readline? ( sys-libs/readline )" -RDEPEND="${DEPEND} - !> config.h -} - -src_compile() { - local AR=$(tc-getAR) - - emake AR=$AR -C lib/ || die "emake lib failed" - emake AR=$AR -C bin/delv/ || die "emake bin/delv failed" - emake AR=$AR -C bin/dig/ || die "emake bin/dig failed" - emake AR=$AR -C bin/nsupdate/ || die "emake bin/nsupdate failed" - emake AR=$AR -C bin/dnssec/ || die "emake bin/dnssec failed" -} - -src_install() { - dodoc README CHANGES FAQ - - cd "${S}"/bin/delv - dobin delv - doman delv.1 - - cd "${S}"/bin/dig - dobin dig host nslookup - doman {dig,host,nslookup}.1 - - cd "${S}"/bin/nsupdate - dobin nsupdate - doman nsupdate.1 - if use doc; then - dohtml nsupdate.html - fi - - cd "${S}"/bin/dnssec - for tool in dsfromkey importkey keyfromlabel keygen \ - revoke settime signzone verify; do - dobin dnssec-"${tool}" - doman dnssec-"${tool}".8 - if use doc; then - dohtml dnssec-"${tool}".html - fi - done -} diff --git a/net-dns/bind-tools/bind-tools-9.10.2_p2.ebuild b/net-dns/bind-tools/bind-tools-9.10.2_p2.ebuild new file mode 100644 index 000000000000..002936d0c0c9 --- /dev/null +++ b/net-dns/bind-tools/bind-tools-9.10.2_p2.ebuild @@ -0,0 +1,125 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-dns/bind-tools/bind-tools-9.10.2_p2.ebuild,v 1.1 2015/07/08 17:38:43 idl0r Exp $ + +EAPI="5" + +inherit eutils autotools flag-o-matic toolchain-funcs + +MY_PN=${PN//-tools} +MY_PV=${PV/_p/-P} +MY_PV=${MY_PV/_rc/rc} +MY_P="${MY_PN}-${MY_PV}" + +DESCRIPTION="bind tools: dig, nslookup, host, nsupdate, dnssec-keygen" +HOMEPAGE="http://www.isc.org/software/bind" +SRC_URI="ftp://ftp.isc.org/isc/bind9/${MY_PV}/${MY_P}.tar.gz" + +LICENSE="ISC BSD BSD-2 HPND JNIC RSA openssl" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +IUSE="doc gost gssapi idn ipv6 readline seccomp ssl urandom xml" +# no PKCS11 currently as it requires OpenSSL to be patched, also see bug 409687 + +REQUIRED_USE="gost? ( ssl )" + +DEPEND="ssl? ( dev-libs/openssl:0 ) + gost? ( >=dev-libs/openssl-1.0.0:0[-bindist] ) + xml? ( dev-libs/libxml2 ) + idn? ( net-dns/idnkit ) + gssapi? ( virtual/krb5 ) + readline? ( sys-libs/readline:0= ) + seccomp? ( sys-libs/libseccomp )" +RDEPEND="${DEPEND} + !> config.h +} + +src_compile() { + local AR=$(tc-getAR) + + emake AR="${AR}" -C lib/ + emake AR="${AR}" -C bin/delv/ + emake AR="${AR}" -C bin/dig/ + emake AR="${AR}" -C bin/nsupdate/ + emake AR="${AR}" -C bin/dnssec/ +} + +src_install() { + dodoc README CHANGES FAQ + + cd "${S}"/bin/delv + dobin delv + doman delv.1 + + cd "${S}"/bin/dig + dobin dig host nslookup + doman {dig,host,nslookup}.1 + + cd "${S}"/bin/nsupdate + dobin nsupdate + doman nsupdate.1 + if use doc; then + dohtml nsupdate.html + fi + + cd "${S}"/bin/dnssec + for tool in dsfromkey importkey keyfromlabel keygen \ + revoke settime signzone verify; do + dobin dnssec-"${tool}" + doman dnssec-"${tool}".8 + if use doc; then + dohtml dnssec-"${tool}".html + fi + done +} diff --git a/net-dns/bind-tools/bind-tools-9.9.5.ebuild b/net-dns/bind-tools/bind-tools-9.9.5.ebuild deleted file mode 100644 index a1535f68e65a..000000000000 --- a/net-dns/bind-tools/bind-tools-9.9.5.ebuild +++ /dev/null @@ -1,111 +0,0 @@ -# Copyright 1999-2014 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-dns/bind-tools/bind-tools-9.9.5.ebuild,v 1.11 2014/08/02 18:20:08 ago Exp $ - -EAPI="5" - -inherit eutils autotools flag-o-matic toolchain-funcs - -MY_PN=${PN//-tools} -MY_PV=${PV/_p/-P} -MY_PV=${MY_PV/_rc/rc} -MY_P="${MY_PN}-${MY_PV}" - -DESCRIPTION="bind tools: dig, nslookup, host, nsupdate, dnssec-keygen" -HOMEPAGE="http://www.isc.org/software/bind" -SRC_URI="ftp://ftp.isc.org/isc/bind9/${MY_PV}/${MY_P}.tar.gz" - -LICENSE="ISC BSD BSD-2 HPND JNIC RSA openssl" -SLOT="0" -KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 ~s390 ~sh sparc x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" -IUSE="doc gost gssapi idn ipv6 readline ssl urandom xml" -# no PKCS11 currently as it requires OpenSSL to be patched, also see bug 409687 - -REQUIRED_USE="gost? ( ssl )" - -DEPEND="ssl? ( dev-libs/openssl:0 ) - gost? ( >=dev-libs/openssl-1.0.0:0[-bindist] ) - xml? ( dev-libs/libxml2 ) - idn? ( net-dns/idnkit ) - gssapi? ( virtual/krb5 ) - readline? ( sys-libs/readline )" -RDEPEND="${DEPEND}" - -S="${WORKDIR}/${MY_P}" - -# bug 479092, requires networking -RESTRICT="test" - -src_prepare() { - # bug 231247 - epatch "${FILESDIR}"/${PN}-9.5.0_p1-lwconfig.patch - - # Disable tests for now, bug 406399 - sed -i '/^SUBDIRS/s:tests::' bin/Makefile.in lib/Makefile.in || die - - # bug #220361 - rm aclocal.m4 - rm -rf libtool.m4/ - eautoreconf -} - -src_configure() { - local myconf= - - if use urandom; then - myconf="${myconf} --with-randomdev=/dev/urandom" - else - myconf="${myconf} --with-randomdev=/dev/random" - fi - - # bug 344029 - append-cflags "-DDIG_SIGCHASE" - - # localstatedir for nsupdate -l, bug 395785 - tc-export BUILD_CC - econf \ - --localstatedir=/var \ - --without-python \ - $(use_enable ipv6) \ - $(use_with idn) \ - $(use_with ssl openssl "${EPREFIX}"/usr) \ - $(use_with xml libxml2) \ - $(use_with gssapi) \ - $(use_with readline) \ - $(use_with gost) \ - ${myconf} - - # bug #151839 - echo '#undef SO_BSDCOMPAT' >> config.h -} - -src_compile() { - local AR=$(tc-getAR) - - emake AR=$AR -C lib/ || die "emake lib failed" - emake AR=$AR -C bin/dig/ || die "emake bin/dig failed" - emake AR=$AR -C bin/nsupdate/ || die "emake bin/nsupdate failed" - emake AR=$AR -C bin/dnssec/ || die "emake bin/dnssec failed" -} - -src_install() { - dodoc README CHANGES FAQ - - cd "${S}"/bin/dig - dobin dig host nslookup - doman {dig,host,nslookup}.1 - - cd "${S}"/bin/nsupdate - dobin nsupdate - doman nsupdate.1 - if use doc; then - dohtml nsupdate.html - fi - - cd "${S}"/bin/dnssec - dobin dnssec-keygen - doman dnssec-keygen.8 - if use doc; then - dohtml dnssec-keygen.html - fi -} diff --git a/net-dns/bind/ChangeLog b/net-dns/bind/ChangeLog index f542049e5ec6..fb9b7965eb2e 100644 --- a/net-dns/bind/ChangeLog +++ b/net-dns/bind/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for net-dns/bind # Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-dns/bind/ChangeLog,v 1.530 2015/04/21 13:03:45 eras Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-dns/bind/ChangeLog,v 1.531 2015/07/08 17:36:13 idl0r Exp $ + +*bind-9.10.2_p2 (08 Jul 2015) + + 08 Jul 2015; Christian Ruppert -bind-9.10.2.ebuild, + +bind-9.10.2_p2.ebuild: + Version bump, bug 553584 *bind-9.10.2 (21 Apr 2015) diff --git a/net-dns/bind/Manifest b/net-dns/bind/Manifest index da3e03f56d4a..2f526fcae172 100644 --- a/net-dns/bind/Manifest +++ b/net-dns/bind/Manifest @@ -14,33 +14,25 @@ AUX named.confd-r7 1364 SHA256 3cf1ab72446cb9417de916e4cd732f2056fb74d2c6f03da67 AUX named.init-r13 6083 SHA256 55024fe0e2b491b5cb490a9f575bad3096d446f20f8d52778d778fd26a415d52 SHA512 9d557b1b30989b21d9ae9c3f4e2a886f59de728cd5893a7538be3bc424bf17b249165ed939c87db02f0b760faf46a5503c5bf523386b84ddfe8128e76f79930b WHIRLPOOL 8566abd7dda75fd3be7f3cf21baec149ce280a78ea400709272e6ad419417c14f6b1bc859ae2809a44c24aab382d6e6d10323c8df430884d306243275c35d77d AUX named.service-r1 327 SHA256 5c57f181cbb153fe6beb9385c56b874ea56afc19cca105ea3c5cadf2138c349d SHA512 1d3dbf9d1de0c23c398a523b05c0fb266b6b699e54d232818b28205f697ca227acae9f2778d6f41309b117a6cd78eee170b745594b786b1c1571d5f66d6c3de4 WHIRLPOOL fbfbb8ec1bd7bf1796be0daa66ec0918b175f3953b0312c492a09097f4e7c9b60d303330f525c03d1aa7b0934c2bc134e90800afb7e40e06f77f865c8710dd66 DIST bind-9.10.1-P1.tar.gz 8356463 SHA256 974343108d32f253a130383d0ba51290fb7bf372092f1451f264a9e3ac09898d SHA512 5fedff46d9cb0ff2544624c6d998f4f4bcd82152730e8e936c2611847fe443018b5c5c1dfb1dc49888dde5e3e30c3814f08369525612f0770575d54a3133ed48 WHIRLPOOL 6f39ff0e15676ed68f6d48d2ec5894b00de5192edbbbff94444f62dcf83e62a1e72019d575da97b6e6cde91b8918da78721c48510dbaad88095d4f2b3af375eb -DIST bind-9.10.2.tar.gz 8481111 SHA256 6f9bb7908aa45c1edfa391e356fc0afc1ded175386cdefb6cf9e1289f7457a98 SHA512 e4c72fe52641a515620930d0e1c149e6f0d9cec2e1a64cbfd510829d908ccab7293197dbbe603c863168f9ea9ded57b27b32cbad02f8b60abc91acb035c2e79f WHIRLPOOL 6b1df7b711fd6d7bba0aad533a11cc979d9e06ea43d4c160536306945e18ece8e622077f75be0bf6a077dd6b40789377e443d92d7dbabdb528b3bdd24aec0553 +DIST bind-9.10.2-P2.tar.gz 8469608 SHA256 b1e6f0af88634aaf48fb9d06bbf82968264f49b8e2685f061dd3fd4c1ab76c5f SHA512 f59a4e7ef268cd95be9c31b8f908a77b261c76bfad0572608f503175e4e06e69c22ee88f4b6ae9578cd096aa069d9401f76084c7e07b3e98e9dbbb40d535695c WHIRLPOOL 10b035f790a43552b22eed13a98b8dcfdc0cc0614342ae221ce23ba655fb40a46e336cca8575460bf26a792303c6eba61e184ca5deb219372fdd09609b4c9798 DIST bind-9.9.5-geoip.patch 54901 SHA256 df713fd431f01f119bdaabb732401b80b553cd1f768838b5aa59ffcbc1a6a39e SHA512 0068463fe5c25c00e1407dce9588718fea45e730a2dc034783a8159a1eb457554ee4d34ea18550b0e737c0ca46fffe851d4eb2dce1b8f887e83550173f4e3ee2 WHIRLPOOL 2422ace7d86789f39bb1b1eda55f8a4c789a1195596543ed6e15696bcd219f4960f4c1d9ddf0c1be5d1ff946840ef9194f5232eb9f07c955c50e17aaade4b28e DIST bind-9.9.5.tar.gz 7729695 SHA256 d4b64c1dde442145a316679acff2df4008aa117ae52dfa3a6bc69efecc7840d1 SHA512 2639e73c0b57a6a34727e65e44a6d4c90e8682145f92a0a543f80fe0d3cdf707287b67d7ff9f1da5cf91a3c23861033b542871bc909ce0f538b4d3d368932574 WHIRLPOOL ad25df5dfebe06db950755d46531ceb36ae5f8dde38d1a53a3ca593bbd62161535b8a611c6a89701ff5853c740a5a2ff5e7f83da3841ea5482718e569b9f9c71 DIST bind-geoip-1.3-readme.txt 10040 SHA256 380ce89f1a614f46571ad59bddf0f268275691aa2d7a7a7bf1c2a3ef4d26e845 SHA512 463b9c5178cd00b8c3626fafc32e2c4db5005b9442c364525a22a3bd20b6f3ff99fab32e9103355d08546b349398499e221109a96d8d073d1fbe9a1f3d385ae9 WHIRLPOOL a00f0e5564f37b434f84d152e797c249640913e13ab7f109e2ff0abc45c519a28ad24e4f6173fa587c4774653f4c9381f9b8ab33c5697f47b30fa139eed48569 DIST bind-sdb-ldap-1.1.0-fc14.patch.bz2 9477 SHA256 fe043a573ba187dcc8b0f7313d4408236e6916ec246b0443b7e71b33c8303ae9 SHA512 62690ef3471055e4ae3d8dcedd296c0a5c3a75a3be237c76fdea07aa879f2bb1df4c56b8ca1e3ed9b488a980d16f9c9a3a12a53ef3208607472d18c225916ac5 WHIRLPOOL da3683f815509c5adf0ef819cf1165b64ba35efc6c588fd46b1c6b3d0374766442acb02ecf19dd90bbad5afb174dd27fd3e0894166ea8e78901e95ae870f9f5e DIST dyndns-samples.tbz2 22866 SHA256 92fb06a92ca99cbbe96b90bcca229ef9c12397db57ae17e199dad9f1218fdbe8 SHA512 83b0bf99f8e9ff709e8e9336d8c5231b98a4b5f0c60c10792f34931e32cc638d261967dfa5a83151ec3740977d94ddd6e21e9ce91267b3e279b88affdbc18cac WHIRLPOOL 08d4e6a817f1d02597631e18152dbd55ea1bc4c82174be150cc77efc9e1f0f03b6471d1cefbe4229cd3161de752ef232a43ca274a07b78e9c974ceb04cfe99a2 EBUILD bind-9.10.1_p1.ebuild 11931 SHA256 14e4f8d6c27dc4c5f001565c7ae504311d275aa8d4ffa5169cbb442ad6de8303 SHA512 2a9ca43a4fcb5f0fceacd829c84dcdcd5485286e3c44be2f90b10a7654bef396d466d482515bc6f78bc1f16bcc44f5a71a632e6c0abfe1962d9e867a3e47800f WHIRLPOOL 7560ced698df09425afc28ddde84e5a9610c8e9addbda6f513820bec2230a04b568522b45413b0b6caa0648e3a2548571d86d57b8113e9767e6729485dacac71 -EBUILD bind-9.10.2.ebuild 12087 SHA256 af9ae8b31c77fe42e2302a65385b666e184139a12c8fd4c41f8e9f062c810386 SHA512 5e7b76b7e20ecebb3ccf21a04b5dd15019cee38d0a5093b26d42dc09a030ae0afc279f674976c35a12bcaf5150d72b555391234a202a32dfcf5ea6cf1fd883d3 WHIRLPOOL e81987f3f5037b59e813e2cd14240e5b555b551b1162cc2bded99bbb70d52929532f3e8d9294a1f32bde211afcd9bb38a5fdd388e285859d09bc48570ff56d33 +EBUILD bind-9.10.2_p2.ebuild 12091 SHA256 585eebeee9dc805beba4f6129bae8170e204416b1411bdbb562b0aa4f40ed96a SHA512 b7778c1472681d756b04f5fb96e32091fd426de03f8b41c94b60503d288752b0c115db17a899612685fad092894f993f44066fd9ac60f464158c14019008af56 WHIRLPOOL d44bcee46463ac99f6f1eee953f4173b96e733e2873a3e4ebc88f0088909d31f7116fbe5d02d16ed3e1e26129ad8861f75bba821ec484a113f4accb213eeedbb EBUILD bind-9.9.5-r3.ebuild 13810 SHA256 45354bdd65c0a49bb086a6f5fd90a737d9c36b2cb18c7383aa3fec0328796b24 SHA512 60e13126851722ff98b419d734f7bcc5d5e20a069314fcbef9559e0d89e1db32586cd8012954f689711d71eee01ff27392f36beba86fac95dbebb114c97894c5 WHIRLPOOL c9b1dac4ff0e07c718647c6a9774949ae9c504b0510c85c5303f6a8f497d21ada507675fe4850f308d21dfaac3a83a52040c71000aa6ce7a6ab17ffcd5cad69e -MISC ChangeLog 83712 SHA256 05675dca2633da9b0b08bba8a5db6e4bff37172076556c10bcf254fbbc5f0b29 SHA512 15d7ba4a7130e23d2ff9387c3331c85f14e299149d53feb8e2714e3fd6e6cc2f76b4f1256e99daa4461f100d6a926273ff2d9299c0d6f233f0af548047d5f087 WHIRLPOOL 9575b37c7d4755e43618284727687d3c1ce3c0c6304029bb7afa9d990c979231d594d6711fd64d1fd3e6a2631ee40117a8b761f5e4a26dc54f21a562775f40cc +MISC ChangeLog 83871 SHA256 a8e3164e34eb9043f876b9bdb8764c85c000d0a7fe8704dd6f49421c1f12d907 SHA512 26bbdb1c289f27a3abdaf3ebaace96d428a6f7edf9c6e7ff01df826d5a1c8d36759103ee63818ccba4336ad230be6073a59116b18076ed876e5680de7d73187a WHIRLPOOL 6605fd3f15a68bf9477b5687ee40b6786898ba6b51d620c33fb3113806b0981db1280ae81f4ee6dd149eb63f368dcb6c9bb55ce3b9a0a08aa06cf30d6f6698bd MISC metadata.xml 1048 SHA256 ae9bee58fa7f989b8bfa5bb60043c37cc51abfb15906ca1ab8aa979aff842cb8 SHA512 9e95433aeadce4f66cb2c3acb5d46379219c24855d3085d5b988899bacd760e2d56f50f47abfbbcb5c38f1d8297b09812adf8fcdc7a0e7ee8f277ff74806136b WHIRLPOOL eaad1de85030acbaeb70984fceedb06b1946110b1d669d07fc26437015fe18c3f93edbc5b497e2e9a463bb65acda2b379807aaf2c283bc3bbc7049a79481e2c5 -----BEGIN PGP SIGNATURE----- -Version: GnuPG v2.1 +Version: GnuPG v2 -iQJ8BAEBCABmBQJVNksKXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w -ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXRBQjk1NkM0NUMxNzFCRTY4Rjk4NENDMDk3 -N0YxRjE3NTU4NkEzQjFGAAoJEHfx8XVYajsfYWYP/17KLaB7xvrsSqaRlxV1YXt9 -WY4HmigzVTeEUFhBQXJkk+RgP7wtvPshBbOX6vwcGdEQ+KUhjzuYGLo0HviZIvqu -+U1ovyzvAbW8pQDWL7ZCiRibmdJ1XnxoN7kVqRSQ+nCIID5v6Z3o4UMnFvMhf4wt -SsjIMILA5R6UdoU6lLn9Oo4y7l30zd72UL2Dm56nQnm5CiUNbAWpH6yX32cghF4C -SrLbDjoxT2QxtzOF9aTgAOQ+rYA3uA9arpzBFPbdynZBeOmVGQviCDXQpJFJV+ns -gtUINyzCAu6rW42MXssn7VKuhLxv8SvfUiPTgKGFplrW3sxuTFYkROIUCBTiqVpd -RTwx7zRn+xgVEUTjbwk6NX0wYJsIIzzla7wffku/slrNo/mV308Z5t21yuqHFHMq -xnXqcBId1pXAIbW8UCtDbHe1f8YEcBgC1YKuW5bsKiqUkOy8ABTuxGDR19UODqi3 -Rm73+2oGOr+LLfW+A8uaZzgqFoIB9paqkV0GCuZbJK7IjU/5qbawLgOPnh6Fmefq -qiu/Zlg4sQojTFqOrgpdCieotb8IwOCcEAE/dWVJ2Zw8biEI+CNFlrOwZQzrjzOe -vSciMlznCa2LiZenM65wOZkQivZOs+H/dUBEGtHTCqHOjRHVMbo/zNVHPXL1zzti -wrKA+WMl04hIMAVyV0Qf -=YxfL +iQEcBAEBCAAGBQJVnV+RAAoJEMOx0zmdw4Z1gZ0IAI5s6eYl8LGJmwLIRTep90a9 +ELetfGhAIaM2TKRG87bA8DBNh3XDFASdoSsLXXVzwXMlSyDOhHnNH5Cb16fLTeub +pYZsBRCvF0VLhkG4nc2+qVpiRo8OT62Vrh0Bglok5hAoSAqwbet50f7inl04qT4O +TbEe95NTAT1n9aYuWFy+Sqf7skXza5wT50phQYSv1SdM6Pe7YP7Wj0XxMK96n1uU +tF62OPrzFtQAqK+yXKTGbN7Jr+pNCIQJnGIm7bPzaFoB57nRjb4zjG9Dl80cgw3I +076Q9Pu3UEqf6jrH7pEic1cOdMYlFniMpY9fs/byrudxhKS0pYb1sstSIhf7ylU= +=6nBx -----END PGP SIGNATURE----- diff --git a/net-dns/bind/bind-9.10.2.ebuild b/net-dns/bind/bind-9.10.2.ebuild deleted file mode 100644 index 9899a7471169..000000000000 --- a/net-dns/bind/bind-9.10.2.ebuild +++ /dev/null @@ -1,407 +0,0 @@ -# Copyright 1999-2015 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-dns/bind/bind-9.10.2.ebuild,v 1.1 2015/04/21 13:03:45 eras Exp $ - -# Re dlz/mysql and threads, needs to be verified.. -# MySQL uses thread local storage in its C api. Thus MySQL -# requires that each thread of an application execute a MySQL -# thread initialization to setup the thread local storage. -# This is impossible to do safely while staying within the DLZ -# driver API. This is a limitation caused by MySQL, and not the DLZ API. -# Because of this BIND MUST only run with a single thread when -# using the MySQL driver. - -EAPI="5" - -PYTHON_COMPAT=( python2_7 python3_3 python3_4 ) - -inherit python-r1 eutils autotools toolchain-funcs flag-o-matic multilib db-use user systemd - -MY_PV="${PV/_p/-P}" -MY_PV="${MY_PV/_rc/rc}" -MY_P="${PN}-${MY_PV}" - -SDB_LDAP_VER="1.1.0-fc14" - -RRL_PV="${MY_PV}" - -NSLINT_DIR="contrib/nslint-3.0a2/" - -# SDB-LDAP: http://bind9-ldap.bayour.com/ - -DESCRIPTION="BIND - Berkeley Internet Name Domain - Name Server" -HOMEPAGE="http://www.isc.org/software/bind" -SRC_URI="ftp://ftp.isc.org/isc/bind9/${MY_PV}/${MY_P}.tar.gz - doc? ( mirror://gentoo/dyndns-samples.tbz2 )" -# sdb-ldap? ( -# http://ftp.disconnected-by-peer.at/pub/bind-sdb-ldap-${SDB_LDAP_VER}.patch.bz2 -# )" - -LICENSE="GPL-2 ISC BSD BSD-2 HPND JNIC openssl" -SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" -IUSE="berkdb +caps dlz doc filter-aaaa fixed-rrset geoip gost gssapi idn ipv6 -json ldap mysql nslint odbc postgres python rpz seccomp selinux ssl static-libs -+threads urandom xml" -# sdb-ldap - patch broken -# no PKCS11 currently as it requires OpenSSL to be patched, also see bug 409687 - -REQUIRED_USE="postgres? ( dlz ) - berkdb? ( dlz ) - mysql? ( dlz !threads ) - odbc? ( dlz ) - ldap? ( dlz ) - gost? ( ssl ) - threads? ( caps )" -# sdb-ldap? ( dlz ) - -DEPEND="ssl? ( dev-libs/openssl:0[-bindist] ) - mysql? ( >=virtual/mysql-4.0 ) - odbc? ( >=dev-db/unixODBC-2.2.6 ) - ldap? ( net-nds/openldap ) - idn? ( net-dns/idnkit ) - postgres? ( dev-db/postgresql:= ) - caps? ( >=sys-libs/libcap-2.1.0 ) - xml? ( dev-libs/libxml2 ) - geoip? ( >=dev-libs/geoip-1.4.6 ) - gssapi? ( virtual/krb5 ) - gost? ( >=dev-libs/openssl-1.0.0:0[-bindist] ) - seccomp? ( sys-libs/libseccomp ) - json? ( dev-libs/json-c )" -# sdb-ldap? ( net-nds/openldap ) - -RDEPEND="${DEPEND} - selinux? ( sec-policy/selinux-bind ) - || ( sys-process/psmisc >=sys-freebsd/freebsd-ubin-9.0_rc sys-process/fuser-bsd )" - -S="${WORKDIR}/${MY_P}" - -# bug 479092, requires networking -RESTRICT="test" - -pkg_setup() { - ebegin "Creating named group and user" - enewgroup named 40 - enewuser named 40 -1 /etc/bind named - eend ${?} -} - -src_prepare() { - # Adjusting PATHs in manpages - for i in bin/{named/named.8,check/named-checkconf.8,rndc/rndc.8} ; do - sed -i \ - -e 's:/etc/named.conf:/etc/bind/named.conf:g' \ - -e 's:/etc/rndc.conf:/etc/bind/rndc.conf:g' \ - -e 's:/etc/rndc.key:/etc/bind/rndc.key:g' \ - "${i}" || die "sed failed, ${i} doesn't exist" - done - -# if use dlz; then -# # sdb-ldap patch as per bug #160567 -# # Upstream URL: http://bind9-ldap.bayour.com/ -# # New patch take from bug 302735 -# if use sdb-ldap; then -# epatch "${WORKDIR}"/${PN}-sdb-ldap-${SDB_LDAP_VER}.patch -# cp -fp contrib/sdb/ldap/ldapdb.[ch] bin/named/ -# cp -fp contrib/sdb/ldap/{ldap2zone.1,ldap2zone.c} bin/tools/ -# cp -fp contrib/sdb/ldap/{zone2ldap.1,zone2ldap.c} bin/tools/ -# fi -# fi - - # should be installed by bind-tools - sed -i -r -e "s:(nsupdate|dig|delv) ::g" bin/Makefile.in || die - - # Disable tests for now, bug 406399 - sed -i '/^SUBDIRS/s:tests::' bin/Makefile.in lib/Makefile.in || die - - if use nslint; then - sed -i -e 's:/etc/named.conf:/etc/bind/named.conf:' ${NSLINT_DIR}/nslint.{c,8} || die - fi - - # bug #220361 - rm aclocal.m4 - rm -rf libtool.m4/ - eautoreconf -} - -src_configure() { - local myconf="" - - if use urandom; then - myconf="${myconf} --with-randomdev=/dev/urandom" - else - myconf="${myconf} --with-randomdev=/dev/random" - fi - - use geoip && myconf="${myconf} --with-geoip" - - # bug #158664 -# gcc-specs-ssp && replace-flags -O[23s] -O - - # To include db.h from proper path - use berkdb && append-flags "-I$(db_includedir)" - - export BUILD_CC=$(tc-getBUILD_CC) - econf \ - --sysconfdir=/etc/bind \ - --localstatedir=/var \ - --with-libtool \ - --enable-full-report \ - $(use_enable threads) \ - $(use_with dlz dlopen) \ - $(use_with dlz dlz-filesystem) \ - $(use_with dlz dlz-stub) \ - $(use_with postgres dlz-postgres) \ - $(use_with mysql dlz-mysql) \ - $(use_with berkdb dlz-bdb) \ - $(use_with ldap dlz-ldap) \ - $(use_with odbc dlz-odbc) \ - $(use_with ssl openssl "${EPREFIX}"/usr) \ - $(use_with ssl ecdsa) \ - $(use_with idn) \ - $(use_enable ipv6) \ - $(use_with xml libxml2) \ - $(use_with gssapi) \ - $(use_enable rpz rpz-nsip) \ - $(use_enable rpz rpz-nsdname) \ - $(use_enable caps linux-caps) \ - $(use_with gost) \ - $(use_enable filter-aaaa) \ - $(use_enable fixed-rrset) \ - $(use_with python) \ - $(use_enable seccomp) \ - $(use_with json libjson) \ - --without-readline \ - ${myconf} - - # $(use_enable static-libs static) \ - - # bug #151839 - echo '#undef SO_BSDCOMPAT' >> config.h - - if use nslint; then - cd $NSLINT_DIR - econf - fi -} - -src_compile() { - emake - - if use nslint; then - emake -C $NSLINT_DIR CCOPT="${CFLAGS}" - fi -} - -src_install() { - emake DESTDIR="${D}" install - - if use nslint; then - cd $NSLINT_DIR - dobin nslint - doman nslint.8 - cd "${S}" - fi - - dodoc CHANGES FAQ README - - if use idn; then - dodoc contrib/idn/README.idnkit - fi - - if use doc; then - dodoc doc/arm/Bv9ARM.pdf - - docinto misc - dodoc doc/misc/* - - # might a 'html' useflag make sense? - docinto html - dohtml -r doc/arm/* - - docinto contrib - dodoc contrib/scripts/{nanny.pl,named-bootconf.sh} - - # some handy-dandy dynamic dns examples - pushd "${D}"/usr/share/doc/${PF} 1>/dev/null - tar xf "${DISTDIR}"/dyndns-samples.tbz2 || die - popd 1>/dev/null - fi - - insinto /etc/bind - newins "${FILESDIR}"/named.conf-r8 named.conf - - # ftp://ftp.rs.internic.net/domain/named.cache: - insinto /var/bind - doins "${FILESDIR}"/named.cache - - insinto /var/bind/pri - newins "${FILESDIR}"/localhost.zone-r3 localhost.zone - - newinitd "${FILESDIR}"/named.init-r13 named - newconfd "${FILESDIR}"/named.confd-r7 named - - if use gost; then - sed -i -e 's/^OPENSSL_LIBGOST=${OPENSSL_LIBGOST:-0}$/OPENSSL_LIBGOST=${OPENSSL_LIBGOST:-1}/' "${D}/etc/init.d/named" || die - else - sed -i -e 's/^OPENSSL_LIBGOST=${OPENSSL_LIBGOST:-1}$/OPENSSL_LIBGOST=${OPENSSL_LIBGOST:-0}/' "${D}/etc/init.d/named" || die - fi - - newenvd "${FILESDIR}"/10bind.env 10bind - - # Let's get rid of those tools and their manpages since they're provided by bind-tools - rm -f "${D}"/usr/share/man/man1/{dig,host,nslookup}.1* - rm -f "${D}"/usr/share/man/man8/nsupdate.8* - rm -f "${D}"/usr/bin/{dig,host,nslookup,nsupdate} - rm -f "${D}"/usr/sbin/{dig,host,nslookup,nsupdate} - for tool in dsfromkey importkey keyfromlabel keygen \ - revoke settime signzone verify; do - rm -f "${D}"/usr/{,s}bin/dnssec-"${tool}" - rm -f "${D}"/usr/share/man/man8/dnssec-"${tool}".8* - done - - # bug 405251, library archives aren't properly handled by --enable/disable-static - if ! use static-libs; then - find "${D}" -type f -name '*.a' -delete || die - fi - - # bug 405251 - find "${D}" -type f -name '*.la' -delete || die - - if use python; then - install_python_tools() { - dosbin bin/python/dnssec-{checkds,coverage} - } - python_foreach_impl install_python_tools - - python_replicate_script "${D}usr/sbin/dnssec-checkds" - python_replicate_script "${D}usr/sbin/dnssec-coverage" - fi - - # bug 450406 - dosym named.cache /var/bind/root.cache - - dosym /var/bind/pri /etc/bind/pri - dosym /var/bind/sec /etc/bind/sec - dosym /var/bind/dyn /etc/bind/dyn - keepdir /var/bind/{pri,sec,dyn} - - dodir /var/log/named - - fowners root:named /{etc,var}/bind /var/log/named /var/bind/{sec,pri,dyn} - fowners root:named /var/bind/named.cache /var/bind/pri/localhost.zone /etc/bind/{bind.keys,named.conf} - fperms 0640 /var/bind/named.cache /var/bind/pri/localhost.zone /etc/bind/{bind.keys,named.conf} - fperms 0750 /etc/bind /var/bind/pri - fperms 0770 /var/log/named /var/bind/{,sec,dyn} - - systemd_newunit "${FILESDIR}/named.service-r1" named.service - exeinto /usr/libexec - doexe "${FILESDIR}/generate-rndc-key.sh" -} - -pkg_postinst() { - if [ ! -f '/etc/bind/rndc.key' ]; then - if use urandom; then - einfo "Using /dev/urandom for generating rndc.key" - /usr/sbin/rndc-confgen -r /dev/urandom -a - echo - else - einfo "Using /dev/random for generating rndc.key" - /usr/sbin/rndc-confgen -a - echo - fi - chown root:named /etc/bind/rndc.key - chmod 0640 /etc/bind/rndc.key - fi - - einfo - einfo "You can edit /etc/conf.d/named to customize named settings" - einfo - use mysql || use postgres || use ldap && { - elog "If your named depends on MySQL/PostgreSQL or LDAP," - elog "uncomment the specified rc_named_* lines in your" - elog "/etc/conf.d/named config to ensure they'll start before bind" - einfo - } - einfo "If you'd like to run bind in a chroot AND this is a new" - einfo "install OR your bind doesn't already run in a chroot:" - einfo "1) Uncomment and set the CHROOT variable in /etc/conf.d/named." - einfo "2) Run \`emerge --config '=${CATEGORY}/${PF}'\`" - einfo - - CHROOT=$(source /etc/conf.d/named 2>/dev/null; echo ${CHROOT}) - if [[ -n ${CHROOT} ]]; then - elog "NOTE: As of net-dns/bind-9.4.3_p5-r1 the chroot part of the init-script got some major changes!" - elog "To enable the old behaviour (without using mount) uncomment the" - elog "CHROOT_NOMOUNT option in your /etc/conf.d/named config." - elog "If you decide to use the new/default method, ensure to make backup" - elog "first and merge your existing configs/zones to /etc/bind and" - elog "/var/bind because bind will now mount the needed directories into" - elog "the chroot dir." - fi -} - -pkg_config() { - CHROOT=$(source /etc/conf.d/named; echo ${CHROOT}) - CHROOT_NOMOUNT=$(source /etc/conf.d/named; echo ${CHROOT_NOMOUNT}) - CHROOT_GEOIP=$(source /etc/conf.d/named; echo ${CHROOT_GEOIP}) - - if [[ -z "${CHROOT}" ]]; then - eerror "This config script is designed to automate setting up" - eerror "a chrooted bind/named. To do so, please first uncomment" - eerror "and set the CHROOT variable in '/etc/conf.d/named'." - die "Unset CHROOT" - fi - if [[ -d "${CHROOT}" ]]; then - ewarn "NOTE: As of net-dns/bind-9.4.3_p5-r1 the chroot part of the init-script got some major changes!" - ewarn "To enable the old behaviour (without using mount) uncomment the" - ewarn "CHROOT_NOMOUNT option in your /etc/conf.d/named config." - ewarn - ewarn "${CHROOT} already exists... some things might become overridden" - ewarn "press CTRL+C if you don't want to continue" - sleep 10 - fi - - echo; einfo "Setting up the chroot directory..." - - mkdir -m 0750 -p ${CHROOT} - mkdir -m 0755 -p ${CHROOT}/{dev,etc,var/log,run} - mkdir -m 0750 -p ${CHROOT}/etc/bind - mkdir -m 0770 -p ${CHROOT}/var/{bind,log/named} ${CHROOT}/run/named/ - # As of bind 9.8.0 - if has_version net-dns/bind[gost]; then - if [ "$(get_libdir)" = "lib64" ]; then - mkdir -m 0755 -p ${CHROOT}/usr/lib64/engines - ln -s lib64 ${CHROOT}/usr/lib - else - mkdir -m 0755 -p ${CHROOT}/usr/lib/engines - fi - fi - chown root:named ${CHROOT} ${CHROOT}/var/{bind,log/named} ${CHROOT}/run/named/ ${CHROOT}/etc/bind - - mknod ${CHROOT}/dev/null c 1 3 - chmod 0666 ${CHROOT}/dev/null - - mknod ${CHROOT}/dev/zero c 1 5 - chmod 0666 ${CHROOT}/dev/zero - - if use urandom; then - mknod ${CHROOT}/dev/urandom c 1 9 - chmod 0666 ${CHROOT}/dev/urandom - else - mknod ${CHROOT}/dev/random c 1 8 - chmod 0666 ${CHROOT}/dev/random - fi - - if [ "${CHROOT_NOMOUNT:-0}" -ne 0 ]; then - cp -a /etc/bind ${CHROOT}/etc/ - cp -a /var/bind ${CHROOT}/var/ - fi - - if [ "${CHROOT_GEOIP:-0}" -eq 1 ]; then - mkdir -m 0755 -p ${CHROOT}/usr/share/GeoIP - fi - - elog "You may need to add the following line to your syslog-ng.conf:" - elog "source jail { unix-stream(\"${CHROOT}/dev/log\"); };" -} diff --git a/net-dns/bind/bind-9.10.2_p2.ebuild b/net-dns/bind/bind-9.10.2_p2.ebuild new file mode 100644 index 000000000000..5edad3967168 --- /dev/null +++ b/net-dns/bind/bind-9.10.2_p2.ebuild @@ -0,0 +1,407 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-dns/bind/bind-9.10.2_p2.ebuild,v 1.1 2015/07/08 17:36:13 idl0r Exp $ + +# Re dlz/mysql and threads, needs to be verified.. +# MySQL uses thread local storage in its C api. Thus MySQL +# requires that each thread of an application execute a MySQL +# thread initialization to setup the thread local storage. +# This is impossible to do safely while staying within the DLZ +# driver API. This is a limitation caused by MySQL, and not the DLZ API. +# Because of this BIND MUST only run with a single thread when +# using the MySQL driver. + +EAPI="5" + +PYTHON_COMPAT=( python2_7 python3_3 python3_4 ) + +inherit python-r1 eutils autotools toolchain-funcs flag-o-matic multilib db-use user systemd + +MY_PV="${PV/_p/-P}" +MY_PV="${MY_PV/_rc/rc}" +MY_P="${PN}-${MY_PV}" + +SDB_LDAP_VER="1.1.0-fc14" + +RRL_PV="${MY_PV}" + +NSLINT_DIR="contrib/nslint-3.0a2/" + +# SDB-LDAP: http://bind9-ldap.bayour.com/ + +DESCRIPTION="BIND - Berkeley Internet Name Domain - Name Server" +HOMEPAGE="http://www.isc.org/software/bind" +SRC_URI="ftp://ftp.isc.org/isc/bind9/${MY_PV}/${MY_P}.tar.gz + doc? ( mirror://gentoo/dyndns-samples.tbz2 )" +# sdb-ldap? ( +# http://ftp.disconnected-by-peer.at/pub/bind-sdb-ldap-${SDB_LDAP_VER}.patch.bz2 +# )" + +LICENSE="GPL-2 ISC BSD BSD-2 HPND JNIC openssl" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +IUSE="berkdb +caps dlz doc filter-aaaa fixed-rrset geoip gost gssapi idn ipv6 +json ldap mysql nslint odbc postgres python rpz seccomp selinux ssl static-libs ++threads urandom xml" +# sdb-ldap - patch broken +# no PKCS11 currently as it requires OpenSSL to be patched, also see bug 409687 + +REQUIRED_USE="postgres? ( dlz ) + berkdb? ( dlz ) + mysql? ( dlz !threads ) + odbc? ( dlz ) + ldap? ( dlz ) + gost? ( ssl ) + threads? ( caps )" +# sdb-ldap? ( dlz ) + +DEPEND="ssl? ( dev-libs/openssl:0[-bindist] ) + mysql? ( >=virtual/mysql-4.0 ) + odbc? ( >=dev-db/unixODBC-2.2.6 ) + ldap? ( net-nds/openldap ) + idn? ( net-dns/idnkit ) + postgres? ( dev-db/postgresql:= ) + caps? ( >=sys-libs/libcap-2.1.0 ) + xml? ( dev-libs/libxml2 ) + geoip? ( >=dev-libs/geoip-1.4.6 ) + gssapi? ( virtual/krb5 ) + gost? ( >=dev-libs/openssl-1.0.0:0[-bindist] ) + seccomp? ( sys-libs/libseccomp ) + json? ( dev-libs/json-c )" +# sdb-ldap? ( net-nds/openldap ) + +RDEPEND="${DEPEND} + selinux? ( sec-policy/selinux-bind ) + || ( sys-process/psmisc >=sys-freebsd/freebsd-ubin-9.0_rc sys-process/fuser-bsd )" + +S="${WORKDIR}/${MY_P}" + +# bug 479092, requires networking +RESTRICT="test" + +pkg_setup() { + ebegin "Creating named group and user" + enewgroup named 40 + enewuser named 40 -1 /etc/bind named + eend ${?} +} + +src_prepare() { + # Adjusting PATHs in manpages + for i in bin/{named/named.8,check/named-checkconf.8,rndc/rndc.8} ; do + sed -i \ + -e 's:/etc/named.conf:/etc/bind/named.conf:g' \ + -e 's:/etc/rndc.conf:/etc/bind/rndc.conf:g' \ + -e 's:/etc/rndc.key:/etc/bind/rndc.key:g' \ + "${i}" || die "sed failed, ${i} doesn't exist" + done + +# if use dlz; then +# # sdb-ldap patch as per bug #160567 +# # Upstream URL: http://bind9-ldap.bayour.com/ +# # New patch take from bug 302735 +# if use sdb-ldap; then +# epatch "${WORKDIR}"/${PN}-sdb-ldap-${SDB_LDAP_VER}.patch +# cp -fp contrib/sdb/ldap/ldapdb.[ch] bin/named/ +# cp -fp contrib/sdb/ldap/{ldap2zone.1,ldap2zone.c} bin/tools/ +# cp -fp contrib/sdb/ldap/{zone2ldap.1,zone2ldap.c} bin/tools/ +# fi +# fi + + # should be installed by bind-tools + sed -i -r -e "s:(nsupdate|dig|delv) ::g" bin/Makefile.in || die + + # Disable tests for now, bug 406399 + sed -i '/^SUBDIRS/s:tests::' bin/Makefile.in lib/Makefile.in || die + + if use nslint; then + sed -i -e 's:/etc/named.conf:/etc/bind/named.conf:' ${NSLINT_DIR}/nslint.{c,8} || die + fi + + # bug #220361 + rm aclocal.m4 + rm -rf libtool.m4/ + eautoreconf +} + +src_configure() { + local myconf="" + + if use urandom; then + myconf="${myconf} --with-randomdev=/dev/urandom" + else + myconf="${myconf} --with-randomdev=/dev/random" + fi + + use geoip && myconf="${myconf} --with-geoip" + + # bug #158664 +# gcc-specs-ssp && replace-flags -O[23s] -O + + # To include db.h from proper path + use berkdb && append-flags "-I$(db_includedir)" + + export BUILD_CC=$(tc-getBUILD_CC) + econf \ + --sysconfdir=/etc/bind \ + --localstatedir=/var \ + --with-libtool \ + --enable-full-report \ + $(use_enable threads) \ + $(use_with dlz dlopen) \ + $(use_with dlz dlz-filesystem) \ + $(use_with dlz dlz-stub) \ + $(use_with postgres dlz-postgres) \ + $(use_with mysql dlz-mysql) \ + $(use_with berkdb dlz-bdb) \ + $(use_with ldap dlz-ldap) \ + $(use_with odbc dlz-odbc) \ + $(use_with ssl openssl "${EPREFIX}"/usr) \ + $(use_with ssl ecdsa) \ + $(use_with idn) \ + $(use_enable ipv6) \ + $(use_with xml libxml2) \ + $(use_with gssapi) \ + $(use_enable rpz rpz-nsip) \ + $(use_enable rpz rpz-nsdname) \ + $(use_enable caps linux-caps) \ + $(use_with gost) \ + $(use_enable filter-aaaa) \ + $(use_enable fixed-rrset) \ + $(use_with python) \ + $(use_enable seccomp) \ + $(use_with json libjson) \ + --without-readline \ + ${myconf} + + # $(use_enable static-libs static) \ + + # bug #151839 + echo '#undef SO_BSDCOMPAT' >> config.h + + if use nslint; then + cd $NSLINT_DIR + econf + fi +} + +src_compile() { + emake + + if use nslint; then + emake -C $NSLINT_DIR CCOPT="${CFLAGS}" + fi +} + +src_install() { + emake DESTDIR="${D}" install + + if use nslint; then + cd $NSLINT_DIR + dobin nslint + doman nslint.8 + cd "${S}" + fi + + dodoc CHANGES FAQ README + + if use idn; then + dodoc contrib/idn/README.idnkit + fi + + if use doc; then + dodoc doc/arm/Bv9ARM.pdf + + docinto misc + dodoc doc/misc/* + + # might a 'html' useflag make sense? + docinto html + dohtml -r doc/arm/* + + docinto contrib + dodoc contrib/scripts/{nanny.pl,named-bootconf.sh} + + # some handy-dandy dynamic dns examples + pushd "${D}"/usr/share/doc/${PF} 1>/dev/null + tar xf "${DISTDIR}"/dyndns-samples.tbz2 || die + popd 1>/dev/null + fi + + insinto /etc/bind + newins "${FILESDIR}"/named.conf-r8 named.conf + + # ftp://ftp.rs.internic.net/domain/named.cache: + insinto /var/bind + doins "${FILESDIR}"/named.cache + + insinto /var/bind/pri + newins "${FILESDIR}"/localhost.zone-r3 localhost.zone + + newinitd "${FILESDIR}"/named.init-r13 named + newconfd "${FILESDIR}"/named.confd-r7 named + + if use gost; then + sed -i -e 's/^OPENSSL_LIBGOST=${OPENSSL_LIBGOST:-0}$/OPENSSL_LIBGOST=${OPENSSL_LIBGOST:-1}/' "${D}/etc/init.d/named" || die + else + sed -i -e 's/^OPENSSL_LIBGOST=${OPENSSL_LIBGOST:-1}$/OPENSSL_LIBGOST=${OPENSSL_LIBGOST:-0}/' "${D}/etc/init.d/named" || die + fi + + newenvd "${FILESDIR}"/10bind.env 10bind + + # Let's get rid of those tools and their manpages since they're provided by bind-tools + rm -f "${D}"/usr/share/man/man1/{dig,host,nslookup}.1* + rm -f "${D}"/usr/share/man/man8/nsupdate.8* + rm -f "${D}"/usr/bin/{dig,host,nslookup,nsupdate} + rm -f "${D}"/usr/sbin/{dig,host,nslookup,nsupdate} + for tool in dsfromkey importkey keyfromlabel keygen \ + revoke settime signzone verify; do + rm -f "${D}"/usr/{,s}bin/dnssec-"${tool}" + rm -f "${D}"/usr/share/man/man8/dnssec-"${tool}".8* + done + + # bug 405251, library archives aren't properly handled by --enable/disable-static + if ! use static-libs; then + find "${D}" -type f -name '*.a' -delete || die + fi + + # bug 405251 + find "${D}" -type f -name '*.la' -delete || die + + if use python; then + install_python_tools() { + dosbin bin/python/dnssec-{checkds,coverage} + } + python_foreach_impl install_python_tools + + python_replicate_script "${D}usr/sbin/dnssec-checkds" + python_replicate_script "${D}usr/sbin/dnssec-coverage" + fi + + # bug 450406 + dosym named.cache /var/bind/root.cache + + dosym /var/bind/pri /etc/bind/pri + dosym /var/bind/sec /etc/bind/sec + dosym /var/bind/dyn /etc/bind/dyn + keepdir /var/bind/{pri,sec,dyn} + + dodir /var/log/named + + fowners root:named /{etc,var}/bind /var/log/named /var/bind/{sec,pri,dyn} + fowners root:named /var/bind/named.cache /var/bind/pri/localhost.zone /etc/bind/{bind.keys,named.conf} + fperms 0640 /var/bind/named.cache /var/bind/pri/localhost.zone /etc/bind/{bind.keys,named.conf} + fperms 0750 /etc/bind /var/bind/pri + fperms 0770 /var/log/named /var/bind/{,sec,dyn} + + systemd_newunit "${FILESDIR}/named.service-r1" named.service + exeinto /usr/libexec + doexe "${FILESDIR}/generate-rndc-key.sh" +} + +pkg_postinst() { + if [ ! -f '/etc/bind/rndc.key' ]; then + if use urandom; then + einfo "Using /dev/urandom for generating rndc.key" + /usr/sbin/rndc-confgen -r /dev/urandom -a + echo + else + einfo "Using /dev/random for generating rndc.key" + /usr/sbin/rndc-confgen -a + echo + fi + chown root:named /etc/bind/rndc.key + chmod 0640 /etc/bind/rndc.key + fi + + einfo + einfo "You can edit /etc/conf.d/named to customize named settings" + einfo + use mysql || use postgres || use ldap && { + elog "If your named depends on MySQL/PostgreSQL or LDAP," + elog "uncomment the specified rc_named_* lines in your" + elog "/etc/conf.d/named config to ensure they'll start before bind" + einfo + } + einfo "If you'd like to run bind in a chroot AND this is a new" + einfo "install OR your bind doesn't already run in a chroot:" + einfo "1) Uncomment and set the CHROOT variable in /etc/conf.d/named." + einfo "2) Run \`emerge --config '=${CATEGORY}/${PF}'\`" + einfo + + CHROOT=$(source /etc/conf.d/named 2>/dev/null; echo ${CHROOT}) + if [[ -n ${CHROOT} ]]; then + elog "NOTE: As of net-dns/bind-9.4.3_p5-r1 the chroot part of the init-script got some major changes!" + elog "To enable the old behaviour (without using mount) uncomment the" + elog "CHROOT_NOMOUNT option in your /etc/conf.d/named config." + elog "If you decide to use the new/default method, ensure to make backup" + elog "first and merge your existing configs/zones to /etc/bind and" + elog "/var/bind because bind will now mount the needed directories into" + elog "the chroot dir." + fi +} + +pkg_config() { + CHROOT=$(source /etc/conf.d/named; echo ${CHROOT}) + CHROOT_NOMOUNT=$(source /etc/conf.d/named; echo ${CHROOT_NOMOUNT}) + CHROOT_GEOIP=$(source /etc/conf.d/named; echo ${CHROOT_GEOIP}) + + if [[ -z "${CHROOT}" ]]; then + eerror "This config script is designed to automate setting up" + eerror "a chrooted bind/named. To do so, please first uncomment" + eerror "and set the CHROOT variable in '/etc/conf.d/named'." + die "Unset CHROOT" + fi + if [[ -d "${CHROOT}" ]]; then + ewarn "NOTE: As of net-dns/bind-9.4.3_p5-r1 the chroot part of the init-script got some major changes!" + ewarn "To enable the old behaviour (without using mount) uncomment the" + ewarn "CHROOT_NOMOUNT option in your /etc/conf.d/named config." + ewarn + ewarn "${CHROOT} already exists... some things might become overridden" + ewarn "press CTRL+C if you don't want to continue" + sleep 10 + fi + + echo; einfo "Setting up the chroot directory..." + + mkdir -m 0750 -p ${CHROOT} + mkdir -m 0755 -p ${CHROOT}/{dev,etc,var/log,run} + mkdir -m 0750 -p ${CHROOT}/etc/bind + mkdir -m 0770 -p ${CHROOT}/var/{bind,log/named} ${CHROOT}/run/named/ + # As of bind 9.8.0 + if has_version net-dns/bind[gost]; then + if [ "$(get_libdir)" = "lib64" ]; then + mkdir -m 0755 -p ${CHROOT}/usr/lib64/engines + ln -s lib64 ${CHROOT}/usr/lib + else + mkdir -m 0755 -p ${CHROOT}/usr/lib/engines + fi + fi + chown root:named ${CHROOT} ${CHROOT}/var/{bind,log/named} ${CHROOT}/run/named/ ${CHROOT}/etc/bind + + mknod ${CHROOT}/dev/null c 1 3 + chmod 0666 ${CHROOT}/dev/null + + mknod ${CHROOT}/dev/zero c 1 5 + chmod 0666 ${CHROOT}/dev/zero + + if use urandom; then + mknod ${CHROOT}/dev/urandom c 1 9 + chmod 0666 ${CHROOT}/dev/urandom + else + mknod ${CHROOT}/dev/random c 1 8 + chmod 0666 ${CHROOT}/dev/random + fi + + if [ "${CHROOT_NOMOUNT:-0}" -ne 0 ]; then + cp -a /etc/bind ${CHROOT}/etc/ + cp -a /var/bind ${CHROOT}/var/ + fi + + if [ "${CHROOT_GEOIP:-0}" -eq 1 ]; then + mkdir -m 0755 -p ${CHROOT}/usr/share/GeoIP + fi + + elog "You may need to add the following line to your syslog-ng.conf:" + elog "source jail { unix-stream(\"${CHROOT}/dev/log\"); };" +} -- cgit v1.2.3-65-gdbad