babeld: add 9999
This commit is contained in:
parent
6d1b2b691b
commit
c93d6ef8df
3 changed files with 43 additions and 0 deletions
28
net-misc/babeld/babeld-9999.ebuild
Normal file
28
net-misc/babeld/babeld-9999.ebuild
Normal file
|
@ -0,0 +1,28 @@
|
||||||
|
# Copyright 1999-2020 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI="6"
|
||||||
|
|
||||||
|
DESCRIPTION="a loop-free distance-vector routing protocol"
|
||||||
|
HOMEPAGE="http://www.pps.jussieu.fr/~jch/software/babel/"
|
||||||
|
if [[ "${PV}" == "9999" ]] ; then
|
||||||
|
inherit git-r3
|
||||||
|
EGIT_REPO_URI="https://github.com/jech/babeld.git"
|
||||||
|
else
|
||||||
|
SRC_URI="http://www.pps.jussieu.fr/~jch/software/files/${P}.tar.gz"
|
||||||
|
KEYWORDS="~amd64 ~x86"
|
||||||
|
fi
|
||||||
|
|
||||||
|
LICENSE="MIT"
|
||||||
|
SLOT="0"
|
||||||
|
IUSE=""
|
||||||
|
|
||||||
|
src_compile() {
|
||||||
|
emake CDEBUGFLAGS="${CFLAGS}"
|
||||||
|
}
|
||||||
|
|
||||||
|
src_install() {
|
||||||
|
emake "TARGET=${D}" PREFIX="${EPREFIX}"/usr install
|
||||||
|
dodoc CHANGES README
|
||||||
|
doinitd "${FILESDIR}"/${PN}
|
||||||
|
}
|
10
net-misc/babeld/files/babeld
Normal file
10
net-misc/babeld/files/babeld
Normal file
|
@ -0,0 +1,10 @@
|
||||||
|
#!/sbin/openrc-run
|
||||||
|
# Copyright 1999-2019 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License, v2 or later
|
||||||
|
|
||||||
|
description="Babel routing daemon"
|
||||||
|
command=babeld
|
||||||
|
pidfile=/run/$command.pid
|
||||||
|
command_args="-I $pidfile -S /var/lib/babeld/state"
|
||||||
|
command_args_background="-D"
|
||||||
|
retry="TERM/30/KILL/5"
|
5
net-misc/babeld/metadata.xml
Normal file
5
net-misc/babeld/metadata.xml
Normal file
|
@ -0,0 +1,5 @@
|
||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||||
|
<pkgmetadata>
|
||||||
|
<maintainer type="person"><email>heroxbd@gentoo.org</email></maintainer>
|
||||||
|
</pkgmetadata>
|
Loading…
Add table
Reference in a new issue