[arch-commits] Commit in bird/trunk (PKGBUILD bird6.service)
Sébastien Luttringer
seblu at archlinux.org
Sun Dec 17 17:03:45 UTC 2017
Date: Sunday, December 17, 2017 @ 17:03:44
Author: seblu
Revision: 313256
upgpkg: bird 2.0.0-1
Modified:
bird/trunk/PKGBUILD
Deleted:
bird/trunk/bird6.service
---------------+
PKGBUILD | 67 ++++++++++----------------------------------------------
bird6.service | 12 ----------
2 files changed, 13 insertions(+), 66 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2017-12-17 16:05:37 UTC (rev 313255)
+++ PKGBUILD 2017-12-17 17:03:44 UTC (rev 313256)
@@ -1,30 +1,24 @@
# $Id$
# Maintainer: Sébastien Luttringer
-pkgbase=bird
-pkgname=('bird' 'bird6')
-pkgver=1.6.3
+pkgname=bird
+pkgver=2.0.0
pkgrel=1
+pkgdesc='RIP, OSPF, BGP, MPLS, BFD, Babbel routing daemon'
arch=('x86_64')
url='http://bird.network.cz/'
license=('GPL2')
-depends=('readline' 'ncurses')
-source=("ftp://bird.network.cz/pub/bird/${pkgname}-${pkgver}.tar.gz"
- 'bird.service'
- 'bird6.service')
-md5sums=('63dd93a7a23c274fc5b7f2e37664bfb7'
- '69221e063a3f07dcad519d5eeacaae75'
- '5b172bd052b523efd95ee018e891e181')
+backup=('etc/bird.conf')
+depends=('glibc' 'readline' 'ncurses')
+replaces=('bird6')
+source=("ftp://bird.network.cz/pub/bird/$pkgname-$pkgver.tar.gz"
+ 'bird.service')
+md5sums=('31cbd40f493d6e946e7cdf3158c4923a'
+ '69221e063a3f07dcad519d5eeacaae75')
build() {
cd $pkgbase-$pkgver
- [[ -e _build4 ]] && rm -rf _build4
- [[ -e _build6 ]] && rm -rf _build6
- mkdir _build4 _build6
-
- # build ipv4 bird
- cd _build4
- ../configure \
+ ./configure \
--prefix=/usr \
--sbindir=/usr/bin \
--sysconfdir=/etc \
@@ -31,24 +25,11 @@
--localstatedir=/var \
--docdir=/usr/share/doc/$pkgname
make
-
- # build ipv6 bird
- cd ../_build6
- ../configure \
- --prefix=/usr \
- --sbindir=/usr/bin \
- --sysconfdir=/etc \
- --localstatedir=/var \
- --docdir=/usr/share/doc/$pkgname \
- --enable-ipv6
- make
}
-package_bird () {
- pkgdesc='RIP, OSPFv2 and BGP daemon (ipv4 version)'
- backup=('etc/bird.conf')
+package () {
- cd $pkgbase-$pkgver/_build4
+ cd $pkgbase-$pkgver
make \
prefix="$pkgdir/usr" \
sysconfdir="$pkgdir/etc" \
@@ -56,7 +37,6 @@
localstatedir="$pkgdir/var" \
docdir="$pkgdir/usr/share/doc/$pkgname" \
install
- #make docdir="$pkgdir/usr/share/doc/$pkgname" install-docs
# no /var inside pkg
rm -r "$pkgdir/var"
@@ -65,25 +45,4 @@
install -D -m 644 "$srcdir/bird.service" "$pkgdir/usr/lib/systemd/system/bird.service"
}
-package_bird6 () {
- pkgdesc='RIP, OSPFv3, RADV and BGP daemon (ipv6 version)'
- backup=('etc/bird6.conf')
-
- cd $pkgbase-$pkgver/_build6
- make \
- prefix="$pkgdir/usr" \
- sysconfdir="$pkgdir/etc" \
- sbindir="$pkgdir/usr/bin" \
- localstatedir="$pkgdir/var" \
- docdir="$pkgdir/usr/share/doc/$pkgname" \
- install
- #make docdir="$pkgdir/usr/share/doc/$pkgname" install-docs
-
- # no /var inside pkg
- rm -r "$pkgdir/var"
-
- # systemd
- install -D -m 644 "$srcdir/bird6.service" "$pkgdir/usr/lib/systemd/system/bird6.service"
-}
-
# vim:set ts=2 sw=2 et:
Deleted: bird6.service
===================================================================
--- bird6.service 2017-12-17 16:05:37 UTC (rev 313255)
+++ bird6.service 2017-12-17 17:03:44 UTC (rev 313256)
@@ -1,12 +0,0 @@
-[Unit]
-Description=BIRD IPv6 routing daemon
-After=network.target
-
-[Service]
-Type=forking
-ExecStart=/usr/bin/bird6
-ExecReload=/usr/bin/birdc6 configure
-ExecStop=/usr/bin/birdc6 down
-
-[Install]
-WantedBy=multi-user.target
More information about the arch-commits
mailing list