net-misc/babeld: version bump.

Add an openrc script.

Package-Manager: Portage-2.3.28, Repoman-2.3.9
This commit is contained in:
Benda Xu
2018-07-09 00:19:18 +09:00
parent 885a53bcc5
commit 007d6777d2
3 changed files with 34 additions and 0 deletions

View File

@@ -1 +1,2 @@
DIST babeld-1.8.0.tar.gz 92124 BLAKE2B 43f24c64280597201880a257095235447a49b97e7fcfc4f53db1c6e45564e41dc751017ce664779e4accdf03cb134cb33856288e2deebc6f194ae1e3744bad4e SHA512 6665ea5108200fe9d158a221ee5697c35fa1bf1d59e99a354aabea844342505731d77c1e3dff3917d048c2154bbadcdda5904ad6e46f16c43f52b5c297480b7d
DIST babeld-1.8.2.tar.gz 92852 BLAKE2B ddf64558ebe2c96812e0b68382cda118539a1221fa15df7ee5d6aa67cdb5e1da556e4518371580bfb9df61780f559892787057605a02b8870c0a8e1f2018fc5d SHA512 08ef0747a672e7a3f2e06d4082da0d021378cea94633fdddf7de38178552bc5a587852fdb5c8bfdeeb6897ba4fd61c78e6ee4d19523a6c3e60d0e3c150418319

View File

@@ -0,0 +1,23 @@
# Copyright 1999-2018 Gentoo Foundation
# 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/"
SRC_URI="http://www.pps.jussieu.fr/~jch/software/files/${P}.tar.gz"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~x86"
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 Executable file
View File

@@ -0,0 +1,10 @@
#!/sbin/openrc-run
# Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License, v2 or later
description="Babel routing daemon"
command=babeld
pidfile=/var/run/$command.pid
command_args="-I $pidfile -S /var/lib/babeld/state"
command_args_background="-D"
retry="TERM/30/KILL/5"