ndns: Update for ndn-cxx 0.5.1

Change-Id: I8e9b1f80395bf8618a9f919c2b0d9b3ba546e3d3
diff --git a/ndns/debian/changelog b/ndns/debian/changelog
index f5a2ad2..0787596 100644
--- a/ndns/debian/changelog
+++ b/ndns/debian/changelog
@@ -1,3 +1,10 @@
+ndns (0.0.6-gdc2df-ppa2~DISTRO) DISTRO; urgency=low
+
+  * New version based on dc2df7c2b342db8ee3b20c8d45bfa016f895e82b
+    (https://github.com/named-data/ndns)
+
+ -- Alexander Afanasyev <alexander.afanasyev@ucla.edu>  Thu, 26 Jan 2017 05:33:17 +0000
+
 ndns (0.0.6-gdc2df-ppa1~DISTRO) DISTRO; urgency=low
 
   * New version based on dc2df7c2b342db8ee3b20c8d45bfa016f895e82b
diff --git a/ndns/debian/control b/ndns/debian/control
index 04e2542..fa2d352 100644
--- a/ndns/debian/control
+++ b/ndns/debian/control
@@ -5,7 +5,7 @@
  dh-systemd (>= 1.5),
  python (>= 2.7.0),
  pkg-config (>= 0.26),
- ndn-cxx-dev (>= 0.5.0),
+ ndn-cxx-dev (>= 0.5.1),
  liblog4cxx10-dev (>= 0.10.0)
 Standards-Version: 3.9.2
 Section: net
@@ -14,7 +14,7 @@
 Vcs-Browser: http://github.com/named-data/ndns
 
 Package: ndns
-Architecture: i386 amd64
+Architecture: i386 amd64 arm64 armel armhf ppc64el
 Depends: ${shlibs:Depends}, ${misc:Depends}, ndn-cxx, nfd
 Description: Domain Name Service for Named Data Networking
  NDNS is a completely distributed database system that largely mimics
diff --git a/ndns/debian/rules b/ndns/debian/rules
index 493c55c..f2469a3 100755
--- a/ndns/debian/rules
+++ b/ndns/debian/rules
@@ -12,12 +12,13 @@
 LDFLAGS := $(shell dpkg-buildflags --get LDFLAGS)
 CXXFLAGS := $(shell dpkg-buildflags --get CXXFLAGS)
 CXXFLAGS += -std=c++11
+LIBDIR := /usr/lib/$(shell dpkg-architecture -qDEB_HOST_MULTIARCH)
 
 %:
 	dh $@ --parallel --with=systemd
 
 override_dh_auto_configure:
-	LDFLAGS="${LDFLAGS}" CXXFLAGS="$(CXXFLAGS)" ./waf configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var/lib
+	LDFLAGS="${LDFLAGS}" CXXFLAGS="$(CXXFLAGS)" ./waf configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var/lib --boost-libs="$(LIBDIR)"
 
 override_dh_auto_build:
 	./waf build