Update postinst file to follow v2 security elements

Change-Id: I17e11e05043ba864052419604096e72a6238ec9c
diff --git a/ndn-tools/Makefile b/ndn-tools/Makefile
index 6fab05e..bba083f 100644
--- a/ndn-tools/Makefile
+++ b/ndn-tools/Makefile
@@ -11,6 +11,6 @@
 VERSION=0.5-14-gcc2c717b
 
 # PPA version
-PPA_VERSION=1
+PPA_VERSION=2
 
 include ../packaging.mk
diff --git a/ndn-tools/debian/changelog b/ndn-tools/debian/changelog
index 15229aa..4fde33d 100644
--- a/ndn-tools/debian/changelog
+++ b/ndn-tools/debian/changelog
@@ -1,3 +1,10 @@
+ndn-tools (0.5-14-gcc2c717b-ppa2~DISTRO) DISTRO; urgency=low
+
+  * New version based on cc2c717b6289019acc45f209fce5e4cd10c31e72
+    (https://github.com/named-data/ndn-tools)
+
+ -- Alexander Afanasyev <alexander.afanasyev@ucla.edu>  Sat, 03 Feb 2018 19:14:58 +0000
+
 ndn-tools (0.5-14-gcc2c717b-ppa1~DISTRO) DISTRO; urgency=low
 
   * New version based on cc2c717b6289019acc45f209fce5e4cd10c31e72
diff --git a/ndn-tools/debian/ndnping.postinst b/ndn-tools/debian/ndnping.postinst
index 09502a5..8b04456 100644
--- a/ndn-tools/debian/ndnping.postinst
+++ b/ndn-tools/debian/ndnping.postinst
@@ -6,7 +6,7 @@
 
 APP=ndnping
 
-if [ ! -f /var/lib/ndn/$APP/.ndn/ndnsec-public-info.db ]; then
+if [ ! -f /var/lib/ndn/$APP/.ndn/pib.db ]; then
     # Create HOME and generate self-signed NDN certificate
     sudo mkdir -p /var/lib/ndn/$APP/.ndn
     sudo chown -R ndn:ndn /var/lib/ndn/$APP
diff --git a/nfd/Makefile b/nfd/Makefile
index ebe0cfd..6f8f4c6 100644
--- a/nfd/Makefile
+++ b/nfd/Makefile
@@ -11,6 +11,6 @@
 VERSION=0.6.0-29-g3d2049fb
 
 # PPA version
-PPA_VERSION=1
+PPA_VERSION=2
 
 include ../packaging.mk
diff --git a/nfd/debian/changelog b/nfd/debian/changelog
index 45dd1aa..a2a0e2a 100644
--- a/nfd/debian/changelog
+++ b/nfd/debian/changelog
@@ -1,3 +1,10 @@
+nfd (0.6.0-29-g3d2049fb-ppa2~DISTRO) DISTRO; urgency=low
+
+  * New version based on 3d2049fbc15733b741f44852fbca52595b285601
+    (https://github.com/named-data/NFD.git)
+
+ -- Alexander Afanasyev <alexander.afanasyev@ucla.edu>  Sat, 03 Feb 2018 19:16:09 +0000
+
 nfd (0.6.0-29-g3d2049fb-ppa1~DISTRO) DISTRO; urgency=low
 
   * New version based on 3d2049fbc15733b741f44852fbca52595b285601
diff --git a/nfd/debian/ndn-autoconfig-server.postinst b/nfd/debian/ndn-autoconfig-server.postinst
index 76d79e4..4c05deb 100644
--- a/nfd/debian/ndn-autoconfig-server.postinst
+++ b/nfd/debian/ndn-autoconfig-server.postinst
@@ -6,7 +6,7 @@
 
 APP=ndn-autoconfig-server
 
-if [ ! -f /var/lib/ndn/$APP/.ndn/ndnsec-public-info.db ]; then
+if [ ! -f /var/lib/ndn/$APP/.ndn/pib.db ]; then
     # Create HOME and generate self-signed NDN certificate
     sudo mkdir -p /var/lib/ndn/$APP/.ndn
     sudo chown -R ndn:ndn /var/lib/ndn/$APP
diff --git a/nfd/debian/nfd-autoreg.postinst b/nfd/debian/nfd-autoreg.postinst
index 3d20fcf..c7835fb 100644
--- a/nfd/debian/nfd-autoreg.postinst
+++ b/nfd/debian/nfd-autoreg.postinst
@@ -6,7 +6,7 @@
 
 APP=nfd-autoreg
 
-if [ ! -f /var/lib/ndn/$APP/.ndn/ndnsec-public-info.db ]; then
+if [ ! -f /var/lib/ndn/$APP/.ndn/pib.db ]; then
     # Create HOME and generate self-signed NDN certificate
     sudo mkdir -p /var/lib/ndn/$APP/.ndn
     sudo chown -R ndn:ndn /var/lib/ndn/$APP
diff --git a/repo-ng/Makefile b/repo-ng/Makefile
index ae5503b..0b6ad49 100644
--- a/repo-ng/Makefile
+++ b/repo-ng/Makefile
@@ -11,6 +11,6 @@
 VERSION=0.0.12-gd45e62b0
 
 # PPA version
-PPA_VERSION=2
+PPA_VERSION=3
 
 include ../packaging.mk
diff --git a/repo-ng/debian/changelog b/repo-ng/debian/changelog
index 280476b..edada4f 100644
--- a/repo-ng/debian/changelog
+++ b/repo-ng/debian/changelog
@@ -1,3 +1,10 @@
+repo-ng (0.0.12-gd45e62b0-ppa3~DISTRO) DISTRO; urgency=low
+
+  * New version based on d45e62b0fd4170b5527483451cfbe971c19da8c7
+    (https://github.com/named-data/repo-ng)
+
+ -- Alexander Afanasyev <alexander.afanasyev@ucla.edu>  Sat, 03 Feb 2018 19:19:14 +0000
+
 repo-ng (0.0.12-gd45e62b0-ppa2~DISTRO) DISTRO; urgency=low
 
   * New version based on d45e62b0fd4170b5527483451cfbe971c19da8c7
diff --git a/repo-ng/debian/repo-ng.postinst b/repo-ng/debian/repo-ng.postinst
index d64684a..b49473c 100644
--- a/repo-ng/debian/repo-ng.postinst
+++ b/repo-ng/debian/repo-ng.postinst
@@ -6,7 +6,7 @@
 
 APP=repo-ng
 
-if [ ! -f /var/lib/ndn/$APP/.ndn/ndnsec-public-info.db ]; then
+if [ ! -f /var/lib/ndn/$APP/.ndn/pib.db ]; then
     # Create HOME and generate self-signed NDN certificate
     sudo mkdir -p /var/lib/ndn/$APP/.ndn
     sudo chown -R ndn:ndn /var/lib/ndn/$APP