diff options
author | Kazuki Yamaguchi <k@rhe.jp> | 2023-10-11 17:58:26 +0900 |
---|---|---|
committer | Kazuki Yamaguchi <k@rhe.jp> | 2023-10-11 17:58:26 +0900 |
commit | 385355f770731cd33f541cbb0e5beba8240a295b (patch) | |
tree | 31bf8e9bad8dbed46f857648bdee81923f0b954e | |
parent | c265157d518c09dfa556f1a81e2fb1974c2d2122 (diff) | |
parent | fef7b0a20cd1be694f09b03ece7f115ce2816cf8 (diff) | |
download | bird-385355f770731cd33f541cbb0e5beba8240a295b.tar.gz |
merge debian/master
-rw-r--r-- | debian/bird.xml | 311 | ||||
-rw-r--r-- | debian/bird2-doc.doc-base | 10 | ||||
-rw-r--r-- | debian/bird2-doc.docs | 4 | ||||
-rw-r--r-- | debian/bird2.bird.init | 136 | ||||
-rw-r--r-- | debian/bird2.bird.service | 14 | ||||
-rw-r--r-- | debian/bird2.docs | 2 | ||||
-rw-r--r-- | debian/bird2.install | 6 | ||||
-rw-r--r-- | debian/bird2.manpages | 3 | ||||
-rw-r--r-- | debian/bird2.postinst | 19 | ||||
-rw-r--r-- | debian/bird2.postrm | 26 | ||||
-rw-r--r-- | debian/changelog | 961 | ||||
-rw-r--r-- | debian/control | 55 | ||||
-rw-r--r-- | debian/copyright | 99 | ||||
-rw-r--r-- | debian/envvars | 3 | ||||
-rw-r--r-- | debian/gbp.conf | 9 | ||||
-rwxr-xr-x | debian/prepare-environment | 28 | ||||
-rwxr-xr-x | debian/rules | 55 | ||||
-rw-r--r-- | debian/salsa-ci.yml | 12 | ||||
-rw-r--r-- | debian/source/format | 1 | ||||
-rw-r--r-- | debian/tests/control | 3 | ||||
-rwxr-xr-x | debian/tests/test-bird.sh | 105 | ||||
-rw-r--r-- | debian/watch | 2 |
22 files changed, 1864 insertions, 0 deletions
diff --git a/debian/bird.xml b/debian/bird.xml new file mode 100644 index 00000000..2cc69575 --- /dev/null +++ b/debian/bird.xml @@ -0,0 +1,311 @@ +<?xml version='1.0' encoding='UTF-8'?> +<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" +"http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [ + +<!-- + +`xsltproc -''-nonet \ + -''-param man.charmap.use.subset "0" \ + -''-param make.year.ranges "1" \ + -''-param make.single.year.ranges "1" \ + /usr/share/xml/docbook/stylesheet/nwalsh/manpages/docbook.xsl \ + manpage.xml' + +A manual page <package>.<section> will be generated. You may view the +manual page with: nroff -man <package>.<section> | less'. A typical entry +in a Makefile or Makefile.am is: + +DB2MAN = /usr/share/sgml/docbook/stylesheet/xsl/nwalsh/manpages/docbook.xsl +XP = xsltproc -''-nonet -''-param man.charmap.use.subset "0" + +manpage.1: manpage.xml + $(XP) $(DB2MAN) $< + +The xsltproc binary is found in the xsltproc package. The XSL files are in +docbook-xsl. A description of the parameters you can use can be found in the +docbook-xsl-doc-* packages. Please remember that if you create the nroff +version in one of the debian/rules file targets (such as build), you will need +to include xsltproc and docbook-xsl in your Build-Depends control field. +Alternatively use the xmlto command/package. That will also automatically +pull in xsltproc and docbook-xsl. + +Notes for using docbook2x: docbook2x-man does not automatically create the +AUTHOR(S) and COPYRIGHT sections. In this case, please add them manually as +<refsect1> ... </refsect1>. + +To disable the automatic creation of the AUTHOR(S) and COPYRIGHT sections +read /usr/share/doc/docbook-xsl/doc/manpages/authors.html. This file can be +found in the docbook-xsl-doc-html package. + +Validation can be done using: `xmllint -''-noout -''-valid manpage.xml` + +General documentation about man-pages and man-page-formatting: +man(1), man(7), http://www.tldp.org/HOWTO/Man-Page/ + +--> + + <!ENTITY dhfirstname "Giovanni"> + <!ENTITY dhsurname "Mascellani"> + <!ENTITY dhusername "&dhfirstname; &dhsurname;"> + <!ENTITY dhemail "mascellani@poisson.phc.unipi.it"> + <!ENTITY dhsection "8"> + <!ENTITY dhtitle "BIRD User Manual"> +]> + +<refentry> + <refentryinfo> + <title>&dhtitle;</title> + <productname>bird</productname> + <authorgroup> + <author> + <firstname>&dhfirstname;</firstname> + <surname>&dhsurname;</surname> + <contrib>Wrote this manpage for the Debian system.</contrib> + <address> + <email>&dhemail;</email> + </address> + </author> + <author> + <firstname>Jakub</firstname> + <surname>Ružička</surname> + <contrib>Updated this manpage for birdcl.</contrib> + <address> + <email>jakub.ruzicka@nic.cz</email> + </address> + </author> + </authorgroup> + <copyright> + <year>2010</year> + <holder>&dhusername;</holder> + </copyright> + <copyright> + <year>2022</year> + <holder>Jakub Ružička</holder> + </copyright> + <legalnotice> + <para>This manual page was written for the Debian system + (and may be used by others).</para> + <para>Permission is granted to copy, distribute and/or modify this + document under the terms of the GNU General Public License, + Version 2 or (at your option) any later version published by + the Free Software Foundation.</para> + <para>On Debian systems, the complete text of the GNU General Public + License can be found in + <filename>/usr/share/common-licenses/GPL</filename>.</para> + </legalnotice> + + </refentryinfo> + <refmeta> + <refentrytitle>bird</refentrytitle> + <manvolnum>&dhsection;</manvolnum> + </refmeta> + <refnamediv> + <refname>bird</refname> + <refpurpose>BIRD Internet Routing Daemon</refpurpose> + </refnamediv> + <refnamediv> + <refname>birdc</refname> + <refpurpose>BIRD Internet Routing Daemon remote control</refpurpose> + </refnamediv> + <refnamediv> + <refname>birdcl</refname> + <refpurpose>BIRD Internet Routing Daemon remote control light</refpurpose> + </refnamediv> + + <refsynopsisdiv> + <cmdsynopsis> + <command>bird</command> + <arg choice="opt"><option>-c <replaceable>config-file</replaceable></option></arg> + <arg choice="opt"><option>-d</option></arg> + <arg choice="opt"><option>-D <replaceable>debug-file</replaceable></option></arg> + <arg choice="opt"><option>-f</option></arg> + <arg choice="opt"><option>-g <replaceable>group</replaceable></option></arg> + <arg choice="opt"><option>-l</option></arg> + <arg choice="opt"><option>-p</option></arg> + <arg choice="opt"><option>-P <replaceable>pid-file</replaceable></option></arg> + <arg choice="opt"><option>-R</option></arg> + <arg choice="opt"><option>-s <replaceable>control-socket</replaceable></option></arg> + <arg choice="opt"><option>-u <replaceable>user</replaceable></option></arg> + </cmdsynopsis> + <cmdsynopsis> + <command>birdc</command> + <arg choice="opt"><option>-l</option></arg> + <arg choice="opt"><option>-r</option></arg> + <arg choice="opt"><option>-s <replaceable>control-socket</replaceable></option></arg> + <arg choice="opt"><option>-v</option></arg> + </cmdsynopsis> + <cmdsynopsis> + <command>birdcl</command> + <arg choice="opt"><option>-l</option></arg> + <arg choice="opt"><option>-r</option></arg> + <arg choice="opt"><option>-s <replaceable>control-socket</replaceable></option></arg> + <arg choice="opt"><option>-v</option></arg> + </cmdsynopsis> + </refsynopsisdiv> + + <refsect1 id="description"> + <title>DESCRIPTION</title> + <para><command>bird</command> is an Internet Routing Daemon. That is, + it sends and receives messages using different protocols in order to + discover and exchange routing information with other routing daemons + present on the same network. It is able to talk the most widely + known routing protocols (such as BGPv4, RIPv2, OSPFv2 and OSPFv3), + both on IPv4 and IPv6 and it features a very powerful language for + route filtering.</para> + <para><command>birdc</command> is a remote control for <command>bird</command>. + While <command>bird</command> is running, the system administrator can + connect to it using <command>birdc</command>, to inspect its internal + status and reconfigure it. The two processes use a Unix socket to + communicate. Once started, <command>bird</command> will give access + to an interactive shell: commands can be completed with TAB and help + can be requested by pressing the key `?'. More documentation on + the available commands can be found on the website, see below.</para> + <para><command>birdcl</command> is a light version of <command>birdc</command> + remote control for <command>bird</command> without readline/ncurses support. + TAB completion isn't available.</para> + </refsect1> + + <refsect1 id="options"> + <title>OPTIONS</title> + <para>The <command>bird</command> accepts these options:</para> + <variablelist> + <varlistentry> + <term><option>-c <replaceable>config-file</replaceable></option></term> + <listitem> + <para>Use given configuration file instead of the default /etc/bird/bird.conf.</para> + </listitem> + </varlistentry> + <varlistentry> + <term><option>-d</option></term> + <listitem> + <para>Enable debug messages to stderr, and run bird in foreground.</para> + </listitem> + </varlistentry> + <varlistentry> + <term><option>-D <replaceable>debug-file</replaceable></option></term> + <listitem> + <para>Enable debug messages to given file.</para> + </listitem> + </varlistentry> + <varlistentry> + <term><option>-f</option></term> + <listitem> + <para>Run bird in foreground.</para> + </listitem> + </varlistentry> + <varlistentry> + <term><option>-g <replaceable>group</replaceable></option></term> + <listitem> + <para>Run bird with given group ID.</para> + </listitem> + </varlistentry> + <varlistentry> + <term><option>--help</option></term> + <listitem> + <para>Display command-line options to bird.</para> + </listitem> + </varlistentry> + <varlistentry> + <term><option>-l</option></term> + <listitem> + <para>Look for a configuration file and a communication socket in the + current working directory instead of in default system locations. + However, paths specified by options <option>-c</option>, + <option>-s</option> have higher priority.</para> + </listitem> + </varlistentry> + <varlistentry> + <term><option>-p</option></term> + <listitem> + <para>Just parse the config file and exit. Return value is zero if the + config file is valid, nonzero if there are some errors.</para> + </listitem> + </varlistentry> + <varlistentry> + <term><option>-P <replaceable>pid-file</replaceable></option></term> + <listitem> + <para>Create a PID file with given filename.</para> + </listitem> + </varlistentry> + <varlistentry> + <term><option>-R</option></term> + <listitem> + <para>Apply graceful restart recovery after start.</para> + </listitem> + </varlistentry> + <varlistentry> + <term><option>-s <replaceable>control-socket</replaceable></option></term> + <listitem> + <para>Use given filename for a socket for communications with the + client (remote control), default is /run/bird/bird.ctl.</para> + </listitem> + </varlistentry> + <varlistentry> + <term><option>-u <replaceable>user</replaceable></option></term> + <listitem> + <para>Drop privileges and run as given user instead of root. The bird + would keep CAP_NET_ADMIN and other network-related capabilities + necessary for its function.</para> + </listitem> + </varlistentry> + <varlistentry> + <term><option>--version</option></term> + <listitem> + <para>Display bird version.</para> + </listitem> + </varlistentry> + </variablelist> + + <para><command>birdc</command> and <command>birdcl</command> accept these options:</para> + <variablelist> + <varlistentry> + <term><option>-l</option></term> + <listitem> + <para>Look for a communication socket in the current working directory.</para> + </listitem> + </varlistentry> + <varlistentry> + <term><option>-r</option></term> + <listitem> + <para>Run <command>birdc</command> in restricted mode: only the + `show ...' commands are allowed.</para> + </listitem> + </varlistentry> + <varlistentry> + <term><option>-s <replaceable>control-socket</replaceable></option></term> + <listitem> + <para>Use given filename for a socket for communications with the + server, default is /run/bird/bird.ctl.</para> + </listitem> + </varlistentry> + <varlistentry> + <term><option>-v</option></term> + <listitem> + <para>Numeric return codes are dumped along with messages, making + them easily parsable by a program. See the programmer's documentation + for information about their meanings.</para> + </listitem> + </varlistentry> + </variablelist> + </refsect1> + + <refsect1 id="files"> + <title>FILES</title> + <variablelist> + <varlistentry> + <term><filename>/etc/bird/bird.conf</filename></term> + <listitem> + <para>The system-wide configuration file to control the + behaviour of <application>bird</application>. See + the website for more documentation.</para> + </listitem> + </varlistentry> + </variablelist> + </refsect1> + + <refsect1 id="see_also"> + <title>SEE ALSO</title> + <para>More documentation can be found on the website: + https://bird.network.cz/.</para> + </refsect1> +</refentry> diff --git a/debian/bird2-doc.doc-base b/debian/bird2-doc.doc-base new file mode 100644 index 00000000..f6e60cce --- /dev/null +++ b/debian/bird2-doc.doc-base @@ -0,0 +1,10 @@ +Document: bird2 +Title: Documentation for BIRD 2 +Author: BIRD authors +Abstract: BIRD 2.0 User's Guide and + BIRD Programmer's Documentation +Section: Network/Communication + +Format: HTML +Index: /usr/share/doc/bird2/bird.html +Files: /usr/share/doc/bird2/*.html diff --git a/debian/bird2-doc.docs b/debian/bird2-doc.docs new file mode 100644 index 00000000..4c0c6465 --- /dev/null +++ b/debian/bird2-doc.docs @@ -0,0 +1,4 @@ +obj/doc/bird*.html +obj/doc/bird.pdf +obj/doc/prog*.html +obj/doc/prog.pdf diff --git a/debian/bird2.bird.init b/debian/bird2.bird.init new file mode 100644 index 00000000..ac15e698 --- /dev/null +++ b/debian/bird2.bird.init @@ -0,0 +1,136 @@ +#! /bin/sh +### BEGIN INIT INFO +# Provides: bird +# Required-Start: $remote_fs $syslog +# Required-Stop: $remote_fs $syslog +# Default-Start: 2 3 4 5 +# Default-Stop: 0 1 6 +### END INIT INFO + +# Author: Ondřej Surý <ondrej@sury.org> +# + +# PATH should only include /usr/* if it runs after the mountnfs.sh script +PATH=/sbin:/usr/sbin:/bin:/usr/bin +DESC="BIRD Internet Routing Daemon" +NAME=bird +DAEMON=/usr/sbin/$NAME +BIRD_ARGS="" +SCRIPTNAME=/etc/init.d/$NAME + +# Exit if the package is not installed +[ -x "$DAEMON" ] || exit 0 + +# read the RUN variables +. /etc/bird/envvars + +# Define LSB log_* functions. +# Depend on lsb-base (>= 3.0-6) to ensure that this file is present. +. /lib/lsb/init-functions + +# Create /run/bird with correct permissions +/usr/lib/bird/prepare-environment + +# +# Function that starts the daemon/service +# +do_start() +{ + # Return + # 0 if daemon has been started + # 1 if daemon was already running + # 2 if daemon could not be started + start-stop-daemon --start --quiet --name $NAME --exec $DAEMON --test > /dev/null \ + || return 1 + start-stop-daemon --start --quiet --name $NAME --exec $DAEMON -- \ + -u $BIRD_RUN_USER -g $BIRD_RUN_GROUP $BIRD_ARGS \ + || return 2 + # Add code here, if necessary, that waits for the process to be ready + # to handle requests from services started subsequently which depend + # on this one. As a last resort, sleep for some time. +} + +# +# Function that stops the daemon/service +# +do_stop() +{ + # Return + # 0 if daemon has been stopped + # 1 if daemon was already stopped + # 2 if daemon could not be stopped + # other if a failure occurred + start-stop-daemon --stop --quiet --retry=TERM/30/KILL/5 --name $NAME --exec $DAEMON + RETVAL="$?" + [ "$RETVAL" = 2 ] && return 2 + # Wait for children to finish too if this is a daemon that forks + # and if the daemon is only ever run from this initscript. + start-stop-daemon --stop --quiet --oknodo --retry=0/30/KILL/5 --name $NAME --exec $DAEMON + [ "$?" = 2 ] && return 2 + return "$RETVAL" +} + +# +# Function that sends a SIGHUP to the daemon/service +# +do_reload() { + # + # If the daemon can reload its configuration without + # restarting (for example, when it is sent a SIGHUP), + # then implement that here. + # + start-stop-daemon --stop --signal 1 --quiet --name $NAME --exec $DAEMON + return 0 +} + +case "$1" in + start) + log_daemon_msg "Starting $DESC" "$NAME" + do_start + case "$?" in + 0|1) log_end_msg 0 ;; + 2) log_end_msg 1 ;; + esac + ;; + stop) + log_daemon_msg "Stopping $DESC" "$NAME" + do_stop + case "$?" in + 0|1) log_end_msg 0 ;; + 2) log_end_msg 1 ;; + esac + ;; + reload|force-reload) + # + # If do_reload() is not implemented then leave this commented out + # and leave 'force-reload' as an alias for 'restart'. + # + log_daemon_msg "Reloading $DESC" "$NAME" + do_reload + log_end_msg $? + ;; + restart) + log_daemon_msg "Restarting $DESC" "$NAME" + do_stop + case "$?" in + 0|1) + do_start + case "$?" in + 0) log_end_msg 0 ;; + 1) log_end_msg 1 ;; # Old process is still running + *) log_end_msg 1 ;; # Failed to start + esac + ;; + *) + # Failed to stop + log_end_msg 1 + ;; + esac + ;; + *) + echo "Usage: $SCRIPTNAME {start|stop|restart|reload|force-reload}" >&2 + exit 3 + ;; +esac + +: diff --git a/debian/bird2.bird.service b/debian/bird2.bird.service new file mode 100644 index 00000000..37e75fb4 --- /dev/null +++ b/debian/bird2.bird.service @@ -0,0 +1,14 @@ +[Unit] +Description=BIRD Internet Routing Daemon +After=network.target + +[Service] +EnvironmentFile=/etc/bird/envvars +ExecStartPre=/usr/lib/bird/prepare-environment +ExecStartPre=/usr/sbin/bird -p +ExecReload=/usr/sbin/birdc configure +ExecStart=/usr/sbin/bird -f -u $BIRD_RUN_USER -g $BIRD_RUN_GROUP $BIRD_ARGS +Restart=on-abort + +[Install] +WantedBy=multi-user.target diff --git a/debian/bird2.docs b/debian/bird2.docs new file mode 100644 index 00000000..50bd824b --- /dev/null +++ b/debian/bird2.docs @@ -0,0 +1,2 @@ +NEWS +README diff --git a/debian/bird2.install b/debian/bird2.install new file mode 100644 index 00000000..d0fad47d --- /dev/null +++ b/debian/bird2.install @@ -0,0 +1,6 @@ +etc/bird/bird.conf /usr/share/bird2/ +debian/envvars /etc/bird/ +debian/prepare-environment /usr/lib/bird/ +usr/sbin/bird +usr/sbin/birdc +usr/sbin/birdcl diff --git a/debian/bird2.manpages b/debian/bird2.manpages new file mode 100644 index 00000000..cd80062c --- /dev/null +++ b/debian/bird2.manpages @@ -0,0 +1,3 @@ +bird.8 +birdc.8 +birdcl.8 diff --git a/debian/bird2.postinst b/debian/bird2.postinst new file mode 100644 index 00000000..8f85b15a --- /dev/null +++ b/debian/bird2.postinst @@ -0,0 +1,19 @@ +#!/bin/sh +set -e + +if [ "$1" = "configure" ]; then + + if ! getent passwd bird > /dev/null; then + adduser --quiet --system --group --no-create-home --home /run/bird bird + fi + + 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 + dpkg-statoverride --list /etc/bird/bird.conf > /dev/null || dpkg-statoverride --update --add bird bird 0640 /etc/bird/bird.conf +fi + +#DEBHELPER# + +exit 0 diff --git a/debian/bird2.postrm b/debian/bird2.postrm new file mode 100644 index 00000000..ab03e6e6 --- /dev/null +++ b/debian/bird2.postrm @@ -0,0 +1,26 @@ +#!/bin/sh +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 + dpkg-statoverride --remove /etc/bird >/dev/null 2>/dev/null || true + dpkg-statoverride --remove /etc/bird/bird.conf >/dev/null 2>/dev/null || true + + for ext in '~' '%' .bak .ucf-new .ucf-old .ucf-dist; do + rm -f /etc/bird/bird.conf$ext + done + 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 + fi + + deluser --quiet bird > /dev/null || true + fi +fi + +#DEBHELPER# + +exit 0 diff --git a/debian/changelog b/debian/changelog new file mode 100644 index 00000000..d4f648af --- /dev/null +++ b/debian/changelog @@ -0,0 +1,961 @@ +bird2 (2.14-1) unstable; urgency=medium + + * New upstream version 2.14 (Closes: #1040031) + * Remove patches now included upstream + * Remove ancient debian/NEWS + * Remove trailing whitespace from d/rules + * Add d/bird2-doc.doc-base + * Add Rules-Requires-Root: no to d/control + + -- Jakub Ružička <jakub.ruzicka@nic.cz> Tue, 10 Oct 2023 13:14:00 +0200 + +bird2 (2.0.12-7) unstable; urgency=medium + + [ Miao Wang ] + * Fix for arm64 cross build + + [ Jakub Ružička ] + * Add autopkgtest by upstream dev + + -- Jakub Ružička <jakub.ruzicka@nic.cz> Wed, 26 Apr 2023 17:33:46 +0200 + +bird2 (2.0.12-6) unstable; urgency=medium + + * Add upstream patch to fix bgp_med handling + + -- Jakub Ružička <jakub.ruzicka@nic.cz> Mon, 17 Apr 2023 15:18:52 +0200 + +bird2 (2.0.12-5) unstable; urgency=medium + + * Add upstream patch to fix early free in config + + -- Jakub Ružička <jakub.ruzicka@nic.cz> Mon, 20 Feb 2023 18:14:15 +0100 + +bird2 (2.0.12-4) unstable; urgency=medium + + * Add patch to increase tests timeout + + -- Jakub Ružička <jakub.ruzicka@nic.cz> Tue, 24 Jan 2023 12:59:59 +0100 + +bird2 (2.0.12-3) unstable; urgency=medium + + * Rebuild + + -- Jakub Ružička <jakub.ruzicka@nic.cz> Tue, 24 Jan 2023 11:52:35 +0100 + +bird2 (2.0.12-2) unstable; urgency=medium + + * Don't Depend on obsolete lsb-base + * Update Depends: libncurses5-dev -> libncurses-dev + * Update version in debian/watch + + -- Jakub Ružička <jakub.ruzicka@nic.cz> Mon, 23 Jan 2023 19:12:43 +0100 + +bird2 (2.0.12-1) unstable; urgency=medium + + [ Debian Janitor ] + * debian/copyright: use spaces rather than tabs to start continuation lines. + * Bump debhelper from old 12 to 13. + debian/rules: + Drop --fail-missing argument to dh_missing, which is now the default. + * Update renamed lintian tag names in lintian overrides. + * Update standards version to 4.6.1, no changes needed. + + [ Jakub Ružička ] + * Extend manpage for birdcl + * Remove patch included upstream + * Bump Standards-Version to 4.6.2 (no changes) + + -- Jakub Ružička <jakub.ruzicka@nic.cz> Mon, 23 Jan 2023 17:46:56 +0100 + +bird2 (2.0.10-2) unstable; urgency=medium + + * d/patches: add patch to increase tests timeout + + -- Jakub Ružička <jakub.ruzicka@nic.cz> Tue, 28 Jun 2022 15:33:59 +0000 + +bird2 (2.0.10-1) unstable; urgency=medium + + * New upstream version 2.0.10 + * d/patches: remove patch included upstream + + -- Jakub Ružička <jakub.ruzicka@nic.cz> Mon, 27 Jun 2022 17:38:54 +0000 + +bird2 (2.0.9-3) unstable; urgency=medium + + * Rebuild after an incorrect upload. + + -- Jakub Ružička <jakub.ruzicka@nic.cz> Wed, 13 Apr 2022 16:03:55 +0000 + +bird2 (2.0.9-2) unstable; urgency=medium + + * d/patches: add upstream patch to fix babel bug (Closes: #1009237) + + -- Jakub Ružička <jakub.ruzicka@nic.cz> Wed, 13 Apr 2022 15:24:44 +0000 + +bird2 (2.0.9-1) unstable; urgency=medium + + * New upstream version 2.0.9 + * d/patches: remove outdated patch + * d/control: update Standards-Version to 4.6.0 + + -- Jakub Ružička <jakub.ruzicka@nic.cz> Wed, 30 Mar 2022 19:07:46 +0000 + +bird2 (2.0.8-2) unstable; urgency=medium + + * Source-only upload to allow migration + + -- Jakub Ružička <jakub.ruzicka@nic.cz> Thu, 02 Sep 2021 12:21:12 +0000 + +bird2 (2.0.8-1) experimental; urgency=medium + + * remove upstream .gitlab-ci.yml + * d/salsa-ci.yml: enable Debian Salsa CI + * d/watch: update uscan watch file + * d/patches: remove patch merged upstream + * d/control: make myself new Maintainer + * CI: remove upstream .gitlab-ci.yml + * CI: allow failures for blhc and reprotest + * set debian-release to experimental + + -- Jakub Ružička <jakub.ruzicka@nic.cz> Wed, 18 Aug 2021 13:10:55 +0000 + +bird2 (2.0.7-4.1) unstable; urgency=medium + + * Non-maintainer upload. + * Fix collect2: error: ld returned 1 exit status (Closes: #966906) + + -- Benjamin Drung <bdrung@debian.org> Sat, 02 Jan 2021 18:12:44 +0100 + +bird2 (2.0.7-4) unstable; urgency=medium + + * Sync the linuxdoc mangled files with linuxdoc-tools_0.9.73-2 + (Closes: #959642) + + -- Ondřej Surý <ondrej@debian.org> Mon, 11 May 2020 10:29:24 +0200 + +bird2 (2.0.7-3) unstable; urgency=medium + + * Don't use /usr/share/doc as ucf source (Closes: #945336) + + -- Ondřej Surý <ondrej@debian.org> Mon, 02 Mar 2020 10:19:30 +0100 + +bird2 (2.0.7-2) unstable; urgency=medium + + * Don't compress the bird.conf configuration file + + -- Ondřej Surý <ondrej@sury.org> Wed, 23 Oct 2019 10:33:19 +0200 + +bird2 (2.0.7-1) unstable; urgency=medium + + * New upstream version 2.0.7 + + -- Ondřej Surý <ondrej@sury.org> Thu, 17 Oct 2019 11:08:52 +0200 + +bird2 (2.0.6-1) unstable; urgency=medium + + * New upstream version 2.0.6 + + -- Ondřej Surý <ondrej@sury.org> Mon, 16 Sep 2019 16:01:17 +0200 + +bird2 (2.0.5-1) unstable; urgency=medium + + * Specify debhelper compatibility only using debhelper-compat + * New upstream version 2.0.5 + + -- Ondřej Surý <ondrej@sury.org> Mon, 05 Aug 2019 10:18:17 +0200 + +bird2 (2.0.4-1) unstable; urgency=medium + + [ Ondrej Zajicek ] + * Update man page + * Update pkg description + * Change libssh flavor to libssh-gcrypt + * Remove obsolete packages from Conflicts + * Update links to bird.network.cz + * Add BIRD documentation package + * Minor cleanups + * Revert /etc and /run dirs and user/group back to bird + * Fix systemd + * Handle collisions between bird and bird2 + * Fix dependency version + * Add NEWS and README + * Update copyright file + + [ Ondřej Surý ] + * New upstream version 2.0.4 + + -- Ondřej Surý <ondrej@debian.org> Sun, 03 Mar 2019 08:12:28 +0000 + +bird2 (2.0.3-1) unstable; urgency=medium + + [ Ondřej Surý ] + * New upstream version 2.0.3 + * Add libssh-dev to Build-Depends for RPKI + * Remove all Debian patches + * Remove the documentation package + * Add /usr/sbin/birdcl to the package + * Bump the debhelper compatibility level to 12 + + [ Ondřej Nový ] + * d/copyright: Use https protocol in Format field + * d/control: Deprecating priority extra as per policy 4.0.1 + * d/changelog: Remove trailing whitespaces + + -- Ondřej Surý <ondrej@debian.org> Tue, 15 Jan 2019 10:16:00 +0000 + +bird2 (2.0.0-1) unstable; urgency=low + + * New upstream version 2.0.0 + * Dummy changelog entry, to be deleted + + -- Ondřej Surý <ondrej@debian.org> Tue, 15 Jan 2019 08:56:09 +0000 + +bird (1.6.5-1) unstable; urgency=medium + + * New upstream version 1.6.5 + + -- Ondřej Surý <ondrej@debian.org> Tue, 15 Jan 2019 08:56:09 +0000 + +bird (1.6.4-1) unstable; urgency=medium + + * Update Vcs-* to salsa.d.o + * Constraint the d/watch to bird 1.x.x + * New upstream version 1.6.4 + * Rebase patches for BIRD 1.6.4 + + -- Ondřej Surý <ondrej@debian.org> Sun, 15 Apr 2018 13:35:23 +0000 + +bird (1.6.3-1) unstable; urgency=medium + + * Imported Upstream version 1.6.3 + * Rebase patches on top of 1.6.3 release + * Add texlive-latex-extra to build-depends to add enumitem.sty to the + system + + -- Ondřej Surý <ondrej@debian.org> Fri, 23 Dec 2016 22:54:45 +0100 + +bird (1.6.2-3) unstable; urgency=medium + + [ Ondrej Zajicek ] + * Add upstream patch to fix memory leak in graceful restart code + + -- Ondřej Surý <ondrej@debian.org> Mon, 28 Nov 2016 14:02:18 +0100 + +bird (1.6.2-2) unstable; urgency=medium + + * Add missing --restart-after-upgrade to dh_installinit + + -- Ondřej Surý <ondrej@debian.org> Tue, 11 Oct 2016 11:53:45 +0200 + +bird (1.6.2-1) unstable; urgency=high + + * Imported Upstream version 1.6.2 + + -- Ondřej Surý <ondrej@debian.org> Thu, 29 Sep 2016 20:48:49 +0200 + +bird (1.6.1-1) unstable; urgency=medium + + * Imported Upstream version 1.6.1 + + -- Ondřej Surý <ondrej@debian.org> Mon, 26 Sep 2016 11:40:33 +0200 + +bird (1.6.0-4) unstable; urgency=medium + + * Use opensp instead of sp (Closes: #837870) + + -- Ondřej Surý <ondrej@debian.org> Sun, 18 Sep 2016 12:12:12 +0200 + +bird (1.6.0-3) unstable; urgency=medium + + * Add explicit dh_systemd_enable call in d/rules + + -- Ondřej Surý <ondrej@debian.org> Mon, 12 Sep 2016 17:52:37 +0200 + +bird (1.6.0-2) unstable; urgency=medium + + * Enable dh_systemd_* where available + * Migrate from a manual "-dbg" package (created with --dbg-package) to + an automatic generated debug symbol package. + + -- Ondřej Surý <ondrej@debian.org> Mon, 08 Aug 2016 11:02:37 +0200 + +bird (1.6.0-1) unstable; urgency=medium + + * Imported Upstream version 1.6.0 + * Update patches on top of 1.6.0 release + + -- Ondřej Surý <ondrej@debian.org> Sat, 30 Apr 2016 21:16:16 +0200 + +bird (1.5.0-5) unstable; urgency=medium + + * Fix Vcs-Browser URL + * Fix typo in bird-doc package (Closes: #802029) + * Return the upstart scripts back for now + + -- Ondřej Surý <ondrej@debian.org> Thu, 03 Mar 2016 19:22:27 +0100 + +bird (1.5.0-4) unstable; urgency=medium + + * Fix foo->bird typo in postrm + + -- Ondřej Surý <ondrej@debian.org> Thu, 14 May 2015 15:56:03 +0200 + +bird (1.5.0-3) unstable; urgency=medium + + * Use IPv4 router id in IPv6 example to unbreak default config + * Use UCF_FORCE_CONFFOLD to force ucf to always use user version of bird + conffile (Closes: 784852) + * Remove dpkg-maintscript-helper scripts also from bird.postinst + * Add old md5sum for bird.conf(s) to prevent dialogues when upgrading + from jessie and 1.5.0-1 + + -- Ondřej Surý <ondrej@debian.org> Thu, 14 May 2015 08:03:06 +0200 + +bird (1.5.0-2) unstable; urgency=medium + + * Fix extra bird.conf/ directory in /usr/share/bird/ + + -- Ondřej Surý <ondrej@debian.org> Tue, 12 May 2015 12:05:33 +0200 + +bird (1.5.0-2~exp1) experimental; urgency=medium + + * Add TEXINPUTS=.:tex: to latex invocation to fix documentation build + * Change conffile handling to use ucf (Closes: #731243) + * Cleanup bird-bgp and make it a transitional package + * Delete upstart scripts + + -- Ondřej Surý <ondrej@debian.org> Tue, 12 May 2015 10:12:10 +0200 + +bird (1.5.0-1) unstable; urgency=medium + + * New upstream version 1.5.0 + o Major OSPF protocol redesign. + o OSPFv2 multi-instance extension (RFC 6549). + o BGP AS-wide unique router ID (RFC 6286). + o BGP enhanced route refresh (RFC 7313). + o Link state support in BGP. + o Latency tracking and internal watchdog. + o Uses high port range for BFD on BSD. + o Increase max symbol length to 64. + o Allows to define unnamed protocols from templates. + o Fixes two serious bugs in BGP. + o Several bugfixes and minor improvements. + o Several minor option changes: + - OSPF: Protocol-wide 'instance id' option added. + - BGP: Parameters to option 'neighbor' extended. + - BGP: Separate option 'interface' added. + - BGP: Option 'start delay time' renamed to 'connect delay time'. + - BGP: Option 'route limit' deprecated. + + -- Ondřej Surý <ondrej@debian.org> Wed, 22 Apr 2015 20:41:30 +0200 + +bird (1.4.5-1) unstable; urgency=medium + + * New upstream version 1.4.5 + o New 'show route noexport' command option. + o Port option for BGP sessions. + o Better constant handling in set literals. + o Better rate filtering of log messages. + o Several minor bugfixes. + + -- Ondřej Surý <ondrej@debian.org> Wed, 08 Oct 2014 10:22:54 +0200 + +bird (1.4.4-2) unstable; urgency=medium + + [ Frederik Kriewitz ] + * add missing $BIRD_ARGS to upstart scripts + + [ Ondřej Surý ] + * Fix Vcs URLs to anonscm.debian.org + * Add sp to Build-Depends (Closes: #758318) + + -- Ondřej Surý <ondrej@debian.org> Mon, 18 Aug 2014 10:43:50 +0200 + +bird (1.4.4-1) unstable; urgency=medium + + * New upstream version 1.4.4 + o Extended OSPF multipath support. + o Default router preference for RAdv. + o Significant changes in socket layer. + o Important bugfix in BGP. + o Several minor bugfixes. + + -- Ondřej Surý <ondrej@debian.org> Thu, 10 Jul 2014 07:47:38 +0200 + +bird (1.4.3-2) unstable; urgency=medium + + * Add licensing of lib/heap.h to debian/copyright (Closes: #745745) + + -- Ondřej Surý <ondrej@debian.org> Tue, 29 Apr 2014 13:09:53 +0200 + +bird (1.4.3-1) unstable; urgency=low + + * Change bird-doc dependency from Recommends to Suggests + * Bump policy version to 3.9.5 (no change) + * New upstream version 1.4.3 + + -- Ondřej Surý <ondrej@debian.org> Tue, 15 Apr 2014 08:05:35 +0200 + +bird (1.4.2-1) unstable; urgency=medium + + * New upstream version 1.4.2 + o Important bugfix in BFD. + * Build documentation and install it into bird-doc package (Closes: #664464) + + -- Ondřej Surý <ondrej@debian.org> Thu, 03 Apr 2014 08:40:29 +0200 + +bird (1.4.1-1) unstable; urgency=high + + * New upstream version 1.4.1 + o BGP add-path support (RFC draft). + o BGP graceful restart (RFC 4724). + o OSPF: many changes in socket layer. + o OSPF: support for secondary addresses in BSD. + o OSPF: names for vlink pseudointerfaces (vlinkX). + o Several bugfixes. + * Fix new readline compatibility (Closes: #688385) + * Add manpage for bird (Closes: #579996) + * Build documentation and install it into bird-doc package (Closes: #664464) + * Add a uscan watch file + + -- Ondřej Surý <ondrej@debian.org> Tue, 01 Apr 2014 12:33:05 +0200 + +bird (1.4.0-3) unstable; urgency=low + + * Add 'exec' before bird execution in upstart jobs + + -- Ondřej Surý <ondrej@debian.org> Mon, 16 Dec 2013 13:00:01 +0100 + +bird (1.4.0-2) unstable; urgency=low + + * Enable default example router id because it's mandatory for IPv6 + + -- Ondřej Surý <ondrej@debian.org> Mon, 16 Dec 2013 12:59:35 +0100 + +bird (1.4.0-1) unstable; urgency=low + + * New upstream version 1.4.0 + * Remove no-strip-by-default and bird-foreground patches; merged upstream + + -- Ondřej Surý <ondrej@debian.org> Mon, 25 Nov 2013 15:57:58 +0100 + +bird (1.3.11-7) unstable; urgency=low + + * Use autotools-dev debhelper add-on to update config.{sub,guess} + (Closes: #727331) + + -- Ondřej Surý <ondrej@debian.org> Thu, 24 Oct 2013 09:03:40 +0200 + +bird (1.3.11-6) unstable; urgency=low + + * Don't build on hurd, since bird does have a support only for linux and + bsd kernels + * Disable LTO for the moment since it doesn't play well with debugging + information + + -- Ondřej Surý <ondrej@debian.org> Sun, 06 Oct 2013 01:24:30 +0200 + +bird (1.3.11-5) unstable; urgency=low + + * Add NEWS file about changes in the packaging + * Add privilege separation support + + bird now runs under bird:bird user and group that + gets created at package installation/upgrade time + + the socket directory has changed to /run/bird + + the configuration has moved into /etc/bird subdirectory + * Move conffiles from /etc to /etc/bird + * Add configuration files for other init systems + + Upstart should work + + Systemd config files are in place, but not used yed + * Add support for running on foreground, needed for upstart/systemd + + -- Ondřej Surý <ondrej@debian.org> Sat, 05 Oct 2013 22:23:34 +0200 + +bird (1.3.11-4) unstable; urgency=low + + * Don't drop default CFLAGS when using -flto + * Remove redundant debian/patches/007-io.c_use_gnu.patch + * Remove redundant debian/patches/008-io.c_pktinfo.patch + * Link all.o with $(CC) again to try if sparc is ok now + * Add -flto to LDFLAGS as well (not sure if needed though) + * Add -fPIC to C/LDFLAGS + * Enable hardening using the buildflags.mk + + -- Ondřej Surý <ondrej@debian.org> Sat, 05 Oct 2013 19:50:51 +0200 + +bird (1.3.11-3) unstable; urgency=low + + * Add an LTO support detection + * Fix versions in debian/control (Closes: #725319) + + -- Ondřej Surý <ondrej@debian.org> Fri, 04 Oct 2013 08:10:16 +0200 + +bird (1.3.11-2) unstable; urgency=low + + * Convert package to 3.0 (quilt) source format + * Merge bird6 package into bird and make bird6 package transitional + * Add bird-bgp package that has only BGP protocol enabled + * Remove --with quilt since it's not needed with higher dh compatibility + levels + * Remove README.source since quilt patches are now default + * Also add bird-bgp-dbg package + * Add some optimalizations to debian/rules default GCC flags + * debian/rules: Reautoconfize the sources by default + * Update copyright to machine readable format + * Add build dependency on debhelper >= 9~ and drop quilt dependency + * Drop support for $VERBOSE variable in init scripts and don't call + internal init API anymore + + -- Ondřej Surý <ondrej@debian.org> Mon, 30 Sep 2013 13:52:00 +0200 + +bird (1.3.11-1) unstable; urgency=low + + * New upstream version 1.3.11 + * Update patches for 1.3.11 release + + -- Ondřej Surý <ondrej@debian.org> Sun, 28 Jul 2013 21:17:09 +0200 + +bird (1.3.10-2) unstable; urgency=low + + * Reword the descriptions (Courtesy of Justin B Rye) (Closes: #651283) + + -- Ondřej Surý <ondrej@debian.org> Fri, 21 Jun 2013 14:57:24 +0200 + +bird (1.3.10-1) unstable; urgency=low + + * Imported Upstream version 1.3.10 + o Lightweight BIRD client for embedded environments. + o Dynamic IPv6 router advertisements. + o New 'next hop keep' option for BGP. + o Smart default routing table for 'show route export/preexport/protocol'. + o Automatic router ID selection could be configured to use address of loopback. + o Allows configured global addresses of NBMA neighbors in OSPFv3. + o Allows BIRD commands from UNIX shell even in restricted mode. + o Route limits inherited from templates can be disabled. + o Symbol names enclosed by apostrophes can contain dots. + o Several bugfixes. + + -- Ondřej Surý <ondrej@debian.org> Tue, 07 May 2013 13:49:15 +0200 + +bird (1.3.9-1) unstable; urgency=low + + * Imported Upstream version 1.3.9 + o BIRD can be configured to keep and show filtered routes. + o Separate receive and import limits. + o Several new reconfiguration cmd options (undo, timeout, check). + o Configurable automatic router ID selection. + o Dragonfly BSD support. + o Fixed OSPFv3 vlinks. + o Several minor bugfixes. + + -- Ondřej Surý <ondrej@debian.org> Mon, 14 Jan 2013 10:55:28 +0100 + +bird (1.3.8-1) unstable; urgency=low + + * Imported Upstream version 1.3.8 + o Generalized import and export route limits. + o RDNSS and DNSSL support for RAdv. + o Include in config file support wildcards. + o History deduplication in BIRD client. + o New route attributes krt_source, krt_metric. + o Different instance ID support for OSPFv3. + o Real broadcast mode for OSPFv2. + o Several minor bugfixes. + + -- Ondřej Surý <ondrej@debian.org> Tue, 07 Aug 2012 13:16:15 +0200 + +bird (1.3.7-1) unstable; urgency=low + + * Imported Upstream version 1.3.7 + + Route Origin Authorization basics. + + RIPng working again. + + Extended clist operations in filters. + + Fixes several bugs in BSD iface handling. + + Several minor bugfixes and enhancements. + + -- Ondřej Surý <ondrej@debian.org> Thu, 22 Mar 2012 15:11:39 +0100 + +bird (1.3.6-1) unstable; urgency=low + + * Imported Upstream version 1.3.6 + + Important bugfix in BGP. + + -- Ondřej Surý <ondrej@debian.org> Fri, 20 Jan 2012 18:29:33 +0100 + +bird (1.3.5-1) unstable; urgency=low + + * Imported Upstream version 1.3.5 + + Protocol templates + + Deterministic MED option for BGP + + Support for link-local addresses in BGP and static protocols + + -- Ondřej Surý <ondrej@debian.org> Tue, 10 Jan 2012 16:17:42 +0100 + +bird (1.3.4-1) unstable; urgency=low + + * Imported Upstream version 1.3.4 + + Static recursive routes added. + + Minor bugfixes + + -- Ondřej Surý <ondrej@debian.org> Mon, 10 Oct 2011 15:29:49 +0200 + +bird (1.3.3-1) unstable; urgency=low + + * New Upstream version 1.3.3 + + OSPF NSSA + + BGP extended communities + + BGP TTL security + + Configuration option "include" added (based on patch by + Alexander V. Chernikov) + + Some minor bugfixes. + + -- Ondřej Surý <ondrej@debian.org> Mon, 12 Sep 2011 08:59:35 +0200 + +bird (1.3.2-2) unstable; urgency=low + + * Add default files for bird and bird6 packages + and source them from init.d scripts + + -- Ondřej Surý <ondrej@debian.org> Thu, 18 Aug 2011 11:25:21 +0200 + +bird (1.3.2-1) unstable; urgency=low + + * Imported Upstream version 1.3.2 + + -- Ondřej Surý <ondrej@debian.org> Mon, 11 Jul 2011 08:46:35 +0200 + +bird (1.3.1-2) unstable; urgency=low + + * Debian packaging: + + Update Vcs-* links + + Add Homepage: link + + dh7ize package + + Bump standards to 3.9.2 + + Install both builds to debian/tmp and use dh_install to split them + to bird and bird6 packages + * Remove install -s from upstream Makefile to not strip binaries by + default + * Add bird-dbg package with debugging symbols + + -- Ondřej Surý <ondrej@debian.org> Tue, 31 May 2011 13:07:27 +0200 + +bird (1.3.1-1) unstable; urgency=low + + * Imported Upstream version 1.3.1 + + Added Linux kernel route attributes krt_prefsrc and krt_realm + + Added BGP option 'med metric' related to MED handling + + Allows one to use constants from /etc/iproute2/rt_* files + + -- Ondřej Surý <ondrej@debian.org> Mon, 02 May 2011 11:20:13 +0200 + +bird (1.3.0-1) unstable; urgency=low + + * Update description (Closes: #603494) + * Imported Upstream version 1.3.0 + + -- Ondřej Surý <ondrej@debian.org> Thu, 31 Mar 2011 15:17:19 +0200 + +bird (1.2.5-1) unstable; urgency=low + + * New upstream release + * Bump standards version to 3.9.1 + * Refresh patches to match upstream changes + + -- Ondřej Surý <ondrej@debian.org> Thu, 21 Oct 2010 19:50:38 +0200 + +bird (1.2.4-1) unstable; urgency=low + + * New upstream release + * Link with --as-needed + + -- Ondřej Surý <ondrej@debian.org> Tue, 03 Aug 2010 18:09:35 +0200 + +bird (1.2.3-1) unstable; urgency=low + + * New upstream release + * Add misc:Depends + * Update copyright + * Add debian source format + + -- Ondřej Surý <ondrej@debian.org> Tue, 01 Jun 2010 08:42:57 +0200 + +bird (1.2.2-1) unstable; urgency=low + + * Imported Upstream version 1.2.2 + * Convert dpatch to quilt + * Add two new patches to fix ipv6 build in io.c + * Remove useless patch to fix non-existant buffer overflow + + -- Ondřej Surý <ondrej@debian.org> Mon, 12 Apr 2010 21:02:48 +0200 + +bird (1.2.1-1) unstable; urgency=low + + * New Upstream Version + * Add debian/README.source with notes about quilt + * Add OSPFv3 to description + + -- Ondřej Surý <ondrej@debian.org> Thu, 11 Feb 2010 10:07:23 +0100 + +bird (1.2.0-1) unstable; urgency=low + + * New Upstream Version + + -- Ondřej Surý <ondrej@debian.org> Thu, 14 Jan 2010 15:21:36 +0100 + +bird (1.1.7-1) unstable; urgency=low + + * New Upstream Version + * Update build dependency on libreadline-dev (and stay friendly with + backporters, ie. me) (Closes: #553734) + * Description cleanup (Closes: #533210) (Courtesy of Dann Frazier) + + -- Ondřej Surý <ondrej@debian.org> Mon, 21 Dec 2009 08:47:37 +0100 + +bird (1.1.6-1) unstable; urgency=low + + * New Upstream Version + + -- Ondřej Surý <ondrej@debian.org> Fri, 20 Nov 2009 11:12:56 +0100 + +bird (1.1.5-1) unstable; urgency=low + + * New Upstream Version + + -- Ondřej Surý <ondrej@debian.org> Mon, 02 Nov 2009 17:13:08 +0100 + +bird (1.1.4-1) unstable; urgency=low + + * New Upstream Version + + -- Ondřej Surý <ondrej@debian.org> Fri, 02 Oct 2009 11:08:48 +0200 + +bird (1.1.3-1) unstable; urgency=low + + * New Upstream Version + + -- Ondřej Surý <ondrej@debian.org> Fri, 11 Sep 2009 13:56:08 +0200 + +bird (1.1.2-1) unstable; urgency=low + + * New Upstream Version + + -- Ondřej Surý <ondrej@debian.org> Sun, 23 Aug 2009 23:16:19 +0200 + +bird (1.1.1-1) unstable; urgency=low + + * New Upstream Version + + -- Ondřej Surý <ondrej@debian.org> Mon, 17 Aug 2009 12:14:03 +0200 + +bird (1.1.0-1) unstable; urgency=low + + * New Upstream Version. + + -- Ondřej Surý <ondrej@debian.org> Mon, 29 Jun 2009 17:19:30 +0200 + +bird (1.0.15-2) unstable; urgency=low + + * debian/patches/009_bird-ipv6-configure.patch + - Enable IPv6 build + - Binaries and config files are build with 6-suffix + + -- Ondřej Surý <ondrej@debian.org> Tue, 02 Jun 2009 10:45:01 +0200 + +bird (1.0.15-1) unstable; urgency=low + + * New Upstream Version (Closes: #428865) + * Disable IPv6 build (it was not installed anyway) + + -- Ondřej Surý <ondrej@debian.org> Wed, 27 May 2009 13:57:08 +0200 + +bird (1.0.14-1) unstable; urgency=low + + * New Upstream Version + + -- Ondřej Surý <ondrej@debian.org> Tue, 28 Apr 2009 14:48:36 +0200 + +bird (1.0.13-1) unstable; urgency=low + + * New upstream release + + -- Ondřej Surý <ondrej@debian.org> Sun, 15 Mar 2009 00:27:28 +0100 + +bird (1.0.12-1) unstable; urgency=low + + * New upstream release. (Closes: #462341, #462344, #427772) + * Acknowledge NMU + * Fix typo in init.d script (Closes: #476752) + * 002_add_DESTDIR.patch: + + Honor nostrip option (Closes: #436590) + * 005_fix-flex-params.patch, 000_update_config_guess_sub.patch + + Removed, merged upstream. + + -- Ondřej Surý <ondrej@debian.org> Wed, 12 Nov 2008 16:03:54 +0100 + +bird (1.0.11-4.1) unstable; urgency=low + + * Non-maintainer upload. + * Added LSB formatted dependency info in init.d script (closes: #469618) + + -- Peter Eisentraut <petere@debian.org> Fri, 04 Apr 2008 11:05:04 +0200 + +bird (1.0.11-4) unstable; urgency=low + + * Fix socket location to /var/run/bird.ctl (Closes: #382104) + + -- Ondřej Surý <ondrej@debian.org> Thu, 26 Oct 2006 09:57:15 +0200 + +bird (1.0.11-3) unstable; urgency=low + + * Change priority from optional to extra. + * Manually update config.{guess,sub} since dual build broke + autoupdating (Closes: #378213, #378252) + + -- Ondřej Surý <ondrej@debian.org> Thu, 13 Jul 2006 11:02:43 -0400 + +bird (1.0.11-2) unstable; urgency=low + + * 003_birdc-fix-buffer-overflow.patch: + + Fix some command line buffer overflow condition (Closes: #317733) + * 004_fix_ifr_storage_size_unknown.patch + + Make IPv4 compilable again. + * 005_fix-flex-params.patch + + New flex is more picky about params, fix that. + * 006_birdc-include-more-headers.patch + + Fix some more warnings by including correct headers. + * Prepare for dual IPv4 and IPv6 build: + + Upload IPv4 version right now, previous one was only IPv6 + by accident. + + -- Ondřej Surý <ondrej@debian.org> Thu, 13 Jul 2006 11:02:40 -0400 + +bird (1.0.11-1) unstable; urgency=low + + * New upstream release. + * New maintainer. + * Acknowledge NMUs (Closes: #133400, #326383, #339663) + * Update rules + + Use CDBS + + Autoupdates tools/config.{guess,sub} (Closes: #300437) + * debian/patches/001_netlink.patch + + Fixes FTBFS on recent systems + * debian/patches/002_destdir.patch + + Adds DESTDIR to install: and install-doc: targets in Makefile + + -- Ondřej Surý <ondrej@debian.org> Sun, 9 Jul 2006 22:32:34 +0200 + +bird (1.0.4-8.1) unstable; urgency=high + + * Non-maintainer upload. + * High-urgency upload for RC bugfix. + * Build-depend on libreadline5-dev | libreadline-dev, instead of the + removed libreadline4-dev. Closes: #326383. + * Update debian/copyright to include a proper link to the GPL. + Closes: #339663. + + -- Steve Langasek <vorlon@debian.org> Thu, 17 Nov 2005 12:48:24 -0800 + +bird (1.0.4-8) unstable; urgency=low + + * Rebuild - upload problem + + -- Florian Lohoff <flo@rfc822.org> Thu, 6 Jan 2005 17:30:01 +0000 + +bird (1.0.4-7) unstable; urgency=low + + * Dont link /usr/doc -> /usr/share/doc in postinst + + -- Florian Lohoff <flo@rfc822.org> Thu, 6 Jan 2005 17:29:50 +0000 + +bird (1.0.4-6) unstable; urgency=low + + * Fix check for rtnetlink support - /proc/ksyms not on 2.6 + Closes: Bug#248620 + * Rewrite parts of the long description which hopefully is enough. + Closes: Bug#135421 + * Applied patch for FTBFS bug for gcc 3.4 and 4.0 + Closes: Bug#266881 + + -- Florian Lohoff <flo@rfc822.org> Thu, 6 Jan 2005 16:23:16 +0000 + +bird (1.0.4-5) unstable; urgency=low + + * Fix changed option parsing with flex + Closes: Bug#191186 + + -- Florian Lohoff <flo@rfc822.org> Tue, 29 Apr 2003 05:39:53 +0000 + +bird (1.0.4-4.4) unstable; urgency=low + + * Non-maintainer upload (BSP-2002-11). + * Fixed bison files (closes: bug#166599). + + -- Aurelien Jarno <aurel32@debian.org> Sat, 23 Nov 2002 00:31:39 +0100 + +bird (1.0.4-4.3) unstable; urgency=low + + * Non-maintainer upload. + * conf/confbase.Y: include <stdio.h> since FILE type is used. + Closes: Bug#133400. + + -- Jerome Marant <jerome@debian.org> Sat, 16 Feb 2002 22:17:34 +0100 + +bird (1.0.4-4.2) unstable; urgency=low + + * Non-maintainer upload. + * Really added build-depends on libreadline4-dev (closes: #100801) + * fix install rule so conf file is installed to debian dir, rather than + /etc + + -- Ryan Murray <rmurray@debian.org> Wed, 15 Aug 2001 21:56:52 -0700 + +bird (1.0.4-4.1) unstable; urgency=low + + * Non-maintainer upload. + * Add build-depends libreadline-4. Closes: #100801 + * Should now include <time.h>, not <sys/time.h>. + * Run libtoolize to get support for new architectures. Closes: #104930 + + -- LaMont Jones <lamont@smallone.fc.hp.com> Sat, 14 Jul 2001 01:28:52 -0600 + +bird (1.0.4-4) unstable; urgency=low + + * Another round of Build-Depends fixes - Thanks Roman (Closes: #71567) + + -- Florian Lohoff <flo@rfc822.org> Wed, 13 Sep 2000 15:27:37 +0200 + +bird (1.0.4-3) unstable; urgency=low + + * Fixed Build-Depends - No need for specific kernel headers. + (Closes: #71349) + + -- Florian Lohoff <flo@rfc822.org> Mon, 11 Sep 2000 12:15:37 +0200 + +bird (1.0.4-2) unstable; urgency=low + + * Fixed copyright - Its GPL but wasnt stated in the copyright file + * Fixed make distclean target + + -- Florian Lohoff <flo@rfc822.org> Fri, 8 Sep 2000 14:07:10 +0200 + +bird (1.0.4-1) unstable; urgency=low + + * New upstream release + + -- Florian Lohoff <flo@rfc822.org> Wed, 6 Sep 2000 18:14:01 +0200 + +bird (1.0.1-1) unstable; urgency=low + + * New upstream release hopefully fixing memory leaking bugs + + -- Florian Lohoff <flo@rfc822.org> Wed, 21 Jun 2000 18:17:33 -0700 + +bird (1.0.0-1) unstable; urgency=low + + * Initial Release. + + -- Florian Lohoff <flo@rfc822.org> Wed, 14 Jun 2000 17:53:15 +0200 + +Local variables: +mode: debian-changelog +End: diff --git a/debian/control b/debian/control new file mode 100644 index 00000000..535b11a4 --- /dev/null +++ b/debian/control @@ -0,0 +1,55 @@ +Source: bird2 +Section: net +Priority: optional +Build-Depends: bison, + debhelper-compat (= 13), + docbook-xsl, + flex, + libncurses-dev, + libreadline-dev | libreadline6-dev | libreadline5-dev, + libssh-gcrypt-dev, + m4, + quilt, + xsltproc +Build-Depends-Indep: linuxdoc-tools-latex, + opensp, + 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 +Homepage: https://bird.network.cz/ +Rules-Requires-Root: no + +Package: bird2 +Architecture: kfreebsd-any linux-any +Pre-Depends: init-system-helpers (>= 1.56~), + ${misc:Pre-Depends} +Depends: adduser, + ucf, + ${misc:Depends}, + ${shlibs:Depends} +Conflicts: bird +Suggests: bird2-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 + powerful route filtering syntax and an easy-to-use configuration + interface. + . + BIRD supports IPv4 and IPv6 versions of OSPF, RIP, BGP and Babel routing + protocols. It also supports supplementary protocols like BFD, RPKI-Router + and IPv6 router advertisements. + +Package: bird2-doc +Architecture: all +Section: doc +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 + powerful route filtering syntax and an easy-to-use configuration + interface. + . + This package provides the user and developer documentation. diff --git a/debian/copyright b/debian/copyright new file mode 100644 index 00000000..fc4f95a8 --- /dev/null +++ b/debian/copyright @@ -0,0 +1,99 @@ +Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ +Upstream-Name: bird +Upstream-Contact: bird-users@network.cz +Source: https://bird.network.cz + +Files: * +Copyright: 1998-2008 Martin Mareš + 1998-2019 Ondřej Filip + 1998-2000 Pavel Machek + 2008-2019 Ondřej Zajíček + 2015-2019 Maria Matějka +License: GPL-2+ + +Files: lib/heap.h +Copyright: 2001 Martin Mareš <mj@ucw.cz> + 2005 Tomáš Valla <tom@ucw.cz> +License: LGPL-2+ + +Files: lib/md5.c +Copyright: 1993 Colin Plumb +License: public-domain + +Files: lib/printf.c +Copyright: 1991-1992 Lars Wirzenius + 1991-1992 Linus Torvalds + 1998-2000 Martin Mareš +License: GPL-2 + +Files: lib/sha* +Copyright: 1998-2009 Free Software Foundation, Inc. + 2015-2016 Pavel Tvrdík + 2015-2016 Ondřej Zajíček +License: GPL-2+ + +Files: proto/babel/* +Copyright: 2015-2016 Toke Høiland-Jørgensen + 2016-2018 Ondřej Zajíček +License: GPL-2+ + +Files: proto/rpki/* +Copyright: 2015-2016 Pavel Tvrdík + 2016-2018 Ondřej Zajíček +License: GPL-2+ + +Files: debian/* +Copyright: 2010-2013 Ondřej Surý <ondrej@debian.org> +License: GPL-2+ + +License: GPL-2+ + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + . + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + . + You should have received a copy of the GNU General Public License + along with this program; if not, write to the Free Software + Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + . + On Debian systems, the complete text of the GNU General Public License + version 2 can be found in `/usr/share/common-licenses/GPL-2'. + +License: GPL-2 + This package is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License version 2 as + published by the Free Software Foundation. + . + This package is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + . + You should have received a copy of the GNU General Public License + along with this package; if not, write to the Free Software + Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + . + On Debian systems, the complete text of the GNU General Public License + version 2 can be found in `/usr/share/common-licenses/GPL-2'. + +License: LGPL-2+ + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Library General Public + License as published by the Free Software Foundation; either + version 2 of the License, or (at your option) any later version. + . + This library is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + Library General Public License for more details. + . + On Debian systems, the complete text of the GNU Lesser General Public + License version 2 can be found in `/usr/share/common-licenses/LGPL-2'. + +License: public-domain + This code is in the public domain; do with it what you wish. diff --git a/debian/envvars b/debian/envvars new file mode 100644 index 00000000..9ca9baa0 --- /dev/null +++ b/debian/envvars @@ -0,0 +1,3 @@ +BIRD_RUN_USER=bird +BIRD_RUN_GROUP=bird +#BIRD_ARGS= diff --git a/debian/gbp.conf b/debian/gbp.conf new file mode 100644 index 00000000..f04b9f6e --- /dev/null +++ b/debian/gbp.conf @@ -0,0 +1,9 @@ +[DEFAULT] +debian-branch = master +debian-tag = debian/%(version)s +upstream-branch = upstream +upstream-tag = upstream/%(version)s +pristine-tar = True + +[dch] +meta = 1 diff --git a/debian/prepare-environment b/debian/prepare-environment new file mode 100755 index 00000000..d782c140 --- /dev/null +++ b/debian/prepare-environment @@ -0,0 +1,28 @@ +#!/bin/sh + +set -eu + +BIRD_RUN_DIR=/run/bird +. /etc/bird/envvars + + +mkdir --parents "$BIRD_RUN_DIR"; + +if [ -n "$BIRD_RUN_USER" ]; then + if ! getent passwd $BIRD_RUN_USER >/dev/null; then + echo "Configured user '$BIRD_RUN_USER' doesn't exist." + exit 1 + fi +fi + +if [ -n "$BIRD_RUN_GROUP" ]; then + if ! getent group $BIRD_RUN_GROUP >/dev/null; then + echo "Configured group '$BIRD_RUN_GROUP' doesn't exist." + exit 1 + fi +fi + +chown --silent "$BIRD_RUN_USER:$BIRD_RUN_GROUP" "$BIRD_RUN_DIR" +chmod 775 "$BIRD_RUN_DIR" + +: diff --git a/debian/rules b/debian/rules new file mode 100755 index 00000000..1740fb95 --- /dev/null +++ b/debian/rules @@ -0,0 +1,55 @@ +#!/usr/bin/make -f +# -*- makefile -*- +# This file was originally written by Joey Hess and Craig Small. +# As a special exception, when this file is copied by dh-make into a +# dh-make output file, you may use that output file without restriction. +# This special exception was added by Craig Small in version 0.37 of dh-make. + +export DEB_BUILD_MAINT_OPTIONS = hardening=+all +DPKG_EXPORT_BUILDFLAGS = 1 +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 \ + --enable-client + +CFLAGS += -g -O2 -fno-strict-aliasing -fno-strict-overflow -fPIC +LDFLAGS += -g -O2 -fno-strict-aliasing -fno-strict-overflow -fPIC -Wl,-z,defs -Wl,--as-needed + +%: + dh $@ + +override_dh_auto_configure: + CFLAGS="$(CFLAGS)" LDFLAGS="$(LDFLAGS)" dh_auto_configure -- $(COMMON_FLAGS) --with-protocols=all + +override_dh_auto_build-indep: + dh_auto_build -- docs + +override_dh_auto_install: + dh_auto_install --destdir=debian/tmp + +override_dh_installinit: + dh_installinit --name=bird --restart-after-upgrade + +override_dh_installsystemd: + dh_installsystemd --name=bird --restart-after-upgrade + +DB2MAN = /usr/share/sgml/docbook/stylesheet/xsl/nwalsh/manpages/docbook.xsl +XP = xsltproc -''-nonet -''-param man.charmap.use.subset "0" + +bird.8: debian/bird.xml + $(XP) $(DB2MAN) $< + +override_dh_installman: bird.8 + dh_installman + +override_dh_clean: + dh_clean + -rm -f bird.8 birdc.8 birdcl.8 + +override_dh_missing: + dh_missing + +override_dh_compress: + dh_compress -X.conf diff --git a/debian/salsa-ci.yml b/debian/salsa-ci.yml new file mode 100644 index 00000000..3706bc18 --- /dev/null +++ b/debian/salsa-ci.yml @@ -0,0 +1,12 @@ +--- +include: + - https://salsa.debian.org/salsa-ci-team/pipeline/raw/master/salsa-ci.yml + - https://salsa.debian.org/salsa-ci-team/pipeline/raw/master/pipeline-jobs.yml + +blhc: + # NONVERBOSE BUILD makes blhc fail + allow_failure: true + +reprotest: + # don't require reproducible build + allow_failure: true diff --git a/debian/source/format b/debian/source/format new file mode 100644 index 00000000..163aaf8d --- /dev/null +++ b/debian/source/format @@ -0,0 +1 @@ +3.0 (quilt) diff --git a/debian/tests/control b/debian/tests/control new file mode 100644 index 00000000..b1476dbb --- /dev/null +++ b/debian/tests/control @@ -0,0 +1,3 @@ +Tests: test-bird.sh +Restrictions: needs-root +Depends: bird2 diff --git a/debian/tests/test-bird.sh b/debian/tests/test-bird.sh new file mode 100755 index 00000000..464be32f --- /dev/null +++ b/debian/tests/test-bird.sh @@ -0,0 +1,105 @@ +#!/bin/bash + +set -e + +LOCAL=2001:db8:dead:: + +EXTERNAL=2001:db8:beef:: +EXTERNAL_NET=${EXTERNAL}/48 +EXTERNAL_NH=${LOCAL}beef + +LEARN=2001:db8:feed:: +LEARN_NET=${LEARN}/48 +LEARN_NH=${LOCAL}feed + +IFACE=bird-test-dummy +IFACE_EXISTS=false + +BIRD_RUNNING=false + +D=$(mktemp -d) +pushd ${D} >/dev/null + +stop_bird() { + birdc -l down >/dev/null + sleep 1 + grep -q "<FATAL> Shutdown completed" bird.log + [ ! -e bird.pid ] + [ ! -e bird.ctl ] +} + +cleanup() { + if ${BIRD_RUNNING}; then + stop_bird + if [ -e bird.pid ]; then + kill -9 $(<bird.pid) + fi + fi + + if ${IFACE_EXISTS}; then + ip link del ${IFACE} + fi + + + popd > /dev/null + rm -rf ${D} +} + +failed() { + cleanup + exit 1 +} + +trap failed ERR +trap failed INT +trap failed HUP + +ip link add ${IFACE} type dummy +IFACE_EXISTS=true + +ip link set ${IFACE} up +ip -6 addr add ${LOCAL}/64 dev bird-test-dummy + +ip -6 route add ${LEARN_NET} via ${LEARN_NH} + +cat >bird.conf <<EOF +log "bird.log" all; + +protocol device {} + +protocol kernel { + ipv6 { import all; export all; }; + learn; +} + +protocol static { + ipv6; + route ${EXTERNAL_NET} via ${EXTERNAL_NH}; +} +EOF + +bird -l -P bird.pid + +if [ ! -S bird.ctl ] || [ ! -f bird.pid ] || [ ! -f bird.log ]; then + failed +fi + +BIRD_RUNNING=true + +ROUTE_INSERTED=false +for _ in $(seq 10); do + if ip -6 route show ${EXTERNAL_NET} | egrep -q "${EXTERNAL_NET} via ${EXTERNAL_NH} dev ${IFACE} proto bird metric [0-9]+ pref medium"; then + ROUTE_INSERTED=true + break + fi + sleep 1 +done + +$ROUTE_INSERTED || failed + +if birdc -l show route "${LEARN_NET}" | egrep -q "Network not found"; then + failed +fi + +cleanup +exit 0 diff --git a/debian/watch b/debian/watch new file mode 100644 index 00000000..cec2d664 --- /dev/null +++ b/debian/watch @@ -0,0 +1,2 @@ +version=4 +https://bird.network.cz/download/bird-(2\.[\d.]+).tar.gz |