Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 31 May 2019 15:04:30 +0000 (UTC)
From:      Kurt Jaeger <pi@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r503178 - in head/net/openbgpd: . files
Message-ID:  <201905311504.x4VF4UwZ081656@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: pi
Date: Fri May 31 15:04:30 2019
New Revision: 503178
URL: https://svnweb.freebsd.org/changeset/ports/503178

Log:
  net/openbgpd: upgrade 5.2.20121209 -> 6.5p0
  
  - petted portlint
  
  PR:		213445
  Submitted by:	egypcio, pi
  Reviewed by:	dch, koobs
  Approved by:	hrs (maintainer timeout)
  Relnotes:	https://ftp.openbsd.org/pub/OpenBSD/OpenBGPD/openbgpd-6.5p0-relnotes.txt

Added:
  head/net/openbgpd/files/patch-Makefile.am   (contents, props changed)
  head/net/openbgpd/pkg-plist   (contents, props changed)
Deleted:
  head/net/openbgpd/files/patch-Makefile
  head/net/openbgpd/files/patch-Makefile.inc
  head/net/openbgpd/files/patch-bgpctl_Makefile
  head/net/openbgpd/files/patch-bgpctl_bgpctl.8
  head/net/openbgpd/files/patch-bgpctl_bgpctl.c
  head/net/openbgpd/files/patch-bgpctl_irr_asset.c
  head/net/openbgpd/files/patch-bgpctl_irr_output.c
  head/net/openbgpd/files/patch-bgpctl_irr_parser.c
  head/net/openbgpd/files/patch-bgpctl_irr_prefix.c
  head/net/openbgpd/files/patch-bgpctl_irrfilter.c
  head/net/openbgpd/files/patch-bgpctl_irrfilter.h
  head/net/openbgpd/files/patch-bgpctl_mrtparser.c
  head/net/openbgpd/files/patch-bgpctl_mrtparser.h
  head/net/openbgpd/files/patch-bgpctl_parser.c
  head/net/openbgpd/files/patch-bgpctl_parser.h
  head/net/openbgpd/files/patch-bgpctl_whois.c
  head/net/openbgpd/files/patch-bgpd_Makefile
  head/net/openbgpd/files/patch-bgpd_bgpd.8
  head/net/openbgpd/files/patch-bgpd_bgpd.c
  head/net/openbgpd/files/patch-bgpd_bgpd.conf.5
  head/net/openbgpd/files/patch-bgpd_bgpd.h
  head/net/openbgpd/files/patch-bgpd_buffer.c
  head/net/openbgpd/files/patch-bgpd_carp.c
  head/net/openbgpd/files/patch-bgpd_config.c
  head/net/openbgpd/files/patch-bgpd_control.c
  head/net/openbgpd/files/patch-bgpd_imsg.c
  head/net/openbgpd/files/patch-bgpd_imsg.h
  head/net/openbgpd/files/patch-bgpd_kroute.c
  head/net/openbgpd/files/patch-bgpd_log.c
  head/net/openbgpd/files/patch-bgpd_log.h
  head/net/openbgpd/files/patch-bgpd_mrt.c
  head/net/openbgpd/files/patch-bgpd_mrt.h
  head/net/openbgpd/files/patch-bgpd_name2id.c
  head/net/openbgpd/files/patch-bgpd_parse.y
  head/net/openbgpd/files/patch-bgpd_pfkey.c
  head/net/openbgpd/files/patch-bgpd_pftable.c
  head/net/openbgpd/files/patch-bgpd_printconf.c
  head/net/openbgpd/files/patch-bgpd_rde.c
  head/net/openbgpd/files/patch-bgpd_rde.h
  head/net/openbgpd/files/patch-bgpd_rde_attr.c
  head/net/openbgpd/files/patch-bgpd_rde_decide.c
  head/net/openbgpd/files/patch-bgpd_rde_filter.c
  head/net/openbgpd/files/patch-bgpd_rde_prefix.c
  head/net/openbgpd/files/patch-bgpd_rde_rib.c
  head/net/openbgpd/files/patch-bgpd_rde_update.c
  head/net/openbgpd/files/patch-bgpd_session.c
  head/net/openbgpd/files/patch-bgpd_session.h
  head/net/openbgpd/files/patch-bgpd_timer.c
  head/net/openbgpd/files/patch-bgpd_util.c
  head/net/openbgpd/files/patch-openbsd-compat_fmt_scaled.c
  head/net/openbgpd/files/patch-openbsd-compat_hash.h
  head/net/openbgpd/files/patch-openbsd-compat_if_media.h
  head/net/openbgpd/files/patch-openbsd-compat_imsg-buffer.c
  head/net/openbgpd/files/patch-openbsd-compat_imsg.c
  head/net/openbgpd/files/patch-openbsd-compat_imsg.h
  head/net/openbgpd/files/patch-openbsd-compat_openbsd-compat.h
  head/net/openbgpd/files/patch-openbsd-compat_util.h
Modified:
  head/net/openbgpd/Makefile
  head/net/openbgpd/distinfo

Modified: head/net/openbgpd/Makefile
==============================================================================
--- head/net/openbgpd/Makefile	Fri May 31 14:59:44 2019	(r503177)
+++ head/net/openbgpd/Makefile	Fri May 31 15:04:30 2019	(r503178)
@@ -1,12 +1,9 @@
 # $FreeBSD$
 
 PORTNAME=	openbgpd
-PORTVERSION=	5.2.20121209
-PORTREVISION=	3
+PORTVERSION=	6.5p0
 CATEGORIES=	net
 MASTER_SITES=	OPENBSD/OpenBGPD
-DISTNAME=	${PORTNAME}-4.6
-DIST_SUBDIR=	${PORTNAME}
 
 MAINTAINER=	hrs@FreeBSD.org
 COMMENT=	Free implementation of the Border Gateway Protocol, Version 4
@@ -14,27 +11,21 @@ COMMENT=	Free implementation of the Border Gateway Pro
 LICENSE=	ISCL
 LICENSE_FILE=	${FILESDIR}/COPYING
 
-CONFLICTS=	zebra-[0-9]* quagga-[0-9]*
-
-USES=		tar:tgz uidfix
+USES=		autoreconf libtool uidfix
 USE_RC_SUBR=	${PORTNAME}
 
-NO_WRKSUBDIR=	yes
-PLIST_FILES=	sbin/bgpctl sbin/bgpd man/man5/bgpd.conf.5.gz \
-		man/man8/bgpctl.8.gz man/man8/bgpd.8.gz
+GNU_CONFIGURE=	yes
+
 SUB_FILES=	pkg-message
+
 USERS=		_bgpd
 GROUPS=		_bgpd
 
-OPTIONS_DEFINE=	IPV6LLPEER
-OPTIONS_DEFAULT=IPV6LLPEER
-IPV6LLPEER_DESC=Support nexthop using IPv6 link-local address
-IPV6LLPEER_MAKE_ARGS=	-DIPV6_LINKLOCAL_PEER
+CONFLICTS=	zebra-[0-9]* quagga-[0-9]*
 
-post-patch:
-	@${REINPLACE_CMD} -e "s|%%PREFIX%%|${PREFIX}|g"	\
-		${WRKSRC}/bgpd/bgpd.8			\
-		${WRKSRC}/bgpd/bgpd.conf.5		\
-		${WRKSRC}/bgpctl/bgpctl.8
+OPTIONS_DEFINE=		IPV6LLPEER
+OPTIONS_DEFAULT=	IPV6LLPEER
+IPV6LLPEER_DESC=	Support nexthop using IPv6 link-local address
+IPV6LLPEER_MAKE_ARGS=	-DIPV6_LINKLOCAL_PEER
 
 .include <bsd.port.mk>

Modified: head/net/openbgpd/distinfo
==============================================================================
--- head/net/openbgpd/distinfo	Fri May 31 14:59:44 2019	(r503177)
+++ head/net/openbgpd/distinfo	Fri May 31 15:04:30 2019	(r503178)
@@ -1,2 +1,3 @@
-SHA256 (openbgpd/openbgpd-4.6.tgz) = d9a0a3542e5ec744889ca12871f01aa1d86f12844e093010f37d0601796e15cf
-SIZE (openbgpd/openbgpd-4.6.tgz) = 168197
+TIMESTAMP = 1556692508
+SHA256 (openbgpd-6.5p0.tar.gz) = 20c1a40bafcbbea60c4ecc6dd2e87fcba6847bfad62739b705a3806b6b442a56
+SIZE (openbgpd-6.5p0.tar.gz) = 677691

Added: head/net/openbgpd/files/patch-Makefile.am
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/net/openbgpd/files/patch-Makefile.am	Fri May 31 15:04:30 2019	(r503178)
@@ -0,0 +1,20 @@
+--- Makefile.am.orig	2019-05-01 11:22:14 UTC
++++ Makefile.am
+@@ -19,13 +19,14 @@
+ EXTRA_DIST = README.md VERSION bgpd.conf
+ 
+ install-data-hook:
+-	@if [ ! -d "$(DESTDIR)$(localstatedir)/run" ]; then \
++	if [ ! -d "$(DESTDIR)$(localstatedir)/run" ]; then \
+ 		$(INSTALL) -m 755 -d "$(DESTDIR)$(localstatedir)/run"; \
+ 	fi
+-	@if [ ! -d "$(DESTDIR)$(sysconfdir)" ]; then \
++	if [ ! -d "$(DESTDIR)$(sysconfdir)" ]; then \
+ 		$(INSTALL) -m 755 -d "$(DESTDIR)$(sysconfdir)"; \
+ 	fi
+-	@if [ ! -f "$(DESTDIR)$(sysconfdir)/bgpd.conf" ]; then \
++	$(INSTALL) -m 644 "$(srcdir)/bgpd.conf" "$(DESTDIR)$(sysconfdir)/bgpd.conf.sample"; \
++	if [ ! -f "$(DESTDIR)$(sysconfdir)/bgpd.conf" ]; then \
+ 		$(INSTALL) -m 644 "$(srcdir)/bgpd.conf" "$(DESTDIR)$(sysconfdir)/bgpd.conf"; \
+ 	else \
+ 		echo; \

Added: head/net/openbgpd/pkg-plist
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/net/openbgpd/pkg-plist	Fri May 31 15:04:30 2019	(r503178)
@@ -0,0 +1,6 @@
+sbin/bgpctl
+sbin/bgpd
+man/man5/bgpd.conf.5.gz
+man/man8/bgpctl.8.gz
+man/man8/bgpd.8.gz
+@sample etc/bgpd.conf.sample



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201905311504.x4VF4UwZ081656>