nfd: Updating to the last dev version
diff --git a/nfd/Makefile b/nfd/Makefile
index 25f6ec6..2d7c996 100644
--- a/nfd/Makefile
+++ b/nfd/Makefile
@@ -2,15 +2,15 @@
 GIT_URL=https://github.com/named-data/NFD.git
 
 # Tag name or commit hash for checkout
-GIT_VERSION=35eefdfa1a9ac389915c5ebc55f0ef0a6addd371
+GIT_VERSION=56a21bf34a7dacbc65afd347e0049efe628764b1
 
 # Package name
 NAME=nfd
 
 # Package version
-VERSION=0.3.0~rc0.1
+VERSION=0.3.0~rc0.2
 
 # PPA version
-PPA_VERSION=2
+PPA_VERSION=3
 
 include ../packaging.mk
diff --git a/nfd/debian/changelog b/nfd/debian/changelog
index 7f34bc8..0969fa2 100644
--- a/nfd/debian/changelog
+++ b/nfd/debian/changelog
@@ -1,3 +1,24 @@
+nfd (0.3.0~rc0.2-ppa3~DISTRO) DISTRO; urgency=low
+
+  * New version based on 56a21bf34a7dacbc65afd347e0049efe628764b1
+    (https://github.com/named-data/NFD.git)
+
+ -- Alexander Afanasyev <alexander.afanasyev@ucla.edu>  Sun, 09 Nov 2014 17:22:53 -0800
+
+nfd (0.3.0~rc0.2-ppa2~DISTRO) DISTRO; urgency=low
+
+  * New version based on 56a21bf34a7dacbc65afd347e0049efe628764b1
+    (https://github.com/named-data/NFD.git)
+
+ -- Alexander Afanasyev <alexander.afanasyev@ucla.edu>  Sun, 09 Nov 2014 17:18:56 -0800
+
+nfd (0.3.0~rc0.2-ppa1~DISTRO) DISTRO; urgency=low
+
+  * New version based on 56a21bf34a7dacbc65afd347e0049efe628764b1
+    (https://github.com/named-data/NFD.git)
+
+ -- Alexander Afanasyev <alexander.afanasyev@ucla.edu>  Sun, 09 Nov 2014 16:53:01 -0800
+
 nfd (0.3.0~rc0.1-ppa2~DISTRO) DISTRO; urgency=low
 
   * New version based on 35eefdfa1a9ac389915c5ebc55f0ef0a6addd371
diff --git a/nfd/debian/control b/nfd/debian/control
index 43d4d66..bb95365 100644
--- a/nfd/debian/control
+++ b/nfd/debian/control
@@ -4,7 +4,7 @@
 Build-Depends: debhelper (>= 8.0.0),
  python (>= 2.7.0),
  pkg-config (>= 0.26),
- ndn-cxx-dev (>= 0.3.0~rc0.0),
+ ndn-cxx-dev (>= 0.3.0~rc0.1),
  python-sphinx,
  libpcap-dev,
  libboost-all-dev (>= 1.48.0)
diff --git a/nfd/debian/control.precise b/nfd/debian/control.precise
index a5a93c1..48b44aa 100644
--- a/nfd/debian/control.precise
+++ b/nfd/debian/control.precise
@@ -4,7 +4,7 @@
 Build-Depends: debhelper (>= 8.0.0),
  python (>= 2.7.0),
  pkg-config (>= 0.26),
- ndn-cxx-dev (>= 0.3.0~rc0.0),
+ ndn-cxx-dev (>= 0.3.0~rc0.1),
  python-sphinx,
  libpcap-dev,
  libboost1.48-all-dev (>= 1.48.0)
diff --git a/nfd/debian/rules b/nfd/debian/rules
index 2936900..b4d146e 100755
--- a/nfd/debian/rules
+++ b/nfd/debian/rules
@@ -10,12 +10,14 @@
 # export DH_VERBOSE=1
 
 LDFLAGS := $(shell dpkg-buildflags --get LDFLAGS)
+CXXFLAGS := $(shell dpkg-buildflags --get CXXFLAGS)
+CXXFLAGS += -std=c++11
 
 %:
 	dh $@ --parallel
 
 override_dh_auto_configure:
-	./waf configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var
+	CXXFLAGS="$(CXXFLAGS)" ./waf configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var
 
 override_dh_auto_build:
 	./waf build
diff --git a/nfd/debian/rules.precise b/nfd/debian/rules.precise
new file mode 100755
index 0000000..07f0c82
--- /dev/null
+++ b/nfd/debian/rules.precise
@@ -0,0 +1,43 @@
+#!/usr/bin/make -f
+# -*- makefile -*-
+# Sample debian/rules that uses debhelper.
+# This file was originally written by Joey Hess and Craig Small.
+# As a special exception, when this file is copied by dh-make into a
+# dh-make output file, you may use that output file without restriction.
+# This special exception was added by Craig Small in version 0.37 of dh-make.
+
+# Uncomment this to turn on verbose mode.
+# export DH_VERBOSE=1
+
+LDFLAGS := $(shell dpkg-buildflags --get LDFLAGS)
+CXXFLAGS := $(shell dpkg-buildflags --get CXXFLAGS)
+CXXFLAGS += -std=c++0x
+
+%:
+	dh $@ --parallel
+
+override_dh_auto_configure:
+	CXXFLAGS="$(CXXFLAGS)" ./waf configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var
+
+override_dh_auto_build:
+	./waf build
+
+override_dh_auto_install:
+	./waf install --destdir=debian/tmp
+
+override_dh_auto_clean:
+	./waf distclean
+
+override_dh_clean:
+	dh_clean
+	./waf distclean
+	rm -rf .waf-1*
+	rm -f .waf-tools/*.pyc
+	rm -f docs/*.pyc
+
+override_dh_auto_test:
+
+override_dh_installinit:
+	dh_installinit
+	dh_installinit --name=nrd
+	dh_installinit --name=nfd-restart