|
|
| |
LICENSE="as-is" | LICENSE="as-is" |
SLOT="0" | SLOT="0" |
KEYWORDS="~alpha ~amd64 ~hppa ~ppc ~ppc64 ~sparc ~x86" |
KEYWORDS="~alpha ~amd64 ~hppa ~ppc ~ppc64 ~sparc x86" |
IUSE="ssl ipv6 doc dlz postgres berkdb mysql odbc ldap selinux idn threads resolvconf" |
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 ) | mysql? ( >=virtual/mysql-4.0 ) |
odbc? ( >=dev-db/unixODBC-2.2.6 ) | odbc? ( >=dev-db/unixODBC-2.2.6 ) |
ldap? ( net-nds/openldap ) | ldap? ( net-nds/openldap ) |
|
|
"${i}" | "${i}" |
done | 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 | # should be installed by bind-tools |
sed -e "s:nsupdate ::g" -i ${S}/bin/Makefile.in | sed -e "s:nsupdate ::g" -i ${S}/bin/Makefile.in |
|
|
use ssl && myconf="${myconf} --with-openssl" | use ssl && myconf="${myconf} --with-openssl" |
use idn && myconf="${myconf} --with-idn" | 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 && { | use dlz && { |
myconf="${myconf} --with-dlz-filesystem --with-dlz-stub" | myconf="${myconf} --with-dlz-filesystem --with-dlz-stub" |
use postgres && myconf="${myconf} --with-dlz-postgres" | use postgres && myconf="${myconf} --with-dlz-postgres" |