Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 504074

Summary: net-dns/dnscrypt-proxy - a DNS resolver/forwarder that encrypts and authenticates requests using the DNSCrypt protocol
Product: Gentoo Linux Reporter: Dirk Best <mail>
Component: New packagesAssignee: Wang Jiajun <Amesists>
Status: RESOLVED FIXED    
Severity: enhancement CC: mail, proxy-maint
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: All   
URL: http://dnscrypt.org/
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: dnscrypt-proxy-1.4.2.ebuild
dnscrypt-proxy.confd
dnscrypt-proxy.initd
dnscrypt-proxy.service

Description Dirk Best 2014-03-10 13:26:16 UTC
http://dnscrypt.org/

dnscrypt-proxy provides local service which can be used directly as your local resolver or as a DNS forwarder, encrypting and authenticating requests using the DNSCrypt protocol and passing them to an upstream server.

Funtoo and gentoo-zh have an ebuild:

http://gpo.zugaina.org/net-dns/dnscrypt-proxy
Comment 1 Wang Jiajun 2014-12-21 16:09:41 UTC
Created attachment 392170 [details]
dnscrypt-proxy-1.4.2.ebuild
Comment 2 Wang Jiajun 2014-12-21 16:11:43 UTC
Created attachment 392172 [details]
dnscrypt-proxy.confd
Comment 3 Wang Jiajun 2014-12-21 16:12:01 UTC
Created attachment 392174 [details]
dnscrypt-proxy.initd
Comment 4 Wang Jiajun 2014-12-21 16:12:25 UTC
Comment on attachment 392172 [details]
dnscrypt-proxy.confd

>DNSCRYPT_LOCALIP=127.0.0.1
>DNSCRYPT_LOCALPORT=53
>DNSCRYPT_USER=dnscrypt
>DNSCRYPT_PROVIDER_NAME=2.dnscrypt-cert.opendns.com
>DNSCRYPT_PROVIDER_KEY=B735:1140:206F:225D:3E2B:D822:D7FD:691E:A1C3:3CC8:D666:8D0C:BE04:BFAB:CA43:FB79
>DNSCRYPT_RESOLVERIP=208.67.220.220
>DNSCRYPT_RESOLVERPORT=443
Comment 5 Wang Jiajun 2014-12-21 16:12:47 UTC
Created attachment 392176 [details]
dnscrypt-proxy.service
Comment 6 Wang Jiajun 2014-12-21 16:25:43 UTC
I'd like to proxy maintain this package through dlan. I have uploaded the necessary files (Manifest not included).

The problem is that the program is configured through a conf file to pass multiple arguments which is against the guidelines[1][2]. By the way, upstream also provide a socket file. Since I do not use systemd currently, I cannot test it. Could the systemd team help me out?

[1] http://wiki.gentoo.org/wiki/Project:Systemd/Ebuild_policy#Unit_file_guidelines
[2] http://wiki.gentoo.org/wiki/Project:Systemd/conf.d_files#All_variables_are_exported
Comment 7 Yixun Lan archtester gentoo-dev 2014-12-22 14:31:34 UTC
+*dnscrypt-proxy-1.4.2 (22 Dec 2014)
+
+  22 Dec 2014; Yixun Lan <dlan@gentoo.org> +dnscrypt-proxy-1.4.2.ebuild,
+  +files/dnscrypt-proxy.confd, +files/dnscrypt-proxy.initd,
+  +files/dnscrypt-proxy.service, +metadata.xml:
+  initial version contributed by Jiajun Wang, bug 504074

for the systemd improvement, please open another bug, thanks