1acc115d14
* Released: 1st of October 2020 * Improvements: - Add the "clearConsoleHistory" command * Bug Fixes: - Stop the related responder thread when a backend is removed - Fix getEDNSOptions() for {AN,NS}COUNT != 0 and ARCOUNT = 0 - Fix building with LLVM11 (@RvdE) - Only add EDNS on negative answers if the query had EDNS
57 lines
1.8 KiB
Makefile
57 lines
1.8 KiB
Makefile
# $NetBSD: Makefile,v 1.13 2020/10/01 10:27:58 otis Exp $
|
|
|
|
DISTNAME= dnsdist-1.5.1
|
|
CATEGORIES= net
|
|
MASTER_SITES= https://downloads.powerdns.com/releases/
|
|
EXTRACT_SUFX= .tar.bz2
|
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
|
HOMEPAGE= https://dnsdist.org/
|
|
COMMENT= Highly DNS-, DoS- and abuse-aware loadbalancer
|
|
LICENSE= gnu-gpl-v2
|
|
|
|
GNU_CONFIGURE= yes
|
|
USE_LANGUAGES= c c++11
|
|
USE_TOOLS+= gmake pkg-config
|
|
|
|
.include "../../mk/bsd.prefs.mk"
|
|
|
|
BUILD_DEFS+= DNSDIST_USER DNSDIST_GROUP
|
|
DNSDIST_USER?= dnsdist
|
|
DNSDIST_GROUP?= dnsdist
|
|
PKG_GROUPS+= ${DNSDIST_GROUP}
|
|
PKG_USERS+= ${DNSDIST_USER}:${DNSDIST_GROUP}
|
|
PKG_GECOS.${DNSDIST_USER}= dnsdist daemon user
|
|
|
|
FILES_SUBST+= DNSDIST_USER=${DNSDIST_USER}
|
|
FILES_SUBST+= DNSDIST_GROUP=${DNSDIST_GROUP}
|
|
CONF_FILES+= share/examples/dnsdist/dnsdist.conf \
|
|
${PKG_SYSCONFDIR}/dnsdist.conf
|
|
|
|
CONFIGURE_ARGS+= --enable-dns-over-tls
|
|
CONFIGURE_ARGS+= --enable-dnscrypt
|
|
CONFIGURE_ARGS+= --enable-fstrm
|
|
CONFIGURE_ARGS+= --with-libsodium
|
|
CONFIGURE_ARGS+= --with-libssl
|
|
CONFIGURE_ARGS+= --with-protobuf
|
|
CONFIGURE_ARGS+= --with-re2
|
|
CONFIGURE_ARGS+= --without-net-snmp
|
|
CONFIGURE_ENV+= LIBEDIT_CFLAGS="-I${BUILDLINK_PREFIX.libedit}/include"
|
|
CONFIGURE_ENV+= LIBEDIT_LIBS="-L${BUILDLINK_PREFIX.libedit}/lib -ledit"
|
|
|
|
INSTALLATION_DIRS+= share/examples/dnsdist
|
|
RCD_SCRIPTS+= dnsdist
|
|
|
|
post-install:
|
|
${INSTALL_DATA} ${.CURDIR}/files/dnsdist.conf \
|
|
${DESTDIR}${PREFIX}/share/examples/dnsdist
|
|
|
|
.include "../../devel/boost-headers/buildlink3.mk"
|
|
.include "../../devel/editline/buildlink3.mk"
|
|
.include "../../devel/protobuf/buildlink3.mk"
|
|
.include "../../devel/re2/buildlink3.mk"
|
|
.include "../../lang/lua/buildlink3.mk"
|
|
.include "../../net/fstrm/buildlink3.mk"
|
|
.include "../../security/libsodium/buildlink3.mk"
|
|
.include "../../security/openssl/buildlink3.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|