40 lines
965 B
Bash
40 lines
965 B
Bash
# Copyright 2008 Daniel Mierswa <impulze@impulze.org>
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
require djb
|
|
|
|
SUMMARY="Collection of DNS tools."
|
|
DESCRIPTION="
|
|
A DNS cache, a DNS server and some DNS client utilities.
|
|
"
|
|
|
|
SLOT="0"
|
|
PLATFORMS="~amd64"
|
|
MYOPTIONS=""
|
|
|
|
DEPENDENCIES="
|
|
run:
|
|
sys-apps/daemontools
|
|
sys-apps/ucspi-tcp
|
|
user/dnscache
|
|
user/dnslog
|
|
"
|
|
|
|
DEFAULT_SRC_PREPARE_PATCHES+=(
|
|
"${FILES}/${PNV}-Makefile.patch"
|
|
"${FILES}/${PNV}-prot.patch"
|
|
"${FILES}/${PNV}-utime.patch"
|
|
# hier.c fixups?
|
|
"${FILES}/${PNV}-seek_set.patch"
|
|
"${FILES}/${PNV}-dnsq.patch"
|
|
"${FILES}/${PNV}-dnsqr.patch"
|
|
"${FILES}/${PNV}-error.patch"
|
|
)
|
|
|
|
pkg_postinst() {
|
|
elog "To setup dnscache in an empty directory use:"
|
|
elog "/usr/sbin/dnscache-conf dnscache dnslog <directory>"
|
|
elog "Likewise if you want to setup tinydns:"
|
|
elog "/usr/sbin/tinydns-conf tinydns dnslog <directory>"
|
|
}
|
|
|