summaryrefslogtreecommitdiffstats
path: root/package/bind/bind-9.5.1-P1-cross.patch
diff options
context:
space:
mode:
authorPeter Korsgaard <jacmet@sunsite.dk>2009-03-05 12:11:36 +0000
committerPeter Korsgaard <jacmet@sunsite.dk>2009-03-05 12:11:36 +0000
commit1b276bb2b9770bf7ccb69ba7aebfc1a2556f3404 (patch)
tree2214b8bcde3cc59f326612d519f8a6c9f7cc4f0c /package/bind/bind-9.5.1-P1-cross.patch
parent2676c2029beecfe271af02b059755d0a47570972 (diff)
downloadbuildroot-novena-1b276bb2b9770bf7ccb69ba7aebfc1a2556f3404.tar.gz
buildroot-novena-1b276bb2b9770bf7ccb69ba7aebfc1a2556f3404.zip
bind: bump version and convert to Makefile.autotools.in
Patch by Gustavo Zacarias <gustavo@zacarias.com.ar> Closes #145. Current bind package is version 9.3.2 which is from the 9.3 branch and is EOLed. It has many security bugs probably fixed in 9.3.6-P1 but since it won't be supported for long it's probably metter to move on to a supported branch. CVE-2009-0025, CVE-2008-1447, CVE-2008-0122, CVE-2007-2926 and probably more. While at it migrate to Makefile.autotools.in too. Also introduced an option for/not to install userland tools (dig, host, nslookup, nsupdate). [ Peter: don't install into staging ]
Diffstat (limited to 'package/bind/bind-9.5.1-P1-cross.patch')
-rw-r--r--package/bind/bind-9.5.1-P1-cross.patch14
1 files changed, 14 insertions, 0 deletions
diff --git a/package/bind/bind-9.5.1-P1-cross.patch b/package/bind/bind-9.5.1-P1-cross.patch
new file mode 100644
index 000000000..cdbf4cb89
--- /dev/null
+++ b/package/bind/bind-9.5.1-P1-cross.patch
@@ -0,0 +1,14 @@
+diff -Nura bind-9.5.1-P1/lib/dns/Makefile.in bind-9.5.1-P1.gencross/lib/dns/Makefile.in
+--- bind-9.5.1-P1/lib/dns/Makefile.in 2007-09-11 22:09:08.000000000 -0300
++++ bind-9.5.1-P1.gencross/lib/dns/Makefile.in 2009-03-04 16:35:23.000000000 -0200
+@@ -160,8 +160,8 @@
+ ./gen -s ${srcdir} > code.h
+
+ gen: gen.c
+- ${BUILD_CC} ${BUILD_CFLAGS} -I${top_srcdir}/lib/isc/include \
+- ${BUILD_CPPFLAGS} ${BUILD_LDFLAGS} -o $@ ${srcdir}/gen.c ${BUILD_LIBS}
++ ${HOSTCC} ${HOST_CFLAGS} -I${top_srcdir}/lib/isc/include \
++ ${HOST_LDFLAGS} -o $@ ${srcdir}/gen.c
+
+ rbtdb64.@O@: rbtdb.c
+