qLinux
… a distribution study
<< Prev Libuv-1.43.0
Next >> Cmake-3.23.0
Reference: BIND Utilities-9.18.0. Sometimes it is useful to have tools for name resolution handy. Here we install the tools  dig 
and  host 
only. Download: bind-9.18.0.tar.xz. Fix the build system:
patch -Np1 -i bind-9.18.0-bld-20220322.patch
Apply a patch to fix configure to find the openssl headers:
patch -Np1 -i
Apply a patch to fix the sources
patch -Np1 -i bind-9.18.0-src-20220322.patch
Configure the package:
CFLAGS="-I/libs/inc" LDFLAGS="-L/libs/lib" \ ./configure --prefix=/misc \ --disable-doh \ --disable-linux-caps \ --with-openssl=/libs \ --includedir=/misc/inc --enable-static --bindir=sbin
CFLAGS=“-I/libs/inc” LDFLAGS=“-L/libs/lib”
    These flags are still required to find the headers and library files of openssl during the compile phase.
–disable-doh
    Disable DNS over HTTPS, requires nghttp2.
–disable-linux-caps
    Disable Linux capabilities which are maybe not available yet nor needed right now.
Install the desired programs
cp -v bin/dig/dig bin/dig/host /misc/bin/ cp -v doc/man/dig.1 doc/man/host.1 /misc/man/man1/ cp -v lib/*/.libs/lib*.so /misc/lib
<< Prev Libuv-1.43.0
Next >> Cmake-3.23.0