mirror of
https://gitlab.nic.cz/labs/bird.git
synced 2024-12-22 09:41:54 +00:00
Debian: Rename package to bird3
Also reformat using wrap-and-sort -bast
This commit is contained in:
parent
63221eba2e
commit
c7b6d8b436
@ -1,6 +1,6 @@
|
||||
etc/bird/bird.conf /usr/share/bird2/
|
||||
debian/envvars /etc/bird/
|
||||
debian/prepare-environment /usr/lib/bird/
|
||||
etc/bird/bird.conf /usr/share/bird3/
|
||||
usr/sbin/bird
|
||||
usr/sbin/birdc
|
||||
usr/sbin/birdcl
|
@ -9,8 +9,8 @@ if [ "$1" = "configure" ]; then
|
||||
|
||||
dpkg-statoverride --list /etc/bird > /dev/null || dpkg-statoverride --update --add bird bird 0750 /etc/bird
|
||||
|
||||
ucf /usr/share/bird2/bird.conf /etc/bird/bird.conf
|
||||
ucfr -f bird2 /etc/bird/bird.conf
|
||||
ucf /usr/share/bird3/bird.conf /etc/bird/bird.conf
|
||||
ucfr -f bird3 /etc/bird/bird.conf
|
||||
dpkg-statoverride --list /etc/bird/bird.conf > /dev/null || dpkg-statoverride --update --add bird bird 0640 /etc/bird/bird.conf
|
||||
fi
|
||||
|
@ -4,7 +4,7 @@ set -e
|
||||
if test "$1" = "purge"; then
|
||||
|
||||
# Check if there is no collision of ownership of /etc/bird/bird.conf
|
||||
if ! command -v ucf ucfr >/dev/null || ucfr bird2 /etc/bird/bird.conf 2>/dev/null; then
|
||||
if ! command -v ucf ucfr >/dev/null || ucfr bird3 /etc/bird/bird.conf 2>/dev/null; then
|
||||
dpkg-statoverride --remove /etc/bird >/dev/null 2>/dev/null || true
|
||||
dpkg-statoverride --remove /etc/bird/bird.conf >/dev/null 2>/dev/null || true
|
||||
|
||||
@ -14,7 +14,7 @@ if test "$1" = "purge"; then
|
||||
rm -f /etc/bird/bird.conf
|
||||
if command -v ucf ucfr >/dev/null; then
|
||||
ucf --purge /etc/bird/bird.conf
|
||||
ucfr --purge bird2 /etc/bird/bird.conf
|
||||
ucfr --purge bird3 /etc/bird/bird.conf
|
||||
fi
|
||||
|
||||
deluser --quiet bird > /dev/null || true
|
@ -1,4 +1,4 @@
|
||||
bird2 ({{ version }}-cznic.{{ release }}) unstable; urgency=medium
|
||||
bird3 ({{ version }}-cznic.{{ release }}) unstable; urgency=medium
|
||||
|
||||
* upstream package
|
||||
|
||||
|
@ -1,7 +1,8 @@
|
||||
Source: bird2
|
||||
Source: bird3
|
||||
Section: net
|
||||
Priority: optional
|
||||
Build-Depends: bison,
|
||||
Build-Depends:
|
||||
bison,
|
||||
debhelper,
|
||||
docbook-xsl,
|
||||
flex,
|
||||
@ -10,27 +11,32 @@ Build-Depends: bison,
|
||||
libssh-gcrypt-dev,
|
||||
m4,
|
||||
quilt,
|
||||
xsltproc
|
||||
Build-Depends-Indep: linuxdoc-tools-latex,
|
||||
xsltproc,
|
||||
Build-Depends-Indep:
|
||||
linuxdoc-tools-latex,
|
||||
opensp,
|
||||
texlive-latex-extra
|
||||
texlive-latex-extra,
|
||||
Maintainer: Jakub Ružička <jakub.ruzicka@nic.cz>
|
||||
Uploaders: Ondřej Surý <ondrej@debian.org>
|
||||
Standards-Version: 4.6.2
|
||||
Vcs-Browser: https://salsa.debian.org/debian/bird2
|
||||
Vcs-Git: https://salsa.debian.org/debian/bird2.git
|
||||
Standards-Version: 4.7.0
|
||||
Vcs-Browser: https://salsa.debian.org/debian/bird3
|
||||
Vcs-Git: https://salsa.debian.org/debian/bird3.git
|
||||
Homepage: https://bird.network.cz/
|
||||
|
||||
Package: bird2
|
||||
Architecture: kfreebsd-any linux-any
|
||||
Pre-Depends: init-system-helpers,
|
||||
${misc:Pre-Depends}
|
||||
Depends: adduser,
|
||||
Package: bird3
|
||||
Architecture: linux-any kfreebsd-any
|
||||
Pre-Depends:
|
||||
init-system-helpers,
|
||||
${misc:Pre-Depends},
|
||||
Depends:
|
||||
adduser,
|
||||
ucf,
|
||||
${misc:Depends},
|
||||
${shlibs:Depends}
|
||||
Conflicts: bird
|
||||
Suggests: bird2-doc
|
||||
${shlibs:Depends},
|
||||
Conflicts:
|
||||
bird2,
|
||||
bird,
|
||||
Suggests:
|
||||
bird3-doc,
|
||||
Description: Internet Routing Daemon
|
||||
BIRD is an Internet routing daemon with full support for all the major
|
||||
routing protocols. It allows redistribution between protocols with a
|
||||
@ -41,10 +47,11 @@ Description: Internet Routing Daemon
|
||||
protocols. It also supports supplementary protocols like BFD, RPKI-Router
|
||||
and IPv6 router advertisements.
|
||||
|
||||
Package: bird2-doc
|
||||
Package: bird3-doc
|
||||
Architecture: all
|
||||
Section: doc
|
||||
Depends: ${misc:Depends}
|
||||
Depends:
|
||||
${misc:Depends},
|
||||
Description: Internet Routing Daemon - documentation
|
||||
BIRD is an Internet routing daemon with full support for all the major
|
||||
routing protocols. It allows redistribution between protocols with a
|
||||
|
@ -11,7 +11,7 @@ include /usr/share/dpkg/default.mk
|
||||
|
||||
COMMON_FLAGS= --prefix=/usr --sysconfdir=/etc/bird --mandir=\$${prefix}/share/man \
|
||||
--infodir=\$${prefix}/share/info --localstatedir=/var --runstatedir=/run/bird \
|
||||
--docdir=\$${prefix}/share/bird2 \
|
||||
--docdir=\$${prefix}/share/bird3 \
|
||||
--enable-client
|
||||
|
||||
CFLAGS += -g -O2 -fno-strict-aliasing -fno-strict-overflow -fPIC
|
||||
|
@ -1,3 +1,3 @@
|
||||
Tests: test-bird.sh
|
||||
Restrictions: needs-root
|
||||
Depends: bird2, iproute2
|
||||
Depends: bird3, iproute2
|
||||
|
Loading…
Reference in New Issue
Block a user