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

122
debian/control vendored
View file

@ -3,33 +3,32 @@ Section: net
Priority: optional Priority: optional
Maintainer: David Lamparter <equinox-debian@diac24.net> Maintainer: David Lamparter <equinox-debian@diac24.net>
Uploaders: FRRouting-dev <dev@lists.frrouting.org>, Uploaders: FRRouting-dev <dev@lists.frrouting.org>,
Ondřej Surý <ondrej@debian.org> Ondřej Surý <ondrej@debian.org>
Build-Depends: Build-Depends: bison,
bison, chrpath,
chrpath, debhelper (>= 9.20150101),
debhelper (>= 9.20150101), flex,
flex, gawk,
gawk, install-info,
install-info, libc-ares-dev,
libc-ares-dev, libcap-dev,
libcap-dev, libjson-c-dev | libjson0-dev,
libjson-c-dev | libjson0-dev, libpam0g-dev | libpam-dev,
libpam0g-dev | libpam-dev, libpcre3-dev,
libpcre3-dev, libpython3-dev,
libpython3-dev, libreadline-dev,
libreadline-dev, librtr-dev <!pkg.frr.nortrlib>,
librtr-dev <!pkg.frr.nortrlib>, libsnmp-dev,
libsnmp-dev, libssh-dev <!pkg.frr.nortrlib>,
libssh-dev <!pkg.frr.nortrlib>, libsystemd-dev <!pkg.frr.nosystemd>,
libsystemd-dev <!pkg.frr.nosystemd>, libyang-dev (>= 1.0.184),
libyang-dev (>= 1.0.184), lsb-base,
lsb-base, pkg-config,
pkg-config, python3,
python3, python3-dev,
python3-dev, python3-pytest <!nocheck>,
python3-sphinx, python3-sphinx,
python3-pytest <!nocheck>, texinfo (>= 4.7)
texinfo (>= 4.7)
Standards-Version: 4.5.0.2 Standards-Version: 4.5.0.2
Homepage: https://www.frrouting.org/ Homepage: https://www.frrouting.org/
Vcs-Browser: https://github.com/FRRouting/frr/tree/debian/master 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 Package: frr
Architecture: linux-any Architecture: linux-any
Depends: Depends: iproute2 | iproute,
${misc:Depends}, logrotate (>= 3.2-11),
${shlibs:Depends}, lsof,
iproute2 | iproute, ${misc:Depends},
logrotate (>= 3.2-11), ${shlibs:Depends}
lsof
Pre-Depends: adduser Pre-Depends: adduser
Recommends: frr-pythontools Recommends: frr-pythontools
Suggests: frr-doc Suggests: frr-doc
Conflicts: Conflicts: pimd,
zebra, quagga,
zebra-pj, quagga-bgpd,
pimd, quagga-core,
quagga, quagga-isisd,
quagga-bgpd, quagga-ospf6d,
quagga-core, quagga-ospfd,
quagga-isisd, quagga-pimd,
quagga-ospf6d, quagga-ripd,
quagga-ospfd, quagga-ripngd,
quagga-pimd, zebra,
quagga-ripd, zebra-pj
quagga-ripngd Replaces: zebra,
Replaces: zebra, zebra-pj zebra-pj
Description: FRRouting suite of internet protocols (BGP, OSPF, IS-IS, ...) Description: FRRouting suite of internet protocols (BGP, OSPF, IS-IS, ...)
FRRouting implements the routing protocols commonly used in the FRRouting implements the routing protocols commonly used in the
internet and private networks to exchange information between routers. 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 Package: frr-snmp
Architecture: linux-any Architecture: linux-any
Depends: Depends: frr (= ${binary:Version}),
${misc:Depends}, ${misc:Depends},
${shlibs:Depends}, ${shlibs:Depends}
frr (= ${binary:Version})
Recommends: snmpd Recommends: snmpd
Description: FRRouting suite - SNMP support Description: FRRouting suite - SNMP support
Adds SNMP support to FRR's daemons by attaching to net-snmp's snmpd 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 Package: frr-rpki-rtrlib
Architecture: linux-any Architecture: linux-any
Depends: Depends: frr (= ${binary:Version}),
${misc:Depends}, ${misc:Depends},
${shlibs:Depends}, ${shlibs:Depends}
frr (= ${binary:Version})
Description: FRRouting suite - BGP RPKI support (rtrlib) Description: FRRouting suite - BGP RPKI support (rtrlib)
Adds RPKI support to FRR's bgpd, allowing validation of BGP routes Adds RPKI support to FRR's bgpd, allowing validation of BGP routes
against cryptographic information stored in WHOIS databases. This is against cryptographic information stored in WHOIS databases. This is
@ -105,10 +101,9 @@ Package: frr-doc
Section: doc Section: doc
Architecture: all Architecture: all
Multi-Arch: foreign Multi-Arch: foreign
Depends: Depends: libjs-jquery,
${misc:Depends}, libjs-underscore,
libjs-jquery, ${misc:Depends}
libjs-underscore
Suggests: frr Suggests: frr
Conflicts: quagga-doc Conflicts: quagga-doc
Description: FRRouting suite - user manual Description: FRRouting suite - user manual
@ -118,11 +113,10 @@ Description: FRRouting suite - user manual
Package: frr-pythontools Package: frr-pythontools
Architecture: all Architecture: all
Depends: Depends: frr (<< ${source:Upstream-Version}.0-~),
${misc:Depends}, frr (>= ${source:Version}~),
frr (<< ${source:Upstream-Version}.0-~), python3:any,
frr (>= ${source:Version}~), ${misc:Depends}
python3:any
Description: FRRouting suite - Python tools Description: FRRouting suite - Python tools
The FRRouting suite uses a small Python tool to provide configuration The FRRouting suite uses a small Python tool to provide configuration
reload functionality, particularly useful when the interactive configuration reload functionality, particularly useful when the interactive configuration

View file

@ -1,9 +1,7 @@
# html docs include RST sources # html docs include RST sources
usr/share/doc/frr/html
# info + images referenced by it # info + images referenced by it
usr/share/info/
# other # other
README.md usr/share/doc/frr README.md usr/share/doc/frr
doc/figures/*.png 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/frr/
etc/iproute2/rt_protos.d/ etc/iproute2/rt_protos.d/
etc/logrotate.d/
usr/share/doc/frr/ usr/share/doc/frr/
usr/share/doc/frr/examples/ usr/share/doc/frr/examples/
usr/share/lintian/overrides/ usr/share/lintian/overrides/

2
debian/frr.docs vendored
View file

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

14
debian/frr.install vendored
View file

@ -1,19 +1,19 @@
etc/ etc/
usr/bin/vtysh tools/frr-reload usr/lib/frr/
usr/bin/mtracebis usr/bin/mtracebis
usr/bin/vtysh
usr/lib/*/frr/libfrr.* usr/lib/*/frr/libfrr.*
usr/lib/*/frr/libfrrcares.* usr/lib/*/frr/libfrrcares.*
usr/lib/*/frr/libfrrospfapiclient.* 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/*.sh
usr/lib/frr/*d usr/lib/frr/*d
usr/lib/frr/watchfrr usr/lib/frr/watchfrr
usr/lib/frr/zebra 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/doc/frr/examples
usr/share/man/ usr/share/man/
usr/share/yang/ usr/share/yang/
tools/frr-reload usr/lib/frr/

View file

@ -3,9 +3,12 @@ Depends: frr
Restrictions: needs-root, isolation-container Restrictions: needs-root, isolation-container
Tests: bgpd-snmp-rpki Tests: bgpd-snmp-rpki
Depends: frr, frr-snmp, frr-rpki-rtrlib Depends: frr,
frr-rpki-rtrlib,
frr-snmp
Restrictions: needs-root, isolation-container Restrictions: needs-root, isolation-container
Tests: py-frr-reload Tests: py-frr-reload
Depends: frr, frr-pythontools Depends: frr,
frr-pythontools
Restrictions: needs-root, isolation-container Restrictions: needs-root, isolation-container