1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-16 07:58:04 +00:00

- Update to 1.6.1

PR:		217614
Submitted by:	jaap@NLnetLabs.nl(maintainer)
This commit is contained in:
Wen Heping 2017-03-08 01:48:33 +00:00
parent f4bad96447
commit a300cdae9c
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=435651
4 changed files with 13 additions and 16 deletions

View File

@ -2,8 +2,7 @@
# $FreeBSD$
PORTNAME= unbound
PORTVERSION= 1.6.0
PORTREVISION= 3
PORTVERSION= 1.6.1
CATEGORIES= dns
MASTER_SITES= http://unbound.net/downloads/
@ -16,8 +15,6 @@ LICENSE_FILE= ${WRKSRC}/LICENSE
LIB_DEPENDS= libexpat.so:textproc/expat2 \
libldns.so:dns/ldns
BROKEN_aarch64= Fails to link: missing sbrk
USES= autoreconf cpe libtool ssl
CPE_VENDOR= nlnetlabs
GNU_CONFIGURE= yes
@ -61,7 +58,7 @@ LIBEVENT_LIB_DEPENDS= libevent.so:devel/libevent
LIBEVENT_LDFLAGS+= $$(pkg-config libevent --libs-only-L)
LIBEVENT_USES= pkgconfig
MUNIN_PLUGIN_SUB_FILES= pkg-message
PYTHON_BUILD_DEPENDS= swig:devel/swig13
PYTHON_BUILD_DEPENDS= swig:devel/swig30
PYTHON_CONFIGURE_ON= --with-pyunbound=yes --with-pythonmodule=yes LDFLAGS="-L${LOCALBASE}/lib"
PYTHON_USES= python:2
PYTHON_VARS= STRIP_FILES+=.libs/_unbound.so

View File

@ -1,3 +1,3 @@
TIMESTAMP = 1481819504
SHA256 (unbound-1.6.0.tar.gz) = 6b7db874e6debda742fee8869d722e5a17faf1086e93c911b8564532aeeffab7
SIZE (unbound-1.6.0.tar.gz) = 5063253
TIMESTAMP = 1487712193
SHA256 (unbound-1.6.1.tar.gz) = 42df63f743c0fe8424aeafcf003ad4b880b46c14149d696057313f5c1ef51400
SIZE (unbound-1.6.1.tar.gz) = 5074713

View File

@ -33,15 +33,15 @@ unbound_anchorflags=${unbound_anchorflags:-""}
start_precmd()
{
%%PREFIX%%/sbin/unbound-checkconf > /dev/null && \
echo -n "Obtaining a trust anchor:" && \
if [ "${unbound_anchorflags}T" = "T" ]; then \
su -m unbound -c %%PREFIX%%/sbin/unbound-anchor; \
echo -n "Obtaining a trust anchor:"
if [ "${unbound_anchorflags}T" = "T" ]; then
su -m unbound -c %%PREFIX%%/sbin/unbound-anchor
else
su -m unbound -c "%%PREFIX%%/sbin/unbound-anchor ${unbound_anchorflags}"; \
fi &&
su -m unbound -c "%%PREFIX%%/sbin/unbound-anchor ${unbound_anchorflags}"
fi
echo .
return 0
%%PREFIX%%/sbin/unbound-checkconf > /dev/null
return $?
}
run_rc_command "$1"

View File

@ -3,7 +3,7 @@ include/unbound.h
lib/libunbound.a
lib/libunbound.so
lib/libunbound.so.2
lib/libunbound.so.2.4.3
lib/libunbound.so.2.4.4
%%PYTHON%%%%PYTHON_SITELIBDIR%%/_unbound.so
%%PYTHON%%%%PYTHON_SITELIBDIR%%/unbound.py
%%PYTHON%%%%PYTHON_SITELIBDIR%%/unboundmodule.py