public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Mikle Kolyada" <zlogene@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: net-dns/bind/files/, net-dns/bind/
Date: Sun, 18 Jul 2021 17:54:31 +0000 (UTC)	[thread overview]
Message-ID: <1626630782.6e8faaad077caf9048e2c5a132ddade0b0b316aa.zlogene@gentoo> (raw)

commit:     6e8faaad077caf9048e2c5a132ddade0b0b316aa
Author:     Mikle Kolyada <zlogene <AT> gentoo <DOT> org>
AuthorDate: Sun Jul 18 17:42:47 2021 +0000
Commit:     Mikle Kolyada <zlogene <AT> gentoo <DOT> org>
CommitDate: Sun Jul 18 17:53:02 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6e8faaad

net-dns/bind: create /dev/urandom again

Signed-off-by: Mikle Kolyada <zlogene <AT> gentoo.org>

 net-dns/bind/{bind-9.16.15-r1.ebuild => bind-9.16.15-r2.ebuild} | 5 ++++-
 net-dns/bind/files/{named.init-r13 => named.init-r14}           | 2 +-
 2 files changed, 5 insertions(+), 2 deletions(-)

diff --git a/net-dns/bind/bind-9.16.15-r1.ebuild b/net-dns/bind/bind-9.16.15-r2.ebuild
similarity index 98%
rename from net-dns/bind/bind-9.16.15-r1.ebuild
rename to net-dns/bind/bind-9.16.15-r2.ebuild
index 35e114e47df..9beac1bb886 100644
--- a/net-dns/bind/bind-9.16.15-r1.ebuild
+++ b/net-dns/bind/bind-9.16.15-r2.ebuild
@@ -222,7 +222,7 @@ src_install() {
 	insinto /var/bind/pri
 	newins "${FILESDIR}"/localhost.zone-r3 localhost.zone
 
-	newinitd "${FILESDIR}"/named.init-r13 named
+	newinitd "${FILESDIR}"/named.init-r14 named
 	newconfd "${FILESDIR}"/named.confd-r7 named
 
 	newenvd "${FILESDIR}"/10bind.env 10bind
@@ -355,6 +355,9 @@ pkg_config() {
 	mknod ${CHROOT}/dev/zero c 1 5 || die
 	chmod 0666 ${CHROOT}/dev/zero || die
 
+	mknod ${CHROOT}/dev/urandom c 1 9 || die
+	chmod 0666 ${CHROOT}/dev/urandom || die
+
 	if [ "${CHROOT_NOMOUNT:-0}" -ne 0 ]; then
 		cp -a /etc/bind ${CHROOT}/etc/ || die
 		cp -a /var/bind ${CHROOT}/var/ || die

diff --git a/net-dns/bind/files/named.init-r13 b/net-dns/bind/files/named.init-r14
similarity index 98%
rename from net-dns/bind/files/named.init-r13
rename to net-dns/bind/files/named.init-r14
index 4240a09176b..ff6ab216abc 100644
--- a/net-dns/bind/files/named.init-r13
+++ b/net-dns/bind/files/named.init-r14
@@ -77,7 +77,7 @@ check_chroot() {
 		[ ! -d "${CHROOT}/etc/bind" ] || [ ! -d "${CHROOT}/var/bind" ] && return 1
 		[ ! -d "${CHROOT}/var/log/named" ] && return 1
 		[ ! -c "${CHROOT}/dev/null" ] || [ ! -c "${CHROOT}/dev/zero" ] && return 1
-		[ ! -c "${CHROOT}/dev/random" ] && [ ! -c "${CHROOT}/dev/urandom" ] && return 1
+		[ ! -c "${CHROOT}/dev/urandom" ] && return 1
 		[ "${CHROOT_GEOIP:-0}" -eq 1 ] && [ ! -d "${CHROOT}/usr/share/GeoIP" ] && return 1
 		if [ ${OPENSSL_LIBGOST:-0} -eq 1 ]; then
 			if [ -d "/usr/lib64" ]; then


             reply	other threads:[~2021-07-18 17:54 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-07-18 17:54 Mikle Kolyada [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-09-02  8:30 [gentoo-commits] repo/gentoo:master commit in: net-dns/bind/files/, net-dns/bind/ Sam James
2024-08-31  7:10 Sam James
2024-08-31  7:10 Sam James
2024-02-18 10:48 Sam James
2022-06-03  7:33 Sam James
2020-09-18 19:23 Patrick McLean
2020-09-15 17:58 Patrick McLean
2020-02-14 16:01 Thomas Deutschmann
2019-02-17  9:02 Mikle Kolyada
2018-01-08  9:08 Christian Ruppert
2017-06-09 17:39 Christian Ruppert
2016-01-20 18:56 Christian Ruppert
2015-12-27 19:39 Christian Ruppert
2015-10-17 12:18 Christian Ruppert
2015-10-04  8:29 Pacho Ramos

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1626630782.6e8faaad077caf9048e2c5a132ddade0b0b316aa.zlogene@gentoo \
    --to=zlogene@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox