aboutsummaryrefslogtreecommitdiff
path: root/dns/dnscrypt-proxy
diff options
context:
space:
mode:
authorBrian Somers <brian@FreeBSD.org>2012-08-03 23:19:19 +0000
committerBrian Somers <brian@FreeBSD.org>2012-08-03 23:19:19 +0000
commit5ef15963169b6fb826fa3c793f623963f14f7fae (patch)
treea659506ebff4682694aac76c3967423c850efe34 /dns/dnscrypt-proxy
parent302a9606ffa9c76fc5f0f58b8205d5088cadcd52 (diff)
downloadports-5ef15963169b6fb826fa3c793f623963f14f7fae.tar.gz
ports-5ef15963169b6fb826fa3c793f623963f14f7fae.zip
Notes
Diffstat (limited to 'dns/dnscrypt-proxy')
-rw-r--r--dns/dnscrypt-proxy/Makefile9
-rw-r--r--dns/dnscrypt-proxy/distinfo4
-rw-r--r--dns/dnscrypt-proxy/files/dnscrypt-proxy.in8
-rw-r--r--dns/dnscrypt-proxy/pkg-plist1
4 files changed, 15 insertions, 7 deletions
diff --git a/dns/dnscrypt-proxy/Makefile b/dns/dnscrypt-proxy/Makefile
index 23bb2629f579..158670296718 100644
--- a/dns/dnscrypt-proxy/Makefile
+++ b/dns/dnscrypt-proxy/Makefile
@@ -6,10 +6,11 @@
#
PORTNAME= dnscrypt-proxy
-PORTVERSION= 0.9.3
+PORTVERSION= 1.0
CATEGORIES= dns
MASTER_SITES= http://cloud.github.com/downloads/opendns/dnscrypt-proxy/ \
- http://www.dns-lab.com/downloads/dnscrypt-proxy/
+ http://www.Awfulhak.org/dnscrypt-proxy/ \
+ http://people.FreeBSD.org/~brian/dnscrypt-proxy/
MAINTAINER= freebsd@dns-lab.com
COMMENT= Boost privacy and security of DNS
@@ -21,14 +22,14 @@ SUB_FILES= pkg-message
USE_RC_SUBR= ${PORTNAME}
-MAN8= dnscrypt-proxy.8 dnscrypt-proxy.8.markdown
+MAN8= dnscrypt-proxy.8 hostip.8
PORTDOCS= AUTHORS ChangeLog COPYING INSTALL NEWS \
README README.markdown TECHNOTES THANKS
pre-install:
@${INSTALL_MAN} ${WRKSRC}/man/dnscrypt-proxy.8 ${MAN8PREFIX}/man/man8/
- @${INSTALL_MAN} ${WRKSRC}/man/dnscrypt-proxy.8.markdown ${MAN8PREFIX}/man/man8/
+ @${INSTALL_MAN} ${WRKSRC}/man/hostip.8 ${MAN8PREFIX}/man/man8/
post-install:
.if !defined(NOPORTDOCS)
diff --git a/dns/dnscrypt-proxy/distinfo b/dns/dnscrypt-proxy/distinfo
index 5f4c95cc95d5..b54898e1b610 100644
--- a/dns/dnscrypt-proxy/distinfo
+++ b/dns/dnscrypt-proxy/distinfo
@@ -1,2 +1,2 @@
-SHA256 (dnscrypt-proxy-0.9.3.tar.gz) = f1733e443a815da6789130f7718500304f2d90fbcdce863a5a5b98c9de06372b
-SIZE (dnscrypt-proxy-0.9.3.tar.gz) = 1368327
+SHA256 (dnscrypt-proxy-1.0.tar.gz) = f6309c5216a2a0d7d88cdbd18ea2ca3b3f37d92b1f97dd48b8cf294b931952b8
+SIZE (dnscrypt-proxy-1.0.tar.gz) = 1353867
diff --git a/dns/dnscrypt-proxy/files/dnscrypt-proxy.in b/dns/dnscrypt-proxy/files/dnscrypt-proxy.in
index f833fbde74cb..13555a9b755f 100644
--- a/dns/dnscrypt-proxy/files/dnscrypt-proxy.in
+++ b/dns/dnscrypt-proxy/files/dnscrypt-proxy.in
@@ -3,13 +3,19 @@
# $FreeBSD$
#
# PROVIDE: dnscrypt-proxy
-# REQUIRE: LOGIN cleanvar
+# REQUIRE: SERVERS cleanvar
# KEYWORD: shutdown
+# BEFORE: named
#
# 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.
+#
+# To redirect a local resolver through dnscrypt-proxy, point it at 127.0.0.2
+# and add the following to rc.conf:
+# ifconfig_lo0_alias0="inet 127.0.0.2 netmask 0xffffffff"
+# dnscrypt_proxy_flags='-a 127.0.0.2'
. /etc/rc.subr
diff --git a/dns/dnscrypt-proxy/pkg-plist b/dns/dnscrypt-proxy/pkg-plist
index a7ec8dfd8e43..79f9a1010a80 100644
--- a/dns/dnscrypt-proxy/pkg-plist
+++ b/dns/dnscrypt-proxy/pkg-plist
@@ -1,2 +1,3 @@
@stopdaemon dnscrypt-proxy
sbin/dnscrypt-proxy
+bin/hostip