FreeBSD Bugzilla – Attachment 143412 Details for
Bug 190406
[MAINTAINER-UPDATE] dns/dnscrypt-proxy update to 1.4.0
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Set a default for -R to avoid dnscrypt not working
ports.dnscrypt-proxy.1.4.0_1.diff (text/plain), 2.16 KB, created by
Allan Jude
on 2014-06-05 18:44:37 UTC
(
hide
)
Description:
Set a default for -R to avoid dnscrypt not working
Filename:
MIME Type:
Creator:
Allan Jude
Created:
2014-06-05 18:44:37 UTC
Size:
2.16 KB
patch
obsolete
>Index: dns/dnscrypt-proxy/Makefile >=================================================================== >--- dns/dnscrypt-proxy/Makefile (revision 356678) >+++ dns/dnscrypt-proxy/Makefile (working copy) >@@ -3,6 +3,7 @@ > > PORTNAME= dnscrypt-proxy > PORTVERSION= 1.4.0 >+PORTREVISION= 1 > CATEGORIES= dns > MASTER_SITES= http://download.dnscrypt.org/dnscrypt-proxy/ \ > http://www.dns-lab.com/downloads/dnscrypt-proxy/ >Index: dns/dnscrypt-proxy/files/dnscrypt-proxy.in >=================================================================== >--- dns/dnscrypt-proxy/files/dnscrypt-proxy.in (revision 356678) >+++ dns/dnscrypt-proxy/files/dnscrypt-proxy.in (working copy) >@@ -9,8 +9,16 @@ > # > # Add the following lines to /etc/rc.conf to enable dnscrypt-proxy: > # >-# dnscrypt_proxy_enable="YES": Set to NO by default. >-# Set it to YES to enable dnscrypt-proxy. >+# dnscrypt_proxy_enable (bool): Set to NO by default. >+# Set to YES to enable dnscrypt-proxy. >+# dnscrypt_proxy_uid (str): Set to "_dnscrypt-proxy" by default. >+# User to switch to after starting. >+# dnscrypt_proxy_resolver (str):Set to "opendns" by default. >+# Choose a different upstream resolver. >+# dnscrypt_proxy_pidfile (str): default: "/var/run/dnscrypt-proxy.pid" >+# Location of pid file. >+# dnscrypt_proxy_logfile (str): default: "/var/log/dnscrypt-proxy.log" >+# Location of log file. > # > # To redirect a local resolver through dnscrypt-proxy, point it at 127.0.0.2 > # and add the following to rc.conf: >@@ -28,6 +36,7 @@ > > : ${dnscrypt_proxy_enable:=NO} > : ${dnscrypt_proxy_uid=_dnscrypt-proxy} # User to run daemon as >+: ${dnscrypt_proxy_resolver=opendns} # resolver to use > : ${dnscrypt_proxy_pidfile=/var/run/dnscrypt-proxy.pid} # Path to pid file > : ${dnscrypt_proxy_logfile=/var/log/dnscrypt-proxy.log} # Path to log file > >@@ -34,6 +43,7 @@ > if [ -n "$dnscrypt_proxy_uid" ]; then > dnscrypt_proxy_flags="${dnscrypt_proxy_flags} -u ${dnscrypt_proxy_uid}" > fi >+dnscrypt_proxy_flags="${dnscrypt_proxy_flags} -R ${dnscrypt_proxy_resolver}" > > command=%%PREFIX%%/sbin/dnscrypt-proxy > procname=%%PREFIX%%/sbin/dnscrypt-proxy
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 190406
:
143233
|
143348
| 143412