an issue with DNS retries in 2.83/2.84, and a fix to not use a static source port when dnsmasq is configured to bind to a source address or interface (affected config of these forms: server=8.8.8.8@1.2.3.4, server=8.8.8.8@1.2.3.4#66, server=8.8.8.8@eth0)
34 lines
782 B
Makefile
34 lines
782 B
Makefile
# $OpenBSD: Makefile,v 1.58 2021/04/08 08:52:07 sthen Exp $
|
|
|
|
COMMENT= lightweight caching DNS forwarder, DHCP and TFTP server
|
|
|
|
DISTNAME= dnsmasq-2.85
|
|
CATEGORIES= net
|
|
MASTER_SITES= https://www.thekelleys.org.uk/dnsmasq/
|
|
EXTRACT_SUFX= .tar.xz
|
|
|
|
HOMEPAGE= https://www.thekelleys.org.uk/dnsmasq/doc.html
|
|
|
|
MAINTAINER= Brad Smith <brad@comstyle.com>
|
|
|
|
# GPLv2+
|
|
PERMIT_PACKAGE= Yes
|
|
|
|
WANTLIB= c
|
|
|
|
MAKE_ENV= CC="${CC}"
|
|
MAKE_FLAGS= CFLAGS="${CFLAGS} -Wall -W"
|
|
FAKE_FLAGS= MANDIR="${PREFIX}/man"
|
|
|
|
NO_TEST= Yes
|
|
|
|
pre-build:
|
|
@${SUBST_CMD} ${WRKSRC}/man/dnsmasq.8 ${WRKSRC}/src/config.h \
|
|
${WRKSRC}/dnsmasq.conf.example
|
|
|
|
post-install:
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/dnsmasq
|
|
${INSTALL_DATA} ${WRKSRC}/dnsmasq.conf.example ${PREFIX}/share/examples/dnsmasq
|
|
|
|
.include <bsd.port.mk>
|