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.
This commit is contained in:
Ondřej Surý 2020-08-06 09:28:29 +02:00
parent 234b0ea7de
commit 0536ed66bb
6 changed files with 74 additions and 79 deletions

50
debian/control vendored
View file

@ -4,8 +4,7 @@ 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,
Build-Depends: bison,
chrpath,
debhelper (>= 9.20150101),
flex,
@ -27,8 +26,8 @@ Build-Depends:
pkg-config,
python3,
python3-dev,
python3-sphinx,
python3-pytest <!nocheck>,
python3-sphinx,
texinfo (>= 4.7)
Standards-Version: 4.5.0.2
Homepage: https://www.frrouting.org/
@ -37,19 +36,15 @@ Vcs-Git: https://github.com/FRRouting/frr.git -b debian/master
Package: frr
Architecture: linux-any
Depends:
${misc:Depends},
${shlibs:Depends},
iproute2 | iproute,
Depends: iproute2 | iproute,
logrotate (>= 3.2-11),
lsof
lsof,
${misc:Depends},
${shlibs:Depends}
Pre-Depends: adduser
Recommends: frr-pythontools
Suggests: frr-doc
Conflicts:
zebra,
zebra-pj,
pimd,
Conflicts: pimd,
quagga,
quagga-bgpd,
quagga-core,
@ -58,8 +53,11 @@ Conflicts:
quagga-ospfd,
quagga-pimd,
quagga-ripd,
quagga-ripngd
Replaces: zebra, zebra-pj
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:
Depends: frr (= ${binary:Version}),
${misc:Depends},
${shlibs:Depends},
frr (= ${binary:Version})
${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:
Depends: frr (= ${binary:Version}),
${misc:Depends},
${shlibs:Depends},
frr (= ${binary:Version})
${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-~),
Depends: frr (<< ${source:Upstream-Version}.0-~),
frr (>= ${source:Version}~),
python3:any
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

View file

@ -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/

2
debian/frr.dirs vendored
View file

@ -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/

2
debian/frr.docs vendored
View file

@ -1,2 +1,2 @@
tools/zebra.el
debian/README.Debian
tools/zebra.el

14
debian/frr.install vendored
View file

@ -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/

View file

@ -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