update to dnscrypt-proxy 1.3.3
This commit is contained in:
parent
1dc37895d7
commit
31a110625f
@ -1,16 +1,16 @@
|
||||
# $OpenBSD: Makefile,v 1.5 2013/10/22 19:51:59 jca Exp $
|
||||
# $OpenBSD: Makefile,v 1.6 2013/10/23 12:42:20 sthen Exp $
|
||||
|
||||
COMMENT-main= secure communications between a DNS client and resolver
|
||||
COMMENT-plugins= example plugins for dnscrypt-proxy
|
||||
|
||||
V= 1.2.0
|
||||
REVISION= 1
|
||||
V= 1.3.3
|
||||
|
||||
DISTNAME= dnscrypt-proxy-${V}
|
||||
CATEGORIES= net
|
||||
MASTER_SITES= https://github.com/downloads/opendns/dnscrypt-proxy/
|
||||
MASTER_SITES= http://download.dnscrypt.org/dnscrypt-proxy/ \
|
||||
http://download.dnscrypt.org/dnscrypt-proxy/old/
|
||||
|
||||
HOMEPAGE= http://dnscrypt.org
|
||||
HOMEPAGE= http://dnscrypt.org/
|
||||
|
||||
MAINTAINER= Frank Denis <dnscrypt@pureftpd.org>
|
||||
|
||||
@ -22,24 +22,32 @@ MULTI_PACKAGES= -main -plugins
|
||||
PKGNAME-main= dnscrypt-proxy-${V}
|
||||
PKGNAME-plugins= dnscrypt-proxy-plugins-${V}
|
||||
|
||||
commonWANTLIB= c execinfo kvm m
|
||||
commonWANTLIB= execinfo kvm m sodium
|
||||
|
||||
WANTLIB-main= ${commonWANTLIB} ltdl
|
||||
WANTLIB-main= ${commonWANTLIB} c ltdl
|
||||
WANTLIB-plugins= ${commonWANTLIB} crypto ldns
|
||||
|
||||
commonLIB_DEPENDS= devel/libexecinfo
|
||||
commonLIB_DEPENDS= devel/libexecinfo \
|
||||
security/libsodium
|
||||
|
||||
LIB_DEPENDS-main= ${commonLIB_DEPENDS} devel/libtool,-ltdl
|
||||
LIB_DEPENDS-plugins= ${commonLIB_DEPENDS} net/ldns/libldns
|
||||
LIB_DEPENDS-main= ${commonLIB_DEPENDS} \
|
||||
devel/libtool,-ltdl
|
||||
LIB_DEPENDS-plugins= ${commonLIB_DEPENDS} \
|
||||
net/ldns/libldns
|
||||
|
||||
BUILD_DEPENDS= devel/libtool
|
||||
|
||||
CONFIGURE_STYLE= gnu
|
||||
|
||||
CONFIGURE_ARGS+= --enable-plugins --enable-plugins-root
|
||||
CONFIGURE_ENV+= CPPFLAGS=-I${LOCALBASE}/include \
|
||||
LDFLAGS=-L${LOCALBASE}/lib
|
||||
CONFIGURE_ARGS+= --enable-plugins \
|
||||
--enable-plugins-root \
|
||||
--enable-pie=no
|
||||
# Don't force PIE, it's broken on at least arm. OpenBSD enables it
|
||||
# by default on arch where it works anyway.
|
||||
CONFIGURE_ARGS+= --enable-pie=no
|
||||
|
||||
# libevent test hangs. (note that currently tests also need USE_GMAKE=yes).
|
||||
NO_TEST= Yes
|
||||
|
||||
DOCS= README-PLUGINS.markdown \
|
||||
README.markdown \
|
||||
@ -48,5 +56,6 @@ DOCS= README-PLUGINS.markdown \
|
||||
post-install:
|
||||
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/dnscrypt-proxy
|
||||
cd ${WRKSRC}; ${INSTALL_DATA} ${DOCS} ${PREFIX}/share/doc/dnscrypt-proxy
|
||||
rm -f ${PREFIX}/lib/dnscrypt-proxy/*.la
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
@ -1,2 +1,2 @@
|
||||
SHA256 (dnscrypt-proxy-1.2.0.tar.gz) = Aq5jYIh5ldc9TALqf6DMjK1KTeYficL9aGdKZfQnszM=
|
||||
SIZE (dnscrypt-proxy-1.2.0.tar.gz) = 1666090
|
||||
SHA256 (dnscrypt-proxy-1.3.3.tar.gz) = w2umwyd9NDiYavHo0SrffTVUS1bRdH+pOlC01y6/Pko=
|
||||
SIZE (dnscrypt-proxy-1.3.3.tar.gz) = 1576428
|
||||
|
@ -1,7 +1,10 @@
|
||||
$OpenBSD: patch-src_libevent_evutil_rand_c,v 1.1 2013/10/22 19:51:59 jca Exp $
|
||||
OpenBSD does not need nor provide arc4random_addrandom anymore.
|
||||
--- src/libevent/evutil_rand.c.orig Thu Oct 11 17:51:58 2012
|
||||
+++ src/libevent/evutil_rand.c Tue Oct 22 19:12:13 2013
|
||||
$OpenBSD: patch-src_libevent-modified_evutil_rand_c,v 1.1 2013/10/23 12:42:20 sthen Exp $
|
||||
|
||||
OpenBSD has not needed arc4random_addrandom since 2003, and no longer
|
||||
provides it.
|
||||
|
||||
--- src/libevent-modified/evutil_rand.c.orig Tue Aug 13 03:32:00 2013
|
||||
+++ src/libevent-modified/evutil_rand.c Wed Oct 23 13:10:29 2013
|
||||
@@ -97,6 +97,11 @@ ev_arc4random_buf(void *buf, size_t n)
|
||||
#endif
|
||||
}
|
@ -1,10 +0,0 @@
|
||||
In order to perform queries over DNSCrypt, using OpenDNS as a
|
||||
resolver, the easiest way is change your /etc/resolv.conf file to:
|
||||
|
||||
nameserver 127.0.0.1
|
||||
lookup file bind
|
||||
options edns0
|
||||
|
||||
But DNSCrypt does _not_ cache queries. So the recommended way to use
|
||||
it is as a forwarder for a DNS cache like Unbound.
|
||||
Both can safely run on the same host.
|
@ -1,6 +1,8 @@
|
||||
@comment $OpenBSD: PFRAG.shared-plugins,v 1.1.1.1 2012/10/12 15:20:00 sthen Exp $
|
||||
@comment $OpenBSD: PFRAG.shared-plugins,v 1.2 2013/10/23 12:42:20 sthen Exp $
|
||||
lib/dnscrypt-proxy/libdcplugin_example.so
|
||||
lib/dnscrypt-proxy/libdcplugin_example_ldns_aaaa_blocking.so
|
||||
lib/dnscrypt-proxy/libdcplugin_example_ldns_blocking.so
|
||||
lib/dnscrypt-proxy/libdcplugin_example_ldns_forward_after_nxdomain.so
|
||||
lib/dnscrypt-proxy/libdcplugin_example_ldns_opendns_deviceid.so
|
||||
lib/dnscrypt-proxy/libdcplugin_example_ldns_opendns_set_client_ip.so
|
||||
lib/dnscrypt-proxy/libdcplugin_example_logging.so
|
||||
|
@ -1,4 +1,4 @@
|
||||
@comment $OpenBSD: PLIST-main,v 1.1.1.1 2012/10/12 15:20:00 sthen Exp $
|
||||
@comment $OpenBSD: PLIST-main,v 1.2 2013/10/23 12:42:20 sthen Exp $
|
||||
@newgroup _dnscrypt-proxy:688
|
||||
@newuser _dnscrypt-proxy:688:_dnscrypt-proxy:daemon:dnscrypt-proxy user:/var/empty:/sbin/nologin
|
||||
@bin bin/hostip
|
||||
@ -13,4 +13,5 @@ share/doc/dnscrypt-proxy/
|
||||
share/doc/dnscrypt-proxy/README-PLUGINS.markdown
|
||||
share/doc/dnscrypt-proxy/README.markdown
|
||||
share/doc/dnscrypt-proxy/TECHNOTES
|
||||
share/doc/pkg-readmes/${FULLPKGNAME}
|
||||
@rcscript ${RCDIR}/dnscrypt_proxy
|
||||
|
19
net/dnscrypt-proxy/pkg/README-main
Normal file
19
net/dnscrypt-proxy/pkg/README-main
Normal file
@ -0,0 +1,19 @@
|
||||
$OpenBSD: README-main,v 1.1 2013/10/23 12:42:20 sthen Exp $
|
||||
|
||||
+-----------------------------------------------------------------------
|
||||
| Running ${FULLPKGNAME} on OpenBSD
|
||||
+-----------------------------------------------------------------------
|
||||
|
||||
In order to perform queries over DNSCrypt, using OpenDNS as a
|
||||
resolver, the easiest way is change your /etc/resolv.conf file to:
|
||||
|
||||
nameserver 127.0.0.1
|
||||
lookup file bind
|
||||
options edns0
|
||||
|
||||
But DNSCrypt does _not_ cache queries. So the recommended way to use
|
||||
it is as a forwarder for a DNS cache like Unbound.
|
||||
Both can safely run on the same host.
|
||||
|
||||
A list of non-OpenDNS resolvers providing DNSCrypt service is available
|
||||
at http://dnscrypt.org/.
|
Loading…
x
Reference in New Issue
Block a user