mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-01 05:45:45 +00:00
89b79e70ec
- Bump revision for dependent ports PR: 200548 [1] Submitted by: rsimmons0 at gmail.com [1]
43 lines
1.2 KiB
Makefile
43 lines
1.2 KiB
Makefile
# Created by: Leo Vandewoestijne <freebsd@dns-lab.com>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= curvedns
|
|
PORTVERSION= 0.88.b
|
|
PORTREVISION= 10
|
|
CATEGORIES= dns
|
|
|
|
MAINTAINER= vsevolod@FreeBSD.org
|
|
COMMENT= Forwarder adding DNSCurve to an authoritative nameserver
|
|
|
|
LIB_DEPENDS= libev.so:${PORTSDIR}/devel/libev \
|
|
libsodium.so:${PORTSDIR}/security/libsodium
|
|
RUN_DEPENDS= setuidgid:${PORTSDIR}/sysutils/daemontools
|
|
BUILD_DEPENDS= bash:${PORTSDIR}/shells/bash
|
|
|
|
USE_GITHUB= yes
|
|
GH_ACCOUNT= vstakhov
|
|
GH_TAGNAME= 0.87
|
|
|
|
ALL_TARGET= targets
|
|
|
|
CFLAGS+= -I${LOCALBASE}/include
|
|
LDFLAGS+= -L${LOCALBASE}/lib
|
|
|
|
USERS= bind
|
|
GROUPS= bind
|
|
CURVE_UID= 53
|
|
CURVE_GID= 53
|
|
|
|
PLIST_SUB= CURVE_UID="${USERS}" CURVE_GID="${GROUPS}"
|
|
SUB_FILES= pkg-message
|
|
|
|
do-install:
|
|
${INSTALL_PROGRAM} ${WRKSRC}/curvedns ${WRKSRC}/curvedns-keygen ${STAGEDIR}${PREFIX}/bin/
|
|
${MKDIR} ${STAGEDIR}${PREFIX}/etc/curvedns/log ${STAGEDIR}${PREFIX}/etc/curvedns/env
|
|
${INSTALL_SCRIPT} ${WRKSRC}/contrib/curvedns-run ${STAGEDIR}${PREFIX}/etc/curvedns/run.sample
|
|
${INSTALL_SCRIPT} ${WRKSRC}/contrib/curvedns-log-run ${STAGEDIR}${PREFIX}/etc/curvedns/log/run.sample
|
|
${ECHO_CMD} ${CURVE_UID} > ${STAGEDIR}${PREFIX}/etc/curvedns/env/UID
|
|
${ECHO_CMD} ${CURVE_GID} > ${STAGEDIR}${PREFIX}/etc/curvedns/env/GID
|
|
|
|
.include <bsd.port.mk>
|