Packaging BIRD Into A deb
- Clone BIRD’s Git repository
https://gitlab.nic.cz/labs/bird.git
andhttps://salsa.debian.org/debian/bird2.git
. Copy thedebian
folder to BIRD repo. - Install dependencies (building a deb archive requires texlive, so be careful on your disk space):
1
2apt install -y gcc autoconf automake gcc flex bison libncurses-dev libreadline-dev libssh-dev
apt install -y docbook-xsl libssh-gcrypt-dev linuxdoc-tools-latex opensp quilt texlive-latex-extra xsltproc - Also packages required for creating a .deb archive:
1
apt install -y build-essential fakeroot devscripts
- Pop revision first (for example,
2.0.7-4.1moecast1
) withdpkg -i
. - Build (will be configured by
debuild
):1
debuild -b -uc -us
- After this we can get debs in the parent folder of the git repo.
I haven’t figured out a way not to build the docs (since it requires texlive).