View | Details | Raw Unified | Return to bug 220547
Collapse All | Expand All

(-)Makefile (-2 / +3 lines)
Lines 2-9 Link Here
2
# $FreeBSD$
2
# $FreeBSD$
3
3
4
PORTNAME=	dnscrypt-proxy
4
PORTNAME=	dnscrypt-proxy
5
PORTVERSION=	1.9.1
5
PORTVERSION=	1.9.5
6
PORTREVISION=	2
6
PORTREVISION=	0
7
CATEGORIES=	dns
7
CATEGORIES=	dns
8
MASTER_SITES=	https://download.dnscrypt.org/dnscrypt-proxy/ \
8
MASTER_SITES=	https://download.dnscrypt.org/dnscrypt-proxy/ \
9
		http://download.dnscrypt.org/dnscrypt-proxy/ \
9
		http://download.dnscrypt.org/dnscrypt-proxy/ \
Lines 56-60 Link Here
56
	${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR}
56
	${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR}
57
	${INSTALL_MAN} ${WRKSRC}/man/dnscrypt-proxy.8 ${STAGEDIR}${MAN8PREFIX}/man/man8
57
	${INSTALL_MAN} ${WRKSRC}/man/dnscrypt-proxy.8 ${STAGEDIR}${MAN8PREFIX}/man/man8
58
	${INSTALL_MAN} ${WRKSRC}/man/hostip.8 ${STAGEDIR}${MAN8PREFIX}/man/man8
58
	${INSTALL_MAN} ${WRKSRC}/man/hostip.8 ${STAGEDIR}${MAN8PREFIX}/man/man8
59
	${MV} ${STAGEDIR}${PREFIX}/etc/dnscrypt-proxy.conf ${STAGEDIR}${PREFIX}/etc/dnscrypt-proxy.conf.sample
59
60
60
.include <bsd.port.mk>
61
.include <bsd.port.mk>
(-)distinfo (-3 / +3 lines)
Lines 1-3 Link Here
1
TIMESTAMP = 1483533207
1
TIMESTAMP = 1499458817
2
SHA256 (dnscrypt-proxy-1.9.1.tar.gz) = 3a319e8bfff5ac15a1c5a80af71755380b1fb869cb8fd86b33b7ed928db65195
2
SHA256 (dnscrypt-proxy-1.9.5.tar.gz) = 64021fabb7d5bab0baf681796d90ecd2095fb81381e6fb317a532039025a9399
3
SIZE (dnscrypt-proxy-1.9.1.tar.gz) = 1647902
3
SIZE (dnscrypt-proxy-1.9.5.tar.gz) = 1663954
(-)files/dnscrypt-proxy.in (+6 lines)
Lines 11-16 Link Here
11
#
11
#
12
# dnscrypt_proxy_enable (bool):	Set to NO by default.
12
# dnscrypt_proxy_enable (bool):	Set to NO by default.
13
#				Set to YES to enable dnscrypt-proxy.
13
#				Set to YES to enable dnscrypt-proxy.
14
# dnscrypt_proxy_conf (str):    Unset by default. Will override all other
15
#                               settings and only use the config file.
14
# dnscrypt_proxy_uid (str):	Set to "_dnscrypt-proxy" by default.
16
# dnscrypt_proxy_uid (str):	Set to "_dnscrypt-proxy" by default.
15
#                              	User to switch to after starting.
17
#                              	User to switch to after starting.
16
# dnscrypt_proxy_resolver (str):Set to "cisco" by default.
18
# dnscrypt_proxy_resolver (str):Set to "cisco" by default.
Lines 39-45 Link Here
39
: ${dnscrypt_proxy_logfile=/var/log/dnscrypt-proxy.log} # Path to log file
41
: ${dnscrypt_proxy_logfile=/var/log/dnscrypt-proxy.log} # Path to log file
40
42
41
command=%%PREFIX%%/sbin/dnscrypt-proxy
43
command=%%PREFIX%%/sbin/dnscrypt-proxy
44
if [ ${dnscrypt_proxy_conf} ]; then
45
command_args="${dnscrypt_proxy_conf}"
46
else
42
command_args="-d -p ${dnscrypt_proxy_pidfile} -l ${dnscrypt_proxy_logfile} -u ${dnscrypt_proxy_uid} -R ${dnscrypt_proxy_resolver}"
47
command_args="-d -p ${dnscrypt_proxy_pidfile} -l ${dnscrypt_proxy_logfile} -u ${dnscrypt_proxy_uid} -R ${dnscrypt_proxy_resolver}"
48
fi
43
procname=%%PREFIX%%/sbin/dnscrypt-proxy
49
procname=%%PREFIX%%/sbin/dnscrypt-proxy
44
pidfile=${dnscrypt_proxy_pidfile}
50
pidfile=${dnscrypt_proxy_pidfile}
45
51
(-)files/pkg-message.in (+9 lines)
Lines 7-12 Link Here
7
sysrc dnscrypt_proxy_enable=YES
7
sysrc dnscrypt_proxy_enable=YES
8
sysrc dnscrypt_proxy_flags='-a 127.0.0.2'
8
sysrc dnscrypt_proxy_flags='-a 127.0.0.2'
9
9
10
or
11
12
sysrc dnscrypt_proxy_enable=YES
13
sysrc dnscrypt_proxy_conf="/usr/local/etc/dnscrypt-proxy.conf"
14
15
16
** You cannot mix the config file with the other rc.conf flags / settings. **
17
18
10
To view available options, run:
19
To view available options, run:
11
%%PREFIX%%/sbin/dnscrypt-proxy --help
20
%%PREFIX%%/sbin/dnscrypt-proxy --help
12
or read the manual: `man dnscrypt-proxy`
21
or read the manual: `man dnscrypt-proxy`
(-)pkg-plist (-2 / +4 lines)
Lines 1-6 Link Here
1
bin/hostip
1
bin/hostip
2
%%ETCDIR%%.conf
2
@sample etc/dnscrypt-proxy.conf.sample
3
%%ETCDIR%%.conf.example
4
%%PLUGINS%%include/dnscrypt/plugin.h
3
%%PLUGINS%%include/dnscrypt/plugin.h
5
%%PLUGINS%%include/dnscrypt/private.h
4
%%PLUGINS%%include/dnscrypt/private.h
6
%%PLUGINS%%include/dnscrypt/version.h
5
%%PLUGINS%%include/dnscrypt/version.h
Lines 17-19 Link Here
17
sbin/dnscrypt-proxy
16
sbin/dnscrypt-proxy
18
%%DATADIR%%/dnscrypt-resolvers.csv
17
%%DATADIR%%/dnscrypt-resolvers.csv
19
%%DATADIR%%/minisign.pub
18
%%DATADIR%%/minisign.pub
19
%%PORTDOCS%%%%DOCSDIR%%/COPYING
20
%%PORTDOCS%%%%DOCSDIR%%/DNSCRYPT-V2-PROTOCOL.txt
21
%%PORTDOCS%%%%DOCSDIR%%/dnscrypt-proxy.conf

Return to bug 220547