openbsd-ports/net/djbdns/Makefile
camield 5e2f973f60 - spin manpages off into a flavor
- update to 1.03

Major changes:

* dnscache drops old UDP queries in favor of new ones, and drops old
  TCP connections in favor of new ones.

* dnscache supports $FORWARDONLY to forward queries to another cache.
  The other cache is listed in root/servers/@.

* dnscache returns TTLs by default, so it can be used as the target
  of forwarding.

* dnstrace | dnstracesort produces output that's very easy to scan.
  Try dnstrace a www.netscape.com 198.41.0.4 | dnstracesort | less.
2001-01-09 15:25:25 +00:00

62 lines
1.4 KiB
Makefile

# $OpenBSD: Makefile,v 1.7 2001/01/09 15:25:25 camield Exp $
DISTNAME= djbdns-1.03
HOMEPAGE= http://cr.yp.to/djbdns.html
CATEGORIES= net
MAINTAINER= Camiel Dobbelaar <cd@sentia.nl>
MASTER_SITES= http://cr.yp.to/djbdns/ \
ftp://ftp.id.wustl.edu/pub/qmail/
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
ALL_TARGET= default
INSTALL_TARGET= setup check
RUN_DEPENDS= supervise::sysutils/daemontools \
tcpclient::net/ucspi-tcp
FLAVORS= man
FLAVOR?=
pre-build:
@echo ${CC} ${CFLAGS} > ${WRKSRC}/conf-cc
@echo ${PREFIX} > ${WRKSRC}/conf-home
pre-install:
@echo ${PREFIX} > ${WRKSRC}/conf-home
# Start of -man specific overrides
.if ${FLAVOR:L:Mman}
MASTER_SITES0= ftp://ftp.innominate.org/gpa/djb/
DISTFILES= ${DISTNAME}${EXTRACT_SUFX} ${DISTNAME}-man${EXTRACT_SUFX}:0
PERMIT_PACKAGE_CDROM= No
PERMIT_PACKAGE_FTP= No
MAN5LIST= qualification
MAN1LIST= dnsfilter dnsipq dnsname dnsqr dnstxt dnsip \
dnsmx dnsq dnstrace dnstracesort
MAN8LIST= axfr-get dnscache pickdns rbldns tinydns axfrdns \
pickdns-conf rbldns-conf tinydns-conf walldns-conf \
dnscache-conf pickdns-data rbldns-data tinydns-data \
walldns
post-install:
.for mtype in 1 5 8
. for file in ${MAN${mtype}LIST}
${INSTALL_MAN} ${WRKDIR}/${DISTNAME}-man/${file}.${mtype} \
${PREFIX}/man/man${mtype}
. endfor
.endfor
.endif
# End of -man specific overrides
.include <bsd.port.mk>