nfd: enable Ethernet face creation

refs #4565

Change-Id: I4f41988c68fc6f4e5b7ede53c96d2103f1ef798d
diff --git a/nfd/debian/changelog b/nfd/debian/changelog
index d9e9c63..8f93418 100644
--- a/nfd/debian/changelog
+++ b/nfd/debian/changelog
@@ -1,3 +1,9 @@
+nfd (0.6.1-ppa2~DISTRO) DISTRO; urgency=low
+
+  * Enable Ethernet face creation
+
+ -- Junxiao Shi <noreply@noreply.com>  Mon, 16 Apr 2018 18:32:55 +0000
+
 nfd (0.6.1-ppa1~DISTRO) DISTRO; urgency=low
 
   * Version based on NFD-0.6.1 (https://github.com/named-data/NFD.git)
diff --git a/nfd/debian/control b/nfd/debian/control
index 268de07..3b0b3f7 100644
--- a/nfd/debian/control
+++ b/nfd/debian/control
@@ -17,7 +17,7 @@
 
 Package: nfd
 Architecture: i386 amd64 arm64 armel armhf ppc64el
-Depends: ${shlibs:Depends}, ${misc:Depends}, libndn-cxx, ndnsec, sudo, procps, adduser
+Depends: ${shlibs:Depends}, ${misc:Depends}, libndn-cxx, ndnsec, sudo, procps, adduser, libcap2-bin
 Description: NFD - Named Data Networking Forwarding Daemon
  NFD is a network forwarder that implements and evolves together with the Named Data
  Networking (NDN) protocol.
diff --git a/nfd/debian/nfd.postinst b/nfd/debian/nfd.postinst
index 84463aa..2288926 100644
--- a/nfd/debian/nfd.postinst
+++ b/nfd/debian/nfd.postinst
@@ -23,6 +23,9 @@
 
 chown -R ndn:ndn "/var/lib/ndn/nfd"
 
+# Enable Ethernet face creation
+setcap cap_net_raw,cap_net_admin=eip /usr/bin/nfd
+
 #DEBHELPER#
 
 exit 0