1
0
Fork 0

Wrap and sorting debian packaging files.

Signed-off-by: Daniel Baumann <daniel@debian.org>
This commit is contained in:
Daniel Baumann 2025-02-05 10:16:12 +01:00
parent 3a847175c6
commit 9b3d69f877
Signed by: daniel
GPG key ID: FBB4F0E80A80222F
4 changed files with 100 additions and 83 deletions

164
debian/control vendored
View file

@ -2,38 +2,40 @@ Source: frr
Section: net 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:
Ondřej Surý <ondrej@debian.org>, FRRouting-dev <dev@lists.frrouting.org>,
Daniel Baumann <daniel@debian.org>, Ondřej Surý <ondrej@debian.org>,
Build-Depends: bison, Daniel Baumann <daniel@debian.org>,
chrpath, Build-Depends:
debhelper-compat (= 13), bison,
flex, chrpath,
gawk, debhelper-compat (= 13),
install-info, flex,
libc-ares-dev, gawk,
libcap-dev, install-info,
libelf-dev:native, libc-ares-dev,
libjson-c-dev, libcap-dev,
libpam0g-dev, libelf-dev:native,
libpcre2-dev, libjson-c-dev,
libprotobuf-c-dev, liblua5.3-dev <pkg.frr.lua>,
libpython3-dev:native, libpam0g-dev,
libreadline-dev, libpcre2-dev,
librtr-dev <!pkg.frr.nortrlib>, libprotobuf-c-dev,
libsnmp-dev, libpython3-dev:native,
libssh-dev <!pkg.frr.nortrlib>, libreadline-dev,
libunwind-dev [!alpha !m68k !sparc64 !x32], librtr-dev <!pkg.frr.nortrlib>,
libyang2-dev (>= 2.1.128), libsnmp-dev,
pkgconf, libssh-dev <!pkg.frr.nortrlib>,
protobuf-c-compiler, libunwind-dev [!alpha !m68k !sparc64 !x32],
python3:native, libyang2-dev (>= 2.1.128),
python3-dev:native, lua5.3 <pkg.frr.lua>,
python3-pytest:native <!nocheck>, pkgconf,
python3-sphinx:native, protobuf-c-compiler,
texinfo, python3-dev:native,
lua5.3 <pkg.frr.lua>, python3-pytest:native <!nocheck>,
liblua5.3-dev <pkg.frr.lua> python3-sphinx:native,
python3:native,
texinfo,
Rules-Requires-Root: no Rules-Requires-Root: no
Standards-Version: 4.7.0 Standards-Version: 4.7.0
Homepage: https://www.frrouting.org Homepage: https://www.frrouting.org
@ -43,15 +45,20 @@ Vcs-Git: https://github.com/FRRouting/frr.git -b debian/master
Package: frr Package: frr
Section: net Section: net
Architecture: linux-any Architecture: linux-any
Depends: iproute2, Depends:
logrotate, iproute2,
lsof, logrotate,
${misc:Depends}, lsof,
${shlibs:Depends} ${misc:Depends},
Pre-Depends: adduser ${shlibs:Depends},
Recommends: frr-pythontools Pre-Depends:
Suggests: frr-doc adduser,
Conflicts: pimd, Recommends:
frr-pythontools,
Suggests:
frr-doc,
Conflicts:
pimd,
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.
@ -67,40 +74,17 @@ Description: FRRouting suite of internet protocols (BGP, OSPF, IS-IS, ...)
git lives on https://github.com/frrouting/frr.git and the project name git lives on https://github.com/frrouting/frr.git and the project name
is commonly abbreviated as "FRR." is commonly abbreviated as "FRR."
Package: frr-snmp
Section: net
Architecture: linux-any
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
through the AgentX protocol. Provides read-only access to current
routing state through standard SNMP MIBs.
Package: frr-rpki-rtrlib
Section: net
Architecture: linux-any
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
used to prevent hijacking of networks on the wider internet. It is only
relevant to internet service providers using their own autonomous system
number.
Build-Profiles: <!pkg.frr.nortrlib>
Package: frr-doc Package: frr-doc
Section: doc Section: doc
Architecture: all Architecture: all
Multi-Arch: foreign Multi-Arch: foreign
Depends: ${misc:Depends}, Depends:
${sphinxdoc:Depends} ${misc:Depends},
Built-Using: ${sphinxdoc:Built-Using} ${sphinxdoc:Depends},
Suggests: frr Built-Using:
${sphinxdoc:Built-Using},
Suggests:
frr,
Description: FRRouting suite - user manual Description: FRRouting suite - user manual
This provides the FRR user manual in HTML form. This is the official This provides the FRR user manual in HTML form. This is the official
manual maintained as part of the package and is also available online manual maintained as part of the package and is also available online
@ -109,10 +93,11 @@ Description: FRRouting suite - user manual
Package: frr-pythontools Package: frr-pythontools
Section: net Section: net
Architecture: all Architecture: all
Depends: frr (<< ${source:Upstream-Version}.0-~), Depends:
frr (>= ${source:Version}~), frr (<< ${source:Upstream-Version}.0-~),
python3:any, frr (>= ${source:Version}~),
${misc:Depends} python3:any,
${misc:Depends},
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
@ -120,3 +105,32 @@ Description: FRRouting suite - Python tools
. .
Without this package installed, "reload" (as a systemd or init script Without this package installed, "reload" (as a systemd or init script
invocation) will not work for the FRR daemons. invocation) will not work for the FRR daemons.
Package: frr-rpki-rtrlib
Section: net
Architecture: linux-any
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
used to prevent hijacking of networks on the wider internet. It is only
relevant to internet service providers using their own autonomous system
number.
Build-Profiles: <!pkg.frr.nortrlib>
Package: frr-snmp
Section: net
Architecture: linux-any
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
through the AgentX protocol. Provides read-only access to current
routing state through standard SNMP MIBs.

View file

@ -1,4 +1,4 @@
usr/lib/frr/frr-reload.py usr/lib/frr/frr-reload.py
usr/lib/frr/generate_support_bundle.py
usr/lib/frr/frr_babeltrace.py usr/lib/frr/frr_babeltrace.py
usr/lib/frr/generate_support_bundle.py
usr/lib/frr/ospfclient.py usr/lib/frr/ospfclient.py

2
debian/frr.install vendored
View file

@ -9,9 +9,9 @@ usr/lib/*/frr/libfrrospfapiclient.*
usr/lib/*/frr/libmgmt_be_nb.so.* usr/lib/*/frr/libmgmt_be_nb.so.*
usr/lib/*/frr/modules/bgpd_bmp.so usr/lib/*/frr/modules/bgpd_bmp.so
usr/lib/*/frr/modules/dplane_fpm_nl.so usr/lib/*/frr/modules/dplane_fpm_nl.so
usr/lib/*/frr/modules/pathd_pcep.so
usr/lib/*/frr/modules/zebra_cumulus_mlag.so usr/lib/*/frr/modules/zebra_cumulus_mlag.so
usr/lib/*/frr/modules/zebra_fpm.so usr/lib/*/frr/modules/zebra_fpm.so
usr/lib/*/frr/modules/pathd_pcep.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

15
debian/tests/control vendored
View file

@ -1,14 +1,17 @@
Tests: zebra-lo Tests: zebra-lo
Depends: frr Depends:
frr,
Restrictions: needs-root, isolation-container Restrictions: needs-root, isolation-container
Tests: bgpd-snmp-rpki Tests: bgpd-snmp-rpki
Depends: frr, Depends:
frr-rpki-rtrlib, frr,
frr-snmp 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, Depends:
frr-pythontools frr,
frr-pythontools,
Restrictions: needs-root, isolation-container Restrictions: needs-root, isolation-container