From 7275072ad1bfda38166f4536552b02d1bec3be0ddaf0f9626f0030c7663ed897 Mon Sep 17 00:00:00 2001 From: Michal Hrusecky Date: Tue, 23 Sep 2025 13:02:32 +0000 Subject: [PATCH 1/2] - Update to version 3.1.4 * BGP: Fixed crash on Notification with a message, CVE-2025-59688 * BGP: Fixed invalid memory access in pending TX flush * BGP: Fixed a rare bug with listening socket delay * Pipe: Disabled statisticts for stopping pipe * Hash: Read-only assertions * ROA Aggregator: Fixed crash on multiwithdraw * Protocol: Fixed broken state announcements OBS-URL: https://build.opensuse.org/package/show/network/bird3?expand=0&rev=11 --- .gitattributes | 23 +++ .gitignore | 1 + bird-3.1.3.tar.gz | 3 + bird-3.1.4.tar.gz | 3 + bird-doc-3.1.3.tar.gz | 3 + bird-doc-3.1.4.tar.gz | 3 + bird.service | 25 +++ bird.tmpfiles.d | 2 + bird3.changes | 466 ++++++++++++++++++++++++++++++++++++++++++ bird3.spec | 134 ++++++++++++ system-user-bird.conf | 1 + 11 files changed, 664 insertions(+) create mode 100644 .gitattributes create mode 100644 .gitignore create mode 100644 bird-3.1.3.tar.gz create mode 100644 bird-3.1.4.tar.gz create mode 100644 bird-doc-3.1.3.tar.gz create mode 100644 bird-doc-3.1.4.tar.gz create mode 100644 bird.service create mode 100644 bird.tmpfiles.d create mode 100644 bird3.changes create mode 100644 bird3.spec create mode 100644 system-user-bird.conf diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,23 @@ +## Default LFS +*.7z filter=lfs diff=lfs merge=lfs -text +*.bsp filter=lfs diff=lfs merge=lfs -text +*.bz2 filter=lfs diff=lfs merge=lfs -text +*.gem filter=lfs diff=lfs merge=lfs -text +*.gz filter=lfs diff=lfs merge=lfs -text +*.jar filter=lfs diff=lfs merge=lfs -text +*.lz filter=lfs diff=lfs merge=lfs -text +*.lzma filter=lfs diff=lfs merge=lfs -text +*.obscpio filter=lfs diff=lfs merge=lfs -text +*.oxt filter=lfs diff=lfs merge=lfs -text +*.pdf filter=lfs diff=lfs merge=lfs -text +*.png filter=lfs diff=lfs merge=lfs -text +*.rpm filter=lfs diff=lfs merge=lfs -text +*.tbz filter=lfs diff=lfs merge=lfs -text +*.tbz2 filter=lfs diff=lfs merge=lfs -text +*.tgz filter=lfs diff=lfs merge=lfs -text +*.ttf filter=lfs diff=lfs merge=lfs -text +*.txz filter=lfs diff=lfs merge=lfs -text +*.whl filter=lfs diff=lfs merge=lfs -text +*.xz filter=lfs diff=lfs merge=lfs -text +*.zip filter=lfs diff=lfs merge=lfs -text +*.zst filter=lfs diff=lfs merge=lfs -text diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..57affb6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.osc diff --git a/bird-3.1.3.tar.gz b/bird-3.1.3.tar.gz new file mode 100644 index 0000000..479a197 --- /dev/null +++ b/bird-3.1.3.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:75ceb0d5d7ee66a00f6b023ff2982564ff2810478e4d8c728a837c4a64cfa38e +size 2733495 diff --git a/bird-3.1.4.tar.gz b/bird-3.1.4.tar.gz new file mode 100644 index 0000000..1168ff1 --- /dev/null +++ b/bird-3.1.4.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:a5757b60e1de9ac5efc9765f87b7c8baefa31db789966c83870d070f7608278c +size 2738002 diff --git a/bird-doc-3.1.3.tar.gz b/bird-doc-3.1.3.tar.gz new file mode 100644 index 0000000..b2ca6b4 --- /dev/null +++ b/bird-doc-3.1.3.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:ae1a7dc2fe301e9b91e2250dc42ce9b8ae0a7c2855efd25f6b33b65aac906dfb +size 1162142 diff --git a/bird-doc-3.1.4.tar.gz b/bird-doc-3.1.4.tar.gz new file mode 100644 index 0000000..48171c8 --- /dev/null +++ b/bird-doc-3.1.4.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:92231f55d95e1f9c0a50a005f638c34eca198d9d8b2278294591cd5bf7ad7585 +size 1161993 diff --git a/bird.service b/bird.service new file mode 100644 index 0000000..114b9c9 --- /dev/null +++ b/bird.service @@ -0,0 +1,25 @@ +[Unit] +Description=The BIRD Internet Routing Daemon +Documentation=http://bird.network.cz/doc/bird.html +Wants=network.target +After=network.target +ConditionFileIsExecutable=/usr/sbin/bird + +[Service] +# added automatically, for details please see +# https://en.opensuse.org/openSUSE:Security_Features#Systemd_hardening_effort +ProtectSystem=full +ProtectHome=true +ProtectHostname=true +ProtectControlGroups=true +RestrictRealtime=true +# end of automatic additions +Type=simple +ExecStartPre=/usr/sbin/bird -p -u bird -g bird +ExecStart=/usr/sbin/bird -u bird -g bird -f -P /run/bird/bird.pid $BIRD_OPTIONS +ExecReload=/usr/bin/kill -HUP $MAINPID +PIDFile=/run/bird/bird.pid +Restart=on-failure + +[Install] +WantedBy=multi-user.target diff --git a/bird.tmpfiles.d b/bird.tmpfiles.d new file mode 100644 index 0000000..8a46ab5 --- /dev/null +++ b/bird.tmpfiles.d @@ -0,0 +1,2 @@ +# Type Path Mode UID GID Age Argument +d /run/bird 0755 bird bird diff --git a/bird3.changes b/bird3.changes new file mode 100644 index 0000000..b8ddd02 --- /dev/null +++ b/bird3.changes @@ -0,0 +1,466 @@ +------------------------------------------------------------------- +Mon Sep 22 20:41:15 UTC 2025 - Michal Hrusecky + +- Update to version 3.1.4 + * BGP: Fixed crash on Notification with a message, CVE-2025-59688 + * BGP: Fixed invalid memory access in pending TX flush + * BGP: Fixed a rare bug with listening socket delay + * Pipe: Disabled statisticts for stopping pipe + * Hash: Read-only assertions + * ROA Aggregator: Fixed crash on multiwithdraw + * Protocol: Fixed broken state announcements + +------------------------------------------------------------------- +Thu Sep 4 08:21:09 UTC 2025 - Michal Hrusecky + +- Update to version 3.1.3 + * ASPA check fix for AS_SET + +------------------------------------------------------------------- +Tue May 27 10:35:14 UTC 2025 - Michal Hrusecky + +- Update to version 3.1.2 + * BGP: Fix warnings for roa_check + * MRT: Fix typo in assert + * ASPA: Fix table subscriptions + * ASPA: Fix filter parse crash + * Table: Fix several race conditions + * Shutdown: Do not export routes + * Logs: Fix logs reopening on configure undo + +------------------------------------------------------------------- +Tue May 13 21:51:14 UTC 2025 - Michal Hrusecky + +- Update to version 3.1.1 + * Makefile: Fix accidentally added dry-run markers + * BGP: Fix route refresh behavior + * BGP: Fix reconfiguration of import behavior modifiers + * BGP: Fix crash on too long export + * Conf: Fix invalid check in text_or_ipa grammar + * Netlink: Fix FreeBSD build error + * Fix use-after-free in thread group reconfiguration + * Fix CentOS 7 and NetBSD build + * Fix several crashes in table export (already fixed in 3.0.2) + * Fix crash on graceful restart of a channel with ROA subscription + * Lots of internal tooling and CI updates + +------------------------------------------------------------------- +Fri May 9 11:45:55 UTC 2025 - Michal Hrusecky + +- Minor polishing + * use %tmpfiles_create macro + * use install -D instead of mkdir && install + +------------------------------------------------------------------- +Thu May 8 18:23:53 UTC 2025 - Michal Hrusecky + +- Drop extra spaces in sysusers file and drop explicit group creation + +------------------------------------------------------------------- +Wed May 7 12:17:15 UTC 2025 - Michal Hrusecky + +- Drop explicit User & Group provides, should be handled automatically + +------------------------------------------------------------------- +Wed May 7 10:20:52 UTC 2025 - Michal Hrusecky + +- Fix documentation subpackage + +------------------------------------------------------------------- +Mon May 5 12:40:43 UTC 2025 - Michal Hrusecky + +- Update to version 3.1 + * see https://gitlab.nic.cz/labs/bird/-/blob/v3.1.0/NEWS +- Rename to bird3 to be able to provide package as an alternative in old + distributions + +------------------------------------------------------------------- +Fri Apr 25 18:44:30 UTC 2025 - Michal Hrusecky + +- Update description +- Migrate user creation to sysuser-tools + +------------------------------------------------------------------- +Fri Apr 25 12:16:57 UTC 2025 - Michal Hrusecky + +- Update to version 2.17 + * Babel: next hop control for IPv4 + * BGP: link-local next hop format configuration + * TCP-AO implementation for Linux + +------------------------------------------------------------------- +Sun Dec 8 07:05:22 UTC 2024 - Martin Hauke + +- Update to version 2.16 + * BFD: Set password per session + * BFD: Accept zero checksum for IPv6-UDP + * BMP: Refactoring and optimizations + * OSPF: Allow loopback nexthop in OSPFv3-IPv4 + * RPKI: TCP-MD5 authentication option + * Filters: Add enum types to filter grammar + * CLI: Configurable additional control sockets + * CLI: Timeformat command + * CLI: Dump commands need a target file + * ASPA support in filters, Static and RPKI + * Formalized contributions and credits policy + * Many bugfixes and improvements + +------------------------------------------------------------------- +Sun Apr 7 08:33:35 UTC 2024 - Martin Hauke + +- Update to version 2.15.1 + * OSPF: Fix regression in handling PtP links + * RPKI: Handle connection resets properly + * Static: Reject invalid combination of options + * Fix builds with limited set of protocols + +------------------------------------------------------------------- +Wed Mar 13 13:42:22 UTC 2024 - Andreas Schwab + +- log-commit.patch: fix crash in log_commit with empty log list + +------------------------------------------------------------------- +Tue Mar 12 17:12:37 UTC 2024 - Martin Hauke + +- Update to version 2.15 + * BGP: Send hold timer + * BGP: New options to specify required BGP capabilities + * BFD: Improvements to 'show bfd sessions' command + * RPKI: New 'local address' configuration option + * Linux: Support for more route attributes, including + TCP congestion control algorithm + * Support for UDP logging + * Static routes can have both nexthop and interface specified + * Completion of command options in BIRD client + * Many bugfixes and improvements + +------------------------------------------------------------------- +Wed Feb 7 11:58:58 UTC 2024 - Dominique Leuenberger + +- Provide user/group symbol for user created during pre. + +------------------------------------------------------------------- +Sun Oct 8 21:51:23 UTC 2023 - Martin Hauke + +- Update to version 2.14 + * MPLS subsystem + * L3VPN: BGP/MPLS VPNs (RFC 4364) + * BGP: Access to unknown route attributes + * RAdv: Custom options + * Babel: RTT metric extension + * BMP: Refactored route monitoring + * BMP: Multiple instances of BMP protocol + * BMP: Both pre-policy and post-policy monitoring + * Experimental route aggregation + * Filter: Method framework + * Filter: Functions have return type statements + * Filter: New bytestring data type + * Kernel: Option to learn kernel routes + * Many bugfixes and improvements + +------------------------------------------------------------------- +Wed Sep 27 14:17:55 UTC 2023 - Libor Pechacek + +- add 'shadow' to Requires(pre) + +------------------------------------------------------------------- +Thu Jun 22 15:39:36 UTC 2023 - Martin Hauke + +- Update to version 2.13.1 + Bugfix release: + * When a case statement in filter had an empty branch, it crashed + BIRD. + * fixed a bug in BGP Roles manifesting when the other party sent + no capabilities at all. + +------------------------------------------------------------------- +Mon Apr 24 15:32:30 UTC 2023 - Martin Hauke + +- Update to version 2.13 + * Babel: IPv4 via IPv6 extension (RFC 9229) + * Babel: Improve authentication on lossy networks + * BGP: New 'allow bgp_med' option + * BSD: Support for IPv4 routes with IPv6 nexthop on FreeBSD + * Experimental BMP protocol implementation + * Important bugfixes + +------------------------------------------------------------------- +Mon Jan 23 19:51:47 UTC 2023 - Martin Hauke + +- Update to version 2.0.12 + * Filter: New 'onlink' route attribute. + * Compile-time option to use 4-way tries instead of 16-way ones. + * Important bugfixes. + +------------------------------------------------------------------- +Sun Dec 11 23:58:41 UTC 2022 - Martin Hauke + +- Update to version 2.0.11 + * BGP roles (RFC 9234) + * BGP: Keepalive time scaling + * BGP: New 'min hold time' and 'min keepalive time' options + * BGP: New 'next hop prefer global' option + * Filter: For loops and direct recursion + * Filter: Mixed declarations of local variables + * Filter: Improved static type checks + * Filter: Literal [] for empty set + * Linux: Netlink KRT improvements + * Memory management improvements + * Many bugfixes + +------------------------------------------------------------------- +Mon Jun 27 09:13:20 UTC 2022 - Martin Hauke + +- Update to version 2.0.10 + * BGP performance improvements + * BFD: New 'strict bind' option + * RPKI: VRF support + * Allow use of 240.0.0.0/4 as a private range + * BIRD client uses exit status to report errors + * Important bugfixes + +------------------------------------------------------------------- +Thu Feb 24 20:50:25 UTC 2022 - Martin Hauke + +- Update to version 2.0.9 + * BGP: Flowspec validation procedure + * Babel: MAC authentication support + * Routing table configuration blocks + * Optional prefix trie in routing table for faster LPM/interval + queries + * CLI: New 'show route in ' command + * Filter: Faster (16-way) prefix sets + * Filter: MPLS label route attribute + * Filter: Operators to pick community components + * Filter: Operators to find minimum and maximum element of lists + * BGP: New 'free bind' option + * BGP: Log route updates that were changed to withdraws + * BGP: Improved 'invalid next hop' error reporting + * OSPF: Allow ifaces with host address as unnumbered PtP or PtMP + ifaces + * OSPF: All packets on PtP networks should be sent to + AllSPFRouters address + * Support for Blake2s and Blake2b hash functions + * Security keys / passwords can be entered in hexadecimal digits + * Memory statistics split into Effective and Overhead + * New option 'netlink rx buffer' to specify netlink socket buffer + size + * Many bugfixes + +------------------------------------------------------------------- +Fri Oct 15 12:11:24 UTC 2021 - Johannes Segitz + +- Drop ProtectClock hardening, can cause issues if other device acceess is needed + +------------------------------------------------------------------- +Wed Aug 25 08:05:28 UTC 2021 - Johannes Segitz + +- Added hardening to systemd service(s). Modified: + * bird.service + +------------------------------------------------------------------- +Mon Mar 22 09:12:19 UTC 2021 - Martin Hauke + +- Update to version 2.0.8 + Changes/Fixes: + * Automatic channel reloads based on RPKI changes + * Multiple static routes with the same network + * Use bitmaps to keep track of exported routes + * Per-channel debug flags + * CLI commands show info from multiple protocols + * Linux: IPv4 routes with IPv6 nexthops + * Filter: Optimized redesign of prefix sets + * Filter: Improved type checking of user filters + * Filter: New src/dst accessors for Flowspec and SADR + * Filter: New 'weight' route attribute + * Filter: BGP path mask loop operator + * Filter: Remove quitbird command + * RIP: Demand circuit support (RFC 2091) + * BGP: New 'allow as sets' and 'enforce first as' options + * BGP: Support for BGP hostname capability + * BGP: Support for MD5SIG with dynamic BGP + * BFD: Optional separation of IPv4 / IPv6 BFD instances + * BFD: Per-peer session options + * RPKI: Allow build without libSSH + * RPKI: New 'ignore max length' option + * OSPF: Redesign of handling of unnumbered PtPs + * OSPF: Allow key id 0 in authentication + * Babel: Use onlink flag for routes with unreachable next hop + * Many bugfixes + Notes: + * Automatic channel reloads based on RPKI changes are enabled + by default, but require import table enabled when used in + BGP import filter. + * BIRD now uses bitmaps to keep track of exported routes + instead of re-evaluation of export filters. That should + improve speed and accuracy in route export handling during + reconfiguration, but takes some more memory. + * Per-channel debug logging and some CLI commands (like 'show + ospf neighbors') defaulting to all protocol instances lead to + some minor changes in log and CLI output. Caution is + recommended when logs or CLI output are monitored by scripts. +- Drop not longer needed patches: + * gcc10.patch + * fix_test_for_bigendian_arch.patch + +------------------------------------------------------------------- +Mon Nov 16 12:45:29 UTC 2020 - Mark Stopka + +- Add patch to fix test on Big Endian architectures + * fix_test_for_bigendian_arch.patch + +------------------------------------------------------------------- +Fri Sep 11 07:16:11 UTC 2020 - Dirk Mueller + +- update to 2.0.2: + o Integrated IPv4 + IPv6 design + * many changes, see included NEWS for details + * obsoletes separate bird6/bird-common subpackages + +- remove bird-1.6.3_verbose.build.patch bufferoverflow.patch: obsolete +- add gcc10.patch (fix build with gcc 10), disable -fcommon again +- reenable fortify-source + +------------------------------------------------------------------- +Wed Jun 17 11:26:13 UTC 2020 - Paolo Stivanin + +- Add -fcommon to allow building against GCC10 + +------------------------------------------------------------------- +Wed Sep 18 19:14:22 UTC 2019 - Martin Hauke + +- Update to version 1.6.8 + * Fix CVE-2019-16159: + BIRD Internet Routing Daemon 1.6.x through 1.6.7 and 2.x through + 2.0.5 has a stack-based buffer overflow. The BGP daemon's + support for RFC 8203 administrative shutdown communication + messages included an incorrect logical expression when checking + the validity of an input message. Sending a shutdown + communication with a sufficient message length causes a four-byte + overflow to occur while processing the message, where two of the + overflow bytes are attacker-controlled and two are fixed. + * Several important bugfixes + * BFD: Support for VRFs + +------------------------------------------------------------------- +Fri Mar 1 19:32:49 UTC 2019 - Martin Hauke + +- Update to version 1.6.6 + * Several bugfixes related to route propagation + +------------------------------------------------------------------- +Sun Feb 3 09:45:27 UTC 2019 - mardnh@gmx.de + +- Update to version 1.6.5 + * MRT table dumps (RFC 6396) + * BGP Long-lived graceful restart + * Filter: Make ifname attribute modifiable + * Improved keeping track of IPv6 link-local addresses + * Many bugfixes + +------------------------------------------------------------------- +Sat Dec 15 17:51:41 UTC 2018 - Jan Engelhardt + +- Kill off em dashes in summaries. Remove future + aims from descriptions. + +------------------------------------------------------------------- +Thu Dec 6 20:30:33 UTC 2018 - mardnh@gmx.de + +- Specfile cleanup + +------------------------------------------------------------------- +Wed Nov 14 19:22:22 UTC 2018 - mardnh@gmx.de + +- Update to version 1.6.4 + * Basic VRF support + * Simplified autoconf scripts + * BGP: Shutdown communication (RFC 8203) + * BGP: Allow exchanging LOCAL_PREF with eBGP peers + * BGP: Allow to specify interface for regular sessions + * BGP: New option 'disable after cease' + * RAdv: Support for more specific routes (RFC 4191) + * RAdv: Proper handling of prefix retraction + * Filter: Allow silent filter execution + * Filter: Fixed stack overflow in BGP mask expressions. + * Several bug fixes + +------------------------------------------------------------------- +Fri Aug 18 16:41:04 UTC 2017 - mrueckert@suse.de + +- added potential fix for the bufferoverflow issue + bufferoverflow.patch + + We will keep fortify_source 0 until the patch was discussed with + upstream. + +------------------------------------------------------------------- +Fri Aug 18 15:42:27 UTC 2017 - mrueckert@suse.de + +- downgrade to _FORTIFY_SOURCE=0 as 1 still fails on TW + +------------------------------------------------------------------- +Fri Aug 18 15:36:09 UTC 2017 - mrueckert@suse.de + +- ignore some warnings to make the output more readable + +------------------------------------------------------------------- +Fri Aug 18 15:23:57 UTC 2017 - mrueckert@suse.de + +- added bird-1.6.3_verbose.build.patch: + - no longer print false CC lines + - print the actuall gcc calls instead +- properly fix the FORTIFY_SOURCE fix from the earlier commit. + - we just replace the -D_FORTIFY_SOURCE value with what we want + instead of appending another value which leads to warnings + +------------------------------------------------------------------- +Fri Aug 18 15:06:45 UTC 2017 - mrueckert@suse.de + +- update to 1.6.3 + - Large BGP communities + - BFD authentication (MD5, SHA1) + - SHA1 and SHA2 authentication for RIP and OSPF + - Improved documentation + - Several bug fixes +- changes from version 1.6.2 + - Fixes serious bug introduced in the previous version +- changes from version 1.6.1 + - Support for IPv6 ECMP + - Better handling of IPv6 tentative addresses + - Several updates and fixes in Babel protocol + - Filter: New !~ operator + - Filter: ASN ranges in bgpmask + - KRT: New kernel protocol option 'metric' + - KRT: New route attribute 'krt_scope' + - Improved BIRD help messages + - Fixes memory leak in BGP multipath + - Fixes handling of empty path segments in BGP AS_PATH + - Several bug fixes +- drop bird-1.5.0-rip_auth_bufferoverflow.patch + +------------------------------------------------------------------- +Tue Jun 21 20:19:18 UTC 2016 - mardnh@gmx.de + +- update to version 1.6.0 +- if possible use /run instead of /var/run for the runtimedir +- removed patch: bird-1.5.0-rip_auth_bufferoverflow.patch + A similar issue still exists but it's a false positive. + +------------------------------------------------------------------- +Sat Oct 17 15:56:16 UTC 2015 - mrueckert@suse.de + +- add $BIRD_OPTIONS to the service files + +------------------------------------------------------------------- +Sat Oct 17 15:42:42 UTC 2015 - mrueckert@suse.de + +- no longer run as root but as user/group bird. +- add tmpfiles.d file for /var/run/bird +- merged spec file from bird6 again + +------------------------------------------------------------------- +Fri Oct 16 23:24:31 UTC 2015 - mrueckert@suse.de + +- initial package + diff --git a/bird3.spec b/bird3.spec new file mode 100644 index 0000000..b845aaf --- /dev/null +++ b/bird3.spec @@ -0,0 +1,134 @@ +# +# spec file for package bird +# +# Copyright (c) 2025 SUSE LLC +# +# All modifications and additions to the file contributed by third parties +# remain the property of their copyright owners, unless otherwise agreed +# upon. The license for this file, and modifications and additions to the +# file, is the same license as for the pristine package itself (unless the +# license for the pristine package is not an Open Source License, in which +# case the license is the MIT License). An "Open Source License" is a +# license that conforms to the Open Source Definition (Version 1.9) +# published by the Open Source Initiative. + +# Please submit bugfixes or comments via https://bugs.opensuse.org/ +# + +%define bird_runtimedir %{_rundir}/bird +Name: bird3 +Version: 3.1.4 +Release: 0 +Summary: The BIRD Internet Routing Daemon +License: GPL-2.0-or-later +Group: Productivity/Networking/Routing +URL: https://bird.network.cz/ +Source: https://bird.nic.cz/download/bird-%{version}.tar.gz +Source1: bird.service +Source3: bird.tmpfiles.d +Source4: system-user-bird.conf +Source5: https://bird.nic.cz/download/bird-doc-%{version}.tar.gz +BuildRequires: bison +BuildRequires: flex +BuildRequires: ncurses-devel +BuildRequires: pkgconfig +BuildRequires: readline-devel +BuildRequires: systemd-rpm-macros +BuildRequires: sysuser-tools +Requires(pre): shadow +Provides: bird = %{version}-%{release} +Provides: bird6 = %{version} +Provides: bird6:%{_sbindir}/bird6 +Obsoletes: bird6 < %{version} +Provides: bird-common = %{version} +Obsoletes: bird-common < %{version} +%if 0%{?suse_version} < 1600 +Conflicts: bird < 3.0.0 +%else +Obsoletes: bird < 3.0.0 +%endif + +%description +The BIRD project aims to develop a fully functional dynamic IP routing daemon +primarily targeted on (but not limited to) Linux, FreeBSD and other UNIX-like +systems and distributed under the GNU General Public License. + +Supports the following: + +* Both IPv4 and IPv6 +* Multiple routing tables +* BGP +* RIP +* OSPF +* BFD +* Babel +* Static routes +* IPv6 Router Advertisements +* Inter-table protocol +* Command-line interface (using the `birdc' client; to get some help, just press `?') +* Powerful language for route filtering + +%package doc +Summary: Documentation for the BIRD Internet Routing Daemon +Group: Documentation/HTML +BuildArch: noarch + +%description doc +The BIRD project aims to develop a fully functional dynamic IP routing daemon +primarily targeted on (but not limited to) Linux, FreeBSD and other UNIX-like +systems and distributed under the GNU General Public License. + +This package holds the PDF documentation. + +%prep +%autosetup -p1 -n bird-%{version} -a 5 + +%build +export CFLAGS="%{optflags} -fpic -DPIC -fno-strict-aliasing -Wno-parentheses -Wno-pointer-sign" +export LDFLAGS="-Wl,-z,relro -pie" +%configure \ + --with-runtimedir=%{bird_runtimedir} +%make_build all +%sysusers_generate_pre %{SOURCE4} bird system-user-bird.conf + +%install +%make_install +install -D -m 0644 %{SOURCE1} %{buildroot}%{_unitdir}/bird.service +install -D -m 0644 %{SOURCE3} %{buildroot}%{_tmpfilesdir}/bird.conf +ln -s -f %{_sbindir}/service %{buildroot}%{_sbindir}/rcbird +install -D -d -m 0750 %{buildroot}%{_docdir}/bird +install -D -m 0644 %{SOURCE4} %{buildroot}%{_sysusersdir}/system-user-bird.conf + +%check +%make_build test + +%pre -f bird.pre +%service_add_pre bird.service + +%preun +%service_del_preun bird.service + +%post +%tmpfiles_create %_tmpfilesdir/bird.conf +%service_add_post bird.service + +%postun +%service_del_postun bird.service + +%files +%config(noreplace) %attr(0640,root,bird) %{_sysconfdir}/bird.conf +%{_sbindir}/bird +%{_sbindir}/birdc +%{_sbindir}/birdcl +%{_sbindir}/rcbird +%{_unitdir}/bird.service +%{_sysusersdir}/system-user-bird.conf +%{_tmpfilesdir}/bird.conf +%dir %attr(-,bird,bird) %ghost %{bird_runtimedir} + +%files doc +%doc NEWS README +%doc doc/bird.conf.* +%doc bird-doc-%{version}/doc/*.pdf + +%changelog diff --git a/system-user-bird.conf b/system-user-bird.conf new file mode 100644 index 0000000..74691f6 --- /dev/null +++ b/system-user-bird.conf @@ -0,0 +1 @@ +u bird - "Bird Internet Routing Daemon" /var/lib/bird -- 2.51.1 From b79d20d2a1a23246124a9fd59ffcf24567d294bd7bc32ffc70463660f9462c37 Mon Sep 17 00:00:00 2001 From: Michal Hrusecky Date: Mon, 5 Jan 2026 11:44:12 +0100 Subject: [PATCH 2/2] Update to version 3.2.0 * BGP: Listening socket rework * IGP metric: Split out local_metric again * Table: Optimal and Any Export refactoring * Various race condition fixes * All fixes included in 3.1.0 -- 3.1.5 * Merged 2.18 --- bird-3.1.4.tar.gz | 3 --- bird-3.2.0.tar.gz | 3 +++ bird-doc-3.1.4.tar.gz | 3 --- bird-doc-3.2.0.tar.gz | 3 +++ bird3.changes | 11 +++++++++++ bird3.spec | 2 +- 6 files changed, 18 insertions(+), 7 deletions(-) delete mode 100644 bird-3.1.4.tar.gz create mode 100644 bird-3.2.0.tar.gz delete mode 100644 bird-doc-3.1.4.tar.gz create mode 100644 bird-doc-3.2.0.tar.gz diff --git a/bird-3.1.4.tar.gz b/bird-3.1.4.tar.gz deleted file mode 100644 index 1168ff1..0000000 --- a/bird-3.1.4.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:a5757b60e1de9ac5efc9765f87b7c8baefa31db789966c83870d070f7608278c -size 2738002 diff --git a/bird-3.2.0.tar.gz b/bird-3.2.0.tar.gz new file mode 100644 index 0000000..c66670c --- /dev/null +++ b/bird-3.2.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:5e6ff6a22cf92ba73ebf2e4bbcd9360328b52c7497ef70e4cf11089fa5a216b2 +size 2737808 diff --git a/bird-doc-3.1.4.tar.gz b/bird-doc-3.1.4.tar.gz deleted file mode 100644 index 48171c8..0000000 --- a/bird-doc-3.1.4.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:92231f55d95e1f9c0a50a005f638c34eca198d9d8b2278294591cd5bf7ad7585 -size 1161993 diff --git a/bird-doc-3.2.0.tar.gz b/bird-doc-3.2.0.tar.gz new file mode 100644 index 0000000..1092d5c --- /dev/null +++ b/bird-doc-3.2.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:e8e5bcf9d249636ff74b3cc24b75df567c6fe5227e2a2f481a443a52f15fc396 +size 1171290 diff --git a/bird3.changes b/bird3.changes index b8ddd02..1660064 100644 --- a/bird3.changes +++ b/bird3.changes @@ -1,3 +1,14 @@ +------------------------------------------------------------------- +Mon Dec 29 08:17:56 UTC 2025 - Michal Hrusecky + +- Update to version 3.2.0 + * BGP: Listening socket rework + * IGP metric: Split out local_metric again + * Table: Optimal and Any Export refactoring + * Various race condition fixes + * All fixes included in 3.1.0 -- 3.1.5 + * Merged 2.18 + ------------------------------------------------------------------- Mon Sep 22 20:41:15 UTC 2025 - Michal Hrusecky diff --git a/bird3.spec b/bird3.spec index b845aaf..1237226 100644 --- a/bird3.spec +++ b/bird3.spec @@ -17,7 +17,7 @@ %define bird_runtimedir %{_rundir}/bird Name: bird3 -Version: 3.1.4 +Version: 3.2.0 Release: 0 Summary: The BIRD Internet Routing Daemon License: GPL-2.0-or-later -- 2.51.1