add pkg_config for djbdns
This commit is contained in:
parent
cdb5813930
commit
ed63d55df6
1 changed files with 14 additions and 3 deletions
|
@ -32,8 +32,19 @@ DEFAULT_SRC_PREPARE_PATCHES+=(
|
||||||
)
|
)
|
||||||
|
|
||||||
pkg_config() {
|
pkg_config() {
|
||||||
if [ -z "${DNSCACHE_DIR}" -o -z "${DNSCACHE_IP}" ] ; then
|
if [ -z "${DNSCACHE_DIR}" ] ; then
|
||||||
:
|
einfo "Set DNSCACHE_DIR to a non-existing directory to setup dnscache."
|
||||||
# eerror "First setup
|
else
|
||||||
|
einfo "Setting up dnscache in ${DNSCACHE_DIR}"
|
||||||
|
/usr/bin/dnscache-conf dnscache dnslog "${DNSCACHE_DIR}"
|
||||||
|
eend $?
|
||||||
|
fi
|
||||||
|
|
||||||
|
if [ -z "${TINYDNS_DIR}" ] ; then
|
||||||
|
einfo "Set TINYDNS_DIR to a non-existing directory to setup tinydns."
|
||||||
|
else
|
||||||
|
einfo "Setting up tinydns in ${TINYDNS_DIR}"
|
||||||
|
/usr/bin/tinydns-conf tinydns dnslog "${TINYDNS_DIR}"
|
||||||
|
eend $?
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue