Compare commits
2 commits
471e8bb47c
...
0eba3e727a
Author | SHA1 | Date | |
---|---|---|---|
Alarig Le Lay | 0eba3e727a | ||
Alarig Le Lay | 0a7fc59b07 |
|
@ -6,9 +6,10 @@ HOMEPAGE=https://bird.network.cz
|
||||||
IDEPEND=filecaps? ( sys-libs/libcap )
|
IDEPEND=filecaps? ( sys-libs/libcap )
|
||||||
INHERIT=autotools fcaps
|
INHERIT=autotools fcaps
|
||||||
IUSE=+client custom-cflags debug libssh +filecaps
|
IUSE=+client custom-cflags debug libssh +filecaps
|
||||||
|
KEYWORDS=~amd64 ~arm64 ~ppc64 ~x86 ~x64-macos
|
||||||
LICENSE=GPL-2
|
LICENSE=GPL-2
|
||||||
RDEPEND=client? ( sys-libs/ncurses:= sys-libs/readline:= ) filecaps? ( acct-group/bird acct-user/bird ) libssh? ( net-libs/libssh:= )
|
RDEPEND=client? ( sys-libs/ncurses:= sys-libs/readline:= ) filecaps? ( acct-group/bird acct-user/bird ) libssh? ( net-libs/libssh:= )
|
||||||
SLOT=0
|
SLOT=0
|
||||||
SRC_URI=https://bird.network.cz/download/3.0pre/bird-3.0alpha1.tar.gz
|
SRC_URI=ftp://bird.network.cz/pub/bird/bird-3.0.0.tar.gz
|
||||||
_eclasses_=gnuconfig ddeb9f8caff1b5f71a09c75b7534df79 toolchain-funcs fa554cc3cff825d21dfe3f24841e29cf multilib b2a329026f2e404e9e371097dda47f96 libtool 6b28392a775f807c8be5fc7ec9a605b9 autotools 7d91cc798a8afd8f4e0c6e9587296ebe fcaps 27152c9e4da035accb14a2d7879744ef
|
_eclasses_=gnuconfig ddeb9f8caff1b5f71a09c75b7534df79 toolchain-funcs fa554cc3cff825d21dfe3f24841e29cf multilib b2a329026f2e404e9e371097dda47f96 libtool 6b28392a775f807c8be5fc7ec9a605b9 autotools 7d91cc798a8afd8f4e0c6e9587296ebe fcaps 27152c9e4da035accb14a2d7879744ef
|
||||||
_md5_=9af2b3c59484a7af9d05075883b51b98
|
_md5_=32ea4b55b2814d666e1bcef5c1c73243
|
|
@ -2,4 +2,4 @@ DIST bird-1.6.8.tar.gz 1042222 BLAKE2B 65974c936a711dfa14d43817a4d23420ebbed317d
|
||||||
DIST bird-2.14.tar.gz 1396217 BLAKE2B fe16b89c7f0ff35c5126366920960e0c55f57fe343380b2c32230122cf24f9abc3eb4d6ed9f37d2176f9e9340a83dffd1e68fed276b59b86cf1bdf5b8bd3c169 SHA512 f6b0672df048cfb78d289030675799e6d19db49d8cc458778d36a4e7c10a15be161dd101d7b03cf017f0fa948206d6504b59139515cbb80acc5bb1fdaa4358b9
|
DIST bird-2.14.tar.gz 1396217 BLAKE2B fe16b89c7f0ff35c5126366920960e0c55f57fe343380b2c32230122cf24f9abc3eb4d6ed9f37d2176f9e9340a83dffd1e68fed276b59b86cf1bdf5b8bd3c169 SHA512 f6b0672df048cfb78d289030675799e6d19db49d8cc458778d36a4e7c10a15be161dd101d7b03cf017f0fa948206d6504b59139515cbb80acc5bb1fdaa4358b9
|
||||||
DIST bird-2.15.1.tar.gz 1409653 BLAKE2B c3fe95ae2b8a3dca036278c8014f3ce2d1fd224c65c10abcc77b2cc1dbdfaa1b5766e8643b873a12ac33f00cd5e866aa7ce853ead78150ec4314b53457ad554a SHA512 75828ae7c3e574097ba6d7e38dd275ada3b078e215454478f2ed9898f7f8447b149e9ba4f47de05a2b8f4e4959b5ee8d46bee0ef58c79b9cb908a44e12df2842
|
DIST bird-2.15.1.tar.gz 1409653 BLAKE2B c3fe95ae2b8a3dca036278c8014f3ce2d1fd224c65c10abcc77b2cc1dbdfaa1b5766e8643b873a12ac33f00cd5e866aa7ce853ead78150ec4314b53457ad554a SHA512 75828ae7c3e574097ba6d7e38dd275ada3b078e215454478f2ed9898f7f8447b149e9ba4f47de05a2b8f4e4959b5ee8d46bee0ef58c79b9cb908a44e12df2842
|
||||||
DIST bird-2.16.tar.gz 1434760 BLAKE2B a76dec4b3babd9739083c29530741e28e61b0cd0eeba726df06070c78f5e61f683aa0039b0952c0384fb7133c09e1788b6daf905a7f3d25e3441df49ba0a6ead SHA512 c230d36bcfad9731e6951a07ef81fdd53dbe65ab3b4883b0ef51cf691f5b67df5b2038af9781e443c436b932b78494e779cab6bddaeb136b8befe84833d184ff
|
DIST bird-2.16.tar.gz 1434760 BLAKE2B a76dec4b3babd9739083c29530741e28e61b0cd0eeba726df06070c78f5e61f683aa0039b0952c0384fb7133c09e1788b6daf905a7f3d25e3441df49ba0a6ead SHA512 c230d36bcfad9731e6951a07ef81fdd53dbe65ab3b4883b0ef51cf691f5b67df5b2038af9781e443c436b932b78494e779cab6bddaeb136b8befe84833d184ff
|
||||||
DIST bird-3.0alpha1.tar.gz 2415234 BLAKE2B c0a035500c4b5e9abd426c8f6835c9c1cb2be0f908803a17b7d6995de41d704c5667bf4e5037bcc19e166629aabe8a411f899d7df719564af4cf93fda9c6f362 SHA512 e41fd923a7e29ba16d70aaf4a5fe70913abc65d84b39bffe1a24fbb70e407ce9eac1b8189c3aecd5b88928dfc7ae62d6a2685dd8aa7de808f73edc918d604cc1
|
DIST bird-3.0.0.tar.gz 2641569 BLAKE2B d537fc1188c174af2c2126a9c7e0220108489145258762ef3d7f8ed69cffd30d70bc233a78d23e7cc8b6eedbb98d1c3dfa1a320a6fe54be4e7c7484bf52b9370 SHA512 b96238dd9b1c74a9d480b7907ffe1ffbbebc7fc4c1cbc6ded61ddc31b54ab82015213d842b00f483e820bb1b8d1bc2a872892f0252f8797fe32a483edd8a1d1b
|
||||||
|
|
|
@ -7,12 +7,11 @@ inherit autotools fcaps
|
||||||
|
|
||||||
DESCRIPTION="A routing daemon implementing OSPF, RIPv2 & BGP for IPv4 & IPv6"
|
DESCRIPTION="A routing daemon implementing OSPF, RIPv2 & BGP for IPv4 & IPv6"
|
||||||
HOMEPAGE="https://bird.network.cz"
|
HOMEPAGE="https://bird.network.cz"
|
||||||
MY_PV="${PV/_/}"
|
SRC_URI="ftp://bird.network.cz/pub/${PN}/${P}.tar.gz"
|
||||||
SRC_URI="https://bird.network.cz/download/3.0pre/bird-${MY_PV}.tar.gz"
|
|
||||||
LICENSE="GPL-2"
|
LICENSE="GPL-2"
|
||||||
|
|
||||||
SLOT="0"
|
SLOT="0"
|
||||||
KEYWORDS=""
|
KEYWORDS="~amd64 ~arm64 ~ppc64 ~x86 ~x64-macos"
|
||||||
IUSE="+client custom-cflags debug libssh"
|
IUSE="+client custom-cflags debug libssh"
|
||||||
|
|
||||||
RDEPEND="
|
RDEPEND="
|
||||||
|
@ -37,8 +36,6 @@ FILECAPS=(
|
||||||
CAP_NET_RAW usr/sbin/bird
|
CAP_NET_RAW usr/sbin/bird
|
||||||
)
|
)
|
||||||
|
|
||||||
S="${WORKDIR}/${PN}-${MY_PV}"
|
|
||||||
|
|
||||||
src_prepare() {
|
src_prepare() {
|
||||||
default
|
default
|
||||||
eautoreconf
|
eautoreconf
|
||||||
|
@ -48,21 +45,20 @@ src_configure() {
|
||||||
# This export makes compilation and test phases verbose
|
# This export makes compilation and test phases verbose
|
||||||
export VERBOSE=1
|
export VERBOSE=1
|
||||||
|
|
||||||
# lto must be enabled by default as bird is mono-threaded and use several
|
|
||||||
# optimisations to be fast, at it may very likely be exposed to several
|
|
||||||
# thounsand BGP updates per seconds
|
|
||||||
# Although, we make it possible to desactivate it if wanted
|
|
||||||
if use custom-cflags; then
|
|
||||||
export bird_cv_c_lto=no
|
|
||||||
fi
|
|
||||||
|
|
||||||
local myargs=(
|
local myargs=(
|
||||||
--localstatedir="${EPREFIX}/var"
|
--localstatedir="${EPREFIX}/var"
|
||||||
|
--with-protocols="${protocols}"
|
||||||
$(use_enable client)
|
$(use_enable client)
|
||||||
$(use_enable debug)
|
$(use_enable debug)
|
||||||
$(use_enable libssh)
|
$(use_enable libssh)
|
||||||
)
|
)
|
||||||
|
|
||||||
|
# lto must be enabled by default as bird is mono-threaded and use several
|
||||||
|
# optimisations to be fast, as it may very likely be exposed to several
|
||||||
|
# thounsand BGP updates per seconds
|
||||||
|
# Although, we make it possible to deactivate it if wanted
|
||||||
|
use custom-cflags && myargs+=( bird_cv_c_lto=no )
|
||||||
|
|
||||||
econf "${myargs[@]}"
|
econf "${myargs[@]}"
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue