summaryrefslogtreecommitdiff
path: root/package/bind
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2015-06-13 21:59:06 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2015-06-13 21:59:50 +0200
commitce2eb8f92671ec426c996baca1ef9931c3bacb68 (patch)
treed3a885bbd94a72a4f486b3b51b6cebb049bc1672 /package/bind
parent6c85bf610d803db0183faa02ffebbf1f48c318c2 (diff)
a lot of bugfixes and package updates
Diffstat (limited to 'package/bind')
-rw-r--r--package/bind/Makefile10
-rw-r--r--package/bind/patches/patch-lib_export_dns_Makefile_in11
2 files changed, 17 insertions, 4 deletions
diff --git a/package/bind/Makefile b/package/bind/Makefile
index 89bc852cd..f532951ce 100644
--- a/package/bind/Makefile
+++ b/package/bind/Makefile
@@ -4,9 +4,9 @@
include ${ADK_TOPDIR}/rules.mk
PKG_NAME:= bind
-PKG_VERSION:= 9.9.5
+PKG_VERSION:= 9.9.7
PKG_RELEASE:= 1
-PKG_HASH:= d4b64c1dde442145a316679acff2df4008aa117ae52dfa3a6bc69efecc7840d1
+PKG_HASH:= 3f23e7fcb363a2594ed1f065868c2c1080a93636a4fcb4c47f9e164e2cd74c66
PKG_DESCR:= dns server
PKG_SECTION:= net/dns
PKG_DEPENDS:= libopenssl libbind libxml2 libstdcxx
@@ -54,7 +54,11 @@ $(eval $(call PKG_template,BIND_HOST,bind-host,${PKG_VERSION}-${PKG_RELEASE},${P
$(eval $(call PKG_template,BIND_DIG,bind-dig,${PKG_VERSION}-${PKG_RELEASE},${PKGSS_BIND_DIG},${PKGSD_BIND_DIG},${PKGSC_BIND_DIG}))
$(eval $(call PKG_template,LIBBIND,libbind,${PKG_VERSION}-${PKG_RELEASE},,${PKGSD_LIBBIND},${PKGSC_LIBBIND},${PKG_OPTS}))
+AUTOTOOL_STYLE:= autoreconf
+CONFIGURE_ENV+= BUILD_CC="${HOST_CC}" BUILD_CFLAGS='${HOST_CFLAGS}' BUILD_LDFLAGS='${HOST_LDFLAGS}'
CONFIGURE_ARGS+= --with-randomdev=/dev/urandom \
+ --with-export-libdir=/usr/lib \
+ --enable-exportlib \
--with-ecdsa=no \
--with-gost=no \
--with-gssapi=no \
@@ -69,8 +73,6 @@ else
CONFIGURE_ARGS+= --disable-ipv6
endif
-CONFIGURE_ENV+= BUILD_CC="${HOST_CC}" BUILD_CFLAGS='${HOST_CFLAGS}'
-
bind-server-install:
${INSTALL_DIR} ${IDIR_BIND_SERVER}/usr/sbin ${IDIR_BIND_SERVER}/etc
${INSTALL_BIN} ${WRKINST}/usr/sbin/named ${IDIR_BIND_SERVER}/usr/sbin
diff --git a/package/bind/patches/patch-lib_export_dns_Makefile_in b/package/bind/patches/patch-lib_export_dns_Makefile_in
new file mode 100644
index 000000000..7d90cd49e
--- /dev/null
+++ b/package/bind/patches/patch-lib_export_dns_Makefile_in
@@ -0,0 +1,11 @@
+--- bind-9.9.7.orig/lib/export/dns/Makefile.in 2015-02-18 02:56:06.000000000 +0100
++++ bind-9.9.7/lib/export/dns/Makefile.in 2015-06-07 16:24:50.000000000 +0200
+@@ -168,7 +168,7 @@ code.h: gen
+ ./gen -s ${srcdir} > code.h
+
+ gen: ${srcdir}/gen.c
+- ${CC} ${ALL_CFLAGS} ${LDFLAGS} -o $@ ${srcdir}/gen.c ${LIBS}
++ ${BUILD_CC} -I../../isc/include ${BUILD_CFLAGS} ${BUILD_LDFLAGS} -o $@ ${srcdir}/gen.c ${BUILD_LIBS}
+
+ #We don't need rbtdb64 for this library
+ #rbtdb64.@O@: rbtdb.c