bird: update to 2.0.2.
This commit is contained in:
parent
ae34371483
commit
b6aa881c70
2 changed files with 7 additions and 42 deletions
|
@ -1,2 +0,0 @@
|
||||||
#!/bin/sh
|
|
||||||
exec bird6 -f ${OPTS:=-c /etc/bird6.conf}
|
|
|
@ -1,51 +1,18 @@
|
||||||
# Template file for 'bird'
|
# Template file for 'bird'
|
||||||
pkgname=bird
|
pkgname=bird
|
||||||
version=1.6.4
|
version=2.0.2
|
||||||
revision=1
|
revision=1
|
||||||
wrksrc="bird-v${version}"
|
|
||||||
build_style=gnu-configure
|
build_style=gnu-configure
|
||||||
configure_args="--sbindir=/usr/bin"
|
conf_files="/etc/bird.conf"
|
||||||
hostmakedepends="flex autoconf"
|
hostmakedepends="flex autoconf"
|
||||||
makedepends="ncurses-devel readline-devel"
|
makedepends="ncurses-devel readline-devel"
|
||||||
short_desc="The BIRD Internet Routing Daemon"
|
short_desc="The BIRD Internet Routing Daemon"
|
||||||
maintainer="Philipp Hirsch <itself@hanspolo.net>"
|
maintainer="Philipp Hirsch <itself@hanspolo.net>"
|
||||||
license="GPL-3.0-or-later"
|
license="GPL-2.0-or-later"
|
||||||
homepage="http://bird.network.cz"
|
homepage="https://bird.network.cz"
|
||||||
distfiles="https://gitlab.labs.nic.cz/labs/bird/-/archive/v${version}/bird-v${version}.tar.gz"
|
distfiles="ftp://bird.network.cz/pub/bird/bird-${version}.tar.gz"
|
||||||
conf_files="/etc/bird.conf /etc/bird6.conf"
|
checksum=035f91d6f568f8ed438a0814235ac4c5c79147cd2acf201322c307732883480f
|
||||||
checksum=cb7f3c8bb10e329dbe75251de50133aacd3b8ec25a18940c4a39ec3ac2490f73
|
|
||||||
|
|
||||||
pre_configure() {
|
post_install() {
|
||||||
mkdir -p /tmp/bird6
|
|
||||||
cp -a $wrksrc/* /tmp/bird6
|
|
||||||
mv /tmp/bird6 $wrksrc/bird6
|
|
||||||
}
|
|
||||||
|
|
||||||
do_configure() {
|
|
||||||
# bird
|
|
||||||
autoreconf
|
|
||||||
./configure ${configure_args}
|
|
||||||
|
|
||||||
# bird6
|
|
||||||
cd bird6
|
|
||||||
autoreconf
|
|
||||||
./configure ${configure_args} --enable-ipv6
|
|
||||||
}
|
|
||||||
|
|
||||||
do_build() {
|
|
||||||
# bird
|
|
||||||
make ${makejobs}
|
|
||||||
|
|
||||||
# bird6
|
|
||||||
cd bird6
|
|
||||||
make ${makejobs}
|
|
||||||
}
|
|
||||||
|
|
||||||
do_install() {
|
|
||||||
make DESTDIR=$DESTDIR install
|
|
||||||
vsv bird
|
vsv bird
|
||||||
|
|
||||||
cd bird6
|
|
||||||
make DESTDIR=$PKGDESTDIR install
|
|
||||||
vsv bird6
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue