PATCH_LIST= FILE_LIST= SRC_FETCH_METHOD=ftp SRC_FETCH_PATH=ftp://ftp.isc.org/isc/bind9/$PKGVER/bind-$PKGVER.tar.gz MAKEDEPENDS=("openssl-*:::*.so *.so.* *.h") function do_config { BUILD_CC="$HOSTCC" \ CC="$CC" CXX="$CXX" LD="$LD" \ RANLIB="$RANLIB" AR="$AR" AS="$AS" NM="$NM" OBJDUMP="$OBJDUMP" \ CFLAGS="$GCC_ARCH_SMALL $GCC_CPU_SMALL $GCC_OPT_SMALL" \ ./configure \ --host="$FLXTARG" --build="$FLXHOST" \ --prefix=/usr --sysconfdir=/etc/bind --localstatedir=/var \ --enable-symtable=none --disable-backtrace \ --disable-epoll --disable-tcp-fastopen \ --disable-rpz-nsip --disable-rpz-nsdname --disable-dnstap \ --with-openssl --without-ecdsa --without-gost --without-gssapi \ --with-randomdev=/dev/urandom \ --without-libxml2 --without-dlopen \ --without-python --without-eddsa --without-lmdb \ --without-libjson --without-zlib \ --disable-threads --enable-ipv6 \ --with-libtool --enable-shared=yes --disable-static } function do_compile_only { # parallel make $FLXPMAKE } # WARNING !!! prepack should only be run once, otherwise it will destroy # every shared library and will not rebuild them !!! function do_prepack { $FLXMAKE install DESTDIR=$ROOTDIR mkdir -p $ROOTDIR/sbin/init.d cp $PKGDIR/add-ons/init.d-bind $ROOTDIR/sbin/init.d/named set_default_perm $ROOTDIR }