pkgsrc/net/djbdnscurve6/Makefile
schmonz f8bb27c99e Update to 42a. From the changelog:
- Fixed TLSA RR generation in tinydns-data and changed default for
  selector to SPK hash (=1).
- Fixed typo in script add-tlsa.
2022-04-25 15:09:48 +00:00

49 lines
1.5 KiB
Makefile

# $NetBSD: Makefile,v 1.22 2022/04/25 15:09:48 schmonz Exp $
DISTNAME= djbdnscurve6-42a
CATEGORIES= net
MASTER_SITES= https://www.fehcom.de/ipnet/djbdnscurve6/
EXTRACT_SUFX= .tgz
MAINTAINER= schmonz@NetBSD.org
HOMEPAGE= https://www.fehcom.de/ipnet/djbdnscurve6.html
COMMENT= Fork of djbdns with IPv6 and DNSCurve support
LICENSE= public-domain
CONFLICTS+= djbdns-[0-9]*
WRKSRC= ${WRKDIR}/net/${PKGBASE}/${DISTNAME}
DJB_SLASHPACKAGE= yes
DJB_CONFIG_DIR= ${WRKSRC}
SUBST_CLASSES+= etc
SUBST_STAGE.etc= do-configure
SUBST_FILES.etc= src/dns_rcrw.c man/qualification.5
SUBST_SED.etc= -e 's|/etc/dnsrewrite|${PKG_SYSCONFBASE}/dnsrewrite|g'
SUBST_MESSAGE.etc= Fixing prefix.
SUBST_CLASSES+= sysconfdir
SUBST_STAGE.sysconfdir= do-configure
SUBST_FILES.sysconfdir= src/dnscache-conf.c
SUBST_VARS.sysconfdir= PKG_SYSCONFDIR
SUBST_MESSAGE.sysconfdir= Fixing sysconfdir.
EGDIR= ${PREFIX}/share/examples/${PKGBASE}
CONF_FILES+= ${EGDIR}/dnsroots.global ${PKG_SYSCONFDIR}/dnsroots.global
BUILD_DEFS+= PKG_SYSCONFBASE
INSTALLATION_DIRS= ${PKGMANDIR}/man1 ${PKGMANDIR}/man5 ${PKGMANDIR}/man8 \
share/examples/${PKGBASE}
do-install:
cd ${WRKSRC}/compile && ./install && ./instcheck
cd ${WRKSRC}/man; for i in 1 5 8; do \
for j in *.$$i; do ${INSTALL_MAN} $$j \
${DESTDIR}${PREFIX}/${PKGMANDIR}/man$$i; done \
done
.include "../../net/fehqlibs/buildlink3.mk"
.include "../../security/libsodium/buildlink3.mk"
.include "../../mk/djbware.mk"
.include "../../mk/bsd.pkg.mk"