Use `Priority: optional` and reorder some fields

`Priority: extra` is deprecated
https://www.debian.org/doc/debian-policy/ch-archive.html#s-priorities

Change-Id: I2cfa0432240452a8fdd5e0b4a2fb8b4c908db612
diff --git a/chronochat/debian/control b/chronochat/debian/control
index 180319b..6b41b64 100644
--- a/chronochat/debian/control
+++ b/chronochat/debian/control
@@ -1,5 +1,6 @@
 Source: chronochat
-Priority: extra
+Section: net
+Priority: optional
 Maintainer: Alexander Afanasyev <alexander.afanasyev@ucla.edu>
 Build-Depends: debhelper (>= 8.0.0),
  python3 (>= 3.6.0),
@@ -11,12 +12,11 @@
  libboost-all-dev (>= 1.48.0),
  libqt4-dev
 Standards-Version: 3.9.2
-Section: net
-Homepage: http://github.com/named-data/ChronoSync
-Vcs-Git: git://github.com/named-data/ChronoSync.git
-Vcs-Browser: http://github.com/named-data/ChronoSync
+Homepage: https://github.com/named-data/ChronoChat
+Vcs-Browser: https://github.com/named-data/ChronoChat
+Vcs-Git: https://github.com/named-data/ChronoChat.git
 
 Package: chronochat
 Architecture: i386 amd64
 Depends: ${shlibs:Depends}, ${misc:Depends}, ndn-cxx
-Description: A simple but interesting demo to visualize how ChronoSync library works
+Description: simple but interesting demo to visualize how ChronoSync library works
diff --git a/chronochat/debian/control.precise b/chronochat/debian/control.precise
deleted file mode 100644
index c5033db..0000000
--- a/chronochat/debian/control.precise
+++ /dev/null
@@ -1,22 +0,0 @@
-Source: chronochat
-Priority: extra
-Maintainer: Alexander Afanasyev <alexander.afanasyev@ucla.edu>
-Build-Depends: debhelper (>= 8.0.0),
- python (>= 2.7.0),
- pkg-config (>= 0.26),
- ndn-cxx-dev (>= 0.2.0),
- liblog4cxx10-dev (>= 0.10.0),
- protobuf-compiler (>= 2.4.0),
- libprotobuf-dev (>= 2.4.0),
- libboost1.48-all-dev (>= 1.48.0),
- libqt4-dev
-Standards-Version: 3.9.2
-Section: net
-Homepage: http://github.com/named-data/ChronoSync
-Vcs-Git: git://github.com/named-data/ChronoSync.git
-Vcs-Browser: http://github.com/named-data/ChronoSync
-
-Package: chronochat
-Architecture: i386 amd64
-Depends: ${shlibs:Depends}, ${misc:Depends}, ndn-cxx
-Description: A simple but interesting demo to visualize how ChronoSync library works
diff --git a/libchronosync/debian/control b/libchronosync/debian/control
index 2799f0d..c311962 100644
--- a/libchronosync/debian/control
+++ b/libchronosync/debian/control
@@ -1,5 +1,6 @@
 Source: libchronosync
-Priority: extra
+Section: libs
+Priority: optional
 Maintainer: Alexander Afanasyev <alexander.afanasyev@ucla.edu>
 Build-Depends: debhelper (>= 8.0.0),
  python3 (>= 3.6.0),
@@ -9,20 +10,19 @@
  python3-sphinx (>= 1.6.0),
  git
 Standards-Version: 3.9.2
-Section: libs
-Homepage: http://named-data.net/doc/ChronoSync/
-Vcs-Git: git://github.com/named-data/ChronoSync.git
-Vcs-Browser: http://github.com/named-data/ChronoSync
+Homepage: https://github.com/named-data/ChronoSync
+Vcs-Browser: https://github.com/named-data/ChronoSync
+Vcs-Git: https://github.com/named-data/ChronoSync.git
 
 Package: libchronosync
-Section: libs
 Architecture: i386 amd64 arm64 armel armhf ppc64el
+Section: libs
 Depends: ${shlibs:Depends}, ${misc:Depends}
 Description: Sync library for multiuser realtime applications for NDN
 
 Package: libchronosync-dev
-Section: libdevel
 Architecture: i386 amd64 arm64 armel armhf ppc64el
+Section: libdevel
 Depends: libndn-cxx-dev,
  libchronosync (= ${binary:Version})
 Description: Development headers and libraries of sync library for multiuser realtime applications for NDN
@@ -30,7 +30,6 @@
 Package: libchronosync-dbg
 Architecture: any
 Section: debug
-Priority: extra
 Depends:
  libchronosync (= ${binary:Version}),
  ${misc:Depends}
diff --git a/libpsync/debian/control b/libpsync/debian/control
index 036d59f..f0ecdd6 100644
--- a/libpsync/debian/control
+++ b/libpsync/debian/control
@@ -1,4 +1,5 @@
 Source: libpsync
+Section: libs
 Priority: optional
 Maintainer: Ashlesh Gawande <agawande@memphis.edu>
 Build-Depends: debhelper (>= 8.0.0),
@@ -9,20 +10,19 @@
  python3-sphinx (>= 1.6.0),
  git
 Standards-Version: 4.1.2
-Section: libs
 Homepage: https://named-data.net/doc/PSync/
-Vcs-Git: git://github.com/named-data/PSync.git
 Vcs-Browser: https://github.com/named-data/PSync
+Vcs-Git: https://github.com/named-data/PSync.git
 
 Package: libpsync
-Section: libs
 Architecture: i386 amd64 arm64 armel armhf ppc64el
+Section: libs
 Depends: ${shlibs:Depends}, ${misc:Depends}
 Description: Partial and Full Name Synchronization Library for NDN
 
 Package: libpsync-dev
-Section: libdevel
 Architecture: i386 amd64 arm64 armel armhf ppc64el
+Section: libdevel
 Depends: libndn-cxx-dev,
  libpsync (= ${binary:Version})
 Description: Development headers and libraries of Partial and Full Name Synchronization Library for NDN
@@ -30,7 +30,6 @@
 Package: libpsync-dbg
 Architecture: any
 Section: debug
-Priority: extra
 Depends:
  libpsync (= ${binary:Version}),
  ${misc:Depends}
diff --git a/name-based-access-control/debian/control b/name-based-access-control/debian/control
index 2315787..3234e8f 100644
--- a/name-based-access-control/debian/control
+++ b/name-based-access-control/debian/control
@@ -1,4 +1,5 @@
 Source: name-based-access-control
+Section: libs
 Priority: optional
 Maintainer: Junxiao Shi <deb@mail1.yoursunny.com>
 Build-Depends: debhelper (>= 11.0.0),
@@ -9,20 +10,19 @@
  python3-sphinx (>= 1.6.0),
  git
 Standards-Version: 4.1.2
-Section: libs
 Homepage: https://github.com/named-data/name-based-access-control
-Vcs-Git: git://github.com/named-data/name-based-access-control.git
 Vcs-Browser: https://github.com/named-data/name-based-access-control
+Vcs-Git: https://github.com/named-data/name-based-access-control.git
 
 Package: libndn-nac
-Section: libs
 Architecture: i386 amd64 arm64 armel armhf ppc64el
+Section: libs
 Depends: ${shlibs:Depends}, ${misc:Depends}
 Description: Named-Based Access Control Library for NDN
 
 Package: libndn-nac-dev
-Section: libdevel
 Architecture: i386 amd64 arm64 armel armhf ppc64el
+Section: libdevel
 Depends: libndn-cxx-dev,
  libndn-nac (= ${binary:Version})
 Description: Development headers and libraries of Named-Based Access Control Library for NDN
@@ -30,7 +30,6 @@
 Package: libndn-nac-dbg
 Architecture: any
 Section: debug
-Priority: extra
 Depends:
  libndn-nac (= ${binary:Version}),
  ${misc:Depends}
diff --git a/ndn-cxx/debian/control b/ndn-cxx/debian/control
index 093a5da..0a54eaa 100644
--- a/ndn-cxx/debian/control
+++ b/ndn-cxx/debian/control
@@ -1,5 +1,6 @@
 Source: ndn-cxx
-Priority: extra
+Section: libs
+Priority: optional
 Maintainer: Alexander Afanasyev <alexander.afanasyev@ucla.edu>
 Build-Depends: debhelper (>= 8.0.0),
  python3 (>= 3.6.0),
@@ -10,14 +11,19 @@
  python3-sphinx (>= 1.6.0),
  git
 Standards-Version: 3.9.2
+Homepage: https://named-data.net/doc/ndn-cxx/
+Vcs-Browser: https://github.com/named-data/ndn-cxx
+Vcs-Git: https://github.com/named-data/ndn-cxx.git
+
+Package: libndn-cxx
+Architecture: i386 amd64 arm64 armel armhf ppc64el
 Section: libs
-Homepage: http://named-data.net/doc/ndn-cxx/
-Vcs-Git: git://github.com/named-data/ndn-cxx.git
-Vcs-Browser: http://github.com/named-data/ndn-cxx
+Depends: ${shlibs:Depends}, ${misc:Depends}
+Description: NDN C++ library with eXperimental eXtensions
 
 Package: libndn-cxx-dev
-Section: libdevel
 Architecture: i386 amd64 arm64 armel armhf ppc64el
+Section: libdevel
 Depends:
  pkg-config (>= 0.26),
  libssl-dev (>=1.0.1),
@@ -26,24 +32,17 @@
  libndn-cxx (= ${binary:Version})
 Description: Development headers and libraries of NDN C++ library with eXperimental eXtensions
 
-Package: libndn-cxx
-Section: libs
-Architecture: i386 amd64 arm64 armel armhf ppc64el
-Depends: ${shlibs:Depends}, ${misc:Depends}
-Description: NDN C++ library with eXperimental eXtensions
-
 Package: libndn-cxx-dbg
 Architecture: any
 Section: debug
-Priority: extra
 Depends:
  libndn-cxx (= ${binary:Version}),
  ${misc:Depends}
-Description: debugging symbols for ndn-cxx
+Description: debugging symbols for libndn-cxx
 
 Package: ndnsec
-Section: libs
 Architecture: i386 amd64 arm64 armel armhf ppc64el
+Section: net
 Depends: libndn-cxx (= ${binary:Version}), ${shlibs:Depends}, ${misc:Depends}
 Description: NDN security tools
 Conflicts: ndn.cxx-security-tools
@@ -63,6 +62,5 @@
 Package: ndn-cxx-dbg
 Architecture: any
 Section: debug
-Priority: extra
 Depends: libndn-cxx-dbg (= ${binary:Version})
 Description: Deprecated package (use libndn-cxx-dbg)
diff --git a/ndn-tools/debian/control b/ndn-tools/debian/control
index 94a7f3d..4c8feed 100644
--- a/ndn-tools/debian/control
+++ b/ndn-tools/debian/control
@@ -1,5 +1,6 @@
 Source: ndn-tools
-Priority: extra
+Section: net
+Priority: optional
 Maintainer: Alexander Afanasyev <alexander.afanasyev@ucla.edu>
 Build-Depends: debhelper (>= 9.20160709),
  python3 (>= 3.6.0),
@@ -9,46 +10,44 @@
  python3-sphinx (>= 1.6.0),
  git
 Standards-Version: 4.5.0
-Section: net
-Homepage: http://github.com/named-data/ndn-tools
-Vcs-Git: git://github.com/named-data/ndn-tools.git
-Vcs-Browser: http://github.com/named-data/ndn-tools
+Homepage: https://github.com/named-data/ndn-tools
+Vcs-Browser: https://github.com/named-data/ndn-tools
+Vcs-Git: https://github.com/named-data/ndn-tools.git
 
 Package: ndn-tools
 Architecture: i386 amd64 arm64 armel armhf ppc64el
 Depends: ndndump, ndnping, ndnpeek, ndn-dissect, ndnchunks
-Description: A collection of essential tools for Named Data Networking
+Description: collection of essential tools for Named Data Networking (NDN)
 
 Package: ndndump
 Architecture: i386 amd64 arm64 armel armhf ppc64el
 Depends: ${shlibs:Depends}, ${misc:Depends}
-Description: A traffic analysis tool that captures Interest and Data packets
+Description: traffic analysis tool that captures Interest and Data packets
  on the wire, and displays brief information about captured packets.
 
 Package: ndnping
 Architecture: i386 amd64 arm64 armel armhf ppc64el
 Depends: ${shlibs:Depends}, ${misc:Depends}
-Description: Reachability testing tools for Named Data Networking.
+Description: reachability testing tools for Named Data Networking (NDN)
 
 Package: ndnpeek
 Architecture: i386 amd64 arm64 armel armhf ppc64el
 Depends: ${shlibs:Depends}, ${misc:Depends}
-Description: ndnpeek and ndnpoke are a pair of programs to respectively request and serve
- a single Data packet.
+Description: pair of programs to request and serve a single NDN Data packet
 
 Package: ndn-dissect
 Architecture: i386 amd64 arm64 armel armhf ppc64el
 Depends: ${shlibs:Depends}, ${misc:Depends}
-Description: An NDN packet format inspector. It reads zero or more NDN packets from either
- an input file or the standard input, and displays the Type-Length-Value (TLV) structure
- of those packets on the standard output.
+Description: Named Data Networking (NDN) packet format inspector
+ ndn-dissect reads a sequence of NDN packets from either an input file or the
+ standard input, and displays the Type-Length-Value (TLV) structure of those
+ packets on the standard output.
 
 Package: ndn-dissect-wireshark
 Architecture: i386 amd64 arm64 armel armhf ppc64el
-Description: Wireshark extension to inspect TLV structure of NDN packets
+Description: Wireshark extension to inspect the TLV structure of NDN packets
 
 Package: ndnchunks
 Architecture: i386 amd64 arm64 armel armhf ppc64el
 Depends: ${shlibs:Depends}, ${misc:Depends}
-Description: ndncatchunks and ndnputchunks for for publishing and retrieving segmented content
-
+Description: pair of programs for publishing and retrieving segmented content over NDN
diff --git a/ndn-traffic-generator/debian/control b/ndn-traffic-generator/debian/control
index 5def508..e9ea390 100644
--- a/ndn-traffic-generator/debian/control
+++ b/ndn-traffic-generator/debian/control
@@ -1,20 +1,20 @@
 Source: ndn-traffic-generator
-Priority: extra
+Section: net
+Priority: optional
 Maintainer: Alexander Afanasyev <alexander.afanasyev@ucla.edu>
 Build-Depends: debhelper (>= 8.0.0),
  python3 (>= 3.6.0),
  pkg-config (>= 0.26),
  libndn-cxx-dev (>= 0.8.0)
 Standards-Version: 3.9.2
-Section: net
-Homepage: http://github.com/named-data/ndn-traffic-generator
-Vcs-Git: git://github.com/named-data/ndn-traffic-generator.git
-Vcs-Browser: http://github.com/named-data/ndn-traffic-generator
+Homepage: https://github.com/named-data/ndn-traffic-generator
+Vcs-Browser: https://github.com/named-data/ndn-traffic-generator
+Vcs-Git: https://github.com/named-data/ndn-traffic-generator.git
 
 Package: ndn-traffic-generator
 Architecture: i386 amd64 arm64 armel armhf ppc64el
 Depends: ${shlibs:Depends}, ${misc:Depends}, libndn-cxx, ndnsec
-Description: Traffic Generator For NDN
+Description: traffic generator for Named Data Networking (NDN)
  This tool is designed to generate Interest and Data traffic in an NDN network.  The client
  and server tool accept traffic configuration files which can be used to specify the
  pattern of NDN traffic that is required to be generated.  Sample configuration files are
diff --git a/ndncert/debian/control b/ndncert/debian/control
index 0485ef5..74ab264 100644
--- a/ndncert/debian/control
+++ b/ndncert/debian/control
@@ -1,28 +1,28 @@
 Source: ndncert
-Priority: extra
+Section: net
+Priority: optional
 Maintainer: Zhiyi Zhang <zhiyi@cs.ucla.edu>
 Build-Depends: debhelper (>= 8.0.0),
  python3 (>= 3.6.0),
  pkg-config (>= 0.26),
  libndn-cxx-dev (>= 0.6.5)
 Standards-Version: 3.9.2
-Section: net
-Homepage: http://github.com/named-data/ndncert
-Vcs-Git: git://github.com/named-data/ndncert
-Vcs-Browser: http://github.com/named-data/ndncert
+Homepage: https://github.com/named-data/ndncert
+Vcs-Browser: https://github.com/named-data/ndncert
+Vcs-Git: https://github.com/named-data/ndncert.git
 
 Package: libndncert
-Section: libs
 Architecture: i386 amd64 arm64 armel armhf ppc64el
+Section: libs
 Depends: ${shlibs:Depends}, ${misc:Depends}
 Description: NDN Certificate Management System
  The library to support NDNCERT protocol and help
  NDN entities to manage certificates.
 
 Package: libndncert-dev
+Architecture: i386 amd64 arm64 armel armhf ppc64el
 Section: libdevel
 Depends: libndncert (= ${binary:Version}), ${misc:Depends}, libndn-cxx-dev
-Architecture: i386 amd64 arm64 armel armhf ppc64el
 Description: NDN Certificate Management System
  The library to support NDNCERT protocol and help
  NDN entities to manage certificates.
@@ -30,16 +30,14 @@
  This package contains the development files (headers and libraries)
 
 Package: libndncert-dbg
-Section: debug
 Architecture: i386 amd64 arm64 armel armhf ppc64el
-Priority: extra
+Section: debug
 Depends: libndncert (= ${binary:Version}), ${misc:Depends}
-Multi-Arch: foreign
-Description: NDN Certificate Management System
+Description: NDN Certificate Management System (debugging symbols)
  The library to support NDNCERT protocol and help
  NDN entities to manage certificates.
  .
- This package contains the debugging symbols for the libraries.
+ This package contains the debugging symbols for the library.
 
 Package: ndncert
 Architecture: i386 amd64 arm64 armel armhf ppc64el
@@ -49,8 +47,8 @@
  NDN entities do certificate management.
 
 Package: ndncert-server
-Depends: ${shlibs:Depends}, ${misc:Depends}, ndncert, libndn-cxx, ndnsec, nfd
 Architecture: i386 amd64 arm64 armel armhf ppc64el
+Depends: ${shlibs:Depends}, ${misc:Depends}, ndncert, libndn-cxx, ndnsec, nfd
 Description: NDN Certificate Management System
  Daemon to support NDNCERT protocol and help
  NDN entities do certificate management.
diff --git a/ndnmap-data-collector/debian/control b/ndnmap-data-collector/debian/control
index 195fb99..0350dc6 100644
--- a/ndnmap-data-collector/debian/control
+++ b/ndnmap-data-collector/debian/control
@@ -1,19 +1,19 @@
 Source: ndnmap-data-collector
-Priority: extra
+Section: net
+Priority: optional
 Maintainer: John DeHart <jdd@wustl.edu>
 Build-Depends: debhelper (>= 9.20160709),
  python3 (>= 3.6.0),
  pkg-config (>= 0.26),
  libndn-cxx-dev (>= 0.8.0)
 Standards-Version: 3.9.2
-Section: net
 Homepage: https://github.com/WU-ARL/ndnmapDataCollector
-Vcs-Git: https://github.com/WU-ARL/ndnmapDataCollector.git
 Vcs-Browser: https://github.com/WU-ARL/ndnmapDataCollector
+Vcs-Git: https://github.com/WU-ARL/ndnmapDataCollector.git
 
 Package: ndnmap-data-collector
 Architecture: i386 amd64 arm64 armel armhf ppc64el
 Depends: ${shlibs:Depends}, ${misc:Depends}, libndn-cxx, ndnsec
-Description: Data collector daemons for ndnmap.arl.wustl.edu
+Description: data collector daemons for ndnmap.arl.wustl.edu
  This tool is designed to generate ndn interests to each NDN Testbed node
  to collect link usage data for display on the ndnmap.arl.wustl.edu web page.
diff --git a/ndns/debian/control b/ndns/debian/control
index 095c779..a1b7fe7 100644
--- a/ndns/debian/control
+++ b/ndns/debian/control
@@ -1,5 +1,6 @@
 Source: ndns
-Priority: extra
+Section: net
+Priority: optional
 Maintainer: Alexander Afanasyev <alexander.afanasyev@ucla.edu>
 Build-Depends: debhelper (>= 9.20160709),
  python3 (>= 3.6.0),
@@ -8,10 +9,9 @@
  python3-sphinx (>= 1.6.0),
  git
 Standards-Version: 4.5.0
-Section: net
-Homepage: http://github.com/named-data/ndns
-Vcs-Git: git://github.com/named-data/ndns.git
-Vcs-Browser: http://github.com/named-data/ndns
+Homepage: https://github.com/named-data/ndns
+Vcs-Browser: https://github.com/named-data/ndns
+Vcs-Git: https://github.com/named-data/ndns.git
 
 Package: ndns
 Architecture: i386 amd64 arm64 armel armhf ppc64el
diff --git a/nfd/debian/control b/nfd/debian/control
index 1ce91f7..d264dd5 100644
--- a/nfd/debian/control
+++ b/nfd/debian/control
@@ -1,5 +1,6 @@
 Source: nfd
-Priority: extra
+Section: net
+Priority: optional
 Maintainer: Alexander Afanasyev <alexander.afanasyev@ucla.edu>
 Build-Depends: debhelper (>= 9.20160709),
  python3 (>= 3.6.0),
@@ -11,10 +12,9 @@
  python3-sphinx (>= 1.6.0),
  git
 Standards-Version: 3.9.2
-Section: net
-Homepage: http://named-data.net/doc/NFD/
-Vcs-Git: git://github.com/named-data/NFD.git
-Vcs-Browser: http://github.com/named-data/NFD
+Homepage: https://named-data.net/doc/NFD/
+Vcs-Browser: https://github.com/named-data/NFD
+Vcs-Git: https://github.com/named-data/NFD.git
 
 Package: nfd
 Architecture: i386 amd64 arm64 armel armhf ppc64el
@@ -51,7 +51,6 @@
 Package: nfd-dbg
 Architecture: any
 Section: debug
-Priority: extra
 Depends:
  nfd (= ${binary:Version}),
  ${misc:Depends}
diff --git a/nlsr/debian/control b/nlsr/debian/control
index 69763e7..464903c 100644
--- a/nlsr/debian/control
+++ b/nlsr/debian/control
@@ -1,5 +1,6 @@
 Source: nlsr
-Priority: extra
+Section: net
+Priority: optional
 Maintainer: Ashlesh Gawande <agawande@memphis.edu>
 Build-Depends: debhelper (>= 9.20160709),
  python3 (>= 3.6.0),
@@ -11,12 +12,11 @@
  python3-sphinx (>= 1.6.0),
  git
 Standards-Version: 4.5.0
-Section: net
-Homepage: http://redmine.named-data.net/projects/nlsr/wiki/
-Vcs-Git: git://github.com/named-data/NLSR.git
-Vcs-Browser: http://github.com/named-data/NLSR
+Homepage: https://named-data.net/doc/NLSR/
+Vcs-Browser: https://github.com/named-data/NLSR
+Vcs-Git: https://github.com/named-data/NLSR.git
 
 Package: nlsr
 Architecture: i386 amd64 arm64 armel armhf ppc64el
 Depends: ${shlibs:Depends}, ${misc:Depends}, libndn-cxx, ndnsec
-Description: A link state routing protocol for Named Data Networking
+Description: link state routing protocol for Named Data Networking
diff --git a/repo-ng/debian/control b/repo-ng/debian/control
index 4faf4b1..f680725 100644
--- a/repo-ng/debian/control
+++ b/repo-ng/debian/control
@@ -1,19 +1,19 @@
 Source: repo-ng
-Priority: extra
+Section: net
+Priority: optional
 Maintainer: Alexander Afanasyev <alexander.afanasyev@ucla.edu>
 Build-Depends: debhelper (>= 9.20160709),
  python3 (>= 3.6.0),
  pkg-config (>= 0.26),
  libndn-cxx-dev (>= 0.8.0)
 Standards-Version: 3.9.2
-Section: net
-Homepage: http://github.com/named-data/repo-ng
-Vcs-Git: git://github.com/named-data/repo-ng.git
-Vcs-Browser: http://github.com/named-data/repo-ng
+Homepage: https://github.com/named-data/repo-ng
+Vcs-Browser: https://github.com/named-data/repo-ng
+Vcs-Git: https://github.com/named-data/repo-ng.git
 
 Package: repo-ng
 Architecture: i386 amd64 arm64 armel armhf ppc64el
 Depends: ${shlibs:Depends}, ${misc:Depends}, libndn-cxx, ndnsec
-Description: Next generation of NDN repository
+Description: next generation of NDN repository
  repo-ng is an implementation of a Named Data Networking data repository with the protocol
  defined on NDN wiki: http://redmine.named-data.net/projects/repo-ng/wiki