summaryrefslogtreecommitdiff
path: root/debian
diff options
context:
space:
mode:
authorOndřej Surý <ondrej@sury.org>2020-08-06 09:28:29 +0200
committerOndřej Surý <ondrej@sury.org>2020-09-26 09:23:39 +0200
commit0536ed66bbf820abe32e600b1219db7028b6f7ec (patch)
treebee12eda6d946b20d9f0efc0bf93831e25583cf1 /debian
parent234b0ea7de17c3a960122a9d3a12224e8dbb3ac8 (diff)
Use wrap-and-sort -a to unify debian/ wrapping and sorting
While it's ok to use individual wrapping/sorting in the debian/ source files, it's often simpler to just go with the formatting supported by tools. One such tool is wrap-and-sort, so this commit re-wraps and re-sorts the debian/ files to be unified and (-a) always wrapped.
Diffstat (limited to 'debian')
-rw-r--r--debian/control122
-rw-r--r--debian/frr-doc.install6
-rw-r--r--debian/frr.dirs2
-rw-r--r--debian/frr.docs2
-rw-r--r--debian/frr.install14
-rw-r--r--debian/tests/control7
6 files changed, 74 insertions, 79 deletions
diff --git a/debian/control b/debian/control
index fb27ec088b..62d315b333 100644
--- a/debian/control
+++ b/debian/control
@@ -3,33 +3,32 @@ Section: net
Priority: optional
Maintainer: David Lamparter <equinox-debian@diac24.net>
Uploaders: FRRouting-dev <dev@lists.frrouting.org>,
- Ondřej Surý <ondrej@debian.org>
-Build-Depends:
- bison,
- chrpath,
- debhelper (>= 9.20150101),
- flex,
- gawk,
- install-info,
- libc-ares-dev,
- libcap-dev,
- libjson-c-dev | libjson0-dev,
- libpam0g-dev | libpam-dev,
- libpcre3-dev,
- libpython3-dev,
- libreadline-dev,
- librtr-dev <!pkg.frr.nortrlib>,
- libsnmp-dev,
- libssh-dev <!pkg.frr.nortrlib>,
- libsystemd-dev <!pkg.frr.nosystemd>,
- libyang-dev (>= 1.0.184),
- lsb-base,
- pkg-config,
- python3,
- python3-dev,
- python3-sphinx,
- python3-pytest <!nocheck>,
- texinfo (>= 4.7)
+ Ondřej Surý <ondrej@debian.org>
+Build-Depends: bison,
+ chrpath,
+ debhelper (>= 9.20150101),
+ flex,
+ gawk,
+ install-info,
+ libc-ares-dev,
+ libcap-dev,
+ libjson-c-dev | libjson0-dev,
+ libpam0g-dev | libpam-dev,
+ libpcre3-dev,
+ libpython3-dev,
+ libreadline-dev,
+ librtr-dev <!pkg.frr.nortrlib>,
+ libsnmp-dev,
+ libssh-dev <!pkg.frr.nortrlib>,
+ libsystemd-dev <!pkg.frr.nosystemd>,
+ libyang-dev (>= 1.0.184),
+ lsb-base,
+ pkg-config,
+ python3,
+ python3-dev,
+ python3-pytest <!nocheck>,
+ python3-sphinx,
+ texinfo (>= 4.7)
Standards-Version: 4.5.0.2
Homepage: https://www.frrouting.org/
Vcs-Browser: https://github.com/FRRouting/frr/tree/debian/master
@@ -37,29 +36,28 @@ Vcs-Git: https://github.com/FRRouting/frr.git -b debian/master
Package: frr
Architecture: linux-any
-Depends:
- ${misc:Depends},
- ${shlibs:Depends},
- iproute2 | iproute,
- logrotate (>= 3.2-11),
- lsof
+Depends: iproute2 | iproute,
+ logrotate (>= 3.2-11),
+ lsof,
+ ${misc:Depends},
+ ${shlibs:Depends}
Pre-Depends: adduser
Recommends: frr-pythontools
Suggests: frr-doc
-Conflicts:
- zebra,
- zebra-pj,
- pimd,
- quagga,
- quagga-bgpd,
- quagga-core,
- quagga-isisd,
- quagga-ospf6d,
- quagga-ospfd,
- quagga-pimd,
- quagga-ripd,
- quagga-ripngd
-Replaces: zebra, zebra-pj
+Conflicts: pimd,
+ quagga,
+ quagga-bgpd,
+ quagga-core,
+ quagga-isisd,
+ quagga-ospf6d,
+ quagga-ospfd,
+ quagga-pimd,
+ quagga-ripd,
+ quagga-ripngd,
+ zebra,
+ zebra-pj
+Replaces: zebra,
+ zebra-pj
Description: FRRouting suite of internet protocols (BGP, OSPF, IS-IS, ...)
FRRouting implements the routing protocols commonly used in the
internet and private networks to exchange information between routers.
@@ -77,10 +75,9 @@ Description: FRRouting suite of internet protocols (BGP, OSPF, IS-IS, ...)
Package: frr-snmp
Architecture: linux-any
-Depends:
- ${misc:Depends},
- ${shlibs:Depends},
- frr (= ${binary:Version})
+Depends: frr (= ${binary:Version}),
+ ${misc:Depends},
+ ${shlibs:Depends}
Recommends: snmpd
Description: FRRouting suite - SNMP support
Adds SNMP support to FRR's daemons by attaching to net-snmp's snmpd
@@ -89,10 +86,9 @@ Description: FRRouting suite - SNMP support
Package: frr-rpki-rtrlib
Architecture: linux-any
-Depends:
- ${misc:Depends},
- ${shlibs:Depends},
- frr (= ${binary:Version})
+Depends: frr (= ${binary:Version}),
+ ${misc:Depends},
+ ${shlibs:Depends}
Description: FRRouting suite - BGP RPKI support (rtrlib)
Adds RPKI support to FRR's bgpd, allowing validation of BGP routes
against cryptographic information stored in WHOIS databases. This is
@@ -105,10 +101,9 @@ Package: frr-doc
Section: doc
Architecture: all
Multi-Arch: foreign
-Depends:
- ${misc:Depends},
- libjs-jquery,
- libjs-underscore
+Depends: libjs-jquery,
+ libjs-underscore,
+ ${misc:Depends}
Suggests: frr
Conflicts: quagga-doc
Description: FRRouting suite - user manual
@@ -118,11 +113,10 @@ Description: FRRouting suite - user manual
Package: frr-pythontools
Architecture: all
-Depends:
- ${misc:Depends},
- frr (<< ${source:Upstream-Version}.0-~),
- frr (>= ${source:Version}~),
- python3:any
+Depends: frr (<< ${source:Upstream-Version}.0-~),
+ frr (>= ${source:Version}~),
+ python3:any,
+ ${misc:Depends}
Description: FRRouting suite - Python tools
The FRRouting suite uses a small Python tool to provide configuration
reload functionality, particularly useful when the interactive configuration
diff --git a/debian/frr-doc.install b/debian/frr-doc.install
index 955c8fc5a9..f7c4f5074d 100644
--- a/debian/frr-doc.install
+++ b/debian/frr-doc.install
@@ -1,9 +1,7 @@
# html docs include RST sources
-usr/share/doc/frr/html
-
# info + images referenced by it
-usr/share/info/
-
# other
README.md usr/share/doc/frr
doc/figures/*.png usr/share/doc/frr
+usr/share/doc/frr/html
+usr/share/info/
diff --git a/debian/frr.dirs b/debian/frr.dirs
index 4b05c8c907..9e592e370c 100644
--- a/debian/frr.dirs
+++ b/debian/frr.dirs
@@ -1,6 +1,6 @@
-etc/logrotate.d/
etc/frr/
etc/iproute2/rt_protos.d/
+etc/logrotate.d/
usr/share/doc/frr/
usr/share/doc/frr/examples/
usr/share/lintian/overrides/
diff --git a/debian/frr.docs b/debian/frr.docs
index 34dbbd7bc7..220127caa1 100644
--- a/debian/frr.docs
+++ b/debian/frr.docs
@@ -1,2 +1,2 @@
-tools/zebra.el
debian/README.Debian
+tools/zebra.el
diff --git a/debian/frr.install b/debian/frr.install
index de7a158839..38ddd1b9be 100644
--- a/debian/frr.install
+++ b/debian/frr.install
@@ -1,19 +1,19 @@
etc/
-usr/bin/vtysh
+tools/frr-reload usr/lib/frr/
usr/bin/mtracebis
+usr/bin/vtysh
usr/lib/*/frr/libfrr.*
usr/lib/*/frr/libfrrcares.*
usr/lib/*/frr/libfrrospfapiclient.*
+usr/lib/*/frr/modules/bgpd_bmp.so
+usr/lib/*/frr/modules/dplane_fpm_nl.so
+usr/lib/*/frr/modules/zebra_cumulus_mlag.so
+usr/lib/*/frr/modules/zebra_fpm.so
+usr/lib/*/frr/modules/zebra_irdp.so
usr/lib/frr/*.sh
usr/lib/frr/*d
usr/lib/frr/watchfrr
usr/lib/frr/zebra
-usr/lib/*/frr/modules/zebra_cumulus_mlag.so
-usr/lib/*/frr/modules/dplane_fpm_nl.so
-usr/lib/*/frr/modules/zebra_irdp.so
-usr/lib/*/frr/modules/zebra_fpm.so
-usr/lib/*/frr/modules/bgpd_bmp.so
usr/share/doc/frr/examples
usr/share/man/
usr/share/yang/
-tools/frr-reload usr/lib/frr/
diff --git a/debian/tests/control b/debian/tests/control
index 5990a69370..6cb5b02dc1 100644
--- a/debian/tests/control
+++ b/debian/tests/control
@@ -3,9 +3,12 @@ Depends: frr
Restrictions: needs-root, isolation-container
Tests: bgpd-snmp-rpki
-Depends: frr, frr-snmp, frr-rpki-rtrlib
+Depends: frr,
+ frr-rpki-rtrlib,
+ frr-snmp
Restrictions: needs-root, isolation-container
Tests: py-frr-reload
-Depends: frr, frr-pythontools
+Depends: frr,
+ frr-pythontools
Restrictions: needs-root, isolation-container