git: 65972ee89a76 - main - net-mgmt/rtrlib: Fix libssh linking
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 22 Sep 2022 14:59:50 UTC
The branch main has been updated by olivier:
URL: https://cgit.FreeBSD.org/ports/commit/?id=65972ee89a762bc4f6e59693c5e6684560eea4fc
commit 65972ee89a762bc4f6e59693c5e6684560eea4fc
Author: Olivier Cochard <olivier@FreeBSD.org>
AuthorDate: 2022-09-22 14:52:46 +0000
Commit: Olivier Cochard <olivier@FreeBSD.org>
CommitDate: 2022-09-22 14:59:39 +0000
net-mgmt/rtrlib: Fix libssh linking
Update PORTREVISION of its consumers (net/frr7 and net/frr8).
PR: 266243
Approved by: maintainer timeout
---
net-mgmt/rtrlib/Makefile | 8 +++++++-
net/frr7/Makefile | 2 +-
net/frr8/Makefile | 1 +
3 files changed, 9 insertions(+), 2 deletions(-)
diff --git a/net-mgmt/rtrlib/Makefile b/net-mgmt/rtrlib/Makefile
index 073ec91eace3..c8d008116df3 100644
--- a/net-mgmt/rtrlib/Makefile
+++ b/net-mgmt/rtrlib/Makefile
@@ -1,6 +1,7 @@
PORTNAME= rtrlib
PORTVERSION= 0.8.0
DISTVERSIONPREFIX= v
+PORTREVISION= 1
CATEGORIES= net-mgmt sysutils
MAINTAINER= freebsd@bodems.net
@@ -12,8 +13,13 @@ LICENSE_FILE= ${WRKSRC}/LICENSE
LIB_DEPENDS= libssh.so:security/libssh
-USES= cmake
+USES= cmake pkgconfig
USE_GITHUB= yes
USE_LDCONFIG= yes
+CMAKE_ARGS+= -DRTRLIB_TRANSPORT_SSH=Yes
+CMAKE_ARGS+= -DWITH_BGPSEC=Yes
+CMAKE_ARGS+= -DLIBSSH_LIBRARIES=${LOCALBASE}/lib/libssh.so
+CMAKE_ARGS+= -DLIBSSH_INCLUDE_DIRS=${LOCALBASE}/include
+
.include <bsd.port.mk>
diff --git a/net/frr7/Makefile b/net/frr7/Makefile
index 7a065bbdc9c6..28909d2a873c 100644
--- a/net/frr7/Makefile
+++ b/net/frr7/Makefile
@@ -1,7 +1,7 @@
PORTNAME= frr
PORTVERSION= 7.5.1
DISTVERSIONPREFIX= frr-
-PORTREVISION= 3
+PORTREVISION= 4
CATEGORIES= net
.if defined(PYTHONTOOLS)
PKGNAMESUFFIX= 7-pythontools
diff --git a/net/frr8/Makefile b/net/frr8/Makefile
index a95258f222c4..1f735b4e29f2 100644
--- a/net/frr8/Makefile
+++ b/net/frr8/Makefile
@@ -1,6 +1,7 @@
PORTNAME= frr
PORTVERSION= 8.3.1
DISTVERSIONPREFIX= frr-
+PORTREVISION= 1
CATEGORIES= net
.if defined(PYTHONTOOLS)
PKGNAMESUFFIX= 8-pythontools