From: Vicky Shrestha Date: Mon, 26 Dec 2016 09:16:05 +0000 (-0800) Subject: adding dnstap dependencies to bootstrap X-Git-Tag: v1.3.0~23^2~62^2~9 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9a00f454cc1c80cd9cc3ba805043c63c0fd9bd7c;p=thirdparty%2Fknot-resolver.git adding dnstap dependencies to bootstrap --- diff --git a/Makefile b/Makefile index 88cb655bc..fb9114032 100644 --- a/Makefile +++ b/Makefile @@ -35,7 +35,7 @@ $(eval $(call find_lib,socket_wrapper)) $(eval $(call find_lib,libsystemd,227)) $(eval $(call find_lib,gnutls)) $(eval $(call find_lib,libedit)) -$(eval $(call find_lib,libprotobuf-c,1.2.1)) +$(eval $(call find_lib,libprotobuf-c,1)) $(eval $(call find_lib,libfstrm,0.2)) # Lookup SONAME diff --git a/scripts/bootstrap-depends.sh b/scripts/bootstrap-depends.sh index 67c334161..84cbb4a9d 100755 --- a/scripts/bootstrap-depends.sh +++ b/scripts/bootstrap-depends.sh @@ -23,6 +23,12 @@ HIREDIS_TAG="v0.13.3" HIREDIS_URL="https://github.com/redis/hiredis.git" LIBMEMCACHED_TAG="1.0.18" LIBMEMCACHED_URL="https://launchpad.net/libmemcached/1.0/${LIBMEMCACHED_TAG}/+download/libmemcached-${LIBMEMCACHED_TAG}.tar.gz" +PROTOBUF_URL="https://github.com/google/protobuf/archive/v3.1.0.tar.gz" +PROTOBUF_VER="3.1.0" +PROTOBUFC_URL="https://github.com/protobuf-c/protobuf-c/releases/download/v1.2.1/protobuf-c-1.2.1.tar.gz" +PROTOBUFC_VER="1.2.1" +FSTRM_URL="https://github.com/farsightsec/fstrm/archive/v0.3.0.tar.gz" +FSTRM_VER="0.3.0" if command -v shasum >/dev/null; then SHASUM="shasum -a 256" @@ -148,6 +154,9 @@ pkg libknot ${KNOT_URL} ${KNOT_TAG} include/libknot \ pkg cmocka ${CMOCKA_URL} ${CMOCKA_TAG} include/cmocka.h pkg libuv ${LIBUV_URL} ${LIBUV_TAG} include/uv.h --disable-static pkg lua ${LUA_URL} v${LUA_VER} lib/pkgconfig/luajit.pc install BUILDMODE=dynamic LDFLAGS=-lm PREFIX=${PREFIX} +pkg protobuf ${PROTOBUF_URL} ${PROTOBUF_VER} lib/pkgconfig/protobuf.pc +pkg protobuf-c ${PROTOBUFC_URL} ${PROTOBUFC_VER} include/protobuf-c/protobuf-c.h +pkg fstrm ${FSTRM_URL} ${FSTRM_VER} include/fstrm.h --with-library-only # development releases of luajit do NOT install bin/luajit ln -sf "luajit-${LUA_VER}" "${PREFIX}/bin/luajit"