From ca5e7200c43f16ae9167ff40699b9b01d5a1ef08 Mon Sep 17 00:00:00 2001 From: sem Date: Mon, 4 Apr 2005 08:52:54 +0000 Subject: - Update to 0.98.3 PR: ports/79517 Submitted by: maintainer --- net/quagga/Makefile | 4 ++-- net/quagga/distinfo | 4 ++-- net/quagga/files/patch-ospfd::ospf_lsa.c | 37 -------------------------------- net/quagga/pkg-plist | 2 -- 4 files changed, 4 insertions(+), 43 deletions(-) delete mode 100644 net/quagga/files/patch-ospfd::ospf_lsa.c diff --git a/net/quagga/Makefile b/net/quagga/Makefile index 747cdb3361be..4f3b9753227c 100644 --- a/net/quagga/Makefile +++ b/net/quagga/Makefile @@ -6,8 +6,8 @@ # PORTNAME= quagga -PORTVERSION= 0.98.2 -PORTREVISION= 2 +PORTVERSION= 0.98.3 +PORTREVISION= 0 CATEGORIES= net ipv6 MASTER_SITES= http://quagga.net/download/ diff --git a/net/quagga/distinfo b/net/quagga/distinfo index 64ffcc4c0d71..dd8ee5a37c76 100644 --- a/net/quagga/distinfo +++ b/net/quagga/distinfo @@ -1,2 +1,2 @@ -MD5 (quagga-0.98.2.tar.gz) = 8757b155aa2458f6158ccd330d0e1b39 -SIZE (quagga-0.98.2.tar.gz) = 2012251 +MD5 (quagga-0.98.3.tar.gz) = 68be5e911e4d604c0f5959338263356e +SIZE (quagga-0.98.3.tar.gz) = 2118348 diff --git a/net/quagga/files/patch-ospfd::ospf_lsa.c b/net/quagga/files/patch-ospfd::ospf_lsa.c deleted file mode 100644 index 6b63a0b69552..000000000000 --- a/net/quagga/files/patch-ospfd::ospf_lsa.c +++ /dev/null @@ -1,37 +0,0 @@ ---- ospfd/ospf_lsa.c.orig Wed Dec 22 19:16:02 2004 -+++ ospfd/ospf_lsa.c Mon Mar 7 12:24:04 2005 -@@ -3665,6 +3665,7 @@ - struct listnode *node; - struct ospf *ospf = THREAD_ARG (t); - int i; -+ time_t ct; - struct list *lsa_to_refresh = list_new (); - - if (IS_DEBUG_OSPF (lsa, LSA_REFRESH)) -@@ -3672,15 +3673,25 @@ - - - i = ospf->lsa_refresh_queue.index; -+ -+ if ((ct = time(NULL)) < ospf->lsa_refresher_started) { -+ zlog_debug ("LSA[Refresh]: ospf_lsa_refresh_walker(): HACK: fixing lsa_refresher_started: %d -> %d", ospf->lsa_refresher_started, ct); -+ ospf->lsa_refresher_started = ct; -+ } - - ospf->lsa_refresh_queue.index = - (ospf->lsa_refresh_queue.index + -- (time (NULL) - ospf->lsa_refresher_started) / OSPF_LSA_REFRESHER_GRANULARITY) -+ (ct - ospf->lsa_refresher_started) / OSPF_LSA_REFRESHER_GRANULARITY) - % OSPF_LSA_REFRESHER_SLOTS; - - if (IS_DEBUG_OSPF (lsa, LSA_REFRESH)) - zlog_debug ("LSA[Refresh]: ospf_lsa_refresh_walker(): next index %d", - ospf->lsa_refresh_queue.index); -+ -+ if (ospf->lsa_refresh_queue.index >= OSPF_LSA_REFRESHER_SLOTS) { -+ zlog_debug ("LSA[Refresh]: ospf_lsa_refresh_walker(): HACK: fixing index: %hu -> 0", ospf->lsa_refresh_queue.index); -+ ospf->lsa_refresh_queue.index = 0; -+ } - - for (;i != ospf->lsa_refresh_queue.index; - i = (i + 1) % OSPF_LSA_REFRESHER_SLOTS) diff --git a/net/quagga/pkg-plist b/net/quagga/pkg-plist index c42f1b412e9c..570432bc1939 100644 --- a/net/quagga/pkg-plist +++ b/net/quagga/pkg-plist @@ -9,14 +9,12 @@ sbin/watchquagga sbin/zebra bin/vtysh lib/libospf.a -lib/libospf.la lib/libospf.so lib/libospf.so.0 %%OSPFAPI_LIBA%% %%OSPFAPI_LIBSO%% %%OSPFAPI_LIBSO0%% lib/libzebra.a -lib/libzebra.la lib/libzebra.so lib/libzebra.so.0 include/quagga/buffer.h -- cgit