Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 6 Sep 2016 19:11:37 +0000 (UTC)
From:      Dmitry Marakasov <amdmi3@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r421460 - in head/dns/dnscrypt-proxy: . files
Message-ID:  <201609061911.u86JBb8L082721@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: amdmi3
Date: Tue Sep  6 19:11:37 2016
New Revision: 421460
URL: https://svnweb.freebsd.org/changeset/ports/421460

Log:
  - Update to 1.7.0
  - Optionize PLUGINS
  
  PR:		211853
  Submitted by:	lightside@gmx.com
  Approved by:	freebsd@dns-lab.com (maintainer)

Deleted:
  head/dns/dnscrypt-proxy/files/patch-src_proxy_edns.c
Modified:
  head/dns/dnscrypt-proxy/Makefile
  head/dns/dnscrypt-proxy/distinfo
  head/dns/dnscrypt-proxy/pkg-plist

Modified: head/dns/dnscrypt-proxy/Makefile
==============================================================================
--- head/dns/dnscrypt-proxy/Makefile	Tue Sep  6 18:28:14 2016	(r421459)
+++ head/dns/dnscrypt-proxy/Makefile	Tue Sep  6 19:11:37 2016	(r421460)
@@ -2,8 +2,7 @@
 # $FreeBSD$
 
 PORTNAME=	dnscrypt-proxy
-PORTVERSION=	1.6.1
-PORTREVISION=	2
+PORTVERSION=	1.7.0
 CATEGORIES=	dns
 MASTER_SITES=	http://download.dnscrypt.org/dnscrypt-proxy/ \
 		http://www.dns-lab.com/downloads/dnscrypt-proxy/
@@ -16,30 +15,36 @@ LICENSE_FILE=	${WRKSRC}/COPYING
 
 LIB_DEPENDS=	libsodium.so:security/libsodium
 
+USERS=		_dnscrypt-proxy
+
 GNU_CONFIGURE=	yes
 USES=		execinfo gmake
 
-OPTIONS_DEFINE=	DOCS
+INSTALL_TARGET=	install-strip
+
+PORTDOCS=	AUTHORS ChangeLog INSTALL NEWS README* THANKS
+
+OPTIONS_DEFINE=	DOCS PLUGINS PLUGINS_RELAXED PLUGINS_ROOT
 OPTIONS_SINGLE=	RCWHICH
 OPTIONS_SINGLE_RCWHICH=	RCSINGLE RCMULTI
-RCWHICH_DESC=	rc script to use:
-RCSINGLE_DESC=	use default rc script for single daemon
-RCMULTI_DESC=	use experimental rc script for multiple instances
-OPTIONS_DEFAULT=RCSINGLE
-
-.include <bsd.port.options.mk>
-
-.if ${PORT_OPTIONS:MRCMULTI}
-USE_RC_SUBR=	${PORTNAME}_multi
-SUB_FILES=	pkg-message_multi
-.else
-USE_RC_SUBR=	${PORTNAME}
-SUB_FILES=	pkg-message
-.endif
-
-USERS=		_dnscrypt-proxy
+OPTIONS_DEFAULT=	PLUGINS RCSINGLE
+OPTIONS_SUB=	yes
 
-PORTDOCS=	AUTHORS ChangeLog INSTALL NEWS README* THANKS
+PLUGINS_CONFIGURE_ENABLE=	plugins
+PLUGINS_LIB_DEPENDS=	libltdl.so:devel/libltdl \
+		libldns.so:dns/ldns
+PLUGINS_USES=	libtool
+PLUGINS_RELAXED_DESC=	Allow loading plugins owned by other users
+PLUGINS_RELAXED_CONFIGURE_ENABLE=	relaxed-plugins-permissions
+PLUGINS_ROOT_DESC=	Only load plugins sitting in the default plugins directory
+PLUGINS_ROOT_CONFIGURE_ENABLE=	plugins-root
+RCWHICH_DESC=	Rc script to use:
+RCSINGLE_DESC=	Use default rc script for single daemon
+RCSINGLE_VARS=	USE_RC_SUBR=${PORTNAME}
+RCSINGLE_SUB_FILES=	pkg-message
+RCMULTI_DESC=	Use experimental rc script for multiple instances
+RCMULTI_VARS=	USE_RC_SUBR=${PORTNAME}_multi
+RCMULTI_SUB_FILES=	pkg-message_multi
 
 post-install:
 	@${MKDIR} ${STAGEDIR}${DOCSDIR}

Modified: head/dns/dnscrypt-proxy/distinfo
==============================================================================
--- head/dns/dnscrypt-proxy/distinfo	Tue Sep  6 18:28:14 2016	(r421459)
+++ head/dns/dnscrypt-proxy/distinfo	Tue Sep  6 19:11:37 2016	(r421460)
@@ -1,2 +1,3 @@
-SHA256 (dnscrypt-proxy-1.6.1.tar.gz) = c519012a66f3ee30be02113d1e0139be08ccd2ec45ca4102eac35be731a65340
-SIZE (dnscrypt-proxy-1.6.1.tar.gz) = 1721006
+TIMESTAMP = 1469962250
+SHA256 (dnscrypt-proxy-1.7.0.tar.gz) = be9827f66401f38fd4bdb372046eff9b5802ab5f3d188878a0dcd7bd20074c09
+SIZE (dnscrypt-proxy-1.7.0.tar.gz) = 1714401

Modified: head/dns/dnscrypt-proxy/pkg-plist
==============================================================================
--- head/dns/dnscrypt-proxy/pkg-plist	Tue Sep  6 18:28:14 2016	(r421459)
+++ head/dns/dnscrypt-proxy/pkg-plist	Tue Sep  6 19:11:37 2016	(r421460)
@@ -1,6 +1,15 @@
+bin/hostip
+%%PLUGINS%%include/dnscrypt/plugin.h
+%%PLUGINS%%include/dnscrypt/private.h
+%%PLUGINS%%include/dnscrypt/version.h
+%%PLUGINS%%lib/dnscrypt-proxy/libdcplugin_example.so
+%%PLUGINS%%lib/dnscrypt-proxy/libdcplugin_example_ldns_aaaa_blocking.so
+%%PLUGINS%%lib/dnscrypt-proxy/libdcplugin_example_ldns_blocking.so
+%%PLUGINS%%lib/dnscrypt-proxy/libdcplugin_example_ldns_opendns_deviceid.so
+%%PLUGINS%%lib/dnscrypt-proxy/libdcplugin_example_ldns_opendns_set_client_ip.so
+%%PLUGINS%%lib/dnscrypt-proxy/libdcplugin_example_logging.so
 man/man8/dnscrypt-proxy.8.gz
 man/man8/hostip.8.gz
 sbin/dnscrypt-proxy
-bin/hostip
 %%DATADIR%%/dnscrypt-resolvers.csv
 %%DATADIR%%/minisign.pub



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201609061911.u86JBb8L082721>