diff options
author | Fusl <root@hallowe.lt> | 2017-12-20 15:36:26 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2018-01-02 15:55:35 +0000 |
commit | cc64ead6b9a3080ab72d534743abcfd698634ab7 (patch) | |
tree | 52f2a6008002aa35094e07822b78bdfc9196ff54 /testing | |
parent | ace29ce3b68228722f1cb32f282da209e307668e (diff) | |
download | aports-cc64ead6b9a3080ab72d534743abcfd698634ab7.tar.bz2 aports-cc64ead6b9a3080ab72d534743abcfd698634ab7.tar.xz |
testing/bird: upgrade to 2.0.0
Diffstat (limited to 'testing')
-rw-r--r-- | testing/bird/APKBUILD | 44 |
1 files changed, 8 insertions, 36 deletions
diff --git a/testing/bird/APKBUILD b/testing/bird/APKBUILD index 011028c938..ab0c3fc1ec 100644 --- a/testing/bird/APKBUILD +++ b/testing/bird/APKBUILD @@ -2,7 +2,7 @@ # Contributor: Katie Holly <holly@fuslvz.ws> # Maintainer: Francesco Zanini <francesco@zanini.me> pkgname=bird -pkgver=1.6.3 +pkgver=2.0.0 pkgrel=0 pkgdesc="BIRD Internet Routing Daemon" url="http://bird.network.cz/" @@ -11,7 +11,6 @@ license="GPL-2.0-or-later" depends="" makedepends="bison flex ncurses-dev readline-dev linux-headers" install="" -subpackages="bird6" source=" ftp://bird.network.cz/pub/bird/bird-$pkgver.tar.gz bird.initd @@ -22,49 +21,22 @@ prepare() { cd "$builddir" default_prepare update_config_guess - # generate bird6.initd - cd "$srcdir" - sed -e 's/^name=.*/name=bird6/' bird.initd > bird6.initd } -_build() { - ../configure --prefix=/usr \ +build() { + cd "$builddir" + ./configure --prefix=/usr \ --sysconfdir=/etc \ --mandir=/usr/share/man \ - --localstatedir=/var \ - "$@" + --localstatedir=/var make } -build() { - cd "$builddir" - mkdir -p ipv6 ipv4 - cd "$builddir"/ipv6 - _build --enable-ipv6 - cd "$builddir"/ipv4 - _build -} - package() { - cd "$builddir"/ipv4 - make DESTDIR="$pkgdir" install - cd "$builddir"/ipv6 + cd "$builddir" make DESTDIR="$pkgdir" install - for i in bird bird6; do - install -Dm755 "$srcdir"/$i.initd "$pkgdir"/etc/init.d/$i - done -} - -bird6() { - pkgdesc="BIRD Internet Routing Daemon for IPv6" - mkdir -p "$subpkgdir"/etc \ - "$subpkgdir"/etc/init.d \ - "$subpkgdir"/usr/sbin - mv "$pkgdir"/etc/*6.conf "$subpkgdir"/etc/ - for i in etc/init.d usr/sbin; do - mv "$pkgdir"/$i/*6 "$subpkgdir"/$i/ - done + install -Dm755 "$srcdir"/bird.initd "$pkgdir"/etc/init.d/bird } -sha512sums="d0f044cbbb3e5fe0624ad8ae58f5fa352ff41a9cd73f37d803431d9d148927bce52d8f2b82e31dd65c753c55b1034aaf8e15739a511e42cd2dd122b5cd1e15df bird-1.6.3.tar.gz +sha512sums="62d39c35a25b621bbab7e4760e295c6a11b7b4ed048f5c897715401c33c5d49b804584cdd13ee337ca834f20eca4a3646919ce9035ae982fae8f2f682aa8ad06 bird-2.0.0.tar.gz 59245af3fd514421d0babcefed556597022a36d14615d596bb5c08c7dd0a6ed4519928e35a0b7ff14fe27ecfa50fa8011283c92bfc9b8355b15b3263df189d5d bird.initd" |