summaryrefslogtreecommitdiffstats
path: root/main/quagga
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2010-05-25 06:08:54 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2010-05-25 06:09:59 +0000
commite14dd28447d272027ebd9bf045eb0a6bd428f0c2 (patch)
treeae4f1a74de72c60415be80539eeebdfa6fe1bb20 /main/quagga
parent8e434632d5e169d612afd4a6a86e5a6d15384a9a (diff)
downloadaports-e14dd28447d272027ebd9bf045eb0a6bd428f0c2.tar.bz2
aports-e14dd28447d272027ebd9bf045eb0a6bd428f0c2.tar.xz
main/quagga: upgrade to 0.99.16
Diffstat (limited to 'main/quagga')
-rw-r--r--main/quagga/APKBUILD8
-rw-r--r--main/quagga/quagga-revert-confed-check.patch97
2 files changed, 3 insertions, 102 deletions
diff --git a/main/quagga/APKBUILD b/main/quagga/APKBUILD
index 86d3656d4..473322cf9 100644
--- a/main/quagga/APKBUILD
+++ b/main/quagga/APKBUILD
@@ -1,7 +1,7 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=quagga
-pkgver=0.99.15
-pkgrel=4
+pkgver=0.99.16
+pkgrel=0
pkgdesc="A free routing daemon replacing Zebra supporting RIP, OSPF and BGP."
url="http://quagga.net/"
license="GPL-2"
@@ -13,7 +13,6 @@ subpackages="$pkgname-dev $pkgname-doc"
source="http://www.quagga.net/download/$pkgname-$pkgver.tar.gz
$pkgname-0.99.11-link-libcap.patch
$pkgname-0.99.11-del-routes.patch
- quagga-revert-confed-check.patch
bgpd.initd
ospf6d.initd
ospfd.initd
@@ -67,10 +66,9 @@ package() {
done
install -Dm644 "$srcdir/zebra.confd" "$pkgdir"/etc/conf.d/zebra
}
-md5sums="8975414c76a295f4855a417af0b5ddce quagga-0.99.15.tar.gz
+md5sums="350fb150be526cdfc4d2b093cb4d69a7 quagga-0.99.16.tar.gz
8f99d41a8ed79e51704e8f655d255f29 quagga-0.99.11-link-libcap.patch
1cbcf60a637b2577dee4d6df711e1247 quagga-0.99.11-del-routes.patch
-9a9ad8ac543901f3eab6a6f2a914b69d quagga-revert-confed-check.patch
ec7ac8cc1103f023cf5b9482b26ece59 bgpd.initd
92aba039c049050c48abf984c2db7e2b ospf6d.initd
878328ead225e6eb5f5f77f05ab39106 ospfd.initd
diff --git a/main/quagga/quagga-revert-confed-check.patch b/main/quagga/quagga-revert-confed-check.patch
deleted file mode 100644
index 3c76d1dd1..000000000
--- a/main/quagga/quagga-revert-confed-check.patch
+++ /dev/null
@@ -1,97 +0,0 @@
-From b6c5e59e39e9513232c4e26faf30218e820f38a8 Mon Sep 17 00:00:00 2001
-From: Timo Teras <timo.teras@iki.fi>
-Date: Thu, 8 Oct 2009 21:46:28 +0300
-Subject: [PATCH] Revert "bgpd: Implement BGP confederation error handling (RFC5065, Par. 5)"
-
-This reverts commit ca87e1d37b3c30648e9bacb476a3c89729512f6d.
----
- bgpd/bgp_aspath.c | 36 ------------------------------------
- bgpd/bgp_aspath.h | 2 --
- bgpd/bgp_attr.c | 11 -----------
- 3 files changed, 0 insertions(+), 49 deletions(-)
-
-diff --git a/bgpd/bgp_aspath.c b/bgpd/bgp_aspath.c
-index 440815b..e43d1f1 100644
---- a/bgpd/bgp_aspath.c
-+++ b/bgpd/bgp_aspath.c
-@@ -1122,42 +1122,6 @@ aspath_private_as_check (struct aspath *aspath)
- return 1;
- }
-
--/* AS path confed check. If aspath contains confed set or sequence then return 1. */
--int
--aspath_confed_check (struct aspath *aspath)
--{
-- struct assegment *seg;
--
-- if ( !(aspath && aspath->segments) )
-- return 0;
--
-- seg = aspath->segments;
--
-- while (seg)
-- {
-- if (seg->type == AS_CONFED_SET || seg->type == AS_CONFED_SEQUENCE)
-- return 1;
-- seg = seg->next;
-- }
-- return 0;
--}
--
--/* Leftmost AS path segment confed check. If leftmost AS segment is of type
-- AS_CONFED_SEQUENCE or AS_CONFED_SET then return 1. */
--int
--aspath_left_confed_check (struct aspath *aspath)
--{
--
-- if ( !(aspath && aspath->segments) )
-- return 0;
--
-- if ( (aspath->segments->type == AS_CONFED_SEQUENCE)
-- || (aspath->segments->type == AS_CONFED_SET) )
-- return 1;
--
-- return 0;
--}
--
- /* Merge as1 to as2. as2 should be uninterned aspath. */
- static struct aspath *
- aspath_merge (struct aspath *as1, struct aspath *as2)
-diff --git a/bgpd/bgp_aspath.h b/bgpd/bgp_aspath.h
-index 9854d18..2b4625c 100644
---- a/bgpd/bgp_aspath.h
-+++ b/bgpd/bgp_aspath.h
-@@ -88,8 +88,6 @@ extern unsigned int aspath_key_make (void *);
- extern int aspath_loop_check (struct aspath *, as_t);
- extern int aspath_private_as_check (struct aspath *);
- extern int aspath_firstas_check (struct aspath *, as_t);
--extern int aspath_confed_check (struct aspath *);
--extern int aspath_left_confed_check (struct aspath *);
- extern unsigned long aspath_count (void);
- extern unsigned int aspath_count_hops (struct aspath *);
- extern unsigned int aspath_count_confeds (struct aspath *);
-diff --git a/bgpd/bgp_attr.c b/bgpd/bgp_attr.c
-index 5e7536a..0668e9a 100644
---- a/bgpd/bgp_attr.c
-+++ b/bgpd/bgp_attr.c
-@@ -872,17 +872,6 @@ static int bgp_attr_aspath_check( struct peer *peer,
-
- bgp = peer->bgp;
-
-- /* Confederation sanity check. */
-- if ((peer_sort (peer) == BGP_PEER_CONFED && ! aspath_left_confed_check (attr->aspath)) ||
-- (peer_sort (peer) == BGP_PEER_EBGP && aspath_confed_check (attr->aspath)))
-- {
-- zlog (peer->log, LOG_ERR, "Malformed AS path from %s", peer->host);
-- bgp_notify_send (peer,
-- BGP_NOTIFY_UPDATE_ERR,
-- BGP_NOTIFY_UPDATE_MAL_AS_PATH);
-- return -1;
-- }
--
- /* First AS check for EBGP. */
- if (bgp != NULL && bgp_flag_check (bgp, BGP_FLAG_ENFORCE_FIRST_AS))
- {
---
-1.6.0.4
-