aboutsummaryrefslogtreecommitdiffstats
path: root/dns/dnscrypt-proxy
diff options
context:
space:
mode:
authorbrian <brian@FreeBSD.org>2012-08-04 07:19:19 +0800
committerbrian <brian@FreeBSD.org>2012-08-04 07:19:19 +0800
commit35e2259203a9e921d25fc09ccb229b5496361dc2 (patch)
treea659506ebff4682694aac76c3967423c850efe34 /dns/dnscrypt-proxy
parent54de1c2b081bee47f810bbc60eab6a9362482416 (diff)
downloadfreebsd-ports-gnome-35e2259203a9e921d25fc09ccb229b5496361dc2.tar.gz
freebsd-ports-gnome-35e2259203a9e921d25fc09ccb229b5496361dc2.tar.zst
freebsd-ports-gnome-35e2259203a9e921d25fc09ccb229b5496361dc2.zip
Update to 1.0
I've also updated MASTER_SITES as the maintainer's site doesn't have version 1.0. This can be changed back if/when the maintainer comes back. Maintainer timeout after: 5 days
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