1 | # -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4 |
---|
2 | # $Id: Portfile 143269 2015-12-09 18:51:59Z devans@macports.org $ |
---|
3 | |
---|
4 | PortSystem 1.0 |
---|
5 | |
---|
6 | name dnscrypt-proxy |
---|
7 | version 1.6.1 |
---|
8 | |
---|
9 | # revision 2 |
---|
10 | categories net |
---|
11 | license ISC |
---|
12 | maintainers gmail.com:mschamschula openmaintainer |
---|
13 | description A protocol for securing communications between a client and a DNS \ |
---|
14 | resolver. |
---|
15 | long_description ${description} |
---|
16 | homepage http://dnscrypt.org/ |
---|
17 | master_sites http://download.dnscrypt.org/dnscrypt-proxy/ |
---|
18 | |
---|
19 | platforms darwin |
---|
20 | depends_lib port:libsodium |
---|
21 | |
---|
22 | checksums rmd160 dd52b2ac57cfcab39b9f04ea0807acf29650f063\ |
---|
23 | sha256 c519012a66f3ee30be02113d1e0139be08ccd2ec45ca4102eac35be731a65340 |
---|
24 | |
---|
25 | startupitem.create yes |
---|
26 | startupitem.netchange yes |
---|
27 | # startupitem.executable ${prefix}/sbin/dnscrypt-proxy --daemonize --resolver-name=opendns |
---|
28 | |
---|
29 | startupitem.executable ${prefix}/sbin/dnscrypt-proxy --local-address=127.0.0.1:53 --resolver-address=208.67.220.220:443 --provider-name=2.dnscrypt-cert.opendns.com --provider-key=B735:1140:206F:225D:3E2B:D822:D7FD:691E:A1C3:3CC8:D666:8D0C:BE04:BFAB:CA43:FB79 |
---|
30 | |
---|
31 | notes " |
---|
32 | You need to update your DNS server settings to point to 127.0.0.1 |
---|
33 | (in the Network Preference Pane -> Advanced... -> DNS tab) |
---|
34 | " |
---|
35 | |
---|
36 | livecheck.type regex |
---|
37 | livecheck.url [lindex ${master_sites} 0] |
---|
38 | livecheck.regex ${name}-(\\d+\.\\d+.\\d) |
---|