[arch-commits] Commit in babeld/repos (4 files)

Felix Yan felixonmars at archlinux.org
Fri Nov 17 08:56:45 UTC 2017


    Date: Friday, November 17, 2017 @ 08:56:44
  Author: felixonmars
Revision: 267074

archrelease: copy trunk to community-x86_64

Added:
  babeld/repos/community-x86_64/
  babeld/repos/community-x86_64/PKGBUILD
    (from rev 267073, babeld/trunk/PKGBUILD)
  babeld/repos/community-x86_64/babeld.conf
    (from rev 267073, babeld/trunk/babeld.conf)
  babeld/repos/community-x86_64/babeld.service
    (from rev 267073, babeld/trunk/babeld.service)

----------------+
 PKGBUILD       |   36 ++++++++++++++++++++++++++++++++++++
 babeld.conf    |   52 ++++++++++++++++++++++++++++++++++++++++++++++++++++
 babeld.service |   14 ++++++++++++++
 3 files changed, 102 insertions(+)

Copied: babeld/repos/community-x86_64/PKGBUILD (from rev 267073, babeld/trunk/PKGBUILD)
===================================================================
--- community-x86_64/PKGBUILD	                        (rev 0)
+++ community-x86_64/PKGBUILD	2017-11-17 08:56:44 UTC (rev 267074)
@@ -0,0 +1,36 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Baptiste Jonglez <baptiste--aur at jonglez dot org>
+# Contributor: Yann Lopez <arch at lonewulf dot net>
+
+pkgname=babeld
+pkgver=1.8.0
+pkgrel=1
+pkgdesc="A loop-avoiding distance-vector routing protocol"
+arch=('x86_64')
+url="https://www.irif.fr/~jch/software/babel/"
+license=('MIT')
+depends=('glibc')
+optdepends=('ahcpd: for autoconfiguration of addresses and other informations')
+backup=('etc/babeld.conf')
+source=("https://www.irif.fr/~jch/software/files/$pkgname-$pkgver.tar.gz"{,.asc}
+        'babeld.conf' 'babeld.service')
+validpgpkeys=('F8E70AAD74D32CAC27B9AFD62652C881EADB5526')
+sha512sums=('6665ea5108200fe9d158a221ee5697c35fa1bf1d59e99a354aabea844342505731d77c1e3dff3917d048c2154bbadcdda5904ad6e46f16c43f52b5c297480b7d'
+            'SKIP'
+            '1232684447b4409d6e3813041f4ab1158faa844b5ac65441b5f299f1e353f48679aacbce9cc79e6714e9a3e1b17d2cfa4963c1388dba225ee342ea3cdb7f1194'
+            '01e69d19a6176a6bf26ee703939c5bdea3f1245464ed5d3863dc5867a76b8b6a6fc7324912aee17458a0c6275ccdfa5abe63b88f7503c8d4dfd37d3f15f42700')
+
+build() {
+  cd $pkgname-$pkgver
+  make PREFIX="/usr"
+}
+
+package() {
+  cd $pkgname-$pkgver
+  make PREFIX="/usr" TARGET="$pkgdir" install
+
+  install -Dm644 ../babeld.conf "$pkgdir"/etc/babeld.conf
+  install -Dm644 ../babeld.service "$pkgdir"/usr/lib/systemd/system/babeld.service
+  install -D -m644 LICENCE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}

Copied: babeld/repos/community-x86_64/babeld.conf (from rev 267073, babeld/trunk/babeld.conf)
===================================================================
--- community-x86_64/babeld.conf	                        (rev 0)
+++ community-x86_64/babeld.conf	2017-11-17 08:56:44 UTC (rev 267074)
@@ -0,0 +1,52 @@
+# Configuration for babeld. See the man page babeld(8) for
+# details on the configuration format.
+
+# Works on Linux > 3.11
+ipv6-subtrees true
+
+# You must provide at least one interface for babeld to operate on.
+#interface eth0
+#interface wlan0
+
+# Global options you might want to set. There are many more, see the man page.
+#debug 1
+#local-port 33123
+#diversity true
+#random-id true
+
+# Per-interface configuration. Note that each interface referenced here
+# will be used by babeld.
+#interface eth1 rxcost 10
+#interface tun0 faraway true
+#interface wlan0 hello-interval 1
+
+# Since 1.4.2, you can also specify defaults for interface parameters, which
+# will be used for all interfaces except specified otherwise (see above).
+#default rxcost 42
+#default hello-interval 5
+
+# Since 1.5.0, you can use the RTT-based metric, most useful for a network
+# with tunnels (overlay network).
+#default enable-timestamps true
+#interface tun0 max-rtt-penalty 150
+#interface tun0 rtt-max 100
+
+
+# Filtering rules.
+
+# Only accept routes included in a specific prefix.
+#in ip 192.168.42.0/24 allow
+#in ip 2001:db8:cafe:cafe::/64 allow
+#in deny
+
+# Only redistribute addresses from a given prefix, to avoid redistributing
+# all local addresses
+#redistribute ip 192.168.1.0/24 local allow
+#redistribute ip 2001:db8:cafe:cafe::/64 local allow
+#redistribute local deny
+
+# Redistribute a default route obtained otherwise (here, through DHCP or
+# configured statically).
+# Note that babeld ignores kernel routes with proto 3 (boot) by default.
+#redistribute proto 3 ip 0.0.0.0/0 eq 0 metric 50
+#redistribute proto 3 ip ::/0 eq 0 metric 50

Copied: babeld/repos/community-x86_64/babeld.service (from rev 267073, babeld/trunk/babeld.service)
===================================================================
--- community-x86_64/babeld.service	                        (rev 0)
+++ community-x86_64/babeld.service	2017-11-17 08:56:44 UTC (rev 267074)
@@ -0,0 +1,14 @@
+[Unit]
+Description=Babel routing daemon
+Documentation=man:babeld(8) http://www.pps.univ-paris-diderot.fr/~jch/software/babel/
+After=network.target
+
+[Service]
+Type=simple
+# Don't write a PID file, since it prevents babeld from starting again
+# in case of crash.
+ExecStart=/usr/bin/babeld -I ''
+Restart=on-failure
+
+[Install]
+WantedBy=multi-user.target



More information about the arch-commits mailing list