svn commit: r380374 - in head/net/quagga: . files

Mathieu Arnold mat at FreeBSD.org
Tue Mar 3 13:57:36 UTC 2015


Author: mat
Date: Tue Mar  3 13:57:33 2015
New Revision: 380374
URL: https://svnweb.freebsd.org/changeset/ports/380374
QAT: https://qat.redports.org/buildarchive/r380374/

Log:
  Update to 0.99.24.
  
  Enable ISISD, RTADV, OSPF_OPAQUE_LSA by default as they're enabled by
  default by quagga's configure.
  Enable PIMD because the releases notes says we should unless short on
  space.
  
  Release notes:	http://savannah.nongnu.org/forum/forum.php?forum_id=8222
  Changelog:	http://download.savannah.gnu.org/releases/quagga/quagga-0.99.24.changelog.txt
  Sponsored by:	Absolight

Added:
  head/net/quagga/files/patch-configure.ac
     - copied, changed from r379678, head/net/quagga/files/patch-configure
Deleted:
  head/net/quagga/files/patch-configure
  head/net/quagga/files/patch-lib__zebra.h
Modified:
  head/net/quagga/Makefile
  head/net/quagga/distinfo
  head/net/quagga/files/extra-patch-ospf-nexthop
  head/net/quagga/files/patch-doc__bgpd.8
  head/net/quagga/files/patch-vtysh__extract.pl.in
  head/net/quagga/pkg-plist

Modified: head/net/quagga/Makefile
==============================================================================
--- head/net/quagga/Makefile	Tue Mar  3 13:55:49 2015	(r380373)
+++ head/net/quagga/Makefile	Tue Mar  3 13:57:33 2015	(r380374)
@@ -2,8 +2,7 @@
 # $FreeBSD$
 
 PORTNAME=	quagga
-PORTVERSION=	0.99.23.1
-PORTREVISION=	4
+PORTVERSION=	0.99.24
 CATEGORIES=	net ipv6
 MASTER_SITES=	SAVANNAH
 
@@ -19,17 +18,21 @@ CONFLICTS=	openbgpd-[0-9]* openospfd-[0-
 GNU_CONFIGURE=	yes
 CONFIGURE_ARGS=	--enable-exampledir=${PREFIX}/share/examples/quagga
 INSTALL_TARGET=	install-strip
-USES=		gmake libtool makeinfo perl5 readline compiler:c11
+USES=		gmake libtool makeinfo perl5 readline compiler:c11 tar:xz autoreconf
 USE_LDCONFIG=	yes
 USE_PERL5=	build
 
 INFO=		quagga
 
-OPTIONS_DEFINE=	ISISD PAM OSPF_OPAQUE_LSA RTADV SNMP TCPSOCKETS DLMALLOC \
-		NO_BGP_ANNOUNCE OSPF_NEXTHOP
+OPTIONS_DEFINE=	ISISD PIMD PAM OSPF_OPAQUE_LSA RTADV SNMP TCPSOCKETS DLMALLOC \
+		NO_BGP_ANNOUNCE OSPF_NEXTHOP IRDP ISIS_TOPOLOGY
+OPTIONS_DEFAULT=	ISISD PIMD RTADV OSPF_OPAQUE_LSA
 OPTIONS_SUB=	yes
 
-ISISD_DESC=		Enable experimental ISIS daemon
+PIMD_DESC=		PIM-SSM multicast routing
+IRDP_DESC=		Enable IRDP server support
+ISISD_DESC=		Enable ISIS daemon (beta)
+ISIS_TOPOLOGY_DESC=	Enable IS-IS topology generator
 PAM_DESC=		PAM authentication for vtysh
 OSPF_OPAQUE_LSA_DESC=	OSPF Opaque-LSA support (RFC2370)
 RTADV_DESC=		IPv6 Router Advertisements
@@ -58,6 +61,9 @@ CONFIGURE_ARGS+=--enable-vty-group=${ENA
 .endif
 
 ISISD_CONFIGURE_ENABLE=	isisd
+ISIS_TOPOLOGY_CONFIGURE_ENABLE=	isis-topology
+PIMD_CONFIGURE_ENABLE=	pimd
+IRDP_CONFIGURE_ENABLE=	irdb
 PAM_CONFIGURE_WITH=	libpam
 OSPF_OPAQUE_LSA_CONFIGURE_ENABLE=	opaque-lsa
 RTADV_CONFIGURE_ENABLE=	rtadv
@@ -66,8 +72,8 @@ SNMP_LIB_DEPENDS=	libnetsnmp.so:${PORTSD
 TCPSOCKETS_CONFIGURE_ENABLE=	tcp-zebra
 DLMALLOC_LIB_DEPENDS=	libdlmalloc.so:${PORTSDIR}/devel/libdlmalloc
 DLMALLOC_LIBS=		-L${LOCALBASE}/lib -ldlmalloc
-NO_BGP_ANNOUNCE_CONFIGURE_ARGS+=--disable-bgp-announce
-OSPF_NEXTHOP_EXTRA_PATCH=	${PATCHDIR}/extra-patch-ospf-nexthop
+NO_BGP_ANNOUNCE_CONFIGURE_ENABLE=	bgp-announce
+OSPF_NEXTHOP_EXTRA_PATCHES=	${PATCHDIR}/extra-patch-ospf-nexthop
 
 USE_RC_SUBR=	quagga watchquagga
 

Modified: head/net/quagga/distinfo
==============================================================================
--- head/net/quagga/distinfo	Tue Mar  3 13:55:49 2015	(r380373)
+++ head/net/quagga/distinfo	Tue Mar  3 13:57:33 2015	(r380374)
@@ -1,2 +1,2 @@
-SHA256 (quagga-0.99.23.1.tar.gz) = 3abf2046bc27539ce2d17c238e06c8fd0d479a8e402580c6aa455808bd48e004
-SIZE (quagga-0.99.23.1.tar.gz) = 2526612
+SHA256 (quagga-0.99.24.tar.xz) = eca9eeb75005c8c403d48747c93456389e837e07dfc06ce08f70602c32dd4041
+SIZE (quagga-0.99.24.tar.xz) = 1680796

Modified: head/net/quagga/files/extra-patch-ospf-nexthop
==============================================================================
--- head/net/quagga/files/extra-patch-ospf-nexthop	Tue Mar  3 13:55:49 2015	(r380373)
+++ head/net/quagga/files/extra-patch-ospf-nexthop	Tue Mar  3 13:57:33 2015	(r380374)
@@ -1,6 +1,6 @@
---- ospfd/ospf_asbr.c.orig	2014-08-25 16:56:53 UTC
+--- ospfd/ospf_asbr.c.orig	2015-03-02 23:50:57 UTC
 +++ ospfd/ospf_asbr.c
-@@ -122,6 +122,7 @@
+@@ -122,6 +122,7 @@ ospf_reset_route_map_set_values (struct 
  {
    values->metric = -1;
    values->metric_type = -1;
@@ -8,9 +8,9 @@
  }
  
  int
---- ospfd/ospf_asbr.h.orig	2014-08-25 16:56:53 UTC
+--- ospfd/ospf_asbr.h.orig	2015-03-02 23:50:57 UTC
 +++ ospfd/ospf_asbr.h
-@@ -27,6 +27,7 @@
+@@ -27,6 +27,7 @@ struct route_map_set_values
  {
    int32_t metric;
    int32_t metric_type;
@@ -18,7 +18,7 @@
  };
  
  /* Redistributed external information. */
-@@ -50,6 +51,7 @@
+@@ -50,6 +51,7 @@ struct external_info
    struct route_map_set_values route_map_set;
  #define ROUTEMAP_METRIC(E)      (E)->route_map_set.metric
  #define ROUTEMAP_METRIC_TYPE(E) (E)->route_map_set.metric_type
@@ -26,9 +26,9 @@
  };
  
  #define OSPF_ASBR_CHECK_DELAY 30
---- ospfd/ospf_lsa.c.orig	2014-08-25 16:56:53 UTC
+--- ospfd/ospf_lsa.c.orig	2015-03-02 23:50:57 UTC
 +++ ospfd/ospf_lsa.c
-@@ -1633,7 +1633,8 @@
+@@ -1633,7 +1633,8 @@ ospf_external_lsa_body_set (struct strea
    stream_put_ospf_metric (s, mvalue);
    
    /* Get forwarding address to nexthop if on the Connection List, else 0. */
@@ -38,9 +38,9 @@
  
    /* Put forwarding address. */
    stream_put_ipv4 (s, fwd_addr.s_addr);
---- ospfd/ospf_routemap.c.orig	2014-08-25 16:56:53 UTC
+--- ospfd/ospf_routemap.c.orig	2015-03-02 23:50:57 UTC
 +++ ospfd/ospf_routemap.c
-@@ -531,6 +531,62 @@
+@@ -531,6 +531,62 @@ struct route_map_rule_cmd route_set_metr
    route_set_metric_type_free,
  };
  
@@ -103,7 +103,7 @@
  DEFUN (match_ip_nexthop,
         match_ip_nexthop_cmd,
         "match ip next-hop (<1-199>|<1300-2699>|WORD)",
-@@ -785,6 +841,49 @@
+@@ -785,6 +841,49 @@ ALIAS (no_set_metric_type,
         "OSPF[6] external type 1 metric\n"
         "OSPF[6] external type 2 metric\n")
  
@@ -153,7 +153,7 @@
  /* Route-map init */
  void
  ospf_route_map_init (void)
-@@ -804,6 +903,7 @@
+@@ -804,6 +903,7 @@ ospf_route_map_init (void)
  
    route_map_install_set (&route_set_metric_cmd);
    route_map_install_set (&route_set_metric_type_cmd);
@@ -161,7 +161,7 @@
  
    install_element (RMAP_NODE, &match_ip_nexthop_cmd);
    install_element (RMAP_NODE, &no_match_ip_nexthop_cmd);
-@@ -827,4 +927,7 @@
+@@ -827,4 +927,7 @@ ospf_route_map_init (void)
    install_element (RMAP_NODE, &set_metric_type_cmd);
    install_element (RMAP_NODE, &no_set_metric_type_cmd);
    install_element (RMAP_NODE, &no_set_metric_type_val_cmd);

Copied and modified: head/net/quagga/files/patch-configure.ac (from r379678, head/net/quagga/files/patch-configure)
==============================================================================
--- head/net/quagga/files/patch-configure	Mon Feb 23 14:21:58 2015	(r379678, copy source)
+++ head/net/quagga/files/patch-configure.ac	Tue Mar  3 13:57:33 2015	(r380374)
@@ -1,11 +1,11 @@
---- configure.orig	2014-08-25 17:02:06 UTC
-+++ configure
-@@ -18158,7 +18158,7 @@ fi
- 
- 
- 
+--- configure.ac.orig	2015-03-02 23:50:57 UTC
++++ configure.ac
+@@ -1219,7 +1219,7 @@ AC_SUBST(LIB_REGEX)
+ dnl ------------------
+ dnl check Net-SNMP library
+ dnl ------------------
 -if test "${enable_snmp}" != ""; then
 +if test "x${enable_snmp}" != "xno"; then
-    if test -n "$ac_tool_prefix"; then
-   # Extract the first word of "${ac_tool_prefix}net-snmp-config", so it can be a program name with args.
- set dummy ${ac_tool_prefix}net-snmp-config; ac_word=$2
+    AC_PATH_TOOL([NETSNMP_CONFIG], [net-snmp-config], [no])
+    if test x"$NETSNMP_CONFIG" = x"no"; then
+       AC_MSG_ERROR([--enable-snmp given but unable to find net-snmp-config])

Modified: head/net/quagga/files/patch-doc__bgpd.8
==============================================================================
--- head/net/quagga/files/patch-doc__bgpd.8	Tue Mar  3 13:55:49 2015	(r380373)
+++ head/net/quagga/files/patch-doc__bgpd.8	Tue Mar  3 13:57:33 2015	(r380374)
@@ -1,6 +1,6 @@
---- doc/bgpd.8.orig	2014-08-25 16:56:53 UTC
+--- doc/bgpd.8.orig	2015-03-02 23:50:57 UTC
 +++ doc/bgpd.8
-@@ -28,6 +28,8 @@
+@@ -28,6 +28,8 @@ software
  ] [
  .B \-g
  .I group
@@ -9,7 +9,7 @@
  ]
  .SH DESCRIPTION
  .B bgpd 
-@@ -76,6 +78,9 @@
+@@ -76,6 +78,9 @@ When the program terminates, retain rout
  .TP
  \fB\-v\fR, \fB\-\-version\fR
  Print the version and exit.

Modified: head/net/quagga/files/patch-vtysh__extract.pl.in
==============================================================================
--- head/net/quagga/files/patch-vtysh__extract.pl.in	Tue Mar  3 13:55:49 2015	(r380373)
+++ head/net/quagga/files/patch-vtysh__extract.pl.in	Tue Mar  3 13:57:33 2015	(r380374)
@@ -1,6 +1,6 @@
---- vtysh/extract.pl.in.orig	2014-08-25 16:56:53 UTC
+--- vtysh/extract.pl.in.orig	2015-03-02 23:50:57 UTC
 +++ vtysh/extract.pl.in
-@@ -63,7 +63,7 @@
+@@ -63,7 +63,7 @@ $ignore{'"show history"'} = "ignore";
  foreach (@ARGV) {
      $file = $_;
  

Modified: head/net/quagga/pkg-plist
==============================================================================
--- head/net/quagga/pkg-plist	Tue Mar  3 13:55:49 2015	(r380373)
+++ head/net/quagga/pkg-plist	Tue Mar  3 13:57:33 2015	(r380374)
@@ -1,26 +1,5 @@
-sbin/babeld
-sbin/bgpd
-%%ISISD%%sbin/isisd
-sbin/ospf6d
-%%OSPF_OPAQUE_LSA%%sbin/ospfclient
-sbin/ospfd
-sbin/ripd
-sbin/ripngd
-sbin/watchquagga
-sbin/zebra
+%%PIMD%%bin/test_igmpv3_join
 bin/vtysh
-lib/libospf.a
-lib/libospf.so
-lib/libospf.so.0
-lib/libospf.so.0.0.0
-%%OSPF_OPAQUE_LSA%%lib/libospfapiclient.a
-%%OSPF_OPAQUE_LSA%%lib/libospfapiclient.so
-%%OSPF_OPAQUE_LSA%%lib/libospfapiclient.so.0
-%%OSPF_OPAQUE_LSA%%lib/libospfapiclient.so.0.0.0
-lib/libzebra.a
-lib/libzebra.so
-lib/libzebra.so.0
-lib/libzebra.so.0.0.0
 include/quagga/buffer.h
 include/quagga/checksum.h
 include/quagga/command.h
@@ -53,8 +32,8 @@ include/quagga/plist.h
 include/quagga/pqueue.h
 include/quagga/prefix.h
 include/quagga/privs.h
-include/quagga/routemap.h
 include/quagga/route_types.h
+include/quagga/routemap.h
 include/quagga/sigevent.h
 include/quagga/smux.h
 include/quagga/sockopt.h
@@ -70,25 +49,50 @@ include/quagga/workqueue.h
 include/quagga/zassert.h
 include/quagga/zclient.h
 include/quagga/zebra.h
+lib/libospf.a
+lib/libospf.so
+lib/libospf.so.0
+lib/libospf.so.0.0.0
+%%OSPF_OPAQUE_LSA%%lib/libospfapiclient.a
+%%OSPF_OPAQUE_LSA%%lib/libospfapiclient.so
+%%OSPF_OPAQUE_LSA%%lib/libospfapiclient.so.0
+%%OSPF_OPAQUE_LSA%%lib/libospfapiclient.so.0.0.0
+lib/libzebra.a
+lib/libzebra.so
+lib/libzebra.so.0
+lib/libzebra.so.0.0.0
+man/man1/vtysh.1.gz
+man/man8/bgpd.8.gz
+%%ISISD%%man/man8/isisd.8.gz
+man/man8/ospf6d.8.gz
+%%OSPF_OPAQUE_LSA%%man/man8/ospfclient.8.gz
+man/man8/ospfd.8.gz
+%%PIMD%%man/man8/pimd.8.gz
+man/man8/ripd.8.gz
+man/man8/ripngd.8.gz
+man/man8/watchquagga.8.gz
+man/man8/zebra.8.gz
+sbin/babeld
+sbin/bgpd
+%%ISISD%%sbin/isisd
+sbin/ospf6d
+%%OSPF_OPAQUE_LSA%%sbin/ospfclient
+sbin/ospfd
+%%PIMD%%sbin/pimd
+sbin/ripd
+sbin/ripngd
+sbin/watchquagga
+sbin/zebra
 %%EXAMPLESDIR%%/babeld.conf.sample
 %%EXAMPLESDIR%%/bgpd.conf.sample
 %%EXAMPLESDIR%%/bgpd.conf.sample2
 %%ISISD%%%%EXAMPLESDIR%%/isisd.conf.sample
 %%EXAMPLESDIR%%/ospf6d.conf.sample
 %%EXAMPLESDIR%%/ospfd.conf.sample
+%%PIMD%%%%PORTEXAMPLES%%%%EXAMPLESDIR%%/pimd.conf.sample
 %%EXAMPLESDIR%%/ripd.conf.sample
 %%EXAMPLESDIR%%/ripngd.conf.sample
 %%EXAMPLESDIR%%/vtysh.conf.sample
 %%EXAMPLESDIR%%/zebra.conf.sample
-man/man1/vtysh.1.gz
-man/man8/bgpd.8.gz
-%%ISISD%%man/man8/isisd.8.gz
-man/man8/ospf6d.8.gz
-man/man8/ospfd.8.gz
-%%OSPF_OPAQUE_LSA%%man/man8/ospfclient.8.gz
-man/man8/ripd.8.gz
-man/man8/ripngd.8.gz
-man/man8/watchquagga.8.gz
-man/man8/zebra.8.gz
 @dir(%%ENABLE_USER%%,%%ENABLE_GROUP%%,750) %%LOCALSTATE_DIR%%
 @dir(%%ENABLE_USER%%,%%ENABLE_GROUP%%,750) %%ETCDIR%%


More information about the svn-ports-head mailing list