summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO5
-rw-r--r--PKGBUILD7
2 files changed, 7 insertions, 5 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 0d59d97d4c0..8813d091bf0 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,8 +1,8 @@
# Generated by mksrcinfo v8
-# Mon Feb 6 14:34:03 UTC 2017
+# Sat Feb 18 08:14:33 UTC 2017
pkgbase = frr
pkgdesc = FreeRangeRouting (quagga fork) supports BGP4/OSPF/RIP/PIM-SM/MSDP and LDP as well as very early support for IS-IS.
- pkgver = 2.0_rc1.5113.1b4ae82d
+ pkgver = 2.0_rc1.5171.e2ff97b9
pkgrel = 1
url = https://github.com/freerangerouting/frr
arch = any
@@ -13,6 +13,7 @@ pkgbase = frr
makedepends = grep
makedepends = net-snmp
makedepends = json-c
+ makedepends = python-pytest
depends = libcap
depends = libnl
depends = readline
diff --git a/PKGBUILD b/PKGBUILD
index ff591a92901..37c41cf6b3a 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,14 +2,14 @@
# Contributor: Shalygin Konstantin <k0ste@k0ste.ru>
pkgname='frr'
-pkgver=2.0_rc1.5113.1b4ae82d
+pkgver=2.0_rc1.5171.e2ff97b9
pkgrel=1
pkgdesc='FreeRangeRouting (quagga fork) supports BGP4/OSPF/RIP/PIM-SM/MSDP and LDP as well as very early support for IS-IS.'
arch=('any')
url="https://github.com/freerangerouting/${pkgname}"
license=('GPL2')
depends=('libcap' 'libnl' 'readline' 'ncurses' 'perl' 'json-c' 'net-snmp')
-makedepends=('git' 'patch' 'gcc' 'grep' 'net-snmp' 'json-c')
+makedepends=('git' 'patch' 'gcc' 'grep' 'net-snmp' 'json-c' 'python-pytest')
conflicts=("quagga" "quagga_cumulus")
provides=("quagga" "quagga_cumulus")
source=("${pkgname}::git+${url}"
@@ -44,7 +44,7 @@ prepare() {
--enable-exampledir="/usr/share/doc/${pkgname}/examples" \
--enable-ldpd \
--disable-watchfrr \
- --enable-snmp \
+ --enable-snmp="agentx" \
--enable-tcp-zebra \
--enable-multipath=256 \
--enable-user="${pkgname}" \
@@ -66,6 +66,7 @@ build() {
package() {
cd "${srcdir}/${pkgname}"
make DESTDIR="${pkgdir}" install
+ install -Dm0644 "zebra/GNOME-PRODUCT-ZEBRA-MIB" "${pkgdir}/usr/share/snmp/mibs/GNOME-PRODUCT-ZEBRA-MIB"
cd "redhat"
sed -ri 's|/var/run/frr|/run/frr|g' "${pkgname}.logrotate"