NetBSD Problem Report #53384

From www@NetBSD.org  Tue Jun 19 15:03:31 2018
Return-Path: <www@NetBSD.org>
Received: from mail.netbsd.org (mail.netbsd.org [199.233.217.200])
	(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
	(Client CN "mail.NetBSD.org", Issuer "mail.NetBSD.org CA" (not verified))
	by mollari.NetBSD.org (Postfix) with ESMTPS id B222C7A150
	for <gnats-bugs@gnats.NetBSD.org>; Tue, 19 Jun 2018 15:03:31 +0000 (UTC)
Message-Id: <20180619150330.564977A270@mollari.NetBSD.org>
Date: Tue, 19 Jun 2018 15:03:30 +0000 (UTC)
From: nia.alarie@gmail.com
Reply-To: nia.alarie@gmail.com
To: gnats-bugs@NetBSD.org
Subject: import dnscrypt-proxy2 from pkgsrc-wip as security/dnscrypt-proxy
X-Send-Pr-Version: www-1.0

>Number:         53384
>Category:       pkg
>Synopsis:       import dnscrypt-proxy2 from pkgsrc-wip as security/dnscrypt-proxy
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    bsiegert
>State:          closed
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Tue Jun 19 15:05:00 +0000 2018
>Closed-Date:    Sun Jul 15 16:14:42 +0000 2018
>Last-Modified:  Sun Jul 15 16:15:00 +0000 2018
>Originator:     nia
>Release:        current
>Organization:
>Environment:
>Description:
dnscrypt-proxy is a flexible DNS proxy and cache, with support for modern                                                                                                                                          
encrypted DNS protocols such as DNSCrypt v2 and DNS-over-HTTP/2.
>How-To-Repeat:
Attempt to use DNSCrypt on NetBSD. Aaa, there's no package!
>Fix:
Index: security/Makefile
===================================================================
RCS file: /cvsroot/pkgsrc/security/Makefile,v
retrieving revision 1.681
diff -u -r1.681 Makefile
--- security/Makefile	3 May 2018 22:13:49 -0000	1.681
+++ security/Makefile	19 Jun 2018 15:00:54 -0000
@@ -66,6 +66,7 @@
 SUBDIR+=	destroy
 SUBDIR+=	dhbitty
 SUBDIR+=	dirb
+SUBDIR+=	dnscrypt-proxy
 SUBDIR+=	dnssec-tools
 SUBDIR+=	dropbear
 SUBDIR+=	dsniff
Index: security/dnscrypt-proxy/DESCR
===================================================================
RCS file: security/dnscrypt-proxy/DESCR
diff -N security/dnscrypt-proxy/DESCR
--- /dev/null	1 Jan 1970 00:00:00 -0000
+++ security/dnscrypt-proxy/DESCR	19 Jun 2018 15:00:54 -0000
@@ -0,0 +1,2 @@
+dnscrypt-proxy is a flexible DNS proxy and cache, with support for modern
+encrypted DNS protocols such as DNSCrypt v2 and DNS-over-HTTP/2.
Index: security/dnscrypt-proxy/Makefile
===================================================================
RCS file: security/dnscrypt-proxy/Makefile
diff -N security/dnscrypt-proxy/Makefile
--- /dev/null	1 Jan 1970 00:00:00 -0000
+++ security/dnscrypt-proxy/Makefile	19 Jun 2018 15:00:54 -0000
@@ -0,0 +1,22 @@
+# $NetBSD$
+
+DISTNAME=	dnscrypt-proxy-2.0.15
+CATEGORIES=	security net
+MASTER_SITES=	${MASTER_SITE_GITHUB:=jedisct1/}
+
+MAINTAINER=	nia.alarie@gmail.com
+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"
Index: security/dnscrypt-proxy/PLIST
===================================================================
RCS file: security/dnscrypt-proxy/PLIST
diff -N security/dnscrypt-proxy/PLIST
--- /dev/null	1 Jan 1970 00:00:00 -0000
+++ security/dnscrypt-proxy/PLIST	19 Jun 2018 15:00:54 -0000
@@ -0,0 +1,2 @@
+@comment $NetBSD$
+bin/dnscrypt-proxy
Index: security/dnscrypt-proxy/distinfo
===================================================================
RCS file: security/dnscrypt-proxy/distinfo
diff -N security/dnscrypt-proxy/distinfo
--- /dev/null	1 Jan 1970 00:00:00 -0000
+++ security/dnscrypt-proxy/distinfo	19 Jun 2018 15:00:54 -0000
@@ -0,0 +1,6 @@
+$NetBSD$
+
+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

>Release-Note:

>Audit-Trail:

Responsible-Changed-From-To: pkg-manager->bsiegert
Responsible-Changed-By: bsiegert@NetBSD.org
Responsible-Changed-When: Sun, 15 Jul 2018 16:04:41 +0000
Responsible-Changed-Why:
take


State-Changed-From-To: open->closed
State-Changed-By: bsiegert@NetBSD.org
State-Changed-When: Sun, 15 Jul 2018 16:14:42 +0000
State-Changed-Why:
Imported and removed from pkgsrc-wip.
Thanks!


From: "Benny Siegert" <bsiegert@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc: 
Subject: PR/53384 CVS commit: pkgsrc/net
Date: Sun, 15 Jul 2018 16:10:32 +0000

 Module Name:	pkgsrc
 Committed By:	bsiegert
 Date:		Sun Jul 15 16:10:32 UTC 2018

 Modified Files:
 	pkgsrc/net: Makefile
 Added Files:
 	pkgsrc/net/dnscrypt-proxy2: DESCR Makefile PLIST distinfo

 Log Message:
 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.


 To generate a diff of this commit:
 cvs rdiff -u -r1.1218 -r1.1219 pkgsrc/net/Makefile
 cvs rdiff -u -r0 -r1.1 pkgsrc/net/dnscrypt-proxy2/DESCR \
     pkgsrc/net/dnscrypt-proxy2/Makefile pkgsrc/net/dnscrypt-proxy2/PLIST \
     pkgsrc/net/dnscrypt-proxy2/distinfo

 Please note that diffs are not public domain; they are subject to the
 copyright notices on the relevant files.

>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.43 2018/01/16 07:36:43 maya Exp $
$NetBSD: gnats_config.sh,v 1.9 2014/08/02 14:16:04 spz Exp $
Copyright © 1994-2017 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.