[arch-commits] Commit in quagga/repos (28 files)

Evangelos Foutras foutrelis at archlinux.org
Sun Nov 6 20:24:28 UTC 2016


    Date: Sunday, November 6, 2016 @ 20:24:27
  Author: foutrelis
Revision: 279969

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

Added:
  quagga/repos/staging-i686/
  quagga/repos/staging-i686/PKGBUILD
    (from rev 279968, quagga/trunk/PKGBUILD)
  quagga/repos/staging-i686/babeld.service
    (from rev 279968, quagga/trunk/babeld.service)
  quagga/repos/staging-i686/bgpd.service
    (from rev 279968, quagga/trunk/bgpd.service)
  quagga/repos/staging-i686/isisd.service
    (from rev 279968, quagga/trunk/isisd.service)
  quagga/repos/staging-i686/ospf6d.service
    (from rev 279968, quagga/trunk/ospf6d.service)
  quagga/repos/staging-i686/ospfd.service
    (from rev 279968, quagga/trunk/ospfd.service)
  quagga/repos/staging-i686/pimd.service
    (from rev 279968, quagga/trunk/pimd.service)
  quagga/repos/staging-i686/quagga.install
    (from rev 279968, quagga/trunk/quagga.install)
  quagga/repos/staging-i686/quagga.sysusers
    (from rev 279968, quagga/trunk/quagga.sysusers)
  quagga/repos/staging-i686/quagga.tmpfiles
    (from rev 279968, quagga/trunk/quagga.tmpfiles)
  quagga/repos/staging-i686/ripd.service
    (from rev 279968, quagga/trunk/ripd.service)
  quagga/repos/staging-i686/ripngd.service
    (from rev 279968, quagga/trunk/ripngd.service)
  quagga/repos/staging-i686/zebra.service
    (from rev 279968, quagga/trunk/zebra.service)
  quagga/repos/staging-x86_64/
  quagga/repos/staging-x86_64/PKGBUILD
    (from rev 279968, quagga/trunk/PKGBUILD)
  quagga/repos/staging-x86_64/babeld.service
    (from rev 279968, quagga/trunk/babeld.service)
  quagga/repos/staging-x86_64/bgpd.service
    (from rev 279968, quagga/trunk/bgpd.service)
  quagga/repos/staging-x86_64/isisd.service
    (from rev 279968, quagga/trunk/isisd.service)
  quagga/repos/staging-x86_64/ospf6d.service
    (from rev 279968, quagga/trunk/ospf6d.service)
  quagga/repos/staging-x86_64/ospfd.service
    (from rev 279968, quagga/trunk/ospfd.service)
  quagga/repos/staging-x86_64/pimd.service
    (from rev 279968, quagga/trunk/pimd.service)
  quagga/repos/staging-x86_64/quagga.install
    (from rev 279968, quagga/trunk/quagga.install)
  quagga/repos/staging-x86_64/quagga.sysusers
    (from rev 279968, quagga/trunk/quagga.sysusers)
  quagga/repos/staging-x86_64/quagga.tmpfiles
    (from rev 279968, quagga/trunk/quagga.tmpfiles)
  quagga/repos/staging-x86_64/ripd.service
    (from rev 279968, quagga/trunk/ripd.service)
  quagga/repos/staging-x86_64/ripngd.service
    (from rev 279968, quagga/trunk/ripngd.service)
  quagga/repos/staging-x86_64/zebra.service
    (from rev 279968, quagga/trunk/zebra.service)

--------------------------------+
 staging-i686/PKGBUILD          |   96 +++++++++++++++++++++++++++++++++++++++
 staging-i686/babeld.service    |   16 ++++++
 staging-i686/bgpd.service      |   16 ++++++
 staging-i686/isisd.service     |   16 ++++++
 staging-i686/ospf6d.service    |   16 ++++++
 staging-i686/ospfd.service     |   16 ++++++
 staging-i686/pimd.service      |   15 ++++++
 staging-i686/quagga.install    |    6 ++
 staging-i686/quagga.sysusers   |    1 
 staging-i686/quagga.tmpfiles   |    3 +
 staging-i686/ripd.service      |   16 ++++++
 staging-i686/ripngd.service    |   16 ++++++
 staging-i686/zebra.service     |   16 ++++++
 staging-x86_64/PKGBUILD        |   96 +++++++++++++++++++++++++++++++++++++++
 staging-x86_64/babeld.service  |   16 ++++++
 staging-x86_64/bgpd.service    |   16 ++++++
 staging-x86_64/isisd.service   |   16 ++++++
 staging-x86_64/ospf6d.service  |   16 ++++++
 staging-x86_64/ospfd.service   |   16 ++++++
 staging-x86_64/pimd.service    |   15 ++++++
 staging-x86_64/quagga.install  |    6 ++
 staging-x86_64/quagga.sysusers |    1 
 staging-x86_64/quagga.tmpfiles |    3 +
 staging-x86_64/ripd.service    |   16 ++++++
 staging-x86_64/ripngd.service  |   16 ++++++
 staging-x86_64/zebra.service   |   16 ++++++
 26 files changed, 498 insertions(+)

Copied: quagga/repos/staging-i686/PKGBUILD (from rev 279968, quagga/trunk/PKGBUILD)
===================================================================
--- staging-i686/PKGBUILD	                        (rev 0)
+++ staging-i686/PKGBUILD	2016-11-06 20:24:27 UTC (rev 279969)
@@ -0,0 +1,96 @@
+# $Id$
+# Maintainer: Sébastien Luttringer
+
+pkgname=quagga
+pkgver=1.1.0
+pkgrel=2
+pkgdesc='BGP/OSPF/ISIS/RIP/RIPNG routing daemon suite'
+arch=('i686' 'x86_64')
+url='http://www.quagga.net'
+license=('GPL2')
+depends=('libcap' 'libnl' 'net-snmp' 'readline' 'ncurses' 'perl')
+options=('!buildflags')
+install=quagga.install
+validpgpkeys=('C1B5C3ED3000F2BFCD66F3B76FE57CA8C1A4AEA6') # Quagga Release Signing Key
+source=("http://download.savannah.gnu.org/releases/$pkgname/$pkgname-$pkgver.tar.gz"{,.asc}
+        'quagga.sysusers'
+        'quagga.tmpfiles'
+        'babeld.service'
+        'bgpd.service'
+        'isisd.service'
+        'ospf6d.service'
+        'ospfd.service'
+        'pimd.service'
+        'ripd.service'
+        'ripngd.service'
+        'zebra.service')
+md5sums=('daa303871e07ea5856aae6fd79e89722'
+         'SKIP'
+         '286c545efadcc7b463eb603c25473cb4'
+         '9dfa2f649a2c83a2e52f5f89dec3b167'
+         '20a8e36ad851d4e06467aeb56a84b245'
+         'cc90c234aac9098c5132d653037d5269'
+         '67d0ada0f3000b9a86351798786c5256'
+         '6e2569ef339838aa41375e913a8e19ce'
+         '260f5fcf9b53ef201a8fb34e7ea90457'
+         'af6571185d6a6a6e1f070c7be0e4333a'
+         'b6e3549d780355914ae8edd43e15630a'
+         '72dd63c49fdaea41729a4318d0fbac79'
+         '577f1e7caeea31d910f2dc29c28ada7d')
+
+prepare() {
+  cd $pkgname-$pkgver
+  # apply patch from the source array (should be a pacman feature)
+  local filename
+  for filename in "${source[@]}"; do
+    if [[ "$filename" =~ \.patch$ ]]; then
+      msg2 "Applying patch ${filename##*/}"
+      patch -p1 -N -i "$srcdir/${filename##*/}"
+    fi
+  done
+  :
+}
+
+build() {
+  cd $pkgname-$pkgver
+  ./configure \
+    --prefix=/usr \
+    --sbindir=/usr/bin \
+    --sysconfdir=/etc/quagga \
+    --localstatedir=/run/quagga \
+    --enable-exampledir=/usr/share/doc/quagga/examples \
+    --enable-vtysh \
+    --enable-isis-topology \
+    --enable-netlink \
+    --enable-snmp \
+    --enable-tcp-zebra \
+    --enable-irdp \
+    --enable-pcreposix \
+    --enable-multipath=64 \
+    --enable-user=quagga \
+    --enable-group=quagga \
+    --enable-configfile-mask=0640 \
+    --enable-logfile-mask=0640
+  make
+}
+
+package() {
+  # upstream install
+  cd $pkgname-$pkgver
+  make DESTDIR="$pkgdir" install
+
+  # logrotate stuff
+  install -D -m 644 redhat/$pkgname.logrotate "$pkgdir/etc/logrotate.d/$pkgname"
+  sed -ri 's,/var/run/quagga,/run/quagga,g' "$pkgdir/etc/logrotate.d/$pkgname"
+
+  # systemd
+  cd "$srcdir"
+  install -d -m 755 "$pkgdir"/usr/lib/{systemd/system,tmpfiles.d,sysusers.d}
+  for _d in zebra ripd ripngd bgpd ospfd ospf6d isisd babeld pimd; do
+    install -D -m 644 $_d.service "$pkgdir/usr/lib/systemd/system/$_d.service"
+  done
+  install -D -m 644 $pkgname.tmpfiles "$pkgdir/usr/lib/tmpfiles.d/$pkgname.conf"
+  install -D -m 644 $pkgname.sysusers "$pkgdir/usr/lib/sysusers.d/$pkgname.conf"
+}
+
+# vim:set ts=2 sw=2 et:

Copied: quagga/repos/staging-i686/babeld.service (from rev 279968, quagga/trunk/babeld.service)
===================================================================
--- staging-i686/babeld.service	                        (rev 0)
+++ staging-i686/babeld.service	2016-11-06 20:24:27 UTC (rev 279969)
@@ -0,0 +1,16 @@
+[Unit]
+Description=Babel routing daemon
+Documentation=man:zebra(8)
+BindTo=zebra.service
+After=network.target zebra.service
+ConditionPathExists=/etc/quagga/babeld.conf
+
+[Service]
+Type=forking
+PIDFile=/run/quagga/babeld.pid
+ExecStart=/usr/bin/babeld -d
+ExecReload=/bin/kill -HUP $MAINPID
+Restart=on-abort
+
+[Install]
+WantedBy=multi-user.target

Copied: quagga/repos/staging-i686/bgpd.service (from rev 279968, quagga/trunk/bgpd.service)
===================================================================
--- staging-i686/bgpd.service	                        (rev 0)
+++ staging-i686/bgpd.service	2016-11-06 20:24:27 UTC (rev 279969)
@@ -0,0 +1,16 @@
+[Unit]
+Description=BGP routing daemon
+Documentation=man:bgpd(8) man:zebra(8)
+BindTo=zebra.service
+After=network.target zebra.service
+ConditionPathExists=/etc/quagga/bgpd.conf
+
+[Service]
+Type=forking
+PIDFile=/run/quagga/bgpd.pid
+ExecStart=/usr/bin/bgpd -d
+ExecReload=/bin/kill -HUP $MAINPID
+Restart=on-abort
+
+[Install]
+WantedBy=multi-user.target

Copied: quagga/repos/staging-i686/isisd.service (from rev 279968, quagga/trunk/isisd.service)
===================================================================
--- staging-i686/isisd.service	                        (rev 0)
+++ staging-i686/isisd.service	2016-11-06 20:24:27 UTC (rev 279969)
@@ -0,0 +1,16 @@
+[Unit]
+Description=IS-IS routing daemon
+Documentation=man:isis(8) man:zebra(8)
+BindTo=zebra.service
+After=network.target zebra.service
+ConditionPathExists=/etc/quagga/isisd.conf
+
+[Service]
+Type=forking
+PIDFile=/run/quagga/isisd.pid
+ExecStart=/usr/bin/isisd -d
+ExecReload=/bin/kill -HUP $MAINPID
+Restart=on-abort
+
+[Install]
+WantedBy=multi-user.target

Copied: quagga/repos/staging-i686/ospf6d.service (from rev 279968, quagga/trunk/ospf6d.service)
===================================================================
--- staging-i686/ospf6d.service	                        (rev 0)
+++ staging-i686/ospf6d.service	2016-11-06 20:24:27 UTC (rev 279969)
@@ -0,0 +1,16 @@
+[Unit]
+Description=OSPF routing daemon for IPv6
+Documentation=man:ospfd(8) man:zebra(8)
+BindTo=zebra.service
+After=network.target zebra.service
+ConditionPathExists=/etc/quagga/ospf6d.conf
+
+[Service]
+Type=forking
+PIDFile=/run/quagga/ospf6d.pid
+ExecStart=/usr/bin/ospf6d -d
+ExecReload=/bin/kill -HUP $MAINPID
+Restart=on-abort
+
+[Install]
+WantedBy=multi-user.target

Copied: quagga/repos/staging-i686/ospfd.service (from rev 279968, quagga/trunk/ospfd.service)
===================================================================
--- staging-i686/ospfd.service	                        (rev 0)
+++ staging-i686/ospfd.service	2016-11-06 20:24:27 UTC (rev 279969)
@@ -0,0 +1,16 @@
+[Unit]
+Description=OSPF routing daemon
+Documentation=man:ospfd(8) man:zebra(8)
+BindTo=zebra.service
+After=network.target zebra.service
+ConditionPathExists=/etc/quagga/ospfd.conf
+
+[Service]
+Type=forking
+PIDFile=/run/quagga/ospfd.pid
+ExecStart=/usr/bin/ospfd -d
+ExecReload=/bin/kill -HUP $MAINPID
+Restart=on-abort
+
+[Install]
+WantedBy=multi-user.target

Copied: quagga/repos/staging-i686/pimd.service (from rev 279968, quagga/trunk/pimd.service)
===================================================================
--- staging-i686/pimd.service	                        (rev 0)
+++ staging-i686/pimd.service	2016-11-06 20:24:27 UTC (rev 279969)
@@ -0,0 +1,15 @@
+[Unit]
+Description=PIM multicast routing engine
+Documentation=man:pimd(8) man:zebra(8)
+BindTo=zebra.service
+After=network.target zebra.service
+ConditionPathExists=/etc/quagga/pimd.conf
+
+[Service]
+Type=forking
+PIDFile=/run/quagga/pimd.pid
+ExecStart=/usr/sbin/pimd -d
+Restart=on-abort
+
+[Install]
+WantedBy=multi-user.target

Copied: quagga/repos/staging-i686/quagga.install (from rev 279968, quagga/trunk/quagga.install)
===================================================================
--- staging-i686/quagga.install	                        (rev 0)
+++ staging-i686/quagga.install	2016-11-06 20:24:27 UTC (rev 279969)
@@ -0,0 +1,6 @@
+# vim: ft=sh ts=2 sw=2 et:
+
+post_install() {
+  systemd-sysusers quagga.conf
+  systemd-tmpfiles --create quagga.conf
+}

Copied: quagga/repos/staging-i686/quagga.sysusers (from rev 279968, quagga/trunk/quagga.sysusers)
===================================================================
--- staging-i686/quagga.sysusers	                        (rev 0)
+++ staging-i686/quagga.sysusers	2016-11-06 20:24:27 UTC (rev 279969)
@@ -0,0 +1 @@
+u quagga - - /run/quagga

Copied: quagga/repos/staging-i686/quagga.tmpfiles (from rev 279968, quagga/trunk/quagga.tmpfiles)
===================================================================
--- staging-i686/quagga.tmpfiles	                        (rev 0)
+++ staging-i686/quagga.tmpfiles	2016-11-06 20:24:27 UTC (rev 279969)
@@ -0,0 +1,3 @@
+d /etc/quagga 0750 quagga quagga
+d /var/log/quagga 0750 quagga quagga
+d /run/quagga 0750 quagga quagga

Copied: quagga/repos/staging-i686/ripd.service (from rev 279968, quagga/trunk/ripd.service)
===================================================================
--- staging-i686/ripd.service	                        (rev 0)
+++ staging-i686/ripd.service	2016-11-06 20:24:27 UTC (rev 279969)
@@ -0,0 +1,16 @@
+[Unit]
+Description=RIP routing daemon
+Documentation=man:ripd(8) man:zebra(8)
+BindTo=zebra.service
+After=network.target zebra.service
+ConditionPathExists=/etc/quagga/ripd.conf
+
+[Service]
+Type=forking
+PIDFile=/run/quagga/ripd.pid
+ExecStart=/usr/bin/ripd -d
+ExecReload=/bin/kill -HUP $MAINPID
+Restart=on-abort
+
+[Install]
+WantedBy=multi-user.target

Copied: quagga/repos/staging-i686/ripngd.service (from rev 279968, quagga/trunk/ripngd.service)
===================================================================
--- staging-i686/ripngd.service	                        (rev 0)
+++ staging-i686/ripngd.service	2016-11-06 20:24:27 UTC (rev 279969)
@@ -0,0 +1,16 @@
+[Unit]
+Description=RIP routing daemon for IPv6
+Documentation=man:ripngd(8) man:zebra(8)
+BindTo=zebra.service
+After=network.target zebra.service
+ConditionPathExists=/etc/quagga/ripngd.conf
+
+[Service]
+Type=forking
+PIDFile=/run/quagga/ripngd.pid
+ExecStart=/usr/bin/ripngd -d
+ExecReload=/bin/kill -HUP $MAINPID
+Restart=on-abort
+
+[Install]
+WantedBy=multi-user.target

Copied: quagga/repos/staging-i686/zebra.service (from rev 279968, quagga/trunk/zebra.service)
===================================================================
--- staging-i686/zebra.service	                        (rev 0)
+++ staging-i686/zebra.service	2016-11-06 20:24:27 UTC (rev 279969)
@@ -0,0 +1,16 @@
+[Unit]
+Description=GNU Zebra routing manager
+Documentation=man:zebra(8)
+After=network.target
+ConditionPathExists=/etc/quagga/zebra.conf
+
+[Service]
+Type=forking
+PIDFile=/run/quagga/zebra.pid
+ExecStartPre=/sbin/ip route flush proto zebra
+ExecStart=/usr/bin/zebra -d
+ExecReload=/bin/kill -HUP $MAINPID
+Restart=on-abort
+
+[Install]
+WantedBy=multi-user.target

Copied: quagga/repos/staging-x86_64/PKGBUILD (from rev 279968, quagga/trunk/PKGBUILD)
===================================================================
--- staging-x86_64/PKGBUILD	                        (rev 0)
+++ staging-x86_64/PKGBUILD	2016-11-06 20:24:27 UTC (rev 279969)
@@ -0,0 +1,96 @@
+# $Id$
+# Maintainer: Sébastien Luttringer
+
+pkgname=quagga
+pkgver=1.1.0
+pkgrel=2
+pkgdesc='BGP/OSPF/ISIS/RIP/RIPNG routing daemon suite'
+arch=('i686' 'x86_64')
+url='http://www.quagga.net'
+license=('GPL2')
+depends=('libcap' 'libnl' 'net-snmp' 'readline' 'ncurses' 'perl')
+options=('!buildflags')
+install=quagga.install
+validpgpkeys=('C1B5C3ED3000F2BFCD66F3B76FE57CA8C1A4AEA6') # Quagga Release Signing Key
+source=("http://download.savannah.gnu.org/releases/$pkgname/$pkgname-$pkgver.tar.gz"{,.asc}
+        'quagga.sysusers'
+        'quagga.tmpfiles'
+        'babeld.service'
+        'bgpd.service'
+        'isisd.service'
+        'ospf6d.service'
+        'ospfd.service'
+        'pimd.service'
+        'ripd.service'
+        'ripngd.service'
+        'zebra.service')
+md5sums=('daa303871e07ea5856aae6fd79e89722'
+         'SKIP'
+         '286c545efadcc7b463eb603c25473cb4'
+         '9dfa2f649a2c83a2e52f5f89dec3b167'
+         '20a8e36ad851d4e06467aeb56a84b245'
+         'cc90c234aac9098c5132d653037d5269'
+         '67d0ada0f3000b9a86351798786c5256'
+         '6e2569ef339838aa41375e913a8e19ce'
+         '260f5fcf9b53ef201a8fb34e7ea90457'
+         'af6571185d6a6a6e1f070c7be0e4333a'
+         'b6e3549d780355914ae8edd43e15630a'
+         '72dd63c49fdaea41729a4318d0fbac79'
+         '577f1e7caeea31d910f2dc29c28ada7d')
+
+prepare() {
+  cd $pkgname-$pkgver
+  # apply patch from the source array (should be a pacman feature)
+  local filename
+  for filename in "${source[@]}"; do
+    if [[ "$filename" =~ \.patch$ ]]; then
+      msg2 "Applying patch ${filename##*/}"
+      patch -p1 -N -i "$srcdir/${filename##*/}"
+    fi
+  done
+  :
+}
+
+build() {
+  cd $pkgname-$pkgver
+  ./configure \
+    --prefix=/usr \
+    --sbindir=/usr/bin \
+    --sysconfdir=/etc/quagga \
+    --localstatedir=/run/quagga \
+    --enable-exampledir=/usr/share/doc/quagga/examples \
+    --enable-vtysh \
+    --enable-isis-topology \
+    --enable-netlink \
+    --enable-snmp \
+    --enable-tcp-zebra \
+    --enable-irdp \
+    --enable-pcreposix \
+    --enable-multipath=64 \
+    --enable-user=quagga \
+    --enable-group=quagga \
+    --enable-configfile-mask=0640 \
+    --enable-logfile-mask=0640
+  make
+}
+
+package() {
+  # upstream install
+  cd $pkgname-$pkgver
+  make DESTDIR="$pkgdir" install
+
+  # logrotate stuff
+  install -D -m 644 redhat/$pkgname.logrotate "$pkgdir/etc/logrotate.d/$pkgname"
+  sed -ri 's,/var/run/quagga,/run/quagga,g' "$pkgdir/etc/logrotate.d/$pkgname"
+
+  # systemd
+  cd "$srcdir"
+  install -d -m 755 "$pkgdir"/usr/lib/{systemd/system,tmpfiles.d,sysusers.d}
+  for _d in zebra ripd ripngd bgpd ospfd ospf6d isisd babeld pimd; do
+    install -D -m 644 $_d.service "$pkgdir/usr/lib/systemd/system/$_d.service"
+  done
+  install -D -m 644 $pkgname.tmpfiles "$pkgdir/usr/lib/tmpfiles.d/$pkgname.conf"
+  install -D -m 644 $pkgname.sysusers "$pkgdir/usr/lib/sysusers.d/$pkgname.conf"
+}
+
+# vim:set ts=2 sw=2 et:

Copied: quagga/repos/staging-x86_64/babeld.service (from rev 279968, quagga/trunk/babeld.service)
===================================================================
--- staging-x86_64/babeld.service	                        (rev 0)
+++ staging-x86_64/babeld.service	2016-11-06 20:24:27 UTC (rev 279969)
@@ -0,0 +1,16 @@
+[Unit]
+Description=Babel routing daemon
+Documentation=man:zebra(8)
+BindTo=zebra.service
+After=network.target zebra.service
+ConditionPathExists=/etc/quagga/babeld.conf
+
+[Service]
+Type=forking
+PIDFile=/run/quagga/babeld.pid
+ExecStart=/usr/bin/babeld -d
+ExecReload=/bin/kill -HUP $MAINPID
+Restart=on-abort
+
+[Install]
+WantedBy=multi-user.target

Copied: quagga/repos/staging-x86_64/bgpd.service (from rev 279968, quagga/trunk/bgpd.service)
===================================================================
--- staging-x86_64/bgpd.service	                        (rev 0)
+++ staging-x86_64/bgpd.service	2016-11-06 20:24:27 UTC (rev 279969)
@@ -0,0 +1,16 @@
+[Unit]
+Description=BGP routing daemon
+Documentation=man:bgpd(8) man:zebra(8)
+BindTo=zebra.service
+After=network.target zebra.service
+ConditionPathExists=/etc/quagga/bgpd.conf
+
+[Service]
+Type=forking
+PIDFile=/run/quagga/bgpd.pid
+ExecStart=/usr/bin/bgpd -d
+ExecReload=/bin/kill -HUP $MAINPID
+Restart=on-abort
+
+[Install]
+WantedBy=multi-user.target

Copied: quagga/repos/staging-x86_64/isisd.service (from rev 279968, quagga/trunk/isisd.service)
===================================================================
--- staging-x86_64/isisd.service	                        (rev 0)
+++ staging-x86_64/isisd.service	2016-11-06 20:24:27 UTC (rev 279969)
@@ -0,0 +1,16 @@
+[Unit]
+Description=IS-IS routing daemon
+Documentation=man:isis(8) man:zebra(8)
+BindTo=zebra.service
+After=network.target zebra.service
+ConditionPathExists=/etc/quagga/isisd.conf
+
+[Service]
+Type=forking
+PIDFile=/run/quagga/isisd.pid
+ExecStart=/usr/bin/isisd -d
+ExecReload=/bin/kill -HUP $MAINPID
+Restart=on-abort
+
+[Install]
+WantedBy=multi-user.target

Copied: quagga/repos/staging-x86_64/ospf6d.service (from rev 279968, quagga/trunk/ospf6d.service)
===================================================================
--- staging-x86_64/ospf6d.service	                        (rev 0)
+++ staging-x86_64/ospf6d.service	2016-11-06 20:24:27 UTC (rev 279969)
@@ -0,0 +1,16 @@
+[Unit]
+Description=OSPF routing daemon for IPv6
+Documentation=man:ospfd(8) man:zebra(8)
+BindTo=zebra.service
+After=network.target zebra.service
+ConditionPathExists=/etc/quagga/ospf6d.conf
+
+[Service]
+Type=forking
+PIDFile=/run/quagga/ospf6d.pid
+ExecStart=/usr/bin/ospf6d -d
+ExecReload=/bin/kill -HUP $MAINPID
+Restart=on-abort
+
+[Install]
+WantedBy=multi-user.target

Copied: quagga/repos/staging-x86_64/ospfd.service (from rev 279968, quagga/trunk/ospfd.service)
===================================================================
--- staging-x86_64/ospfd.service	                        (rev 0)
+++ staging-x86_64/ospfd.service	2016-11-06 20:24:27 UTC (rev 279969)
@@ -0,0 +1,16 @@
+[Unit]
+Description=OSPF routing daemon
+Documentation=man:ospfd(8) man:zebra(8)
+BindTo=zebra.service
+After=network.target zebra.service
+ConditionPathExists=/etc/quagga/ospfd.conf
+
+[Service]
+Type=forking
+PIDFile=/run/quagga/ospfd.pid
+ExecStart=/usr/bin/ospfd -d
+ExecReload=/bin/kill -HUP $MAINPID
+Restart=on-abort
+
+[Install]
+WantedBy=multi-user.target

Copied: quagga/repos/staging-x86_64/pimd.service (from rev 279968, quagga/trunk/pimd.service)
===================================================================
--- staging-x86_64/pimd.service	                        (rev 0)
+++ staging-x86_64/pimd.service	2016-11-06 20:24:27 UTC (rev 279969)
@@ -0,0 +1,15 @@
+[Unit]
+Description=PIM multicast routing engine
+Documentation=man:pimd(8) man:zebra(8)
+BindTo=zebra.service
+After=network.target zebra.service
+ConditionPathExists=/etc/quagga/pimd.conf
+
+[Service]
+Type=forking
+PIDFile=/run/quagga/pimd.pid
+ExecStart=/usr/sbin/pimd -d
+Restart=on-abort
+
+[Install]
+WantedBy=multi-user.target

Copied: quagga/repos/staging-x86_64/quagga.install (from rev 279968, quagga/trunk/quagga.install)
===================================================================
--- staging-x86_64/quagga.install	                        (rev 0)
+++ staging-x86_64/quagga.install	2016-11-06 20:24:27 UTC (rev 279969)
@@ -0,0 +1,6 @@
+# vim: ft=sh ts=2 sw=2 et:
+
+post_install() {
+  systemd-sysusers quagga.conf
+  systemd-tmpfiles --create quagga.conf
+}

Copied: quagga/repos/staging-x86_64/quagga.sysusers (from rev 279968, quagga/trunk/quagga.sysusers)
===================================================================
--- staging-x86_64/quagga.sysusers	                        (rev 0)
+++ staging-x86_64/quagga.sysusers	2016-11-06 20:24:27 UTC (rev 279969)
@@ -0,0 +1 @@
+u quagga - - /run/quagga

Copied: quagga/repos/staging-x86_64/quagga.tmpfiles (from rev 279968, quagga/trunk/quagga.tmpfiles)
===================================================================
--- staging-x86_64/quagga.tmpfiles	                        (rev 0)
+++ staging-x86_64/quagga.tmpfiles	2016-11-06 20:24:27 UTC (rev 279969)
@@ -0,0 +1,3 @@
+d /etc/quagga 0750 quagga quagga
+d /var/log/quagga 0750 quagga quagga
+d /run/quagga 0750 quagga quagga

Copied: quagga/repos/staging-x86_64/ripd.service (from rev 279968, quagga/trunk/ripd.service)
===================================================================
--- staging-x86_64/ripd.service	                        (rev 0)
+++ staging-x86_64/ripd.service	2016-11-06 20:24:27 UTC (rev 279969)
@@ -0,0 +1,16 @@
+[Unit]
+Description=RIP routing daemon
+Documentation=man:ripd(8) man:zebra(8)
+BindTo=zebra.service
+After=network.target zebra.service
+ConditionPathExists=/etc/quagga/ripd.conf
+
+[Service]
+Type=forking
+PIDFile=/run/quagga/ripd.pid
+ExecStart=/usr/bin/ripd -d
+ExecReload=/bin/kill -HUP $MAINPID
+Restart=on-abort
+
+[Install]
+WantedBy=multi-user.target

Copied: quagga/repos/staging-x86_64/ripngd.service (from rev 279968, quagga/trunk/ripngd.service)
===================================================================
--- staging-x86_64/ripngd.service	                        (rev 0)
+++ staging-x86_64/ripngd.service	2016-11-06 20:24:27 UTC (rev 279969)
@@ -0,0 +1,16 @@
+[Unit]
+Description=RIP routing daemon for IPv6
+Documentation=man:ripngd(8) man:zebra(8)
+BindTo=zebra.service
+After=network.target zebra.service
+ConditionPathExists=/etc/quagga/ripngd.conf
+
+[Service]
+Type=forking
+PIDFile=/run/quagga/ripngd.pid
+ExecStart=/usr/bin/ripngd -d
+ExecReload=/bin/kill -HUP $MAINPID
+Restart=on-abort
+
+[Install]
+WantedBy=multi-user.target

Copied: quagga/repos/staging-x86_64/zebra.service (from rev 279968, quagga/trunk/zebra.service)
===================================================================
--- staging-x86_64/zebra.service	                        (rev 0)
+++ staging-x86_64/zebra.service	2016-11-06 20:24:27 UTC (rev 279969)
@@ -0,0 +1,16 @@
+[Unit]
+Description=GNU Zebra routing manager
+Documentation=man:zebra(8)
+After=network.target
+ConditionPathExists=/etc/quagga/zebra.conf
+
+[Service]
+Type=forking
+PIDFile=/run/quagga/zebra.pid
+ExecStartPre=/sbin/ip route flush proto zebra
+ExecStart=/usr/bin/zebra -d
+ExecReload=/bin/kill -HUP $MAINPID
+Restart=on-abort
+
+[Install]
+WantedBy=multi-user.target



More information about the arch-commits mailing list