openbsd-ports/net/dnscrypt-proxy/Makefile
sthen d00e751efc import ports/net/dnscrypt-proxy, from Frank Denis with small tweaks
by me, ok jasper@

DNSCrypt-proxy provides local service which can be used directly
as your local resolver or as a DNS forwarder, encrypting requests
using the DNSCrypt protocol and passing them to an upstream server,
by default OpenDNS who run this on their resolvers.

The DNSCrypt protocol is very similar to DNSCurve, but focuses on
securing communications between a client and its first-level resolver.
While not providing end-to-end security, it protects the local
network, which is often the weakest point of the chain, against
man-in-the-middle attacks. It also provides some confidentiality to
DNS queries.
2012-10-12 15:20:00 +00:00

52 lines
1.2 KiB
Makefile

# $OpenBSD: Makefile,v 1.1.1.1 2012/10/12 15:20:00 sthen Exp $
COMMENT-main= secure communications between a DNS client and resolver
COMMENT-plugins= example plugins for dnscrypt-proxy
V= 1.2.0
DISTNAME= dnscrypt-proxy-${V}
CATEGORIES= net
MASTER_SITES= https://github.com/downloads/opendns/dnscrypt-proxy/
HOMEPAGE= http://dnscrypt.org
MAINTAINER= Frank Denis <dnscrypt@pureftpd.org>
# BSD
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
MULTI_PACKAGES= -main -plugins
PKGNAME-main= dnscrypt-proxy-${V}
PKGNAME-plugins= dnscrypt-proxy-plugins-${V}
commonWANTLIB= c execinfo kvm m
WANTLIB-main= ${commonWANTLIB} ltdl
WANTLIB-plugins= ${commonWANTLIB} crypto ldns
commonLIB_DEPENDS= devel/libexecinfo
LIB_DEPENDS-main= ${commonLIB_DEPENDS} devel/libtool,-ltdl
LIB_DEPENDS-plugins= ${commonLIB_DEPENDS} net/ldns/libldns
BUILD_DEPENDS-plugins= devel/libtool
CONFIGURE_STYLE= gnu
CONFIGURE_ARGS+= --enable-plugins --enable-plugins-root
DOCS= README-PLUGINS.markdown \
README.markdown \
TECHNOTES
post-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/dnscrypt-proxy
cd ${WRKSRC}; ${INSTALL_DATA} ${DOCS} ${PREFIX}/share/doc/dnscrypt-proxy
.include <bsd.port.mk>