diff options
Diffstat (limited to 'net-dns/bind')
-rw-r--r-- | net-dns/bind/Manifest | 4 | ||||
-rw-r--r-- | net-dns/bind/bind-9.16.15.ebuild | 24 | ||||
-rw-r--r-- | net-dns/bind/metadata.xml | 1 |
3 files changed, 6 insertions, 23 deletions
diff --git a/net-dns/bind/Manifest b/net-dns/bind/Manifest index 82b56b2c7e03..6beba8441faa 100644 --- a/net-dns/bind/Manifest +++ b/net-dns/bind/Manifest @@ -10,5 +10,5 @@ AUX named.init-r13 6202 BLAKE2B 1968806c9580517b8443a08b90f7b425913b2dc17d950383 AUX named.service-r1 327 BLAKE2B b0471100b425a1d4db29c1ef577dd6f14b2c3d040fd826bed03105f514bf1ea2c58c19d59557d0eafe27a96588adaf60156f31b6befdd9be96a8ca1fe8613678 SHA512 1d3dbf9d1de0c23c398a523b05c0fb266b6b699e54d232818b28205f697ca227acae9f2778d6f41309b117a6cd78eee170b745594b786b1c1571d5f66d6c3de4 DIST bind-9.16.15.tar.xz 5025688 BLAKE2B 8b0723d46f812793f5a52b1ddacf21fe28e183ef8cd166eadf0af163280021fce7c0a6a560d28dacbc6dd4642e41eb5424b4de2c5ff1049a5cfa5d52e3df5beb SHA512 30dad6e2144b3ac53ef0a2d1ed3c8342120f148fc0eb6409113a6d5ed3444eecb917915fdf39c26fd223396fc1e873410a50da305f0b870864f7fbbdccec8033 DIST dyndns-samples.tbz2 22866 BLAKE2B 409890653c6536cb9c0e3ba809d2bfde0e0ae73a2a101b4f229b46c01568466bc022bbbc37712171adbd08c572733e93630feab95a0fcd1ac50a7d37da1d1108 SHA512 83b0bf99f8e9ff709e8e9336d8c5231b98a4b5f0c60c10792f34931e32cc638d261967dfa5a83151ec3740977d94ddd6e21e9ce91267b3e279b88affdbc18cac -EBUILD bind-9.16.15.ebuild 11302 BLAKE2B 0e5051b0375ac90020db59cb5ddc6449b0dc01dbf89de03cd3efba1d8627176dd2b88453232f861c2782c0e4a592737fae42aa81b723fb61d510e5d1cf93a992 SHA512 73f7e77233891aa02ed56170a6f412b7f97a0d7f1ad974155d2ef4e1e99ba0814563b310c5910cfd889192e34ba4877974bf69f07850963045820fefdc05701b -MISC metadata.xml 1043 BLAKE2B 3bf699db16f6883700e32e5f0debc534fa2d763aca0cf8fe3878dedcbb110410d88c2dbb69b4d4df09df62943416de3aaed7d53a2371d004b8c19a2a5a609bc1 SHA512 137093eabcbda1feb7cdac0cb0b2eeb808a47062b4e8d114874ee4019847ecbf5996c7b19055981a5ebffd099b5a96ce6ada919719017d83f93bc679334845b9 +EBUILD bind-9.16.15.ebuild 10944 BLAKE2B bb8fcb29e3909febd30c7e5a29ec61c597ce3af26ce88cde7e5fa4a3b0aa8c13374fea0c6606c5e52227987138dff9c812dbd3e5a2858981f9b13b39aadfb075 SHA512 44fedc1dc6ac165bc490accdd7e3b81db1a1f9cd7641520846500fdf6eb86d5e9190594790189d1253cc7586b7b0c4284cc8fb00de0f0f06c22937464e6881a3 +MISC metadata.xml 973 BLAKE2B 9e2cd4d34c8cd9f6bc860c667d2440e7916dfa7ca343e578d7c089b3f45db3b1fbdd79d14ccf1af7fc25115316c42304dc635f1aec78d47eee1fec5c1a09aa43 SHA512 87ee75e39604d9839f849763f2b1675e6d13835dc482bcecd729e6c8416ef90d76edd8e5c5ec87b9e4eb0aa416fb7dc74143bc29cbce02ac3a83eaaa5a88f012 diff --git a/net-dns/bind/bind-9.16.15.ebuild b/net-dns/bind/bind-9.16.15.ebuild index 629ba6fe9814..9fab32caeb82 100644 --- a/net-dns/bind/bind-9.16.15.ebuild +++ b/net-dns/bind/bind-9.16.15.ebuild @@ -36,8 +36,7 @@ SLOT="0" KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~mips ppc ppc64 ~s390 sparc x86 ~amd64-linux ~x86-linux" # -berkdb by default re bug 602682 IUSE="-berkdb +caps +dlz dnstap doc dnsrps fixed-rrset geoip geoip2 gssapi -json ldap lmdb mysql odbc postgres python selinux static-libs -urandom xml +zlib" +json ldap lmdb mysql odbc postgres python selinux static-libs xml +zlib" # sdb-ldap - patch broken # no PKCS11 currently as it requires OpenSSL to be patched, also see bug 409687 @@ -281,16 +280,9 @@ python_install() { pkg_postinst() { tmpfiles_process "${FILESDIR}"/named.conf - if [ ! -f '/etc/bind/rndc.key' && ! -f '/etc/bind/rndc.conf' ]; 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 + if [[ ! -f '/etc/bind/rndc.key' && ! -f '/etc/bind/rndc.conf' ]]; then + einfo "Using /dev/urandom for generating rndc.key" + /usr/sbin/rndc-confgen -a chown root:named /etc/bind/rndc.key || die chmod 0640 /etc/bind/rndc.key || die fi @@ -363,14 +355,6 @@ pkg_config() { mknod ${CHROOT}/dev/zero c 1 5 || die chmod 0666 ${CHROOT}/dev/zero || die - if use urandom; then - mknod ${CHROOT}/dev/urandom c 1 9 || die - chmod 0666 ${CHROOT}/dev/urandom || die - else - mknod ${CHROOT}/dev/random c 1 8 || die - chmod 0666 ${CHROOT}/dev/random || die - fi - 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/metadata.xml b/net-dns/bind/metadata.xml index e9cc55bb874b..6bcb4fe262b1 100644 --- a/net-dns/bind/metadata.xml +++ b/net-dns/bind/metadata.xml @@ -18,6 +18,5 @@ <flag name="gssapi">Enable gssapi support</flag> <flag name="json">Enable JSON statistics channel</flag> <flag name="lmdb">Enable LMDB support to store configuration for 'addzone' zones</flag> - <flag name="urandom">Use /dev/urandom instead of /dev/random</flag> </use> </pkgmetadata> |