--- /usr/portage/net-dns/bind/bind-9.4.0.ebuild 2007-02-28 16:02:18.000000000 +0100 +++ /usr/local/portage/net-dns/bind/bind-9.4.0.ebuild 2007-02-28 20:46:24.000000000 +0100 @@ -13,10 +13,10 @@ LICENSE="as-is" SLOT="0" -KEYWORDS="~alpha ~amd64 ~hppa ~ppc ~ppc64 ~sparc ~x86" -IUSE="ssl ipv6 doc dlz postgres berkdb mysql odbc ldap selinux idn threads resolvconf" +KEYWORDS="~alpha ~amd64 ~hppa ~ppc ~ppc64 ~sparc x86" +IUSE="ssl ipv6 doc dlz postgres berkdb mysql odbc ldap selinux idn threads resolvconf urandom" -DEPEND="ssl? ( >=dev-libs/openssl-0.9.6g ) +DEPEND="ssl? ( >=dev-libs/openssl-0.9.7l ) mysql? ( >=virtual/mysql-4.0 ) odbc? ( >=dev-db/unixODBC-2.2.6 ) ldap? ( net-nds/openldap ) @@ -55,7 +55,7 @@ "${i}" done - use dlz && epatch ${FILESDIR}/${P}-dlzbdb-close_cursor.patch + # use dlz && epatch ${FILESDIR}/${P}-dlzbdb-close_cursor.patch # should be installed by bind-tools sed -e "s:nsupdate ::g" -i ${S}/bin/Makefile.in @@ -74,6 +74,12 @@ use ssl && myconf="${myconf} --with-openssl" use idn && myconf="${myconf} --with-idn" + if use urandom; then + myconf="${myconf} --with-randomdev=/dev/urandom" + else + myconf="${myconf} --with-randomdev=/dev/random" + fi + use dlz && { myconf="${myconf} --with-dlz-filesystem --with-dlz-stub" use postgres && myconf="${myconf} --with-dlz-postgres"