Gentoo Archives: gentoo-commits

From: Joonas Niilola <juippis@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: net-misc/bird/
Date: Mon, 28 Feb 2022 14:26:42
Message-Id: 1646058396.f1231e288840204c6c32349a6333aaf9a7794141.juippis@gentoo
1 commit: f1231e288840204c6c32349a6333aaf9a7794141
2 Author: Alarig Le Lay <alarig <AT> swordarmor <DOT> fr>
3 AuthorDate: Sat Feb 26 14:30:36 2022 +0000
4 Commit: Joonas Niilola <juippis <AT> gentoo <DOT> org>
5 CommitDate: Mon Feb 28 14:26:36 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f1231e28
7
8 net-misc/bird: Version bump to 2.0.9
9
10 Package-Manager: Portage-3.0.30, Repoman-3.0.3
11 Signed-off-by: Alarig Le Lay <alarig <AT> swordarmor.fr>
12 Closes: https://github.com/gentoo/gentoo/pull/24360
13 Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>
14
15 net-misc/bird/Manifest | 1 +
16 net-misc/bird/bird-2.0.9.ebuild | 67 +++++++++++++++++++++++++++++++++++++++++
17 2 files changed, 68 insertions(+)
18
19 diff --git a/net-misc/bird/Manifest b/net-misc/bird/Manifest
20 index 65402b14904f..d4a615a8d812 100644
21 --- a/net-misc/bird/Manifest
22 +++ b/net-misc/bird/Manifest
23 @@ -1,2 +1,3 @@
24 DIST bird-2.0.7.tar.gz 1993395 BLAKE2B ceb88d811d254e57e089ef4b4e1e4f34fd96d4622d9f5563cc8694323c060e99d6cdfccfeb5d8c885b9431dc71e96d5cc04e4344901a7c7d899f4249e7503720 SHA512 48ca63be923285dd282e80d7e2b240256953fd7ad4f6eaa5dcba2648f3f148be20198bc8c6e7e888aac1588ecb005a4f4c03e979853e76ea6f8680643a874b35
25 DIST bird-2.0.8.tar.gz 1135228 BLAKE2B 4b36688ac85967ad8c39d9c37dc717d77b1cb5c3ec44a0cf4e84ff38b8d1710d10653a1333b50cd2ede79fd7f012ec86de0baefc9ac18435693ec5b3e43b8a3a SHA512 5f8ad63b1dcdcfdfd4c98f55601dda3a07dea3099fc51b52a340650ca475bd943ee6aac31a1e7735b7596b279e338697c65728754b97108ae687a05f566c94e2
26 +DIST bird-2.0.9.tar.gz 1282045 BLAKE2B a9f60ac7a768793e985ff8edc4c42af4b5e0eb9028af575d12e2fbe9ea67092cdc908289be848ef71403e6fafdcf46a8b78e90a5880951f9cb09854a3a3f0c73 SHA512 14c1f5c792de58e1b89ce16ea942244ad998833cf159a3cde78fd0c7d81238b1ad18fd76f6a0e7e11210447c73a6c74cfef4c6a70989891fa78ba5df0ae71d90
27
28 diff --git a/net-misc/bird/bird-2.0.9.ebuild b/net-misc/bird/bird-2.0.9.ebuild
29 new file mode 100644
30 index 000000000000..c311bc1756d5
31 --- /dev/null
32 +++ b/net-misc/bird/bird-2.0.9.ebuild
33 @@ -0,0 +1,67 @@
34 +# Copyright 2020-2022 Gentoo Authors
35 +# Distributed under the terms of the GNU General Public License v2
36 +
37 +EAPI=8
38 +
39 +inherit autotools fcaps
40 +
41 +DESCRIPTION="A routing daemon implementing OSPF, RIPv2 & BGP for IPv4 & IPv6"
42 +HOMEPAGE="https://bird.network.cz"
43 +SRC_URI="ftp://bird.network.cz/pub/${PN}/${P}.tar.gz"
44 +LICENSE="GPL-2"
45 +
46 +SLOT="0"
47 +KEYWORDS="~amd64 ~arm64 ~x86 ~x64-macos"
48 +IUSE="+client debug libssh"
49 +
50 +RDEPEND="
51 + client? ( sys-libs/ncurses:= )
52 + client? ( sys-libs/readline:= )
53 + filecaps? (
54 + acct-group/bird
55 + acct-user/bird
56 + )
57 + libssh? ( net-libs/libssh:= )"
58 +BDEPEND="
59 + sys-devel/bison
60 + sys-devel/flex
61 + sys-devel/m4
62 +"
63 +
64 +FILECAPS=(
65 + CAP_NET_ADMIN usr/sbin/bird
66 + CAP_NET_BIND_SERVICE usr/sbin/bird
67 + CAP_NET_RAW usr/sbin/bird
68 +)
69 +
70 +src_prepare() {
71 + default
72 +
73 + eautoreconf
74 +}
75 +
76 +src_configure() {
77 + econf \
78 + --localstatedir="${EPREFIX}/var" \
79 + $(use_enable client) \
80 + $(use_enable debug) \
81 + $(use_enable libssh)
82 +}
83 +
84 +src_install() {
85 + if use client; then
86 + dobin birdc
87 + fi
88 + dobin birdcl
89 + dosbin bird
90 + newinitd "${FILESDIR}/initd-${PN}-2" ${PN}
91 + newconfd "${FILESDIR}/confd-${PN}-2" ${PN}
92 + dodoc doc/bird.conf.example
93 +}
94 +
95 +pkg_postinst() {
96 + use filecaps && \
97 + einfo "If you want to run bird as non-root, edit"
98 + einfo "'${EROOT}/etc/conf.d/bird' and set BIRD_GROUP and BIRD_USER with"
99 + einfo "the wanted username."
100 +}