summaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authorbsiegert <bsiegert@pkgsrc.org>2018-07-15 16:10:32 +0000
committerbsiegert <bsiegert@pkgsrc.org>2018-07-15 16:10:32 +0000
commitd51b1d6046a6e71031195837b31b6494128d4eb7 (patch)
treeca8c74257df4261bf3a6999c28f81386023d7061 /net
parent1cfac4b1b5e66f6cc0428cb726fda495eeb73ebd (diff)
downloadpkgsrc-d51b1d6046a6e71031195837b31b6494128d4eb7.tar.gz
Add a package for dnscrypt-proxy2.
PR pkg/53384 by Nia Alarie. A flexible DNS proxy, with support for modern encrypted DNS protocols such as DNSCrypt v2 and DNS-over-HTTP/2.
Diffstat (limited to 'net')
-rw-r--r--net/Makefile3
-rw-r--r--net/dnscrypt-proxy2/DESCR2
-rw-r--r--net/dnscrypt-proxy2/Makefile24
-rw-r--r--net/dnscrypt-proxy2/PLIST2
-rw-r--r--net/dnscrypt-proxy2/distinfo6
5 files changed, 36 insertions, 1 deletions
diff --git a/net/Makefile b/net/Makefile
index 4ae1d55c8a9..02aa7c5c976 100644
--- a/net/Makefile
+++ b/net/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.1218 2018/07/07 12:37:52 bsiegert Exp $
+# $NetBSD: Makefile,v 1.1219 2018/07/15 16:10:32 bsiegert Exp $
#
COMMENT= Networking tools
@@ -107,6 +107,7 @@ SUBDIR+= djbdns-run
SUBDIR+= dlint
SUBDIR+= dnscap
SUBDIR+= dnscheck
+SUBDIR+= dnscrypt-proxy2
SUBDIR+= dnsdist
SUBDIR+= dnsmasq
SUBDIR+= dnstop
diff --git a/net/dnscrypt-proxy2/DESCR b/net/dnscrypt-proxy2/DESCR
new file mode 100644
index 00000000000..b274c9c29f1
--- /dev/null
+++ b/net/dnscrypt-proxy2/DESCR
@@ -0,0 +1,2 @@
+A flexible DNS proxy, with support for modern encrypted DNS protocols
+such as DNSCrypt v2 and DNS-over-HTTP/2.
diff --git a/net/dnscrypt-proxy2/Makefile b/net/dnscrypt-proxy2/Makefile
new file mode 100644
index 00000000000..bb03ac72063
--- /dev/null
+++ b/net/dnscrypt-proxy2/Makefile
@@ -0,0 +1,24 @@
+# $NetBSD: Makefile,v 1.1 2018/07/15 16:10:32 bsiegert Exp $
+
+PKGNAME= dnscrypt-proxy2-2.0.15
+DISTNAME= dnscrypt-proxy-${PKGVERSION_NOREV}
+CATEGORIES= net security
+MASTER_SITES= ${MASTER_SITE_GITHUB:=jedisct1/}
+GITHUB_PROJECT= dnscrypt-proxy
+GITHUB_TAG= ${PKGVERSION_NOREV}
+
+HOMEPAGE= https://github.com/jedisct1/dnscrypt-proxy
+COMMENT= DNS proxy with support for encrypted protocols
+LICENSE= isc
+
+EXTRACT_USING= bsdtar
+USE_TOOLS+= pax
+
+GO_SRCPATH= github.com/jedisct1/dnscrypt-proxy/
+GO_DIST_BASE= ${DISTNAME}
+
+do-install:
+ ${RUN} cd ${WRKDIR}; [ ! -d bin ] || ${PAX} -rw bin ${DESTDIR}${PREFIX}
+
+.include "../../lang/go/go-package.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/net/dnscrypt-proxy2/PLIST b/net/dnscrypt-proxy2/PLIST
new file mode 100644
index 00000000000..cb53aca8449
--- /dev/null
+++ b/net/dnscrypt-proxy2/PLIST
@@ -0,0 +1,2 @@
+@comment $NetBSD: PLIST,v 1.1 2018/07/15 16:10:32 bsiegert Exp $
+bin/dnscrypt-proxy
diff --git a/net/dnscrypt-proxy2/distinfo b/net/dnscrypt-proxy2/distinfo
new file mode 100644
index 00000000000..e42cb8586b9
--- /dev/null
+++ b/net/dnscrypt-proxy2/distinfo
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2018/07/15 16:10:32 bsiegert Exp $
+
+SHA1 (dnscrypt-proxy-2.0.15.tar.gz) = f348d81d32ebc80638ab494692a6f08e3eabd79f
+RMD160 (dnscrypt-proxy-2.0.15.tar.gz) = c4a1b4babe7cac742c61031dab5c4f13238cf4c5
+SHA512 (dnscrypt-proxy-2.0.15.tar.gz) = 4517ab7b7eb1474f8c9e133a289caf6c02f472b51b910f1fbe1e5ffd6d389943626c8878e68f7f27a47b00301a427dfe9c563bc82b67cafab32f4ab3bc4c84b9
+Size (dnscrypt-proxy-2.0.15.tar.gz) = 2887764 bytes