From owner-svn-ports-head@freebsd.org Fri Oct 20 16:25:08 2017 Return-Path: Delivered-To: svn-ports-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 3BADDE3A14A; Fri, 20 Oct 2017 16:25:08 +0000 (UTC) (envelope-from olivier@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 1642481A3A; Fri, 20 Oct 2017 16:25:08 +0000 (UTC) (envelope-from olivier@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id v9KGP7qv038845; Fri, 20 Oct 2017 16:25:07 GMT (envelope-from olivier@FreeBSD.org) Received: (from olivier@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id v9KGP6hc038838; Fri, 20 Oct 2017 16:25:06 GMT (envelope-from olivier@FreeBSD.org) Message-Id: <201710201625.v9KGP6hc038838@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: olivier set sender to olivier@FreeBSD.org using -f From: Olivier Cochard Date: Fri, 20 Oct 2017 16:25:06 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r452541 - in head/net/frr: . files X-SVN-Group: ports-head X-SVN-Commit-Author: olivier X-SVN-Commit-Paths: in head/net/frr: . files X-SVN-Commit-Revision: 452541 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 20 Oct 2017 16:25:08 -0000 Author: olivier Date: Fri Oct 20 16:25:06 2017 New Revision: 452541 URL: https://svnweb.freebsd.org/changeset/ports/452541 Log: Update FRR to 3.0 PR: 223116 Submitted by: Franco Fichtner Modified: head/net/frr/Makefile head/net/frr/distinfo head/net/frr/files/frr.in head/net/frr/files/patch-Makefile.am head/net/frr/files/patch-vtysh_vtysh.c head/net/frr/files/watchfrr.in head/net/frr/pkg-plist Modified: head/net/frr/Makefile ============================================================================== --- head/net/frr/Makefile Fri Oct 20 16:18:25 2017 (r452540) +++ head/net/frr/Makefile Fri Oct 20 16:25:06 2017 (r452541) @@ -1,7 +1,7 @@ # $FreeBSD$ PORTNAME= frr -PORTVERSION= 2.0 +PORTVERSION= 3.0 CATEGORIES= net ipv6 MAINTAINER= olivier@FreeBSD.org @@ -13,16 +13,16 @@ LICENSE_FILE= ${WRKSRC}/COPYING BUILD_DEPENDS= gawk:lang/gawk LIB_DEPENDS= libjson-c.so:devel/json-c -CONFLICTS= openbgpd-[0-9]* openospfd-[0-9]* zebra-0* quagga-re-[0-9]* quagga-[0-9]* +CONFLICTS= openbgpd openospfd zebra quagga-esr quagga USE_GITHUB= yes GH_ACCOUNT= FRRouting GH_PROJECT= frr -GH_TAGNAME= frr-2.0 +GH_TAGNAME= frr-3.0 GNU_CONFIGURE= yes INSTALL_TARGET= install-strip -USES= autoreconf gmake pkgconfig libtool makeinfo readline +USES= autoreconf bison gmake pkgconfig libtool makeinfo readline USE_LDCONFIG= yes INFO= frr @@ -36,12 +36,12 @@ OPTIONS_SUB= yes # IRDP option needs something freebsd does not seem to have: # configure: error: 'IRDP requires in_pktinfo at the moment!' -FPM_DESC= Enable Forwarding Plane Manager support +FPM_DESC= Enable Forwarding Plane Manager support LDPD_DESC= Build ldpd MULTIPATH_DESC= Enable multipath function PAM_DESC= Use libpam for PAM support in vtysh SHELLACCESS_DESC= Allow users to access shell/telnet/ssh -SNMP_DESC= SNMP support +SNMP_DESC= SNMP support TCMALLOC_DESC= Use tcmalloc TCPSOCKETS_DESC= Use TCP/IP sockets for protocol daemons VTYSH_DESC= Build integrated vty shell Modified: head/net/frr/distinfo ============================================================================== --- head/net/frr/distinfo Fri Oct 20 16:18:25 2017 (r452540) +++ head/net/frr/distinfo Fri Oct 20 16:25:06 2017 (r452541) @@ -1,3 +1,3 @@ -TIMESTAMP = 1497785263 -SHA256 (FRRouting-frr-2.0-frr-2.0_GH0.tar.gz) = 70259dc379678a7b0c32abd30173034f31876612451e2ffd7d09c52ab22ac05b -SIZE (FRRouting-frr-2.0-frr-2.0_GH0.tar.gz) = 3025536 +TIMESTAMP = 1508142178 +SHA256 (FRRouting-frr-3.0-frr-3.0_GH0.tar.gz) = 9335c83c2c0a21e64b4e64a130ee95c1f90d76103cff05e816f452a8ba0603d9 +SIZE (FRRouting-frr-3.0-frr-3.0_GH0.tar.gz) = 3166434 Modified: head/net/frr/files/frr.in ============================================================================== --- head/net/frr/files/frr.in Fri Oct 20 16:18:25 2017 (r452540) +++ head/net/frr/files/frr.in Fri Oct 20 16:25:06 2017 (r452541) @@ -5,7 +5,7 @@ # PROVIDE: frr # REQUIRE: netif routing -# KEYWORD: nojail shutdown +# KEYWORD: nojailvnet shutdown # Add the following line to /etc/rc.conf to enable frr: # frr_enable="YES" @@ -52,7 +52,7 @@ check_config() { echo "Checking $daemon.conf" # pimd doesn't support -C - if [ "$daemon" == "pimd" ]; then + if [ "$daemon" = "pimd" ]; then echo "Ignored" else $command $daemon_flags -C @@ -78,7 +78,7 @@ start_postcmd() echo Waiting for ${frr_wait_for} route... while [ ${waited_for} -lt ${frr_wait_seconds} ]; do /sbin/route -n get ${frr_wait_for} >/dev/null 2>&1 && break; - waited_for=$((${waited_for}+1)) + waited_for=$((waited_for+1)) sleep 1; done [ ${waited_for} -lt ${frr_wait_seconds} ] || echo Giving up... @@ -93,13 +93,13 @@ do_cmd() command=%%PREFIX%%/sbin/${daemon} required_files=%%ETCDIR%%/${daemon}.conf pidfile=/var/run/frr/${daemon}.pid - if [ ${frr_cmd} = "restart" -o ${frr_cmd} = "start" ]; then + if [ ${frr_cmd} = "restart" ] || [ ${frr_cmd} = "start" ]; then check_config fi - if [ ${frr_cmd} = "start" -a ! -f ${required_files} ]; then + if [ ${frr_cmd} = "start" ] && ! [ -f ${required_files} ]; then continue fi - if [ ${frr_cmd} = "stop" -a -z $(check_process ${command}) ]; then + if [ ${frr_cmd} = "stop" ] && [ -z $(check_process ${command}) ]; then continue fi eval flags=\$\{${daemon}_flags:-\"${frr_flags}\"\} Modified: head/net/frr/files/patch-Makefile.am ============================================================================== --- head/net/frr/files/patch-Makefile.am Fri Oct 20 16:18:25 2017 (r452540) +++ head/net/frr/files/patch-Makefile.am Fri Oct 20 16:25:06 2017 (r452541) @@ -1,9 +1,9 @@ ---- Makefile.am.orig 2017-04-02 05:22:47 UTC +--- Makefile.am.orig 2017-03-08 14:59:07 UTC +++ Makefile.am -@@ -3,7 +3,7 @@ - SUBDIRS = lib qpb fpm @ZEBRA@ @LIBRFP@ @RFPTEST@ \ +@@ -4,7 +4,7 @@ SUBDIRS = lib qpb fpm @ZEBRA@ @LIBRFP@ @RFPTEST@ \ @BGPD@ @RIPD@ @RIPNGD@ @OSPFD@ @OSPF6D@ @LDPD@ \ - @ISISD@ @PIMD@ @WATCHFRR@ @VTYSH@ @OSPFCLIENT@ @DOC@ m4 @pkgsrcdir@ \ + @ISISD@ @PIMD@ @NHRPD@ \ + @WATCHFRR@ @VTYSH@ @OSPFCLIENT@ @DOC@ m4 @pkgsrcdir@ \ - redhat @SOLARIS@ tests tools cumulus snapcraft + redhat @SOLARIS@ tests cumulus snapcraft Modified: head/net/frr/files/patch-vtysh_vtysh.c ============================================================================== --- head/net/frr/files/patch-vtysh_vtysh.c Fri Oct 20 16:18:25 2017 (r452540) +++ head/net/frr/files/patch-vtysh_vtysh.c Fri Oct 20 16:25:06 2017 (r452541) @@ -1,11 +1,11 @@ ---- vtysh/vtysh.c.orig 2017-06-27 14:48:26 UTC -+++ vtysh/vtysh.c -@@ -261,7 +261,7 @@ vtysh_pager_init (void) - if (pager_defined) - vtysh_pager_name = strdup (pager_defined); - else -- vtysh_pager_name = strdup ("more"); -+ vtysh_pager_name = strdup ("cat"); +--- vtysh/vtysh.c.orig 2017-08-09 12:56:09.000000000 +0200 ++++ vtysh/vtysh.c 2017-08-22 22:04:36.068181000 +0200 +@@ -249,7 +249,7 @@ + if (pager_defined) + vtysh_pager_name = strdup(pager_defined); + else +- vtysh_pager_name = strdup("more"); ++ vtysh_pager_name = strdup("cat"); } /* Command execution over the vty interface. */ Modified: head/net/frr/files/watchfrr.in ============================================================================== --- head/net/frr/files/watchfrr.in Fri Oct 20 16:18:25 2017 (r452540) +++ head/net/frr/files/watchfrr.in Fri Oct 20 16:25:06 2017 (r452541) @@ -5,13 +5,13 @@ # PROVIDE: watchfrr # REQUIRE: NETWORKING frr -# KEYWORD: shutdown +# KEYWORD: nojailvtnet shutdown # Add the following line to /etc/rc.conf to enable watchfrr: # watchfrr_enable="YES" # # You may also wish to use the following variables to fine-tune startup: -# watchquagga_flags +# watchfrr_flags . /etc/rc.subr Modified: head/net/frr/pkg-plist ============================================================================== --- head/net/frr/pkg-plist Fri Oct 20 16:18:25 2017 (r452540) +++ head/net/frr/pkg-plist Fri Oct 20 16:25:06 2017 (r452541) @@ -5,25 +5,31 @@ include/frr/bitfield.h include/frr/buffer.h include/frr/checksum.h include/frr/command.h +include/frr/command_match.h include/frr/csv.h include/frr/distribute.h include/frr/event_counter.h include/frr/fifo.h include/frr/filter.h include/frr/getopt.h +include/frr/graph.h include/frr/hash.h +include/frr/hook.h include/frr/if.h include/frr/if_rmap.h include/frr/imsg.h include/frr/jhash.h include/frr/json.h include/frr/keychain.h +include/frr/libfrr.h include/frr/libospf.h include/frr/linklist.h include/frr/log.h include/frr/md5.h include/frr/memory.h include/frr/memory_vty.h +include/frr/module.h +include/frr/monotime.h include/frr/mpls.h include/frr/network.h include/frr/nexthop.h @@ -46,14 +52,17 @@ include/frr/pqueue.h include/frr/prefix.h include/frr/privs.h include/frr/ptm_lib.h +include/frr/pw.h include/frr/qobj.h include/frr/route_types.h include/frr/routemap.h include/frr/sigevent.h +include/frr/spf_backoff.h include/frr/skiplist.h include/frr/smux.h include/frr/sockopt.h include/frr/sockunion.h +include/frr/srcdest_table.h include/frr/stream.h include/frr/systemd.h include/frr/table.h @@ -62,6 +71,7 @@ include/frr/vector.h include/frr/version.h include/frr/vrf.h include/frr/vty.h +include/frr/wheel.h include/frr/workqueue.h include/frr/zassert.h include/frr/zclient.h @@ -70,14 +80,6 @@ lib/libfrr.a lib/libfrr.so lib/libfrr.so.0 lib/libfrr.so.0.0.0 -lib/libfrr_pb.a -lib/libfrr_pb.so -lib/libfrr_pb.so.0 -lib/libfrr_pb.so.0.0.0 -lib/libfrrfpm_pb.a -lib/libfrrfpm_pb.so -lib/libfrrfpm_pb.so.0 -lib/libfrrfpm_pb.so.0.0.0 lib/libfrrospfapiclient.a lib/libfrrospfapiclient.so lib/libfrrospfapiclient.so.0