Browse Source

net-misc/bird-2.0.4

master
Alarig Le Lay 4 months ago
parent
commit
c55a0a6756
2 changed files with 38 additions and 0 deletions
  1. 2
    0
      net-misc/bird/Manifest
  2. 36
    0
      net-misc/bird/bird-2.0.4.ebuild

+ 2
- 0
net-misc/bird/Manifest View File

@@ -0,0 +1,2 @@
1
+DIST bird-2.0.4.tar.gz 1051911 BLAKE2B 12100685e4aad969dbb51eaa567e1038f50e7c030a25a8697bc35d4f33d0f64f9ccbc045e1210acb78f3d8d4a7cc7ef2be7ae50a36679f2322d292e8e6993ed4 SHA512 65092ca6be115b4d0c31c3c4a79d3ee2e196dc2f85454448eab568cc9cc1fe37b7bdfe1ddb74d4f6f147dc479a8570cf7bf702d762cd69414f976678c14c8e2f
2
+EBUILD bird-2.0.4.ebuild 771 BLAKE2B 9adf75165ef2ff7721d62a1ff062338e8119b32bdb8e8390b9e9b294ae2900f58d872252070b0ea1983526db6693e5fd8438cfb086e901fdf6c6a44a26cdb3e3 SHA512 8bd4530fa36b6e9476539bea7e37fa4a16d07aa1e1e60b1c63f757d545174a7bff163860b81f261a1b7f06dccc4f756e96d5fe134aff91f9c7dc3c33619f045a

+ 36
- 0
net-misc/bird/bird-2.0.4.ebuild View File

@@ -0,0 +1,36 @@
1
+# Copyright 1999-2019 Gentoo Authors
2
+# Distributed under the terms of the GNU General Public License v2
3
+
4
+EAPI=7
5
+
6
+DESCRIPTION="A routing daemon implementing OSPF, RIPv2 & BGP for IPv4 & IPv6"
7
+HOMEPAGE="http://bird.network.cz"
8
+SRC_URI="ftp://bird.network.cz/pub/${PN}/${P}.tar.gz"
9
+LICENSE="GPL-2"
10
+
11
+SLOT="0"
12
+KEYWORDS="~amd64 ~arm64 ~x86 ~x64-macos"
13
+IUSE="+client debug"
14
+
15
+RDEPEND="client? ( sys-libs/ncurses )
16
+	client? ( sys-libs/readline )"
17
+DEPEND="sys-devel/flex
18
+	sys-devel/bison
19
+	sys-devel/m4"
20
+
21
+src_configure() {
22
+	econf \
23
+		--localstatedir="${EPREFIX}/var" \
24
+		$(use_enable client) \
25
+		$(use_enable debug)
26
+}
27
+
28
+src_install() {
29
+	if use client; then
30
+		dobin birdc
31
+	fi
32
+	dobin birdcl
33
+	dosbin bird
34
+	newinitd "${FILESDIR}/initd-v4-${PN}-1.3.8" bird
35
+	dodoc doc/bird.conf.example
36
+}

Loading…
Cancel
Save