Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 30 Jan 2006 10:01:58 +0500
From:      Boris Kovalenko <boris@tagnet.ru>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/92524: [MAINTAINER UPDATE] net/quagga: update to 0.99.3
Message-ID:  <E1F3RAs-0006Ok-RX@boris.nikom.ru>
Resent-Message-ID: <200601300510.k0U5A3KP080539@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         92524
>Category:       ports
>Synopsis:       [MAINTAINER UPDATE] net/quagga: update to 0.99.3
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Mon Jan 30 05:10:02 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator:     Boris Kovalenko
>Release:        FreeBSD 6.0-RELEASE i386
>Organization:
JSC TAGNet
>Environment:
System: FreeBSD boris.nikom.ru 6.0-RELEASE FreeBSD 6.0-RELEASE #0: Mon Nov  7 11:38:40 YEKT
>Description:
- Update to 0.99.3

Some known problems outstanding:

- bgpd: prefix counts can get a bit screwy after clears/resets
   this is mostly cosmetic *unless* you use max-prefix counts.
- bgpd: There is a memory leak if 'set community' is used in
  route-maps. This is present in 0.98 too. See bugzilla #89.
- ospfd: 'default-originate always' loses the 'always' qualifier.
      
Some regressions fixed in 0.99.3:
      
- bgpd: workqueues were too conservative and could backlog under load
 (e.g. continual session up then reset), eventually leading to OOM.
- ospfd: crash on startup (and only startup) if redistribute was
  enabled fixed.
- bgpd: SEGV in bgp_aspath.c fixed.
- bgpd: memory leak in bgp_aspath.c fixed
- ospfd: oversize LSA support was not functional, fixed.
- ospfd: leak of connected struct fixed
- ospfd: NSM problems fixed, see bug #234
- vtysh: integrated config file reading should work again.
- zserv: flags above 32bits should make it across to daemons now
   (affecting Solaris and IFF_NOXMIT and IFF_VIRTUAL)
- ripd: MD5 auth verification fixed.

The full changelog is available at:

    http://www.quagga.net/download/quagga-0.99.3.changelog.txt

Generated with FreeBSD Port Tools 0.63
>How-To-Repeat:
>Fix:

--- quagga-0.99.3.patch begins here ---
diff -ruN --exclude=CVS /usr/ports/net/quagga/Makefile /usr/ports/net/quagga.new/Makefile
--- /usr/ports/net/quagga/Makefile	Thu Dec  1 13:39:18 2005
+++ /usr/ports/net/quagga.new/Makefile	Wed Jan 25 13:17:48 2006
@@ -6,8 +6,8 @@
 #
 
 PORTNAME=	quagga
-PORTVERSION=	0.98.5
-PORTREVISION=	2
+PORTVERSION=	0.99.3
+PORTREVISION=	0
 CATEGORIES=	net ipv6
 MASTER_SITES=	http://quagga.net/download/
 
diff -ruN --exclude=CVS /usr/ports/net/quagga/distinfo /usr/ports/net/quagga.new/distinfo
--- /usr/ports/net/quagga/distinfo	Wed Aug 31 09:47:20 2005
+++ /usr/ports/net/quagga.new/distinfo	Wed Jan 25 13:19:21 2006
@@ -1,2 +1,3 @@
-MD5 (quagga-0.98.5.tar.gz) = ec09c1ec624aea98e18aa19282666784
-SIZE (quagga-0.98.5.tar.gz) = 2018058
+MD5 (quagga-0.99.3.tar.gz) = d11dfb2d0eb9fa93e1aca882541e45d8
+SHA256 (quagga-0.99.3.tar.gz) = 3e319fa854d84eaf6a57513256b903f0d068be85dbce27cb7ec3cbac08e26aac
+SIZE (quagga-0.99.3.tar.gz) = 2203788
diff -ruN --exclude=CVS /usr/ports/net/quagga/files/extra-tcpmd5-patch-bgpd-bgpd.h /usr/ports/net/quagga.new/files/extra-tcpmd5-patch-bgpd-bgpd.h
--- /usr/ports/net/quagga/files/extra-tcpmd5-patch-bgpd-bgpd.h	Tue Aug 30 18:36:47 2005
+++ /usr/ports/net/quagga.new/files/extra-tcpmd5-patch-bgpd-bgpd.h	Mon Jan 30 08:53:30 2006
@@ -1,22 +1,22 @@
---- bgpd/bgpd.h.orig	Tue Oct 12 22:06:09 2004
-+++ bgpd/bgpd.h	Fri Jan 28 21:03:40 2005
-@@ -335,6 +335,9 @@
- #define PEER_FLAG_DYNAMIC_CAPABILITY        (1 << 6) /* dynamic capability */
- #define PEER_FLAG_ENFORCE_MULTIHOP          (1 << 7) /* enforce-multihop */
- #define PEER_FLAG_LOCAL_AS_NO_PREPEND       (1 << 8) /* local-as no-prepend */
-+#ifdef QUAGGA_TCP_MD5SIG /* XXX should move to AF_INET/SFI_UNICAST below */
+--- bgpd/bgpd.h.orig	Wed Jan 11 03:10:10 2006
++++ bgpd/bgpd.h	Mon Jan 30 08:52:06 2006
+@@ -347,6 +347,9 @@
+ #define PEER_FLAG_DYNAMIC_CAPABILITY        (1 << 5) /* dynamic capability */
+ #define PEER_FLAG_DISABLE_CONNECTED_CHECK   (1 << 6) /* disable-connected-check */
+ #define PEER_FLAG_LOCAL_AS_NO_PREPEND       (1 << 7) /* local-as no-prepend */
++#ifdef QUAGGA_TCP_MD5SIG
 +#define PEER_FLAG_TCP_SIGNATURE             (1 << 9) /* use TCP-MD5 digest */
 +#endif /* QUAGGA_TCP_MD5SIG */
  
-   /* Per AF configuration flags. */
-   u_int32_t af_flags[AFI_MAX][SAFI_MAX];
-@@ -496,6 +499,13 @@
+   /* NSF mode (graceful restart) */
+   u_char nsf[AFI_MAX][SAFI_MAX];
+@@ -522,6 +525,13 @@
  #define PEER_RMAP_TYPE_NOSET          (1 << 5) /* not allow to set commands */
  #define PEER_RMAP_TYPE_IMPORT         (1 << 6) /* neighbor route-map import */
  #define PEER_RMAP_TYPE_EXPORT         (1 << 7) /* neighbor route-map export */
 +
 +#ifdef QUAGGA_TCP_MD5SIG
-+  /* TCP-MD5 Password Support -- bms */
++ /* TCP-MD5 Password Support -- bms */
 +#define PEER_PASSWORD_MINLEN		1
 +#define PEER_PASSWORD_MAXLEN		80	/* width of password field */
 + char password[PEER_PASSWORD_MAXLEN];
@@ -24,15 +24,15 @@
  };
  
  /* This structure's member directly points incoming packet data
-@@ -879,6 +889,11 @@
+@@ -904,6 +914,11 @@
  
- int peer_local_as_set (struct peer *, as_t, int);
- int peer_local_as_unset (struct peer *);
+ extern int peer_local_as_set (struct peer *, as_t, int);
+ extern int peer_local_as_unset (struct peer *);
 +
 +#ifdef QUAGGA_TCP_MD5SIG
-+int peer_password_set (struct peer *, char *);
-+int peer_password_unset (struct peer *);
++extern int peer_password_set (struct peer *, char *);
++extern int peer_password_unset (struct peer *);
 +#endif /* QUAGGA_TCP_MD5SIG */
  
- int peer_prefix_list_set (struct peer *, afi_t, safi_t, int, const char *);
- int peer_prefix_list_unset (struct peer *, afi_t, safi_t, int);
+ extern int peer_prefix_list_set (struct peer *, afi_t, safi_t, int, const char *);
+ extern int peer_prefix_list_unset (struct peer *, afi_t, safi_t, int);
diff -ruN --exclude=CVS /usr/ports/net/quagga/files/patch-configure /usr/ports/net/quagga.new/files/patch-configure
--- /usr/ports/net/quagga/files/patch-configure	Thu Sep 15 05:48:12 2005
+++ /usr/ports/net/quagga.new/files/patch-configure	Mon Jan 30 09:36:54 2006
@@ -1,42 +1,29 @@
---- configure.orig	Sun Aug 28 21:37:37 2005
-+++ configure	Wed Sep 14 12:07:40 2005
-@@ -14751,13 +14751,13 @@
+--- configure.orig	Fri Jan 20 07:24:48 2006
++++ configure	Mon Jan 30 09:36:38 2006
+@@ -15056,7 +15056,7 @@
    fi
  
    if test "${HAVE_SNMP}" = "yes"; then
 -    for ac_snmp in /usr/include/net-snmp/library/asn1.h /usr/include/ucd-snmp/asn1.h /usr/local/include/ucd-snmp/asn1.h /dev/null
-+    for ac_snmp in /usr/local/include/net-snmp/library/asn1.h /usr/local/include/ucd-snmp/asn1.h /usr/local/include/ucd-snmp/asn1.h /dev/null
++    for ac_snmp in /usr/include/net-snmp/library/asn1.h /usr/include/ucd-snmp/asn1.h /usr/local/include/net-snmp/library/asn1.h /usr/local/include/ucd-snmp/asn1.h /dev/null
      do
        test -f "${ac_snmp}" && break
      done
+@@ -15111,7 +15111,7 @@
  
-     case ${ac_snmp} in
--      /usr/include/net-snmp/*)
-+      /usr/local/include/net-snmp/*)
  
  cat >>confdefs.h <<\_ACEOF
- #define HAVE_SNMP
-@@ -14773,20 +14773,20 @@
- #define UCD_COMPATIBLE
+-#define HAVE_NET_SNMP
++#define HAVE_NETSNMP
  _ACEOF
  
--                  CFLAGS="${CFLAGS} -I/usr/include/net-snmp -I/usr/include/net-snmp/library"
-+                  CFLAGS="${CFLAGS} -I/usr/local/include/net-snmp -I/usr/local/include/net-snmp/library"
- 		  if test "${HAVE_NETSNMP}" = "yes"; then
- 		        LIBS="${LIBS} -lnetsnmp"
- 		  else
- 			LIBS="${LIBS} -lsnmp"
- 		  fi
-                   ;;
--      /usr/include/ucd-snmp/*)
-+      /usr/local/include/ucd-snmp/*)
  
- cat >>confdefs.h <<\_ACEOF
- #define HAVE_SNMP
+@@ -15119,7 +15119,7 @@
+ #define UCD_COMPATIBLE
  _ACEOF
  
--                  CFLAGS="${CFLAGS} -I/usr/include/ucd-snmp"
-+                  CFLAGS="${CFLAGS} -I/usr/local/include/ucd-snmp"
-     		  LIBS="${LIBS} -lsnmp"
-                   ;;
-       /usr/local/include/ucd-snmp/*)
+-      		SNMP_INCLUDES="${SNMP_INCLUDES} -I/usr/local/include/net-snmp"
++      		SNMP_INCLUDES="${SNMP_INCLUDES} -I/usr/local/include/net-snmp -I/usr/local/include/net-snmp/library"
+       		LIBS="${LIBS} -L/usr/local/lib -lnetsnmp"
+       		;;
+     esac
diff -ruN --exclude=CVS /usr/ports/net/quagga/pkg-plist /usr/ports/net/quagga.new/pkg-plist
--- /usr/ports/net/quagga/pkg-plist	Tue Apr  5 08:21:31 2005
+++ /usr/ports/net/quagga.new/pkg-plist	Mon Jan 30 09:53:58 2006
@@ -18,6 +18,7 @@
 lib/libzebra.so
 lib/libzebra.so.0
 include/quagga/buffer.h
+include/quagga/checksum.h
 include/quagga/command.h
 include/quagga/distribute.h
 include/quagga/filter.h
@@ -29,8 +30,9 @@
 include/quagga/keychain.h
 include/quagga/linklist.h
 include/quagga/log.h
-include/quagga/md5-gnu.h
+include/quagga/md5.h
 include/quagga/memory.h
+include/quagga/memtypes.h
 include/quagga/network.h
 %%OSPFAPI_HEADER%%
 include/quagga/ospfd/ospf_api.h
@@ -58,6 +60,7 @@
 include/quagga/vector.h
 include/quagga/version.h
 include/quagga/vty.h
+include/quagga/workqueue.h
 include/quagga/zassert.h
 include/quagga/zclient.h
 include/quagga/zebra.h
--- quagga-0.99.3.patch ends here ---

>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?E1F3RAs-0006Ok-RX>