[arch-commits] Commit in bird/repos (8 files)

Evangelos Foutras foutrelis at archlinux.org
Sun Sep 6 18:24:26 UTC 2015


    Date: Sunday, September 6, 2015 @ 20:24:26
  Author: foutrelis
Revision: 245388

archrelease: copy trunk to staging-i686, staging-x86_64

Added:
  bird/repos/staging-i686/
  bird/repos/staging-i686/PKGBUILD
    (from rev 245387, bird/trunk/PKGBUILD)
  bird/repos/staging-i686/bird.service
    (from rev 245387, bird/trunk/bird.service)
  bird/repos/staging-i686/bird6.service
    (from rev 245387, bird/trunk/bird6.service)
  bird/repos/staging-x86_64/
  bird/repos/staging-x86_64/PKGBUILD
    (from rev 245387, bird/trunk/PKGBUILD)
  bird/repos/staging-x86_64/bird.service
    (from rev 245387, bird/trunk/bird.service)
  bird/repos/staging-x86_64/bird6.service
    (from rev 245387, bird/trunk/bird6.service)

------------------------------+
 staging-i686/PKGBUILD        |   89 +++++++++++++++++++++++++++++++++++++++++
 staging-i686/bird.service    |   12 +++++
 staging-i686/bird6.service   |   12 +++++
 staging-x86_64/PKGBUILD      |   89 +++++++++++++++++++++++++++++++++++++++++
 staging-x86_64/bird.service  |   12 +++++
 staging-x86_64/bird6.service |   12 +++++
 6 files changed, 226 insertions(+)

Copied: bird/repos/staging-i686/PKGBUILD (from rev 245387, bird/trunk/PKGBUILD)
===================================================================
--- staging-i686/PKGBUILD	                        (rev 0)
+++ staging-i686/PKGBUILD	2015-09-06 18:24:26 UTC (rev 245388)
@@ -0,0 +1,89 @@
+# $Id$
+# Maintainer: Sébastien Luttringer
+
+pkgbase=bird
+pkgname=('bird' 'bird6')
+pkgver=1.5.0
+pkgrel=2
+arch=('i686' '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=('330bde6372afa106abfe5a9737e471c1'
+         '69221e063a3f07dcad519d5eeacaae75'
+         '5b172bd052b523efd95ee018e891e181')
+
+build() {
+  cd $pkgbase-$pkgver
+  [[ -e _build4 ]] && rm -rf _build4
+  [[ -e _build6 ]] && rm -rf _build6
+  mkdir _build4 _build6
+
+  # build ipv4 bird
+  cd _build4
+  ../configure \
+    --prefix=/usr \
+    --sbindir=/usr/bin \
+    --sysconfdir=/etc \
+    --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')
+
+  cd $pkgbase-$pkgver/_build4
+  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/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:

Copied: bird/repos/staging-i686/bird.service (from rev 245387, bird/trunk/bird.service)
===================================================================
--- staging-i686/bird.service	                        (rev 0)
+++ staging-i686/bird.service	2015-09-06 18:24:26 UTC (rev 245388)
@@ -0,0 +1,12 @@
+[Unit]
+Description=BIRD routing daemon
+After=network.target
+
+[Service]
+Type=forking
+ExecStart=/usr/bin/bird
+ExecReload=/usr/bin/birdc configure
+ExecStop=/usr/bin/birdc down
+
+[Install]
+WantedBy=multi-user.target

Copied: bird/repos/staging-i686/bird6.service (from rev 245387, bird/trunk/bird6.service)
===================================================================
--- staging-i686/bird6.service	                        (rev 0)
+++ staging-i686/bird6.service	2015-09-06 18:24:26 UTC (rev 245388)
@@ -0,0 +1,12 @@
+[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

Copied: bird/repos/staging-x86_64/PKGBUILD (from rev 245387, bird/trunk/PKGBUILD)
===================================================================
--- staging-x86_64/PKGBUILD	                        (rev 0)
+++ staging-x86_64/PKGBUILD	2015-09-06 18:24:26 UTC (rev 245388)
@@ -0,0 +1,89 @@
+# $Id$
+# Maintainer: Sébastien Luttringer
+
+pkgbase=bird
+pkgname=('bird' 'bird6')
+pkgver=1.5.0
+pkgrel=2
+arch=('i686' '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=('330bde6372afa106abfe5a9737e471c1'
+         '69221e063a3f07dcad519d5eeacaae75'
+         '5b172bd052b523efd95ee018e891e181')
+
+build() {
+  cd $pkgbase-$pkgver
+  [[ -e _build4 ]] && rm -rf _build4
+  [[ -e _build6 ]] && rm -rf _build6
+  mkdir _build4 _build6
+
+  # build ipv4 bird
+  cd _build4
+  ../configure \
+    --prefix=/usr \
+    --sbindir=/usr/bin \
+    --sysconfdir=/etc \
+    --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')
+
+  cd $pkgbase-$pkgver/_build4
+  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/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:

Copied: bird/repos/staging-x86_64/bird.service (from rev 245387, bird/trunk/bird.service)
===================================================================
--- staging-x86_64/bird.service	                        (rev 0)
+++ staging-x86_64/bird.service	2015-09-06 18:24:26 UTC (rev 245388)
@@ -0,0 +1,12 @@
+[Unit]
+Description=BIRD routing daemon
+After=network.target
+
+[Service]
+Type=forking
+ExecStart=/usr/bin/bird
+ExecReload=/usr/bin/birdc configure
+ExecStop=/usr/bin/birdc down
+
+[Install]
+WantedBy=multi-user.target

Copied: bird/repos/staging-x86_64/bird6.service (from rev 245387, bird/trunk/bird6.service)
===================================================================
--- staging-x86_64/bird6.service	                        (rev 0)
+++ staging-x86_64/bird6.service	2015-09-06 18:24:26 UTC (rev 245388)
@@ -0,0 +1,12 @@
+[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