f0281d745d
Changes from dnsmasq-2.51 include * More conservative in detecing "A for A" queries * Increased default number of leases to 1000 * Added support for RFC3925 "Vendor-Identifying Vendor Options" * Default DNS packet size now 4096 as recommended by RFC5625
36 lines
1.1 KiB
Makefile
36 lines
1.1 KiB
Makefile
# $NetBSD: Makefile,v 1.14 2010/01/29 12:33:06 roy Exp $
|
|
#
|
|
|
|
DISTNAME= dnsmasq-2.52
|
|
CATEGORIES= net
|
|
MASTER_SITES= http://www.thekelleys.org.uk/dnsmasq/
|
|
|
|
MAINTAINER= roy@NetBSD.org
|
|
HOMEPAGE= http://www.thekelleys.org.uk/dnsmasq/doc.html
|
|
COMMENT= Lightweight, easy to configure DNS forwarder
|
|
|
|
RCD_SCRIPTS= dnsmasq
|
|
CONF_FILES= ${PREFIX}/share/examples/dnsmasq/dnsmasq.conf.example \
|
|
${PKG_SYSCONFDIR}/dnsmasq.conf
|
|
|
|
PKG_DESTDIR_SUPPORT= user-destdir
|
|
|
|
.include "options.mk"
|
|
|
|
# Override the defaults
|
|
CFLAGS+= -DCONFFILE=\\\"${PKG_SYSCONFDIR}/dnsmasq.conf\\\"
|
|
BUILD_MAKE_FLAGS+= COPTS="${CFLAGS}"
|
|
INSTALL_MAKE_FLAGS+= PREFIX="${PREFIX}"
|
|
INSTALL_MAKE_FLAGS+= MANDIR="${PREFIX}/${PKGMANDIR}"
|
|
INSTALL_MAKE_FLAGS+= LOCALEDIR="${PREFIX}/${PKGLOCALEDIR}"
|
|
|
|
# Upstream wants to use nawk, but awk should work just fine here.
|
|
BUILD_MAKE_FLAGS+= AWK="${AWK}"
|
|
INSTALL_MAKE_FLAGS+= AWK="${AWK}"
|
|
|
|
post-install:
|
|
${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/examples/dnsmasq
|
|
${INSTALL_DATA} ${WRKSRC}/dnsmasq.conf.example \
|
|
${DESTDIR}${PREFIX}/share/examples/dnsmasq/
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|